body{
    background-image:url(/images/laptop-with-code.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.main-header{

}
.nav-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 10px 24px 10px 24px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(1rem);
    /* background: hsl(0 0% 100% / 0.1); */
    box-shadow: 0px 0.2px 16px 0px rgba(0, 0, 0, 0.25);
    z-index: 9999; 
    position:fixed;
    right: 0;
    left: 0;
    top: 0;
    transition: background 0.25s ease-in;
}
.nav-scrolled{
    background: var(--nav-background);
    color: var(--nav-text);
    backdrop-filter: none;
}
nav ul{
    display: flex;
    gap: var(--gap, 4rem);
    list-style: none;
    margin: 0; 
    /* color: white; */
    padding-left: 0;
}
.mobile-nav-toggle{
    display: none;
    cursor: pointer;
}
.theme-toggle{
    cursor: pointer;
    font-family: var(--general-font);
    font-size: 23px;
    width: 2rem;
    aspect-ratio: 1;
    border: none;
    background-color: transparent;
    transition: color 0.3s;
    font-size: 1.45rem;
    color: inherit;
}
.theme-toggle:hover{
   color:var(--primary-green) ; 
}
.theme-toggle div{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-toggle div p{
    position: absolute;
    font-size: .75rem;
    background-color: var(--primary-background);
    white-space: nowrap;
    color: var(--text-color);
    top: 2rem;
    pointer-events: none;
    opacity: 0;
    transition: all 0.25s;
    margin-right: 20px;
    border-radius: 3px;
    padding: 4px 4px ;
    font-family: var(--primray-font);
}
#theme-icon-moon{
    display: none;
}
.theme-toggle:hover .theme-tooltip{
    opacity: 1;
}
.right-section ul li i{
    display: none;
}
@media (max-width: 58.6rem) {
    .nav-container{
        backdrop-filter: none;
        z-index: 900;
        /* background-color: var(--nav-background); */
        
    }
    .nav-scrolled{
        background-color: var(--nav-background);
    }
   nav ul{
        position: fixed;
        inset: 0 0 0 40%;
        flex-direction: column;
        padding: min(30vh, 10rem) 3rem;
        color: inherit;
        backdrop-filter: blur(1rem);
        background: var(--nav-background);
        --gap: 3em;
        transition: transform 250ms ease-out;
        color: var(--nav-text);
        z-index: 900;
        transform: translateX(100%);
    }
    .main-navigation[data-visible="true"]{
        transform: translateX(0%);

    }
    .mobile-nav-toggle{
        position: absolute;
        top: 1.7rem;
        right: 2rem;
        font-family: 'Noto Sans', sans-serif;
        font-size: 23px;
        display: block;
        width: 2rem;
        aspect-ratio: 1;
        border: none;
        z-index: 1000;
        background-color: transparent;
        color: inherit;
    }
    .theme-toggle{
        position: absolute;
        top: 1.7rem;
        right: 4.7rem;
        font-family: var(--general-font);
        font-size: 23px;
        display: block;
        width: 2rem;
        aspect-ratio: 1;
        border: none;
        z-index: 1000;
        background-color: transparent;
        /* color: white; */
    }
    .right-section ul li i{
        margin-right: 15px;
        display: inline;
    }
}
nav li{
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    /* font-weight: 300; */
    font-family: var(--title-font);
}
nav li a{
  text-decoration: none;
    transition: all 0.25s;
    color: inherit;
}
nav li a:hover{
    /* color: rgb(63, 186, 162); */
    color: var(--primary-green);
}
.nav-logo{
    text-decoration: none;
    color: inherit;
    font-family: 'Square Peg', cursive;
    font-size: 3rem;
    margin-left: 12px;
}