@charset "utf-8";
@viewport { orientation: portrait; }

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #34302d !important;
  -webkit-font-smoothing: antialiased;
  padding: 0px;
  margin: 0px;
}

body {
  position: relative;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-overflow-scrolling: auto;
  background: rgba(255, 255, 255, 1);
}

p, a, div, span, button, nav, input, select, option, textarea, h1, h2, h3, h4, h5, h6 {
  line-height: 100%;
  margin: 0;
  padding: 0;
}

a, a:visited {
  color: inherit;
  text-decoration: none;
}

body > main {
  float: left;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 720px) {

  body {
    max-width: 500px;
    height: 100%;
    margin: 0 auto;
    box-shadow: 5px 5px 10px solid rgba(0, 0, 0, .8);
  }

}

/** CUSTOM STYLES **/

home {
  float: left;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .1);
}

home > logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  float: left;
  width: calc(100% - 40px);
  height: calc(30% - 40px);
  padding: 20px;
}

home > logo img {
  max-width: 100%;
  max-height: 100%;
}

home > languages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  float: left;
  width: calc(100% - 40px);
  height: calc(70% - 20px);
  padding: 0 20px 20px;
  gap: 20px;
}

home > languages a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0,0,0,.2);
  color: inherit;
  gap: 3px;
}

home > languages a h1 {
  font-size: 15px;
  font-weight: 100;
}

home > languages a h2 { font-size: 30px; }

form {
  float: left;
  width: 100%;
  height: 100%;
  text-align: center;
  background: #eceef5;
  overflow: hidden;
}

form > main {
  float: left;
  width: 100%;
  height: calc(100% - 120px - 20px);
  overflow-y: auto;
  border-radius: 0 0 40px 40px;
  padding-bottom: 20px;
  box-shadow: 0 2px 12px 5px rgba(0, 0, 0, 0.08);
  background: #fff;
}

form > main > info {
  float: left;
  width: calc(100% - 40px);
  padding: 20px;
}

form > main > info h1 { font-size: 25px; }

form > main > info p {
  margin-top: 10px;
  font-size: 15px;
}

form > main > questions {
  display: flex;
  flex-direction: column;
  float: left;
  width: 100%;
  gap: 20px;
}

form > main > questions question {
  display: flex;
  flex-direction: column;
  float: left;
  width: calc(100% - 40px);
  gap: 10px;
  padding: 0 20px;
}

form > main > questions question h1 { font-size: 22px; }

form > main > questions question h2 {
  font-size: 18px;
  font-weight: 100;
}

form > main input[type="number"],
form > main input[type="email"],
form > main input[type="date"] {
  display: block;
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
  float: left;
  width: calc(100% - 20px);
  min-width: calc(100% - 20px);
  padding: 10px;
  border-radius: 100px;
  font-size: 20px;
  text-align: center;
  border: none;
  background: #f8f8f8;
  outline: 0;
  transition: all 300ms linear;
  font-family: 'Open Sans', sans-serif;
}

form > main input[type="email"] { background: #fff; }

form > main input[type="number"]:focus,
form > main input[type="email"]:focus,
form > main input[type="date"]:focus {
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
} 

form > main radio {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

form > main radio > input + label img {
  max-height: 30px;
  margin: 10px 0;
}

form > main radio > label {
  margin: 5px;
  background: #f1f1f1;
}

form > main radio > label:hover { background:#f8f8f8; }
form > main radio > input:checked + label { background:grey; color:#fff; }
form > main radio > input[type=radio] { display:none; }
form > main radio > input[disabled] + label{ opacity:.5 }
form > main radio > input[disabled] + label:hover { cursor: not-allowed }

form > main radio > input + label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 50px;
  margin-bottom: 0;
  padding: 10px;
  cursor: pointer;
  text-align: center;
}

form > main radio > input:checked + label { transition: background 300ms linear; }

form > main select {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  width: calc(100% - 0px);
  font-size: 20px;
  padding: 10px;
  text-align: center;
  border-radius: 100px;
  outline: 0;
  transition: all 300ms linear;
}

form > main rating {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  border-radius: 50px;
  overflow: hidden;
}

form > main rating label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  float: left;
  width: 100%;
  height: 50px;
  cursor: pointer;
  overflow: hidden;
}

form > main rating label { background: rgba(255, 255, 255, 0.6); }

form > main rating label bg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: .1;
  transition: all 300ms linear;
}

form > main rating label:nth-child(1) bg { background: #ee1c25; }
form > main rating label:nth-child(2) bg { background: #f7941d; }
form > main rating label:nth-child(3) bg { background: #ffde17; }
form > main rating label:nth-child(4) bg { background: #8dc73f; }
form > main rating label:nth-child(5) bg { background: #3ab54a; }

form > main rating label icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 1;
}

form > main rating label icon:before {
  float: left;
  width: 60%;
  height: 60%;
  content: '';
  background-repeat: no-repeat;
  -webkit-mask-size: initial;
  mask-size: initial;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

form > main rating label:nth-child(1) icon:before {
  background: #ee1c25;
  -webkit-mask-image: url(../svg/rating/1.svg);
  mask-image: url(../svg/rating/1.svg);
}

form > main rating label:nth-child(2) icon:before {
  background: #f7941d;
  -webkit-mask-image: url(../svg/rating/2.svg);
  mask-image: url(../svg/rating/2.svg);
}

form > main rating label:nth-child(3) icon:before {
  background: #ebcb15;
  -webkit-mask-image: url(../svg/rating/3.svg);
  mask-image: url(../svg/rating/3.svg);
}

form > main rating label:nth-child(4) icon:before {
  background: #8dc73f;
  -webkit-mask-image: url(../svg/rating/4.svg);
  mask-image: url(../svg/rating/4.svg);
}

form > main rating label:nth-child(5) icon:before {
  background: #3ab54a;
  -webkit-mask-image: url(../svg/rating/5.svg);
  mask-image: url(../svg/rating/5.svg);
}

form > main rating label input:checked + bg + icon:before { background: #fff; }

form > main rating label input[type="radio"] { display: none; }
form > main rating label input:checked + bg { opacity: .8; }

form > main > questions comments {
  display: flex;
  flex-direction: column;
  float: left;
  width: calc(100% - 40px - 40px);
  gap: 10px;
  padding: 20px;
  margin: 0 20px;
  border-radius: 40px;
  background: #f1f1f1;
}

form > main > questions comments h1 { font-size: 22px; }

form > main > questions comments h2 {
  font-size: 16px;
  font-weight: 100;
}

form > main > questions comments h3 {
  font-size: 12px;
  font-weight: 100;
}


form > main > questions comments textarea {
  float: left;
  width: calc(100% - 40px);
  padding: 20px;
  font-size: 16px;
  border-radius: 20px;
  border: 1px solid #fff;
  outline: 0;
  font-family: 'Open Sans', sans-serif;
  transition: all 300ms linear;
}

form > main > questions comments textarea:focus {
  border: 1px solid rgba(0, 0, 0, .4);
  box-shadow: 0 0 20px rgba(0, 0, 0, .2);
} 

form > nav {
  float: left;
  width: calc(100% - 40px);
  height: calc(120px - 40px);
  padding: 20px;
}

form > nav > bar {
  float: left;
  width: 100%;
  height: 5px;
  background: rgba(0, 0, 0, .1);
}

form > nav > bar > current {
  float: left;
  width: 0px;
  height: 100%;
  background: #0078e7;
}

form > nav > input[type=submit] {
  width: 100%;
  height: calc(100% - 5px - 10px);
  background-color: #0078e7;
  color: #fff;
  border: none;
  border-radius: 3px;
  opacity: 1;
  font-size: 30px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 300ms linear;
  margin-top: 10px;
}

form > nav > input[type=submit]:hover { opacity: .8; }

form > nav > input[type=submit]:disabled {
  opacity: 1;
  background-color: rgba(0, 0, 0, .1);
  color: rgba(0, 0, 0, .4);
  cursor: not-allowed;
}

confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  float: left;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  text-align: center;
  padding: 20px;
  gap: 20px;
}

confirmation h1 { font-size: 24px; }

.success-animation { }

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #05f856;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #05f856;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
  position:relative;
  top: 5px;
  right: 5px;
  margin: 0 auto;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #05f856;
  fill: #fff;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke { 100% { stroke-dashoffset: 0; } }

@keyframes scale {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 30px #05f856; } }