/*.slide-button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #22364c;
    border: none;
    border-bottom-left-radius: 25px;
    border-top-left-radius: 25px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    outline: none;
    transition: color 0.4s;
    position: absolute;
    top: 40px;
    right: 156px;
    font-family: 'italic';
}
.slide-button-left   {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #22364c;
    border: none;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    cursor: pointer;

    overflow: hidden;
    outline: none;
    transition: color 0.4s;
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: 'italic';
}
.header_button{
    padding: 10px 20px;
    font-size: 18px;
    color: #22364c;
    background-color: #fff;
    border: none;
    font-family: 'italic';
    font-weight: bold;
    float: left;
}

.slide-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #0056b3;
    transition: all 0.4s;
}
.slide-button-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #0056b3;
    transition: all 0.4s;
}

.slide-button:hover::before {
    left: 0;
}

.slide-button:hover {
    color: #fff;
}

.slide-button-left:hover::before {
    right: 0;
}

.slide-button-left:hover {
    color: #fff;
}*/

@font-face {
    font-family: "Dyonisius"; /* Гарнитура шрифта */
    src: url("Dyonisius.ttf"); /* Путь к файлу со шрифтом */
    font-display: swap;
    font-family: "1_font"; /* Гарнитура шрифта */
    src: url("1_font.otf"); /* Путь к файлу со шрифтом */
    font-display: swap;
    ont-family: "italic"; /* Гарнитура шрифта */
    src: url("Italic.ttf"); /* Путь к файлу со шрифтом */
    font-display: swap;
}

.first_font {
    font-family: '1_font';
    font-size: 5vh;

}
/*.header1 {

    font-family: Arial, Helvetica, sans-serif;
    background-color: blue;
    color: white;
    min-height: 30vh;
    padding: -50px;
    border-radius: 15px;
}*/

/*------------------шапка--------------------*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    font-family: "Poppins", sans-serif;
    transition: all .3s;

}

html{
    font-size: 62.5%;
    overflow-x: hidden;
}
body{
    background-color: #e8f0f6;
    min-height: 100%;
    /*display: flex;
    flex-direction: column;*/


}
.header{

    height: 25vh;
    background-color: #e8f0f6;
    padding: 1rem 3rem;
    border-radius: 2vh;
    background-image: url("list.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;

}
@media (min-width: 15vh) {
    .header{
        display: flex;
        /*justify-content: space-between ;*/
        align-items: center;
    }
    .nav-list{
        display: flex;
    }
}
.logo{
    font-size: 2rem;
    color: #1a202c;
    font-weight: 800;
}
.nav{
    text-align: center;
}
.nav-item a {
    display: block;
    padding: 1.5rem 1rem;
    font-size: 2rem;
    color: #1a202c;
    font-weight: 600;
}
.nav-item a:hover{
    color: #0056b3;
}
.nav-toggle .fa-bars{
    border: 1px solid #1a202c;
    background: transparent;
    padding: 0.5rem;
}
.nav-toggle{
    display: none;
}
@media(max-width: 54rem) {
    .nav-toggle{
        display: block;
        position: absolute;
        right: 0.5rem;
        top: 1.2rem;
    }
    .nav-list{
        position: absolute;
        top: 25vh;
        right: 0;
        left: 0;

        background-color: #dbdbd7;
        z-index: -2;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-100%);
        transition: all .3s;

    }
    .nav-list.active{
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .header{

        height: 25vh;
        background-color: #e8f0f6;
        padding: 1rem 3rem;
        border-radius: 2vh;
        background-image: url("list.png");
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        margin-bottom: 12vh;
    }
}
/*--------------------footer-----------------------*/
.footer_icon{
    width: 5.5vh;
    height: 5.5vh;

}
.footer {
    background-color: #dbdbd7;
    border-radius: 2vh;
}
.footer_container{
    width: 100%;
    padding: 1.5vh 4vh 2.7vh;
}
.social_icon{
    display: flex;
    justify-content: center;
}
.social_icon a {
    text-decoration: none;
    padding: 1.5vh;
    background-color: #dbdbd7;
    margin: 1.5vh;
}
.footer_nav{
    margin: 0.7vh 0;
}
.footer_nav ul{
    display: flex;
    justify-content: center;
}
.footer_nav ul li a{
    color: #0a0a0a;
    margin: 2.7vh;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}
li.footer_mail{
    color: #0056b3;
    font-size: 1.5rem;
}
.footer_write{
    font-size: 1.5rem;
}

.footer_nav ul li a:hover{
    opacity: 1;
}
.footer_bottom{
    background-color: #e8f0f6;
    padding: 2.7vh;
    display: flex;
    text-align: center;
    border-radius: 2vh;
}
@media (max-width: 80vh) {
    .footer_nav ul{
        flex-direction: column;
    }
    .footer_nav il li{
        width: 100%;
        text-align: center;
        margin: 1.4vh;
    }
}
.footer_mail{
    margin-left: auto;
    margin-top: 1.4vh;
}
.header_social_icon{
    text-align: center;
    width: 6.7vh;
    height: 6.7vh;

}
.between_social_icon{
    margin: 1vh 1.4vh;
    display: inline-block;
}
.phone{
    font-size: 3vh;
    font-weight: 800;
}
/*------------------------катомные буллиты--------------------------*/
.bullets{
    list-style-image: url("bnullets (1).png");

}

/*------------------------адаптация под маленький размер страницы------------------------------*/
.adaptiv{
    display: flex;

}
@media (max-width: 54rem) {
    .adaptiv{
        display: flex;
        flex-direction: column;
    }
}

/*------------------------------------------------------------------------------------------*/
.why_choose_us{
    font-size: 1.8rem;
    width: 33vw;
    margin-left: 8vh;
    margin-bottom: 3vh;
}
.why_choose_us_main{

    width: 33vw;

    font-size: 2.7rem;
    font-weight: 700;
    margin-left: 8vh;
    margin-bottom: 3vh;


}
.why_choose_us_img{

    width: 33vw;

}
/*-------------------------------------кнопка перехода---------------------*/
.blobby-button {

    overflow: hidden;
    outline: none;
    display: flex;
    color: #335ffd;
    background-color: transparent;
    text-align: center;
    position: relative;
    border: none;
    padding: 1em 2em;
    border-radius: 4px;
    transition: color calc(0.7s * .75);
    font-weight: 900;
    cursor: pointer;
    align-items: center;
    letter-spacing: 2px;
    justify-content: center;
    z-index: 1;
    font-size: 2rem;
}

.blobby-button .blobs {
    position: relative;
    display: block;
    height: 100%;
    filter: url('#goo');
}

.blobby-button .blob:nth-child(1) {
    left: 0;
    transition-delay: 1ms;
}

.blobby-button .blob:nth-child(2) {
    left: calc(120% / 4);
    transition-delay: calc((1s * .12) * 1);
}

.blobby-button .blob:nth-child(3) {
    left: calc(2 * (120% / 4));
    transition-delay: calc((1s * .12) * 2);
}

.blobby-button:hover .blob {
    transform: translateZ(0) scale(1.7);
}

.blobby-button .blob:nth-child(4) {
    left: calc(3 * (120% / 4));
    transition-delay: calc((1s * .12) * 3);
}

.blobby-button:before {
    width: 100%;
    left: 0;
    height: 100%;
    position: absolute;
    border: 5px solid #130979;
    border-radius: 4px;
    top: 0;
    content: "";
    z-index: 1;
}

.blobby-button .blob {
    position: absolute;
    top: 3px;
    width: calc(100% / 4);
    height: 100%;
    background: #335ffd;
    border-radius: 100%;
    transform: translate3d(0,150%,0) scale(1.7);
    transition: transform 0.7s;
}

.blobby-button:hover {
    color: #fff;
}

.blobby-button > svg {
    display: none;
}

.blobby-button .inner {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
/*-----------------------------------------------------------------------*/
/*.bg_wave{
    background-image: url("wave.png");
    background-size: 50vw 50vh;
    background-position: bottom right;
    display: flex;
    background-repeat: no-repeat;

}
.bg_wave_left{
    background-image: url("wave.png");
    background-size: 50vw 50vh;
    background-position: bottom left;
    display: flex;

    background-repeat: no-repeat;
}

.bg_leaf{
    background-image: url("leaf.png");
    background-size: 50vw 70vh;
    background-position: top left;

    background-repeat: no-repeat;
}*/
.bg_wave {
    background-image: url("wave.png");
    background-size: 50vw 50vh;
    background-position: bottom right;
    background-repeat: no-repeat;

    display: flex;

}

.bg_wave_left {
    background-image: url("wave.png");
    background-size: 50vw 50vh;
    background-position: bottom left;
    background-repeat: no-repeat;

    display: flex;

}

.bg_leaf {
    background-image: url("leaf.png");
    background-size: 50vw 70vh;
    background-position: top left;
    background-repeat: no-repeat;
}


/* Сделать изображение адаптивным */
.bg_wave img {
    width: 100%;
    height: auto;
    display: block;
}

.grid_container{
    display: grid;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* адаптивная сетка */
    gap: 16px; /* отступы между карточками */
    padding: 20px;
}
.grid-item {
    background: lightblue;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

