/* 
* Google fonts 
********************************** */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');


body{
    padding: 0%;
    margin: 0%;
}
*{
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

/* 
*  Main styles
********************************** */

ul{
    margin: 0%;
    padding-left: 0%;
}

.container{
    width: 100%;
    max-width: 1140px;
    margin: auto;
}


/* 
/* Header styles 
********************************** */

header{
    width: 100%;
    position: fixed;
    top: 0; left: 0%; right: 0%;
    transition: all .3s ease;
    
}
header .nav{
    display: flex;
    align-items: center;
   
}
header .nav > *{
    height: 65px;
    transition: all .3s ease;
  
}
header .nav > * > * {
    height: 100%;
    display: flex;
    align-items: center;
}

header a{
    font-size: 12px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    transition:  all .3s ease;
}

/* fixed header */
header.fixed {
    background-color: #2b2f35f2;
    box-shadow: 0 0 60px 0 rgb(0 0 0 / 7%);
}

header.fixed .nav > *{
    height: 60px;
}
header.fixed a{
    color: white;
}
header.fixed  .bars{
    color: white;
}

/* logo */
.logo a{
    font-size: 1.1rem;
    color: black;
    font-weight: 600;
}

/* nav */

header nav{
    margin-left: auto;
    position: relative;
}
header nav > ul{
    display: flex;
    height: 100%;
    align-items: unset !important;
}
header nav > ul >li {
    position: relative;
    margin-right: 2rem;
   display: flex;
   align-items: center;
}
header a:hover:not(.logo a){
    color: #dc493a ;
}
header  li.active > a{
    color: #dc493a;
}

/* nav link hover */
header nav > ul > li:hover .sub-menu{
    visibility: visible;
    opacity: 1;

}
header nav > ul > li > a{
    position: relative;
    
}
header nav > ul > li > a::after{
    content: '';
    bottom: 0;
    left: 0%;
    width: 0%;
    height: 1px ;
    background-color: #dc493a;
    position: absolute;
    transition: all .4s ease;
}
header nav > ul > li > a:hover::after{
   width: 100%;
}
/* sub menu */

header .sub-menu{
    position: absolute;
    top: 100%;
    left: -25px;
    width: 220px;
    background-color: #2b2f35f2;
    padding: 15px 25px;
    opacity: 0;
    visibility: hidden;
    display: block;

}
header .sub-menu li{
    padding: 7px 0;
}
header .sub-menu a{
    color: white;
    font-size: 12px;
    font-weight: 500;

}


/* extra */
header .extra ul{
    display: flex;
}
header .extra li{
    margin-left: 1rem;
}
header .bars{
    display: none;
}
header .extra a{
    font-size: .875rem;
}


@media (min-width: 500px){
    header .nav nav .sub-menu{
        display: block !important;
    }
}



@media (max-width:500px){

    header .nav{
        padding: 0 1rem;
    }
    header .nav > nav {
        position: fixed;
        top: 0;left: 0;right: 0;bottom: 0;
        height: 100%;
        transition: all .4s ease;
        margin-left: 0;
        z-index: -1;
        transform: translateX(100%);
        padding: 5rem 0rem 1.5rem  0rem;
        background-color: black;
        overflow-y: auto;
       
    }
    header .nav nav ul{
      flex-direction: column;
       height: auto;

    }
    header .nav nav > ul > li{
        display: block;
        
    }
    header .nav nav > ul > li > a{
        margin: .6rem 0;
        display: inline-block;
        margin-left: 1.5rem;
    }
    header .nav nav .sub-menu {
        position: static;
        width: 100%;
        display: block;
        visibility: visible !important;
        opacity: 1 !important;
    }
    header .nav.show nav{
        transform: translateX(30%);
    }
    header nav a{
        color: white;
    }

    header .bars{
        margin-left: auto;
        display: block;
    }
    header .nav.show .bars ,  header .nav.show .extra a {
        color: white;
    }
    header.fixed .nav nav{
        height: auto;
    }


}

/* 
/* Hero section styles 
********************************** */

.hero{
    height: 1000px;
    width: 100%;
    /* background-color: rgba(0, 0, 0, 0.43); */
}