.disable-scroll{
    overflow-y: hidden;
}

.scrollable{
    overflow-y: scroll;
}

/* Navbar */
nav img{
    cursor: pointer;
}

nav {
    z-index: 4;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    color: #C4C4C4;
    height: 90px;
    /* border-bottom: solid 1px #B3B3B3; */
    /* box-sizing: border-box; */

    position: sticky;
    position: -webkit-sticky;

    top: 0;
}

nav ul {
    padding-left: 0;
    list-style: none;    
    padding-right: 40px;
}

nav li{
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 27px;
}

#logo{
    padding-left: 40px;
    max-width: 60px;
    height: auto;
}

#nav-links #active{
    color: #18A0FB !important; 
    font-weight: 600;
}

#nav-links a {
    color: black;
    text-decoration: none;
}


#nav-links a.middle
{
    position: relative;
}

#nav-links a.middle:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  bottom: -5px;
  background-color: #18A0FB;
  visibility: hidden;
  transform: scaleX(0);

  transition: all 0.3s ease-in-out;
}

#nav-links a.middle:hover:before {
  visibility: visible;
  transform: scaleX(1);
}

/* Menu elements - work, about, resume */
#menu-wrapper #menu {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

#menu-wrapper #menu li a{
    transition: 0.3s ;
}

#menu-wrapper #menu  li a:hover {
    color: #18A0FB;
    border-radius: 5px;
}


/* Checkbox hack */
input[type=checkbox]{
    display: none;
} 

/*Hamburger*/
#hamburger, #close{
    display: none;
    font-size: 48px;
    user-select: none;
}

#close{
    z-index: 5;
    display: none;

    color: white;
    position: absolute;
    top: 12px; 
    right: 44px;

    /* box-sizing: border-box;
    border: solid 2px blue; */
}

#logo-white{
    z-index: 6;
    display: none;
    margin-left: 0;
    position: absolute;
    
    top: 15px;
    left: 0px;
    padding-left: 40px;
    max-width: 60px;
    height: auto;
}


@media screen and (max-width: 600px) {  
    #menu-wrapper { 
        /* hides the content until button is clicked */
        display: none;

        position: absolute;
        background-color: #18A0FB;
        right: 0;
        left: 0;
        top:0;
        text-align: center;
        /* padding: 20px 0; */
        /* margin-top: 10px; */
        height: 100vh;   
    }

    #menu-wrapper #menu li{
        padding: 12px;
    }

    #menu-wrapper #menu li a {
        color: white;    
    }

    #hamburger {
        display: block;
    }

    #logo-white{
        display: block;
    }

    /* Hides the blue hover on desktop */
    #nav-links a.middle:before {
        background-color: #FFF;
    }
    
    #menu-wrapper #menu  li a:hover {
        color: White;
    }  


    @keyframes fadeIn {
        0% {opacity:0;}
        100% {opacity:1;}
    }

    /* When hamburger clicked */
    input[type=checkbox]:checked ~ #menu-wrapper {
        animation: fadeIn linear 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;     
    }
    
    /* Styling for inner content when checkbox is clicked */
    input[type=checkbox]:checked ~ #menu-wrapper #menu {
        display: flex;
        flex-direction: column;
    }


    /* Brings in the X button menu  */
    input[type=checkbox]:checked ~ #hamburger{
        display: none;
    }

    input[type=checkbox]:checked ~ #close{
        display: block;
    }

    /* White logo  */

    input[type=checkbox]:checked ~ #logo-white{
        display: block;
    }
}



