header {
    position: sticky;
    height: fit-content;
    width: 100%;
    box-sizing: border-box;
}
header div#main {
    background-color: var(--color1);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

header #title {
    grid-column: 1 / 2;
}
header #nav {
    display: flex;
    grid-column: 2 / 3;
    align-items: center;
    justify-content: flex-end;
}
header #actions {
    display: flex;
    grid-column: 3 / 4;
    align-items: center;
}

header img {
    vertical-align: center;
    height: 6rem;
    width: auto;
    margin-left: 20px;
}

.nav-link,
.hamb-menu-open {
    color: var(--text-secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 30x;
    margin-right: 30px;
    border-bottom: 0px solid var(--color2-darker);
    transition: all .2s;
    cursor: pointer;
}
.hamb-menu-open, .hamb-content {
    display: none;
}
.hamb-menu-open,
.hamb-menu-close {
    cursor: pointer;
}
.hamb-menu-close {
    width: 100%;
    text-align: center;
}
.hamb-content {
    background-color: var(--color1-darker);
    padding: 5px 10px;
    position: fixed;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100%;
    display: flex;
    flex-flow: column;
    align-items: center;
    overflow: hidden;
}
.hamb-content .header-a {
    width: 100%;
    text-align: center;
}
.hamb-content .nav-link {
    margin: 0;
    padding: 0;
}
.hamb-content .dropdown-content {
    width: 100%;
    position: static;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.hamb-content .drop-dropdown a {
    width: 100%;
    overflow: hidden;
}
.hamb-content .dropdown {
    width: 100%;

}
.hamb-content .dropbtn {
    text-align: center;
    width: 100%;
}
.hamb-content .nav-link {
    font-weight: 600;
}
.nav-link:hover {
    border-bottom: 3px solid var(--color2-darker);
}

/* Dropdown */
.dropbtn {
    background-color: rgba(0,0,0,0);
}
.dropbtn:hover {
    cursor: pointer;
    border: 0;
}
.dropdown {
    width: fit-content;
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: block;
    height: fit-content;
    max-height: 0;
    overflow-y: hidden;
    width: fit-content;
    position: absolute;
    background-color: var(--color2-darker);
    z-index: 1;
    transition: max-height 20s ease-out;
}
.dropdown:hover .dropdown-content {
    max-height: 1000vw;
}
.dropdown-content a {
    padding: 10px 25px;
    color: var(--text-secondary-color);
    display: block;
    border-bottom: 1px solid white; 
}
.dropdown-content a:last-child {
    border-bottom: none;
}
.dropdown-content a:hover {
    background-color: var(--color2-darker2);
}
/* .dropdown:hover .dropdown-content {
    display: block;
} */

/* Responsive */
@media screen and (max-width: 700px) {
    .nav-link { display: none; }
    .hamb-content .nav-link { display: block; }

    .hamb-menu-open {
        display: inline;
        font-size: 3rem;
        cursor: pointer; 
        animation: hambClose .5s forwards;
    }

    .hamb-content.open {
        transition: all .2s;
        display: flex; 
        flex-flow: column;
        animation: hambOpen .5s forwards;
    }
}

@keyframes hambOpen {
    0% { right: 100%; }
    100% { right: 0; }
}
@keyframes hambClose {
    0% { right: 0; }
    100% { right: 100%; }
}