.main {
    /* margin-top: 28px; */
    background-color: var(--innerBg);
    border-radius: var(--brad);
}
main h1 {
    font-size: 32px;
    margin-bottom: 12px;
}
.main > div {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.main p:first-child {
    font-size: 100px;
    font-weight: 700 !important;
    color: var(--black);
    text-align: center;
    line-height: 120% !important;
    width: max-content;
    height: max-content;

    margin-top: 172px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0 !important;

    display: inline-block;
}
.main p:first-child span:first-child {
    color: rgb(0, 0, 0) !important;
    /* color: var(--accent) !important; */
}
.main p:first-child span {
    padding: 0 39px;
    color: black !important;
}
.main p:first-child::before {
    content: "";
    position: absolute;
    background-image: url(/assets/textBg.svg);
    background-repeat: no-repeat;
    width: 110%;
    height: 110%;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-size: 142% 111%;
    background-position: center;
}
.main__bottom {
    margin-top: clamp(
        250px,
        calc(250px - (191 * ((1920px - 100vw) / 620))),
        250px
    );
    padding-bottom: 68px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}
.main__title {
    max-width: 509px;
}
.main__title h1 {
    color: var(--textMain);
    font-weight: 600 !important;
}
.main__title p {
    color: var(--gray) !important;
}
.main__bottom > a {
    max-width: 376px;
}
.main__bottom > a span {
    margin-left: 10px;
}
.main__bottom > a > * {
    display: inline-block;
    vertical-align: middle;
}
.main__girl {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 46%;
    height: 100%;
    z-index: 10;
}
.main__girl > img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.main__girl > img:last-child {
    opacity: 0;
    z-index: 2;
}
.main__girl:hover > img:last-child {
    opacity: 1;
}
@media (max-width: 1864px) {
    .main {
        margin-top: 12px;
        /* border-radius: var(--bradHight); */
        /* border-top-left-radius: 0; */
        /* border-top-right-radius: 0; */
        margin-left: -12px;
        width: 100vw;
        margin-top: 0;
    }
}
@media (max-width: 1752px) {
    .main__bottom {
        padding-left: 34px;
        padding-right: 34px;
    }
}
@media (max-width: 1300px) {
    .main p:first-child {
        font-size: 8vw;
        order: 2;
        margin-top: 41px;
        margin-bottom: 0;
    }
    .main p:first-child span {
        padding: 0;
    }
    .main p:first-child::before {
        background-size: 102% 112%;
    }
    .main__bottom {
        order: 1;
        margin-top: 50px;
        padding-bottom: 0;
    }
    .main__girl {
        position: relative;
        order: 3;
        width: 80%;
        height: 60vw;
    }
    .main__girl > img:first-child {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        transform: translateY(-14%);
    }
    .main__girl > img:last-child {
        width: 100%;
        height: auto;
        left: 0;
        bottom: 0;
        transform: translateY(2.95%);
    }
}
@media (max-width: 768px) {
    .main__girl {
        position: relative;
        order: 3;
        width: 130%;
        height: 100vw;
        margin-top: -8%;
    }
    .main__bottom {
        flex-direction: column;
        align-items: start;
        gap: 26px;
    }
    .main__girl > img:first-child {
        position: relative;
        width: 100%;
        height: auto;
        left: 0;
        transform: translateY(-7%);
    }
    .main__girl > img:last-child {
        width: 100%;
        height: auto;
        left: 0;
        bottom: 0;
        transform: translateY(
            calc(7.9% + (-1 * ((100vw - 360px) / (768 - 360))))
        );
    }
}
