header{
    /* background: red; */
    padding: 14px 0;
    position: fixed;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 1;
}
.container{
    max-width: 1280px;
    width: 90%;
    margin: auto;
}
header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header img{
    /* height: 80px; */
    width: 160px;
}

.hamburger{
    display: grid;
    gap: 5px;
    border: none;
    background: none;
    outline: none;
    padding: 0;
}
.bar{
    height: 3px;
    width: 28px;
    background: #000;
    transition: all ease .5s;
}
.hamburger.active .bar:nth-child(1){
    transform: translateY(8.2px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2){
    opacity: 0;
}
.hamburger.active .bar:nth-child(3){
    transform: translateY(-8.2px) rotate(-45deg);
}
nav{
    position: absolute;
    top: 45px;
    max-width: 1280px;
    width: 90%;
    /* z-index: -1; */
}
.nav-menu{
    position: absolute;
    list-style: none;
    top: 40px;
    right: -100%;
    /* height: 100%; */
    /* overflow-y: scroll; */
    background-color: #fff;
    width: 480px;
    /* height: 600px; */
    padding: 30px;
    padding-bottom: 50px;
    list-style: none;
    font-size: 1.2rem;
    height: 600px;
    overflow-y: scroll;
    scrollbar-width:none;
    z-index: 2;
    transition: all ease .5s;
}
.nav-menu span{
    font-size: 1.2rem;
    font-weight: 600;
    color: #121212;

}
.nav-menu .nav-link {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
}
.nav-menu ul{
    list-style: none;
    border:  1px solid green;
    background: #f0f0f0;
    padding: 10px 0;
    margin: 8px 0;
    padding-left: 30px;
    /* padding: 5px 0 10px 0; */
}
@media (max-width: 768px) {
nav{
    all: unset;
}
.nav-menu{
    list-style: none;
    position: fixed;
    display: block;
    right: -100%;
    top: 82px;
    height: 100%;
    background: #fff;
    max-width: 300px;
    width: 100%;
    padding: 30px;
    overflow-y: scroll;
    scrollbar-width:none;
    border: 1px solid #121212;
    transition: all ease .5s;
}
.nav-menu li {
    margin-top: 10px;
    border-bottom: 1px solid rgba(97, 97, 97, 0.8);
    padding-bottom: 12px;
}
.nav-menu li span{
    font-weight: 500;
    font-size: 1.1rem;
    color: #000;
}
.nav-link{
    padding: 10px 0;
    color: purple;
    text-decoration: none;
    font-size: 1rem;
}
.nav-menu ul{
    all: unset;
    list-style: none;
    padding:5px 0 5px 20px;
}
.nav-menu ul li{
    border: none;
    padding-bottom: 8px;
    padding-left: 20px;
}  
.nav-menu .nav-link {
    color: green;
}  
}
.active{
    right: 0;
}
.space{
    height: 80px;
    /* background: red; */
}