*,
::after,
::before {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  line-height: 1;
}

img {
  display: block;
}

b {
  font-weight: 700;
}

sup,
sub {
  line-height: 1;
}

.main {
  width: 100%;
  min-width: 320px;
  max-width: 1140px;
  height: 480px;
  margin: 0 auto;
  background: #003087;
  position: relative;
  overflow: hidden;
}

.background-container {
  width: 100%;
  height: 100%;
  background-image: url(../images/icon.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1050px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.background-container.opacity {
  opacity: 0.5;
}

.clicktag-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  cursor: pointer;
}

.page-container {
  width: 60px;
  height: 60px;
  border-radius: 0 0 0 25px;
  background: #41b6e6;
  color: #003087;
  font-size: 28px;
  font-weight: 700;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.main-container {
  width: 100%;
  height: 100%;
  padding: 0 60px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.main-container.col {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Logo */
.logo-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.logo {
  width: 260px;
  position: absolute;
  bottom: 40px;
  left: 40px;
  opacity: 1;
  -webkit-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
  cursor: pointer;
  z-index: 99;
}

.logo:hover {
  opacity: 0.8;
}

/* Entry */
.entry-container {
  width: 100%;
  height: 100%;
  gap: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.entry-block {
  width: 100%;
  gap: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.entry-title {
  width: 100%;
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  text-align: center;
}

.entry-title span {
  color: #41B6E6;
}

.entry-text {
  width: 100%;
  max-width: 580px;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
}

.entry-btn,
.quiz-btn--answer,
.quiz-btn--next,
.form-btn,
.result-btn {
  height: 45px;
  padding: 10px 30px;
  border-radius: 50px;
  color: #fff;
  background: #41b6e6;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-transition: background 0.15s ease-in, color 0.15s ease-in;
  -o-transition: background 0.15s ease-in, color 0.15s ease-in;
  transition: background 0.15s ease-in, color 0.15s ease-in;
  cursor: pointer;
}

.entry-btn {
  height: 50px;
}

.entry-btn:active,
.quiz-btn--answer:active,
.quiz-btn--next:active,
.form-btn:active,
.result-btn:active {
  color: #003087;
  background: #fff;
}

.entry-btn-text,
.quiz-btn-text,
.form-btn-text,
.result-btn-text {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.entry-btn-text {
  font-size: 20px;
  line-height: 26px;
}

/* Quiz */
.quiz-container {
  width: 100%;
  height: 100%;
}

.quiz-block {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.quiz-footer {
  height: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.quiz-col {
  width: 100%;
  height: 100%;
  padding: 0 60px 0 0;
  gap: 40px;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.quiz-block.xs.checked .quiz-col {
  gap: 20px;
}

.quiz-image {
  width: 320px;
  height: 320px;
  border-radius: 0 100px 0 100px;
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.quiz-image img {
  width: 100%;
}

.quiz-question {
  width: 100%;
}

.quiz-question-text {
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
}

.quiz-answers {
  gap: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.quiz-block.checked .quiz-answers {
  gap: 10px;
}

.quiz-answer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  cursor: pointer;
}

.quiz-block.checked .quiz-answer {
  cursor: default;
}

.quiz-answer:active>.quiz-label,
.quiz-answer:active>.quiz-label {
  opacity: 0.8;
}

.quiz-block.checked .quiz-answer:active>.quiz-label,
.quiz-block.checked .quiz-answer:active>.quiz-label {
  opacity: 1;
}

.quiz-answer:last-child {
  margin: 0;
}

.quiz-addition {
  width: 100%;
  font-size: 16px;
  line-height: 22px;
}

.quiz-checkbox {
  width: 30px;
  height: 30px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  border-radius: 50px;
  margin: 0 20px 0 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.quiz-answer.checked>.quiz-checkbox {
  background-image: url(../images/check.svg);
}

.quiz-answer[data-index="0"]>.quiz-checkbox.result {
  background-color: rgba(255, 255, 255, 0);
  background-image: url(../images/false.svg);
}

.quiz-answer[data-index="1"]>.quiz-checkbox.result {
  border: 2px solid #fff;
  background-color: rgba(255, 255, 255, 0);
  background-image: url(../images/true.svg);
}

.quiz-label {
  font-size: 18px;
  line-height: 24px;
}

.quiz-block.checked .quiz-label {
  font-size: 16px;
  line-height: 22px;
}

/* Results */
.result-container {
  width: 100%;
  margin: 0 0 40px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.result-title,
.success-title {
  width: 100%;
  font-size: 28px;
  line-height: 32px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 5px 0;
}

.result-text,
.success-text {
  width: 100%;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  text-align: center;
}

.result-btn {
  margin: 20px 0 0 0;
}

/* Form & Success */
.form-container,
.success-container {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.form-container {
  gap: 20px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.success-container {
  height: 100%;
}

.form-email {
  width: 100%;
  max-width: 480px;
}

.form-email input {
  width: 100%;
  height: 45px;
  padding: 0 30px;
  border: 1px solid #fff;
  border-radius: 50px;
  font-family: 'Rubik', sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  font-style: normal;
  color: #003087;
  -webkit-transition: border 0.15s ease-in;
  -o-transition: border 0.15s ease-in;
  transition: border 0.15s ease-in;
}

.form-email input.error {
  border: 1px solid #F93A25;
}

@media only screen and (max-width: 1110px) {
  .main-container {
    padding: 0 40px;
  }

  .quiz-col {
    padding: 0 40px 0 0;
  }
}

@media only screen and (max-width: 900px) {
  .main-container {
    padding: 40px;
  }

  .page-container {
    padding: 2px 0 0 2px;
    border-radius: 25px 0 0 0;
    top: unset;
    bottom: 160px;
  }

  .quiz-col {
    padding: 0;
    gap: 40px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .quiz-block.xs.checked .quiz-col {
    gap: 20px;
  }

  .quiz-image {
    width: 160px;
    height: 160px;
    border-radius: 60px 0 0 0;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .quiz-answers {
    gap: 20px;
    padding: 0 120px 0 0;
  }

  .quiz-block.checked .quiz-answers {
    gap: 10px;
  }

  .quiz-footer {
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

@media only screen and (max-width: 605px) {
  .main-container {
    padding: 20px;
  }

  .page-container {
    width: 45px;
    height: 45px;
    border-radius: 20px 0 0 0;
    font-size: 24px;
  }

  .quiz-answers {
    padding: 0 140px 0 0;
  }
}

@media only screen and (max-width: 520px) {

  .main.checked .page-container,
  .quiz-block.checked .quiz-image {
    display: none;
  }

  .quiz-block.checked .quiz-answers {
    padding: 0;
  }
}

@media only screen and (max-width: 480px) {
  .entry-title {
    font-size: 24px;
    line-height: 30px;
  }

  .entry-text {
    font-size: 16px;
    line-height: 22px;
  }

  .entry-btn,
  .quiz-btn--answer,
  .quiz-btn--next,
  .form-btn,
  .result-btn {
    padding: 10px 25px;
  }

  .entry-btn-text,
  .quiz-btn-text,
  .form-btn-text,
  .result-btn-text {
    font-size: 16px;
    line-height: 22px;
  }

  .entry-btn-text {
    font-size: 18px;
    line-height: 24px;
  }

  .quiz-col {
    gap: 20px;
  }

  .quiz-image {
    width: 160px;
    height: 160px;
    border-radius: 60px 0 0 0;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .quiz-question-text {
    font-size: 24px;
    line-height: 30px;
  }

  .quiz-block.xs .quiz-question-text {
    font-size: 22px;
    line-height: 28px;
  }

  .quiz-addition {
    font-size: 14px;
    line-height: 18px;
  }

  .quiz-label {
    font-size: 14px;
    line-height: 18px;
  }

  .quiz-answers {
    padding: 0;
  }

  .quiz-block.checked .quiz-label {
    font-size: 14px;
    line-height: 18px;
  }

  .result-title,
  .success-title {
    font-size: 24px;
    line-height: 30px;
  }

  .result-text,
  .success-text {
    font-size: 16px;
    line-height: 22px;
  }

  .form-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .form-email input {
    font-size: 16px;
    line-height: 22px;
  }
}

@media only screen and (max-width: 350px) {
  .quiz-block.xs.checked .quiz-col {
    gap: 10px;
  }

  .quiz-block.xs .quiz-question-text {
    font-size: 20px;
    line-height: 24px;
  }

  .quiz-block.xs.checked .quiz-label {
    font-size: 12px;
    line-height: 16px;
  }
}

/* Other */
.hidden {
  display: none !important;
}
