* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #242742;
}

@font-face {
  font-family: "Roboto", sans-serif;
  src: url(./assets/fonts/Roboto-Regular.ttf);
  font-weight: 400;
}
@font-face {
  font-family: "Roboto", sans-serif;
  src: url(./assets/fonts/Roboto-Bold.ttf);
  font-weight: 600;
}
.main {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.main__content {
  padding: 40px 24px;
}
.main__content__header {
  margin: 0;
  font-size: 40px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 100%;
}
.main__content__description {
  margin: 0;
  margin-bottom: 24px;
}
.main__content__list {
  list-style-type: none;
  padding: 0;
  list-style-image: url(./assets/images/icon-list.svg);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
.main__content__list__item {
  padding-left: 16px;
}
.main__image {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 284px;
  border-bottom-left-radius: 13px;
  border-bottom-right-radius: 13px;
}
.main__form__label {
  font-size: 12px;
  font-weight: 600;
  line-height: 150%;
}
.main__form__input {
  display: block;
  width: 100%;
  padding: 16px 24px;
  border-radius: 10px;
  border: 1px solid lightgray;
  margin-bottom: 24px;
  margin-top: 8px;
}
.main__form__input:focus {
  outline: none;
  border: 1px solid #242742;
}
.main__form__input.invalid {
  border: 1px solid #FF6155;
  color: #FF6155;
  background-color: rgba(255, 97, 85, 0.1);
}
.main__form__input.invalid::placeholder {
  color: #FF6155;
}
.main__form__btn {
  display: block;
  width: 100%;
  background-color: #242742;
  color: #fff;
  padding: 18px 46px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
.main__form__btn:hover, .main__form__btn:focus {
  background-image: linear-gradient(to left bottom, #FF6A3A, #FF527B);
}
.main__form__success-message {
  display: none;
  padding-inline: 24px;
  padding-bottom: 40px;
  opacity: 0;
  transition: opacity 0.5s ease;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
.main__form__success-message__info {
  margin-bottom: 263px;
}
.main__form__success-message__text-block {
  text-align: left;
}

.visible__form,
.main__form__success-message {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.visible__form {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.icon-success {
  width: 64px;
  height: 64px;
  margin-bottom: 40px;
  margin-top: 150px;
}

.attribution {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px;
  background-color: #fff;
}

.error-message {
  display: none;
  color: red;
  font-size: 12px;
  font-weight: 600;
  line-height: 50%;
  text-align: right;
  margin-bottom: 15px;
  margin-top: -15px;
}

@media (min-width: 764px) {
  body {
    background-color: #36384D;
  }
  .visible__form {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
    background-color: #fff;
    border-radius: 16px;
    width: 968px;
    margin: 70px auto;
  }
  .icon-success {
    margin-top: 48px;
  }
  .main {
    margin: auto;
  }
  .main__form__success-message {
    width: 50%;
    margin: 170px auto;
    text-align: center;
    background-color: #fff;
    padding-inline: 64px;
    padding-bottom: 64px;
  }
  .main__form__success-message__info {
    margin-bottom: 40px;
  }
  .main__image {
    flex: 1;
    order: 2;
    border-radius: 16px;
    margin: 24px 24px 24px 0;
    height: 593px;
    width: 50%;
    object-fit: cover;
  }
  .main__content {
    flex: 1;
    padding: 98px 0 97px 64px;
  }
  .main__content__header {
    font-size: 56px;
  }
}

/*# sourceMappingURL=style.css.map */
