/* generic page style */
* {
    padding: 0; 
    margin: 0; 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
    box-sizing: border-box;
}

header {
    text-align: center;
    margin: 25px 0; 
}

main {
    width: 80%; 
    margin: 10px auto;
}

section {
    min-height: 50vh; 
    margin: 50px 0;
    padding: 20px 0;
}

/* Burger navigation */


#nav-burger .burger {
    position: relative; 
}

#burger-nav {
    display: none;
}
#burger-nav.active {
    display: block
}

#nav-burger .line {
    width: 30px; 
    height: 3px; 
    background-color: black; 
    margin-bottom: 5px; 
    transition: 0.3s; 
}
.line-2 {
    opacity: 1;
}

.active.line-1 {
    transform: rotate(45deg) translate(6px, 3px); 
}
.active.line-2 {
    opacity: 0;
}
.active.line-3 {
    transform: rotate(-45deg) translate(6px, -6px); 
}



/* Sidebar navigation */

#sidebar-nav {
    height: 100%;
    display: grid; 
    grid-template-columns: 0.2fr 0.8fr;
    grid-template-rows: max-content 100%; 
    gap: 25px;
}

#sidebar-nav h2 {
    grid-column: 1 / 3;
}

#sidebar-nav ul {
    height: 100%; 
    justify-content: space-evenly;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    background-color: #2e2e22;
    color: #cfcfc2;
}

#sidebar-nav li {
    list-style-type: none;
    padding: 5px;
    cursor: pointer;
}
#sidebar-nav li:hover, 
#sidebar-nav li.active {
    text-decoration: underline;
    color: white; 
    font-size: 1.5rem;
}

/* Tab nav */

#tab-nav li {
    list-style-type: none;
    padding: 10px;
}

#tab-nav ul {
    display: flex; 
    background-color: #2e2e22;
    color: #cfcfc2;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
}
#tab-nav li:hover, 
#tab-nav li.active {
    text-decoration: underline;
    color: white; 
    font-size: 1.5rem;
}