@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;
font-family: 'Poppins', sans-serif;
}

.wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    color: #005cbf;
}
/* #cedde6 */
header{
    /* position: fixed; */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 12%;
    /* border-bottom:1px solid #4d555a; */
    background: rgb(215, 215, 215, 0.389);
    z-index: 2;
    transition: .4s;
}

header:hover{
        /* border-bottom:1px solid #4d555a; */
        background: rgb(215, 215, 215, 0.889);
}

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;
}


.video-box { 
    position: fixed; 
    top: 0; 
    left: 0;  
    /* background: url(/images/video-bg.jpg) no-repeat #333333;   */
    /* background-size: cover;  */
    overflow: hidden;  z-index: 1; 
    width: 100%; 
    height:100%;
}

.video-box video {  
    position: absolute;  
    top: 0;  
    left: 0; 
    width: auto;  
    height: auto;  
    min-width: 100%;   
    min-height: 100%;   
}

@supports (object-fit: cover) {  
    .video-box video {    
      top: 0;    
     left: 0;    
    width: 100%;    
  height: 100%;    
 object-fit: cover;  
    } 
} 


.news_block {
    position: absolute;
    bottom: 0;
    padding: 2% 0 2% 0;
    background: #4d555a;
    width: 100%;
    height: 9%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: #cedde6;
    z-index: 4;
            overflow:hidden;
}
.news_block_item {
    width: 27%;
            overflow:hidden;
}

.news_block_item h3{
    font-weight: 500;
                overflow:hidden;
}

.news_block_item a, a:visited, a:active{
    color: #ffffff;
    text-decoration: none;
    list-style: none;
    font-weight: 500;
    transition: .3s;
                overflow:hidden;
}

.news_block_item a:hover{
color: #000000;

}

.btn-menu{
    cursor: pointer;
        display: none;
}

@media (max-height: 700px){
    .news_block {
        height:fit-content;
        padding: 0;
    }
}

@media (min-width: 300px) and (max-width: 425px){
    body{
        background-image: url(img/bg_moby.jpg);
        background-size: cover;
    }

    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;
    }

    .news_block .news_block_item:last-child{
        display: none;
    }

    .news_block  h1{
        font-size: calc(18px + (20 - 18) * ( (100vw - 768px) / ( 1023 - 768) ));
    }
    .news_block .news_block_item p{
        font-size: calc(12px + (14 - 12) * ( (100vw - 768px) / ( 1023 - 768) ));
    }

    .news_block .news_block_item h3{
        font-size: calc(13px + (14 - 13) * ( (100vw - 768px) / ( 1023 - 768) ));
            }

            .news_block .news_block_item a{
                font-size: calc(13px + (14 - 13) * ( (100vw - 768px) / ( 1023 - 768) ));
                    }
}




@media (min-width: 425px) and (max-width: 768px){
    body{
        background-image: url(img/bg_moby.jpg);
        background-size: cover;
    }

    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;
    }

    .news_block{
        /* border: red 3px; */
        /* height: 9%; */
    }

    .news_block_item{
        width: 38%;
    }

    .video-box{
        display: none;
    }

    .news_block .news_block_item:last-child{
        display: none;
    }

    .news_block  h1{
        font-size: calc(18px + (20 - 18) * ( (100vw - 768px) / ( 1023 - 768) ));
    }
    .news_block .news_block_item p{
        font-size: calc(12px + (14 - 12) * ( (100vw - 768px) / ( 1023 - 768) ));
    }

    .news_block .news_block_item h3{
        font-size: calc(13px + (14 - 13) * ( (100vw - 768px) / ( 1023 - 768) ));
            }

            .news_block .news_block_item a{
                font-size: calc(13px + (14 - 13) * ( (100vw - 768px) / ( 1023 - 768) ));
                    }
}


@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;
    }

    .news_block{
        border: red 3px;
        /* height: 9%; */
    }

    .news_block_item{
        width: 28%;
    }

    .news_block  h1{
        font-size: calc(18px + (20 - 18) * ( (100vw - 768px) / ( 1023 - 768) ));
    }
    .news_block .news_block_item p{
        font-size: calc(11px + (12 - 11) * ( (100vw - 768px) / ( 1023 - 768) ));
    }

    .news_block .news_block_item h3{
        font-size: calc(10px + (14 - 10) * ( (100vw - 768px) / ( 1023 - 768) ));
            }

            .news_block .news_block_item a{
                font-size: calc(12px + (14 - 12) * ( (100vw - 768px) / ( 1023 - 768) ));
                    }
}


@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) ));
        }

        .news_block  h1{
            font-size: calc(20px + (36 - 20) * ( (100vw - 1024px) / ( 2100 - 1024) ));
        }
        .news_block .news_block_item p{
    font-size: calc(12px + (18 - 12) * ( (100vw - 1024px) / ( 2100 - 1024) ));
        }

        .news_block .news_block_item h3{
            font-size: calc(14px + (20 - 14) * ( (100vw - 1024px) / ( 2100 - 1024) ));
                }

                .news_block .news_block_item a{
                    font-size: calc(14px + (20 - 14) * ( (100vw - 1024px) / ( 2100 - 1024) ));
                        }
}

@media (min-width: 2100px) and (max-width: 2560px) {
    .logo a img {
        width:calc(280px + (300 - 280) * ( (100vw - 2100px) / ( 2560 - 2100) ));
    }

    .tagline h1{
    /* color: red; */
font-size: calc(20px + (39 - 20) * ( (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) ));
        }

        .news_block  h1{
            font-size: calc(36px + (44 - 36) * ( (100vw - 2100px) / ( 2560 - 2100) ));
        }
        .news_block .news_block_item p{
    font-size: calc(22px + (26 - 22) * ( (100vw - 2100px) / ( 2560 - 2100) ));
        }

        .news_block .news_block_item h3{
            font-size: calc(24px + (28 - 24) * ( (100vw - 2100px) / ( 2560 - 2100) ));
                }

                .news_block .news_block_item a{
                    font-size: calc(22px + (28 - 22) * ( (100vw - 2100px) / ( 2560 - 2100) ));
                        }
}