header {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.logo {
    background-color: var(--nerd-herd-blue);
    width: 100%;
    height: 250px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
}

.logo img {
    width: min(200px,40%);
}

.logo div {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.logo h1{
    color: white;
    text-align: right;
    font-size: min(40px,5vw);
}

/* subtabs */

.nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    background-color: var(--nerd-herd-blue);
    height: 60px;
    z-index: 2;
    padding-top: 20px;
}

.nav a {
    font-size: 25px;
    /* display: block; */
    /* transform: translateY(10px); */
}

.nav > a{
    transform: translateY(10px);
}

.nav a img {
    /* height: 300%; */
    transform: translateY(-10px);
}

.subtabs {
    position: relative;
}

.subtabs a{
    color: white;
    text-decoration: none;
    height: 20px;
}

.subtabs .subtabs-content {
    display:none;
    position: absolute;
    left: 0;
    background-color: var(--nerd-herd-blue);
    border: 2px solid white;
    z-index: 1;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}

.subtabs:hover .subtabs-content {
    display: flex;
}

.subtabs .subtabs-content a {
    font-size: 10px;
    color: white;
    text-decoration: none;
}

.smallnav {
    display: none;
}

hr{
    color: black;
    width: 100%;
    margin: 0;
}


@media screen and (width < 930px){
    .nav {
        flex-direction: column;
        position: fixed;
        top: 0;
        width: fit-content;
        padding-right: 10px;
        height: 100%;
        justify-content: start;
        left: -100%;
        transition: left 100ms;
        border-right: 3px solid white;
    }
    .nav.show {
        left: 0;
    }

    .nav a img {
        width: 100px;
    }

    .smallnav {
        display: flex;
        background-color: var(--nerd-herd-blue);
        justify-content: end;
    }

    .subtabs .subtabs-content {
        position:relative;
        display: flex;
        height: 0;
        overflow-y: hidden;
        transition: height 150ms;
        justify-content: space-evenly;
    }

    .subtabs:not(:hover) .subtabs-content {
        border-width: 0;
    }

    .subtabs:hover .subtabs-content {
        height: 120px;
    }
}