* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.first-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/first-screen-bg.jpg') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
}

.first-screen__question {
  background-color: #00AFFF;
  color: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 615px;
  min-height: 625px;
  padding: 50px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.first-screen__title {
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.first-screen__subtitle {
  font-weight: 600;
  max-width: 480px;
  margin-bottom: 40px;
}

.first-screen__buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.first-screen__button {
  display: block;
  max-width: 250px;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  padding: 15px 30px;
  border-radius: 100px;
  color: #ffffff;
  transition: opacity .3s;
}

.first-screen__button:hover {
  opacity: .7;
}

.first-screen__yes {
  background-color: #FF9800;
}

.first-screen__no {
  border: 1px solid #ffffff;
}

.form__section {
  display: flex;
  flex-direction: row-reverse;
}

.form__block {
  flex: 0 0 50%;
  padding: 100px 105px 100px 30px;
  background: url(../images/form-bg.jpg) no-repeat left top;
  background-size: cover;
  color: #ffffff;
  display: flex;
}

.form {
  max-width: 500px;
  margin-left: auto;
}

.form__block-title {
  font-size: 45px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.form__block-subtitle {
  font-weight: 600;
  margin-bottom: 40px;
}

.form__input {
  line-height: 60px;
  color: #808080;
  font-size: 16px;
  font-weight: 400;
  padding: 0 25px;
  width: 100%;
  display: block;
  background-color: #ffffff;
  border-radius: 15px;
  border: none;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
}

.form__input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.form__input-wrapper:after {
  font-size: 12px;
  line-height: 1;
  color: red;
  text-align: center;
  content: attr(data-error);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 3px;
}

.form__block-bottom {
  margin-top: 40px;
  display: flex;
  align-items: center;
}

.form__btn {
  border-radius: 100px;
  background-color:#FF9800;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  border: none;
  display: block;
  width: 180px;
  transition: opacity .3s;
  cursor: pointer;
}

.form__btn:hover {
  opacity: .7;
}

.form__block-notice {
  font-size: 12px;
  max-width: 310px;
  margin-left: 20px;
}

.form__block-notice span {
  text-decoration: underline;
}

.form__section-bg {
  flex: 0 0 50%;
  background: url(../images/form-section-bg.jpg) no-repeat center center;
  background-size: cover;
}

.thank__section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/first-screen-bg.jpg') no-repeat center center;
  background-size: cover;
  min-height: 100vh;
}

.thank__block {
  background-color: #00AFFF;
  color: #ffffff;
  border-radius: 15px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 615px;
  min-height: 500px;
  padding: 50px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center; 
}

.thank__title {
  font-size: 35px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.thank__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
}

.thank__link {
  display: block;
  max-width: 260px;
  text-decoration: none;
  text-align: center;
  font-size: 20px;
  padding: 15px 30px;
  border-radius: 100px;
  color: #ffffff;
  transition: opacity .3s;
  border: 1px solid #ffffff;
  transition: opacity .3s;
}

.thank__link:hover {
  opacity: .7;
}

@media (max-width: 1199px) {
  .first-screen__question {
    min-height: 450px;
  }

  .first-screen__title,
  .form__block-title,
  .thank__title {
    font-size: 25px;
  }

  .form__block {
    padding: 70px 30px;
  }
}

@media (max-width: 991px) {
  .form__section-bg {
    min-height: 450px;
  }

  .first-screen__buttons {
    flex-direction: column;
    align-items: center;
  }

  .first-screen__yes {
    margin-bottom: 10px;
  }

  .form__section {
    display: block;
  }

  .form {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .first-screen {
    padding: 65px 15px;
    display: block;
  }

  .thank__section {
    padding: 30px 15px;
  }

  .thank__block {
    min-height: 400px;
    padding: 20px;
  }

  .first-screen__question {
    padding: 75px 10px 80px;
    min-height: auto;
  }

  .first-screen__title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .first-screen__subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .first-screen__button {
    font-size: 16px;
  }

  .form__section-bg {
    min-height: 380px;
  }

  .form__block {
    padding: 65px 15px 70px;
    text-align: center;
  }

  .form__block-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .form__block-subtitle {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .form__block-bottom {
    margin-top: 32px;
    display: block;
  }

  .form__btn {
    max-width: 290px;
    width: 100%;
    margin: 0 auto 12px;
  }

  .form__block-notice {
    max-width: 290px;
    margin: 0 auto;
  }
}