
/* Mobile view */
@media screen and (min-width:320px) {
.desktop-header{
    display: none;   
}

.mobile-header{
    display: block;
    width: 100vw;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: #dda823;   
    position: fixed;
    top: 0;
    z-index: 100;
}

.hamburger{
    position: relative;
    display: block;
    width: 3rem;
    cursor: pointer;
    appearance: none;
    background: none;
    border: none;
    float: right;
    margin-right: 1rem;
    z-index: 2;
}

.hamburger .bar, .hamburger:before, .hamburger::after{
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: black;
    margin: 6px 0px;
    transition: 0.4s;
}

.hamburger.is-active:before{
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.is-active:after{
    transform: rotate(45deg) translate(-6px, -8px);
}

.hamburger.is-active .bar{
    opacity: 0;
}


#mobile-nav{
    position: fixed;
    top: 0;
    left: 100%;
    width: 60%;
    height: 90vh;
    display: block;
    background-color: rgb(245, 245, 245);    z-index: 1;
    padding-top: 8rem;
    transition: 0.4s ease-in;
}

#mobile-nav.is-active{
    left: 50%;
}

#mobile-nav a{
    display: block;
    text-decoration: none;
    color: black;
    width: 80%;
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
}

.logo{
    width: 7%;
}

.burger{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0rem .5rem;
}

.burger div{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.burger a{
    text-decoration: none;
    color: black;
    font-size: 1.1rem;
    font-weight: 700;
}

ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li a {
    text-decoration: none;
    color: black;
    font-weight: 100;
}

ul li a:hover{
    font-weight: 500;
}

.top{
    position: fixed;
    bottom: 5%;
    right: 5%;
    background-color: #dda823;
    padding: .5rem 1rem;
    border-radius: .5rem;
    z-index: 100;
}

.top a{
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
}

}


/* Tablet view */
@media screen and (min-width:768px) {

    .desktop-header{
        display: none;   
    }

    .mobile-header{
        display: block;
        width: 100%;
        border-radius: .2rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        background-color: #dda823;
        position: fixed;
        top: 0;
        z-index: 100;
    }

    .hamburger{
        position: relative;
        display: block;
        width: 3rem;
        cursor: pointer;
        appearance: none;
        background: none;
        border: none;
        float: right;
        margin-right: 1rem;
        z-index: 2;
    }
    
    .hamburger .bar, .hamburger:before, .hamburger::after{
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        background-color: black;
        margin: 6px 0px;
        transition: 0.4s;
    }
    
    .hamburger.is-active:before{
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    
    .hamburger.is-active:after{
        transform: rotate(45deg) translate(-6px, -8px);
    }
    
    .hamburger.is-active .bar{
        opacity: 0;
    }
    
    
    #mobile-nav{
        position: fixed;
        top: 0;
        left: 100%;
        width: 60%;
        height: 90vh;
        display: block;
        background-color: rgb(245, 245, 245);        z-index: 1;
        padding-top: 8rem;
        transition: 0.4s ease-in;
    }
    
    #mobile-nav.is-active{
        left: 50%;
    }
    
    #mobile-nav a{
        display: block;
        width: 80%;
        text-align: center;
        padding: 1rem;
        font-size: 1.1rem;
    }

    #title{
        padding-left: 1rem;
        font-size: 1.5rem;
        font-weight: 700;
    }
    
    .burger{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0rem .5rem;
    }


    #mobile-nav ul{
        list-style: none;
       
    }
    
    #mobile-nav ul li a {
        text-decoration: none;
        color: black;
        font-weight: 100;
        font-size: 1.3rem;
    }
    
    #mobile-nav ul li a:hover{
        font-weight: 600;
    }

    .top{
        display: none;
    }

}


/* Desktop view */
@media  screen and (min-width: 980px) {

    .desktop-header{
        display: flex;
        width: 100%;
        /* border: solid white; */
        /* border-radius: .2rem; */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        background-color: #dda823;
        position: fixed;
        top: 0;
        z-index: 100;
    }

    .mobile-header{
        display: none;
    }

    #desktop-nav{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap:7rem;
        /* border: solid white; */
    }

    #nav_logo{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        
    }

    #nav_logo a{
        text-decoration: none;
        color: black;
        font-size: 1.5rem;
        font-weight: 700;
    }

    #navbar{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap:2rem;
    }

    #navbar a {
        text-decoration: none;
        color: black;
        font-weight: 100;
    }
    #navbar a:hover{
        font-weight: 600;
    }
    
}