@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
list-style-type: none;
}
body{
    /* display: flex; */
    /* flex-direction: column; */
    width: 100%;
    height: 100%;
    color: #cedde6;
    background-image: url(img/fon55.png);
    background-repeat:repeat;
    background-size: 500px 270px;
    font-family: 'Poppins', sans-serif;
}


/* =================HEADER====================== */

header{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 10%;
    /* border-bottom:1px solid #4d555a; */
    color:  #005cbf;
    background: rgb(215, 215, 215);
    z-index: 2;
}



header .logo a{
    display: flex;
    align-items: center;
    width: 20%;
    height: 100%;
}

nav{
    width: 80%;
    height: 100%;
}

nav ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 100%;
}

nav ul li{
    /* background: red; */
    /* margin: 1.2rem; */
    transition: .3s;
    padding: 0.2rem;
}

nav ul li span{
font-size: 0.8rem;
color: rgb(0, 0, 0);
}

nav ul li:hover{
transform: scale(1.1);
cursor: pointer;
color: #000000;
}

nav ul li a:visited{
color: inherit;
}
/* =================END OF HEADER====================== */

/* =================SWIPER============================= */
.swiper {
    /* position: absolute; */
    width: 100%;
    height: 550px;
    border-bottom:3px solid #0404ea;
    /* text-align: center; */
}
/* .swiper-wrapper1{ */
    /* position: relative; */
/* } */
/* .swiper-slide{ */
    /* position: relative; */
    /* font-size: 18px; */
    /* background: #fff; */

    /* Center slide text vertically */
    /* display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex; */
    /* display: flex; */
    /* -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center; */
    /* justify-content: center; */
    /* -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center; */
    /* align-items: center; */
/* } */

.swiper .swiper-wrapper .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top ;
}



/* 2 swiper */
.swiper2 {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.swiper2 .swiper-wrapper .swiper-slide {
    text-align: center;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper2 .swiper-wrapper .swiper-slide img {
    /* display: block; */
    /* width: 90%;
    height: 90%; */
    /* object-position: center top ; */
    /* object-fit: cover; */
}

/* .swiper .swiper-wrapper .swiper-slide span{
    display: block;
    color: #1a1a75;
    font-size: 2.1rem;
    font-weight: 100;
    text-align: right;
}
.swiper .swiper-wrapper .swiper-slide p{
    position: absolute;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 100;
    text-align: left;
    transform: translate(90%, -180%);
} */

/* =================END OF SWIPER============================= */

/* =================MAIN====================================== */

main{
    margin-top: 2%;
    margin-left: 20%;
    margin-right: 20%;
    color: #4d555a;

}







details{
    /* padding: 1rem; */
    /* background: #007aff; */
    /* margin-bottom: 2rem; */
    /* color: #ffffff; */
}

summary{
    background: #007aff;
    margin-bottom: 1rem;
    padding: 1rem;
    color: #eef3f7;
    cursor: pointer;
}

/* details div,.gallery{
    overflow: hidden;
} */
/* 
details[open] div,.gallery{
    animation: spoiler .4s ;
} */

/* @keyframes spoiler{
    0% {
        max-height: 0;
    }

    100%{
        max-height: 25em;
    }
} */

td{
    padding: 0 6rem 0.5rem 0.3rem;
}

summary:before {
    content: "+";
    font-size: 20px;
    font-weight: 500;
    margin: -5px 5px 0 0;
}

details[open] summary:before {
    content: "-";
}



main h1{
    color: #007aff;
    margin: 1rem 0 0.6rem;
    font-weight: 500;
}

main li{
margin-bottom: 0.6rem;
font-size: 1.1rem;
list-style-type: disc;
list-style-position: inside;
}

main p{
    margin-bottom: 10%;
}

main p span{
    color:  #005cbf;
}


/*  */
.gallery{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
}


.gallery a{
    height: 300px;
    width: 20%;
    margin: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 5px #000;
}

.gallery a img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all .3s ease;
}

.gallery a img:hover{
    transform: scale(1.4);
}
/*  */


/* ================= END OF MAIN=============================== */
/* =================FOOTER===================================== */
footer{
    /* position: fixed; */

    width: 100%;
    height: 8%;
    background: #4d555ab9;
    z-index: 2;
}

footer ul{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: #fff;
    font-size: 0.7rem;
}

footer ul li{
    cursor: pointer;
}
/* =================END OF FOOTER===================================== */


    .btn-menu{
    cursor: pointer;
        display: none;
}


@media (min-width: 300px) and (max-width: 425px){

    header{
        height: 9%;
        background: #d7d7d7e3;
        justify-content: space-between;
    }
    .header_active{
        height: fit-content;
    }

    header .logo a{
        margin-left: 12%;
    }

    nav{
        display: none;
    }

    .btn-menu{
        margin-right: 3%;
        display: block;
        width: 45px;
        height: 45px;
        background: url(img/mob_menu.svg) no-repeat;
        background-size: contain;
    }

    .burger_active{
        align-self: flex-start;
        margin-top: 3%;
        margin-right: 3%;
        display: block;
        width: 45px;
        height: 45px;
        background: url(img/menu_close.svg) no-repeat;
        background-size: contain;
    }



    .logo a img {
        /* filter: invert(1); */
        width:180px;
    }

    nav ul li{
        font-size: calc(28px + (28 - 22) * ( (100vw - 768px) / ( 768 - 425) ));
    }

    nav ul li span{
        display: none;;
    }

    .menu_active{
        width: 95%;
        display: block;
    }

    
    .menu_active ul{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .menu_active ul li{
        align-self: flex-start;
    }

    .logo_hide{
        display: none;
    }

    .news_block{
        border: red 3px;
        /* height: 9%; */
    }

    .news_block_item{
        width: 35%;
    }

    .video-box{
        display: none;
    }
}




@media (min-width: 425px) and (max-width: 768px){
    header{
        height: 9%;
        background: #d7d7d7e3;
        justify-content: space-between;
    }

    .header_active{
        height: fit-content;
    }

    header .logo a{
        margin-left: 12%;
    }

    nav{
        display: none;
    }

    .btn-menu{
        margin-right: 3%;
        display: block;
        width: 45px;
        height: 45px;
        background: url(img/mob_menu.svg) no-repeat;
        background-size: contain;
    }

    .burger_active{
        align-self: start;
        margin-top: 3%;
        margin-right: 3%;
        display: block;
        width: 45px;
        height: 45px;
        background: url(img/menu_close.svg) no-repeat;
        background-size: contain;
    }



    .logo a img {
        /* filter: invert(1); */
        width:180px;
    }

    nav ul li{
        font-size: calc(28px + (28 - 22) * ( (100vw - 768px) / ( 768 - 425) ));
    }

    nav ul li span{
        display: none;;
    }

    .menu_active{
        width: 95%;
        display: block;
    }

    
    .menu_active ul{
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    
    .menu_active ul li{
        align-self: flex-start;
    }

    .logo_hide{
        display: none;
    }

}


@media (min-width: 768px) and (max-width: 1024px){
    
    header{
        height: 80px;
        justify-content: space-between;
    }

    

    header .logo a{
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 12%;
    }


    nav{
        display: none;
    }

    .btn-menu{
        margin-right: 3%;
        display: block;
        width: 45px;
        height: 45px;
        background: url(img/mob_menu.svg) no-repeat;
        background-size: contain;
    }

    .burger_active{
        margin-top: 3%;
        margin-right: 3%;
        display: block;
        width: 45px;
        height: 45px;
        background: url(img/menu_close.svg) no-repeat;
        background-size: contain;
    }

    .logo a img {
        /* filter: invert(1); */
        width:190px;
    }


    nav ul li{
        
        font-size: calc(13px + (17 - 13) * ( (100vw - 768px) / ( 1024 - 768) ));
    }

    nav ul li span{
        display: none;
    }
    
    .menu_active{
        width: 95%;
        display: block;
    }

    
    .menu_active ul{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .logo_hide{
        display: none;
    }

}


@media (min-width: 1024px) and (max-width: 2100px) {
    .logo a img {
        width:calc(180px + (240 - 180) * ( (100vw - 1024px) / ( 2100 - 1024) ));
    }


    nav ul li {
        /* color: red; */
    font-size: calc(14px + (18 - 14) * ( (100vw - 1024px) / ( 2100 - 1024) ));
        }

        nav ul li span{
            font-size: calc(10px + (16 - 10) * ( (100vw - 1024px) / ( 2100 - 1024) ));
        }

}

@media (min-width: 2100px) and (max-width: 2560px) {
    .logo a img {
        width:calc(280px + (300 - 280) * ( (100vw - 2100px) / ( 2560 - 2100) ));
    }

    nav ul li {
        /* color: red; */
    font-size: calc(24px + (26 - 24) * ( (100vw - 2100px) / ( 2560 - 2100) ));
        }

        nav ul li span{
            font-size: calc(18px + (24 - 18) * ( (100vw - 2100px) / ( 2560 - 2100) ));
        }


}