﻿/*mobile devices*/
@media only screen and (min-width: 1000px) {

    #mobile-menu-btn{
        display: none;
    }
}
@media only screen and (max-width: 1023px) {


#mobile-menu-btn{
    position: fixed;
    left: 1rem;
    top:0;
    height: 6.5rem;
   width: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
pointer-events: all;
    transition: .3s all ease-in-out;
}

    .kav{
        height: 2px;
        width: 27px;
        background-color: white;
        transition: .3s all;
    }


    .kav-1{
        transform: translateY(-7px);
    }

    .kav-3{
        transform: translateY(7px);
    }

    .menu-opened #mobile-menu-btn{
        left: calc(100vw - 6rem);
    }
   .menu-opened .kav-1{
        transform: translateY(2px) rotate(45deg);
    }

    .menu-opened .kav-3{
        transform: translateY(-2px)  rotate(-45deg);;
    }

    .menu-opened  .kav-2{
        opacity: 0;
    }


header .h-third:first-child{
    position: absolute;
    z-index: 9999999999999999;
}
   .social-menu{
        position: absolute;
        top: 24px;
        left: 14rem;
    }
.main-nav{
    position: fixed;
    top:0;
    left: -100vw;
    width: 100vw;
    height: 100%;
transition: .5s all ease-in-out;
    background: rgba(46, 66, 213,.5);
    backdrop-filter: blur(3px);
}

    .menu-opened .main-nav{
        left: 0;
    }
    .main-nav>div,.main-nav>ul{
    height: 100%;
}
    .main-nav ul{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;

    }


    .main-nav ul li{
        margin: 2rem 0 !important;
    }

}