.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Montserrat';
}
.modal_content{
    position: relative;
    background: radial-gradient(circle at top left, #FFFFFF 0%, #6F6F6F 50%), radial-gradient(circle at bottom right, #FFFFFF 0%, #6F6F6F 50%);
    background-blend-mode: multiply;
    padding: 5rem;
    display: flex;
    overflow: hidden;
    border-radius: 24px;
    text-align: center;
    box-sizing: border-box;
    flex-direction: column;
}
.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 10;
    height: 100%;
    text-align: center;
}
.img{
    position: absolute;
    width: 25%;
    z-index: 1;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    pointer-events: none;
}
.img-left {
    left: -3%;
    bottom:0;
    border-bottom-left-radius:24px;
}
.img-right {
    bottom:5%;
    right: -5%;
}
.content span {
    margin-bottom: 1rem;
    max-width: 700px;
    font-family: Buyan;
    font-weight: 700;
    font-style: Bold;
    font-size: 55px;
    line-height: 128%;
    letter-spacing: 5%;
    text-align: center;
    text-transform: uppercase;
}
.text {
    margin-bottom: 2rem;
    max-width: 640px;
}
.content .text p{
    font-family: Montserrat;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 5%;
    text-align: center;
}
.content .text span{
    color: rgba(255, 217, 173, 1);
    font-family: Montserrat;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 5%;
    text-align: center;

}
.content button{
    width: 70%;
    height: 25%;
    font-size: 15px;
    box-shadow: 0px 7px 0px 0px rgba(216, 168, 110, 1);
}
/* Адаптивные стили для планшетов */
@media (max-width: 1024px) {
    .modal_content {
        padding: 4rem 3rem;
        height: auto;
    }
    .img {
        width: 22%;
    }
    .img-left { bottom: 0; left: -2%;}
    .img-right { right: -4%; }
}
/* Адаптивные стили для мобильных */
@media (max-width: 768px) {
    .modal_content {
        padding: 80px 15px 130px 15px;
    }
    .content span {
        font-size: 45px;
        max-width: 340px;
    }
    .text{
        max-width: 320px;
    }
    .content .text p{
        font-size: 14px;
    }
    .content .text span{
        font-size:14px;
    }
    .content button {
        max-width: 290px;
        width: 70%;
        font-size: 14px;
    }
    .img {
        width: 60%;

    }
    .img-left {
        top: -4%;
        left: 0;
        transform: rotate(-290deg);
        width: 40%;
    }
    .img-right {
        right: -8%;
        bottom: -4%;
    }
}
@media (max-width: 480px) {
    .img {
        width: 40%;
    }
    .img-right {
        width: 55%;
    }
}
