*, *::before, *::after {
  box-sizing: border-box;
}

body {
  height: 100%;
  margin: 0;
  text-align: center;
  font-family: 'Raleway', sans-serif;
  overflow-x: hidden;
  color: #ffffff;
  background-color: rgba(25, 31, 47, 1)
}

form {
  display: block;
  text-align: left;
  clear: both;
  min-width: 25%;
  margin: 0 auto;
  overflow: hidden;
  padding: 1px;
}

#question{
  display: block;
  min-height: 60px;
}
#formDiv {
  padding: 10px;
  text-align: center;
}
#saveForm {
  position: relative;

  display: block;
  margin: 30px auto;
  padding: 10px;

  overflow: hidden;

  border-width: 0;
  outline: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  
  background-color: #dc5a60;
  color: #ecf0f1;
  
  transition: background-color .3s;
}

#saveForm:hover, #saveForm:focus {
  background-color: #27ae60;
}

#saveForm:before {
  content: "";
  
  position: absolute;
  top: 50%;
  left: 50%;
  
  display: block;
  width: 0;
  padding-top: 0;
    
  
  background-color: rgba(236, 240, 241, .3);
  
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#saveForm:active:before {
  width: 120%;
  padding-top: 120%;
  
  transition: width .2s ease-out, padding-top .2s ease-out;
}

input[type=text], input[type=mail] {
  color: #fff;
  margin-bottom: 4px;
  padding: 7px;
  min-width: 50%;
  border: 0px solid #fff;
  background-color: rgba(255,255,255,0.2);
  margin: 6px 0;
  font-weight: bold;
}

input[type=text]:focus, input[type=mail]:focus {
  outline: 0;
  background-color: rgba(255,255,255,0.4);
  box-shadow: 0px 0px 1px #4697e4;
}

.content {
  display: flex;
  flex-wrap: wrap;
  display: grid;
  height: 100vh;
  grid-template-rows: 70px 1fr;
  grid-template-columns: 200px 1fr;
  grid-template-areas: "header header" "nav main";
}

.content_test {
  display: flex;
  flex-wrap: wrap;
  display: grid;
  height: 100vh;
}

.content_test .header {
  grid-area: inherit;
}

.header {
  display: flex;
  flex-basis: 100%;
  grid-area: header;
  height: 70px;
  background-color: #27314c;
  position: relative;
}

.header .logo {
  display: flex;
  flex: 0 0 200px;
  height: 70px;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0;
}

.header .toolbar {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.header .toolbar h2 {
  font-weight: 400;
  font-size: 32px;
}

.header .logout {
  display: flex;
  flex: 0 0 200px;
  justify-content: center;
  align-items: center;
  color: #dc5a60;
  text-decoration: none;
}

.nav {
  flex: 0 0 200px;
  grid-area: nav;
  background-color: #27314c;
}

.nav .menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.nav .menu .menu_item {
  border-bottom: 1px solid #ffffff;
}

.nav .menu .menu_item img {
  height: 15px;
  width: 15px;
  margin-left: 10px;
  vertical-align: text-top;
}

.nav .menu .menu_item .menu_link {
  display: block;
  padding: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease-in-out;
}

.nav .menu .menu_item .menu_link:hover, .nav .menu .menu_item .menu_link:focus {
  color: #27314c;
  background-color: #ffffff;
}

.nav .menu .add .menu_link {
  padding: 20px;
}

.main {
  flex: 1;
  grid-area: main;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #191f2f;
}

.main .dashboard {
  /*display: flex;
  flex-wrap: wrap;*/
  margin: 15px;
  display: grid;
  justify-content: center;
  margin: 0 auto;
  width: 50%;
}

.main .dashboard h2, .main .dashboard h3 {
  font-weight: 400;
}

.main .dashboard h3 {
  margin-bottom: 0;
}

.main .dashboard a {
  text-decoration: none;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.main .dashboard a img {
  padding-right: 5px;
}

.main .dashboard a:hover {
  text-decoration: none;
}

.main .dashboard .dashboard_ul {
  list-style-type: none;
}

.main .dashboard .dashboard_ul li {
  padding: 10px;
}

.main .dashboard .btn {
  padding: 15px 30px;
  background: transparent;
  border: 1px solid #dc5a60;
  color: #ffffff;
  cursor: pointer;
  transition: .3s;
  font-size: 16px;
  outline: none;
  margin-top: 20px;
}

.main .dashboard .btn:hover {
  background-color: #dc5160;
}

.main-container {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #191f2f;
  height: 100vh;
}

.main-container .dashboard {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
  display: grid;
  justify-content: center;
}

.main-container .dashboard .dashboard_item {
  width: 100%;
}

.main-container .dashboard h2, .main-container .dashboard h3 {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

.main-container .dashboard h3 span {
  font-weight: 700;
}

.main-container .dashboard p {
  font-size: 22px;
  margin: 10px 0;
}

.main-container .dashboard h4 {
  font-size: 22px;
  font-weight: 300;
  margin: 10px 0 5px 0;
  line-height: 26px;
}

.main-container .dashboard a {
  text-decoration: none;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.main-container .dashboard a img {
  padding-right: 5px;
}

.main-container .dashboard a:hover {
  text-decoration: none;
}

.main-container .dashboard #answers div {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: .3s;
}

.main-container .dashboard #answers div:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.main-container .dashboard #answers div[data-selected=true] {
  background-color: rgba(220, 90, 96, 0.9);
}

.main-container .dashboard .dashboard_ul {
  list-style-type: none;
}

.main-container .dashboard .dashboard_ul li {
  padding: 10px;
}

.main-container .dashboard .text {
  position: absolute;
  top: 26%;
  right: 20%;
  color: #ffffff;
  border: none;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  margin-right: -50px;
  text-align: center;
  line-height: 100px;
}

.main-container .dashboard .btn-container {
  display: flex;
  justify-content: center;
}

.main-container .dashboard .btn {
  padding: 10px 70px;
  background: transparent;
  border: 1px solid #dc5a60;
  color: #ffffff;
  cursor: pointer;
  transition: .3s;
  font-size: 14px;
  outline: none;
  margin-top: 20px;
  text-transform: uppercase;
}

.main-container .dashboard .btn:hover {
  background-color: #dc5160;
}

.main-container .dashboard #timer {
  width: 100%;
  height: 5px;
  background: gray;
  margin: 10px 0 25px 0;
}

.main-container .dashboard #progress {
  margin-top: 30px;
  background: #dc5160;
  height: 5px;
}

.svg {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.main-container .dashboard .svg,
.main-container .dashboard .svg-2 {
  position: absolute;
  top: 10%;
  right: 20%;
  margin-top: -50px;
  margin-right: -50px;
  float: right;
  z-index: 2;
}


.main-container .dashboard .circle_animation {
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: all 1s linear;
}

@media only screen and (max-width: 768px) {
  .main-container .dashboard .dashboard_item {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  input[type=text], input[type=mail] {
    width: 100%;
  }
  svg {
    position: absolute;
    margin-top: 0px !important;
    margin-right: 0px !important;
    float:none !important; 
    top: 0 !important;
    right: 0 !important;
  }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .main-container .dashboard .dashboard_item {
    width: 50%!important;
  }
  .main-container{
    background-color: rgba(0, 0, 0, 0); 
  }
  svg{
    display: none;
  }
}




/* jarek */

select {
    color: #fff;
    margin-bottom: 4px;
    padding: 7px;
    min-width: 50%;
    border: 0px solid #fff;
    background-color: rgba(255,255,255,0.2);
    margin: 6px 0;
    font-weight: bold;
}

select:focus {
    color: #000;
}

#other {
    display: none
}

@media only screen and (min-width: 768px) {
  .wybor_jezyka {
  display: inline;
  margin-right: 5px;
  margin-left: 5px;
}
}