: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: #FFFFFF;

    background: #02bf11;
    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;
}

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

.hero__list {
    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;
}

.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: #b10000;
}

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

.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: 90px;
}

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

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

.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;
}