@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');




*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Базовые настройки для мобильных устройств */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.6;
    gap: 10px;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    align-items: center;
    justify-content: flex-start;
    background-color: #DDE9FF;
    width: 100%;
    height: 180vh;
    color: #000000;
}

.over{
    display: flex;
    position: absolute;
    width: 100%;
    height: 100vh;
    opacity: 0;
    visibility: hidden;
    background-color: #00000029;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup{
    max-width: 450px;
    background-color: #DDE9FF;
    width: 90%;
    position: absolute;
    height: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.popup ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 90%;
}

.popup ul a{
    background-color: #72A3FF;
    width: 100%;
    height: 100px;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    transition: 0.2s;
}
.popup ul a:hover{
    background-color: #6a98ee;

}
.second ul li{
    background-color: #72A3FF;
    width: 100%;
    height: 175px;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


.popup ul a p{
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;    
    position: absolute;
    bottom: 5px;
    right: 15px;
}

.second ul{
    gap: 5px;  
}
.second ul li{
    flex-direction: column;  
}
.second ul li p{
    font-size: 13px;
    width: 80%;
    font-weight: 300;
    color: #ffffff;
    position:unset;    
}
#popup_sup{
    height: auto;
}
#popup_sup p{
    padding: 10px 0px 10px 0px;
}
.popup ul a h2{
    font-size: 22px;
    font-weight: 400;
    translate: 0 -15px;
    margin: 0;
    width: auto;
    color: #fff;
}
.second ul li h2{
    width: 80%;
    font-weight: 500;
    color: #ffffff;

}

.upper_pop{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.popup h2{
    font-weight: 700;
    font-size: 25px;
    width: 80%;
    margin-left: 20px;
    color: #242424;
}
.second h2{
    font-weight: 700;
    font-size: 25px;
    width: auto;
    margin-left: 20px;
    color: #242424;
}

.popup p{
    font-weight: 300;
    font-size: 20px;
    color: #3B3B3B;
    margin-left: 20px;
}

.upper{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    width: 90%;
    height: 170px;
}

.upper::after{
    content: '';
    height: 2px;
    width: 100%;
    position: absolute;
    background-color: #72A3FF;
    left: 0;
    top: 160px;
}

.upper h2{
    width: 50%;
    color: #242424;
    font-size: 24px;
    font-weight: 600;
}

.logo{
    width: 130px;
    height: 30px;
    background-color: #72A3FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #ffff;
}
.upper ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.upper ul li{
    list-style: none;
    white-space: nowrap;
    color: #777777;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}
.upper ul li a{
    list-style: none;
    white-space: nowrap;
    color: #777777;
    text-decoration:none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}.upper ul li a:hover{
    color: #454545;
}

.upper ul li:hover{
    color: #454545;
}

.logo h3{
    font-weight: 400;
    font-size: 16px;
}

.logo_img{
    background-image: url(../static/Animated_AgADMBgAAoTkqUs.gif);
    height: 20px;
    width: 15px;
    background-size: cover;
    background-position: center;
}

.mid{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.mid h2{
    color: #242424;
    font-weight: 600;
    font-size: 26px;
}

.mid p{
    color: #777777;
    font-weight: 400;
    font-size: 20px;
    width: 70%;
}

.mid a{
    background-color: #FF5CB9;
    width: 55%;
    height: 55px;
    outline: none;
    border: none;
    border-radius: 12px;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
}

.mid_img{
    height: 60px;
    width: 60px;
    background-color: #72A3FF;
    border-radius: 12px;
    position: relative;
}

.mid_img::after{
    content: '';
    height: 80%;
    left: 12%;
    top: 12%;
    transition: -50% -50%;
    width: 80%;
    position: absolute;
    z-index: 3;
    background-image: url(../static/Animated_AgADMBgAAoTkqUs.gif);
    background-size: cover;
    background-position: center;
}

.bottom{
    display: flex;
    margin-top: 50px;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-self: center;
}

.bottom h3{
    font-size: 18px;
    color: #242424;
    width: 80%;
    font-weight: 400;
}

.bottom span{
    font-weight: 600;
}

.bottom_block{
    background-color: #ACC9FF;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    border-radius: 14px;
    position: relative;
}

.bottom_block::after{
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    transform: rotate(30deg);
    background-position: center;
    background-size: cover;
    height: 50px;
    width: 50px;
    background-image: url(../static/Animated_AgADmhsAAlpTkEo.gif);
    
}

.bottom_block h3{
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.bottom_block a{
    position: absolute;
    top: 100%;
    left: 15px;
    height: 25px;
    width: 95px;
    border-radius: 6px;
    display: flex;
    text-decoration: none;
    align-items: center;
    color: #000;
    justify-content: center;
    translate: 0 -30%;
    background-color: #FDFEFF;
    outline: none;
    border: none;
}
footer{
    width: 90%;
    margin-top: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer h3{
    font-size: 25px;
}

.upper_footer{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
    
}

footer ul li{
    font-size: 19px;
    max-width: 250px;
}

footer ul .li2{
    margin-left: 125px;
}

.btn1 {
    background-color: #72A3FF;
    border-radius: 12px;
    font-size: 18px;
    width: 70%;
    height: 60px;
    outline: none;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border: none;
    margin-top: 50px;
    color: #fff;
}

@media (max-height: 760px) {
    body{
        height: 1400px;
    }
    .popup ul a{
        height: 80px;
    }
    .popup{
        gap: 40px;
    }
    .second ul li{
        height: 175px;
    }
    .popup ul a h2{
        font-size: 18px;
    }
    .over{
        height: 130vh;
    }
    .popup{
        top: 10vh;
    }
}
@media (max-height: 660px) {
    .over{
        height: 100vh;
    }
    .popup{
        width: 90%;
        max-width: none;
    }
    /* .popup ul{
        flex-direction: row;
    } */
    .popup ul a p{
        font-size: 10px;
    }
    .popup ul a h2{
        font-size: 16px;
    }
}
@media (max-width: 400px) {
    .popup ul a {
        height: 70px;
    }
    .mid a {
        font-size: 15px;
    }
    .mid p {
        font-size: 17px;
    }
}
@media (max-height: 450px) {
    .popup ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 95%;
}
    .popup ul a p {
    font-size: 10px;
    font-weight: 300;
    color: #ffffff;
    position: absolute;
    bottom: 5px;
    right: 10px;
}
    .popup ul a h2 {
        font-size: 14px;
    }
    .popup {
         gap: 20px;
    }

}