:root {
  --accent-font: 'M PLUS Rounded 1c', sans-serif;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

a {
  text-decoration: none;
}

button {
  outline: none;
  border: none;
}

img,
svg {
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 350px;
  padding: 0 10px;
  margin: 0 auto;
}

.header__title {
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5px 31px;

  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
  color: #fff;

  background: #bb78a3;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 0px 0px 20px 20px;
}

.hero {
  padding: 14px 0 57px 0;
}

.hero__images {
  min-height: 320px !important;
  display: flex;
  align-items: center;
}

.hero__image {
  transition-duration: 500ms;
  margin: 0 auto;

  max-width: 100%;
  max-height: 100%;
}

.hero__list {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hero__buttons {
  display: flex;
  gap: 20px;
}

.hero__button {
  border: 3px solid #cbd1d8;
  border-radius: 20px;
  overflow: hidden;
}

.hero__button.change-active {
  transition-duration: 500ms;
  border: 3px solid #52a1ff;
}

.hero__title {
  font-weight: 800;
  font-size: 22px;
  line-height: 41px;
  color: #453333;
  text-align: center;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.hero__link {
  display: block;
  width: 188px;
  padding: 10px 0;
  margin: 0 auto;

  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 39px;
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 20px;

  text-transform: uppercase;
}

.hero__link:nth-child(1) {
  background-color: #ffd965;
}

.hero__link:nth-child(2) {
  background-color: #bb78a3;
}

.review {
  padding-bottom: 25px;
}

.review__title {
  font-family: var(--accent-font);
  font-weight: 800;
  font-size: 15px;
  line-height: 22px;
  color: #000000;

  padding: 10px 11px;
  background: #f5f4f4;
  border-radius: 20px;
  margin-bottom: 9px;
}

.review__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review__item {
  background: #f5f4f4;
  border-radius: 20px;
  padding: 10px 0;
}

.review__stars {
  display: flex;
  gap: 7px;
  padding-left: 11px;
}

.review__name {
  font-family: var(--accent-font);
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #000000;
  padding-left: 11px;
  margin-bottom: 2px;
}

.review__name span {
  color: #52a1ff;
}

.review__date {
  font-family: var(--accent-font);
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  color: #000000;
  padding-left: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d6cece;
  margin-bottom: 10px;
}

.review__text {
  font-family: var(--accent-font);
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #000000;
  padding: 0 11px 10px 11px;
  border-bottom: 1px solid #d6cece;
  margin-bottom: 10px;
}

.review__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.review__like {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 13px;

  border: 1px solid #52a1ff;
  border-radius: 20px;

  font-family: var(--accent-font);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.2;
  color: #000000;
}

.review__dislike {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 13px;

  border: 0.5px solid #ff0000;
  border-radius: 20px;

  font-family: var(--accent-font);
  font-style: normal;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.2;
  color: #000000;
}

.form {
  background: #f5f4f4;
  border-radius: 20px;
  padding: 10px 0 17px 0;
  margin-bottom: 22px;
}

.form__title {
  font-family: var(--accent-font);
  font-weight: 800;
  font-size: 15px;
  line-height: 22px;
  color: #000000;
  padding-left: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d6cece;
  margin-bottom: 10px;
}

.form__stars {
  display: flex;
  justify-content: center;
  gap: 10.6px;
  margin-bottom: 10px;
}

.form__input {
  display: block;
  width: 300px;
  margin: 0 auto 10px auto;
  padding: 9px 14px;

  background: #ffffff;
  border: 0.2px solid #9c9c9c;
  border-radius: 20px;
  outline: none;

  font-family: var(--accent-font);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  line-height: 19px;
  color: #afaeae;
}

.form__input::placeholder {
  color: #afaeae;
}

.form__text {
  user-select: none;
  resize: none;
  display: block;
  width: 300px;
  margin: 0 auto 10px auto;
  padding: 9px 14px;

  background: #ffffff;
  border: 0.2px solid #9c9c9c;
  border-radius: 20px;
  outline: none;

  font-family: var(--accent-font);
  font-style: normal;
  font-weight: 300;
  font-size: 13px;
  line-height: 19px;
  color: #afaeae;
  height: 140px;
}

.form__text::placeholder {
  color: #afaeae;
}

.form__submit {
  display: block;
  background: #dfdede;
  border-radius: 20px;
  padding: 5px 47px;
  margin: 0 auto;

  font-family: var(--accent-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
}

.form__success {
  display: none;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  color: #1bba02;
  margin: 20px auto 0 auto;
}

.form__error {
  display: none;
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
  color: #fe0000;
  max-width: 204px;
  margin: 20px auto 0 auto;
}

.comment__block {
  text-align: center;
  background: #f5f4f4;
  box-shadow: 0px 4px 16px 5px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 7px 15px 10px 15px;
  margin-bottom: 50px;
}

.comment__title {
  font-weight: 800;
  font-size: 20px;
  line-height: 41px;
  color: #453333;
  margin-bottom: 5px;
}

.comment__text {
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  color: #000000;
  margin-bottom: 30px;
}

.select {
  width: 100%;
  max-width: 700px;
  background-color: #f8f8f8;
  border-radius: 25px;
  padding: 30px;
  margin: 50px auto 0;
  margin-top: 50px;
  box-shadow: 0px 4px 16px 5px rgba(0, 0, 0, 0.25);
}

.select__button {
  width: 100%;
  font-size: 28px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background-color: #bb78a3;
  border-radius: 8px;
  padding: 20px;
  font-weight: 700;
  transition: background-color 0.3s ease-in-out;
  line-height: 1.2;
  margin: 0 auto;
}

.select__button:hover {
  background-color: #066c0f;
}

.select__title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: #000000;
  margin: 12px 0;
}

.select__inner {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px auto 0;
}

.select__item {
  text-align: center;
  width: 31%;
  background-color: #bb78a3;
  border-radius: 8px;
  margin-right: 14px;
  margin-bottom: 14px;
  transition: background-color 0.3s ease-in-out;
}

.select__item-link {
  font-size: 26px;
  display: block;
  width: 100%;
  text-decoration: none;
  padding: 20px;
  font-weight: 700;
  color: #ffffff;
  transition: background-color 0.3s ease-in-out;
  line-height: 1.2;
}

.select__item:hover {
  background-color: #066c0f;
}

.footer {
  padding: 40px 0;
  background-color: #2e2e2e;
}

.footer__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.footer__link {
  font-size: 10px;
  color: #ffffff;
}

.footer__text {
  font-size: 10px;
  color: #ffffff;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

@media (max-width: 430px) {
  .hero__list {
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc((84px * 2) + 20px);
    margin: 0 auto;
  }
  .hero__list .hero__item {
    width: 50%;
    text-align: center;
  }
  .select__inner {
    gap: 10px;
  }
  .select__item {
    width: 100%;
    margin: 0;
  }
  .hero__title {
    font-size: 19px;
    line-height: 1.4;
  }
  .select__title {
    font-size: 24px;
  }
}