.header-container {
    display: flex;
    position: fixed;
    height: 100%;
    width: 100%;
    min-height: 10vh;
    z-index: 2;
    background-color: white;
}

.logo {
    float: left;
    height: 100%;
}

.logo > svg {
    height: 100%;
    object-fit: scale-down;
}

.nav {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    min-height: 10vh;
    padding: 0 0 0 20px;
    font-size: 110px;
}

.nav-row {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: fit-content;
    flex-grow: 1;
}

.header-container.second-level > .nav > .bottom-level {
    font-size: 0px;
    opacity: 0;
    margin: 0 0 0 50vw;
    flex-grow: 0;
}

.header-container.third-level > .nav > .top-level {
    font-size: 40px;
}

.nav-row:hover {
    cursor: pointer;
}

.nav-row > p {
    line-height: 1;
}

/* .nav-row.bottom-level.hidden {
    font-size: 0px;
    opacity: 0;
    margin: 0 0 0 50vw;
    flex-grow: 0;
} */

/* .nav-row.top-level.small {
    font-size: 40px;
} */

#logo-mobile {
    display: none;
}

.transition {
    transition: 0.2s;
}

#hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Media queries/responsive design */
@media only screen and (min-height: 1200px) {

    .nav {
        font-size: 120px;
    }

    .nav-row.top-level.small {
        font-size: 45px;
    }

}

@media only screen and (max-height: 1000px) {

    .nav {
        font-size: 100px;
    }

    .header-container.third-level > .nav > .top-level {
        font-size: 40px;
    }

}

@media only screen and (max-height: 800px) {

    .nav {
        font-size: 70px;
    }

    .header-container.third-level > .nav > .top-level {
        font-size: 28px;
    }

}

@media only screen and (max-height: 600px) {

    .nav {
        font-size: 60px;
    }

    .header-container.third-level > .nav > .top-level {
        font-size: 24px;
    }

}

@media only screen and (max-height: 400px) {

    .nav {
        font-size: 40px;
    }

    .header-container.third-level > .nav > .top-level {
        font-size: 16px;
    }

}

@media only screen and (orientation: portrait) {

    .header-container {
        flex-direction: column;
    }

    .logo {
        position: absolute;
        max-width: 100vw;
        height: 50vw;
        transform-origin: 0% 0%;
    }

    #logo-svg {
        display: none;
    }

    #logo-mobile {
        display: block;
    }

    .nav {
        height: calc(100% - 50vw);
        margin: 50vw 0 0 0;
        padding: 0 0 0 5px;;
    }

    .header-container.second-level > .nav {
        opacity: 0;
    }

    .header-container.third-level > .nav {
        opacity: 1;
        margin: 0 0 0 5vh;
    }

    .header-container.third-level > .nav > .bottom-level {
        display: none;
    }

    .header-container.third-level > .logo {
        transform: rotate(90deg) translate(0%, -100%);
        height: 5vh;
    }

    .header-container.third-level {
        flex-direction: row;
    }

}

@media only screen and (orientation: portrait) {

    .header-container.third-level > .nav {
        margin: 0 0 0 calc(5vh + 20px);
        padding: 0;
    }

}

@media only screen and (orientation: portrait) and (max-height: 1200px) {

    .nav {
        font-size: 70px;
    }

    .nav-row.top-level.small {
        font-size: 30px;
    }

}

@media only screen and (orientation: portrait) and (max-height: 1000px) {

    .nav {
        font-size: 50px;
    }

    .nav-row.top-level.small {
        font-size: 30px;
    }

}

@media only screen and (orientation: portrait) and (max-height: 700px) {

    .nav {
        font-size: 45px;
    }

    .nav-row.top-level.small {
        font-size: 20px;
    }

}