main {}

.main__inner {
    display: flex;
    align-items: center;
    padding-top: 32px;
    gap: 122px;
    position: relative;
    justify-content: center;
}

@media (max-width:770px) {
    .main__inner {
        gap: 0px;
    }
}

.main__left {
    width: 55%;
}

.main__left>img {
    width: 100%;
}

.main__right {
    width: 100%;
    /* max-width: 369px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (max-width:770px) {
    .main__right {
        max-width: none;
    }
}


@media (max-width:770px) {
    .main__left {
        display: none;
    }

    .main__container {
        background-image: url(../../img/main/mainMobile.png);
        background-repeat: no-repeat;
        height: 656px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
}

.main__right__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 49px;
}

@media (max-width:770px) {
    .main__right__content {
        width: 100%;
    }
}

/* .main__right__content>img {
    width: 100%;
} */

@media (max-width:770px) {
    .main__right__content>img {
        max-width: 180px;
        display: flex;
        margin: 0 auto;
    }
}

.main__title {
    font-family: "Philosopher", serif;
    font-weight: 700;
    font-size: 37px;
    line-height: 127%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

@media (max-width:770px) {
    .main__title {
        font-size: 23px;
        line-height: 130%;
    }
}

.main__button-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}


@media (max-width:770px) {
    .main__button-block {
        align-items: center;
        padding-top: 24px;
    }
}

.main__button {
    max-width: 369px;
    width: 100%;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: #fff;
    background: #2d3f32;
    /* background: linear-gradient(90deg, #c09651 0%, #2d3f32 0%); */
    border: none;
    border-radius: 14px;
    padding: 18px 0px;
}

.golden__animation {
    position: relative;
    overflow: hidden;
    transition: 0.4s all ease-in-out;
}

.golden__animation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(90deg, #c09651 0%, #2d3f32 58%);
    z-index: -1;
    opacity: 0;
    transition: 0.4s all ease-in-out;
}

.golden__animation:hover {
    background: transparent;
}

.golden__animation:hover::after {
    opacity: 1;
}

.main__link {
    text-align: center;
    font-weight: 400;
    font-size: 15px;
    line-height: 40%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #52785c;
}

@media (max-width:770px) {
    .main__link {
        padding-top: 12px;
    }
}

.main__footer {
    padding-top: 56px;
}

@media (max-width:770px) {
    .main__footer {
        padding-top: 0;
        padding-bottom: 20px;
    }
}

.main__footer--list {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width:770px) {
    .main__footer--list {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
}

.main__footer--item {
    display: flex;
    align-items: center;
    gap: 30px;
}

@media (max-width:770px) {
    .main__footer--item:nth-child(even) {
        display: none;
    }

    .main__footer--item>img {
        max-width: 84px;
    }

    .main__footer--item:nth-child(3)>img {
        max-width: 50px;
    }

    .main__footer--item:nth-child(5)>img {
        max-width: 52px;
    }

    .main__footer--item {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        gap: 12px;
        padding-bottom: 10px;
    }
}

@media (max-width:770px) {
    .main__footer--text {
        display: none;
    }
}

.main__footer--circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2d3f32;
}

.login-form {
    display: flex;
    flex-direction: column;
    max-width: 369px;
    width: 100%;
}

.login__form-text {
    font-weight: 300;
    font-size: 15px;
    line-height: 160%;
    color: #fff;
}

@media (max-width:770px) {
    .login__form-text {
        padding-bottom: 32px;
    }
}

.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input__form {
    border: 1px solid #4d9fcc;
    border-radius: 4px;
    padding: 14px 16px;
    font-weight: 300;
    font-size: 15px;
    color: #181f2f;
}

.checkbox__input {
    font-weight: 300;
    font-size: 10px;
    line-height: 130%;
    color: #c09651;
    display: flex;
    align-items: center;
    text-align: start;
    cursor: pointer;
    gap: 8px;
}

.checkbox__input a {
    text-decoration: underline;
}

.custom-checkbox {
    display: none;
    /* Скрываем стандартный чекбокс */
}

.custom-checkbox-box {
    max-width: 24px;
    width: 100%;
    height: 24px;
    border-radius: 4px;
    background-color: #fff;
    /* Белый фон */
    margin-right: 8px;
    /* Отступ между чекбоксом и текстом */
    position: relative;
    transition: background-color 0.3s;
}

.custom-checkbox:checked+.custom-checkbox-box {
    background-color: #fff;
    /* Черный фон при нажатии */
}

.custom-checkbox-box::after {
    content: '';
    position: absolute;
    width: 20px;
    /* 90% от 24px */
    height: 20px;
    /* 90% от 24px */
    background-color: #2d3f32;
    /* Белый цвет внутри */
    border-radius: 4px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.3s all;
}

.custom-checkbox:checked+.custom-checkbox-box::after {
    opacity: 1;
}

.login__button {
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: #fff;
    border-radius: 14px;
    padding: 18px 12px;
    max-width: 368px;
    width: 100%;
    background: #2d3f32;
    border: none;
    transition: opacity 0.3s ease-in-out;
}

.login__button:disabled {
    opacity: 0.5;
}

.return__button {
    background-color: transparent;
    color: #c09651;
    font-size: 16px;
    border: 1px solid #2d3f32;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    margin-bottom: 16px;
}

.img__mainlogo{
    width: 450px;
    height: 269px;
}

.main__rightbottom{
    padding: 84px 0 100px 0;
    display: flex;
    gap: 30px;
}

.main__bottomcenter{
    padding: 23px 20px;
    width: 369px;
    cursor: default;
}

.main__titletop{
    font-family: "Philosopher", sans-serif;
    font-size: 37px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}