* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #fefbf1;
    --secondary-color: black;
    --tertiary-color: #01cb36;

}

@font-face {
    font-family: poppin;
    src: url('../fonts/Poppins-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: mono;
    src: url('../fonts/MartianMono-ExtraBold.ttf') format('truetype'),

}

@font-face {
    font-family: tung;
    src: url('../fonts/Tungsten-Bold.ttf') format('truetype'),

}

@font-face {
    font-family: space;
    src: url('../fonts/Space_Mono/SpaceMono-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: hel;
    src: url('../fonts/helvectical/HelveticaNowDisplay-Medium.ttf') format('truetype'),

}

@font-face {
    font-family: hel-thin;
    src: url('../fonts/helvectical/HelveticaNowDisplay-Regular.ttf') format('truetype'),

}

@font-face {
    font-family: wide;
    src: url('../fonts/druk-wide-bold/DrukWideBold.ttf') format('truetype'),

}


html {
    width: 100%;
}


.nav-drawer {
    background-color: var(--secondary-color);
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 888;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: all .5s ease;
}
.nav-drawer .close{
    font-family: hel-thin;
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--primary-color);
    transition: all 1s ease;
    
    &:hover{
        /* transform: scaleY(-100%); */
        cursor: pointer;
    }
}

.nav-drawer ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 800px;
    width: 100%;
    padding-right: 10px;
}

.nav-drawer ul li {
    color: var(--primary-color);
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    
    transition: all 1.5s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.nav-drawer ul li .line {
    height: 1px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: all .5s ease;
}

.nav-drawer ul li .line::before {
    content: "001";
    background: var(--secondary-color);
    position: relative;
    bottom: 10px;
    padding: 0px 6px;
    opacity: 1;
    font-family: space;

}

@media (max-width:500px) {
    .nav-drawer ul li .line::before{
        font-size: 19px;
    }
    
}

.nav-drawer ul li::before {
    content: "001";
    background: var(--secondary-color);
    position: relative;
    bottom: 8px;
    padding: 0px 6px;
    opacity: 1;
    font-family: space;
    width: fit-content;
    height: fit-content;
    position: absolute;
    top: -10px;
    left: 0px;
    display: none;
}









.nav-drawer ul .li-1 .line::before {
    content: "001";
}

.nav-drawer ul .li-2 .line::before {
    content: "002";
}

.nav-drawer ul .li-3 .line::before {
    content: "003";
}

.nav-drawer ul .li-4 .line::before {
    content: "004";
}

.nav-drawer ul .li-5 .line::before {
    content: "005";
}

.nav-drawer ul .li-6 .line::before {
    content: "006";
}

.nav-drawer ul .li-7 .line::before {
    content: "007";
}



.nav-drawer ul li:hover .line {
    transform: scaleX(1);
}

.nav-drawer ul li a {
    color: var(--primary-color);
    text-decoration: none;
    width: fit-content;
    margin-left: auto;

}

.nav-drawer ul li>a {
    font-family: wide;
    color: var(--primary-color);
    text-decoration: none;
    background-color: var(--secondary-color);
    padding: 5px 10px;
    padding-right: 0px;

    text-transform: uppercase;
    position: relative;
    bottom: 20px;
    margin-left: auto;
    font-size: clamp(25px, 3.5vw, 35px);
}

.nav-drawer .sub-menu {
    /* bottom: 20px; */
    position: relative;
    width: fit-content;
    margin-left: auto;
    display: flex;
    transform: scaleY(1);
    max-height: 0px;
    opacity: 0;
    transition: all .5s ease;
}

.nav-drawer li:hover .sub-menu {
    transform: scaleY(1);
    opacity: 1;
    max-height: 0px;
    bottom: 20px;
    margin-bottom: 30px;
    transition: all .5s ease;

}

.nav-drawer .sub-menu a {
    width: fit-content;
    font-family: hel;
    text-transform: uppercase;
    padding: 0px 10px;
    font-size: .65em;
}

.nav-drawer .sub-menu :nth-child(1) {
    border-right: 1px solid var(--primary-color);
}

.nav-slide{
    transform: translate(100%);
    transition: all .5s ease;
}


@media (max-width:400px) {
    .nav-drawer  ul> li  a{
        font-size: 6.1vw ;
    }
}