.nav-container {
    position: absolute;
    left: 0;
    top: 0;
    height: var(--nav-height);
    width: 100%;
    color: var(--text-color);
    z-index: 1100;
}

body {
    overflow: hidden;
}

.nav-bg {
    height: 100%;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
    border-bottom: 3px solid white;
    padding: 0 10px;
}

/* Logo */

.nav-fk-logo-container {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.nav-fk-logo {
    font-size: var(--nav-height);
    line-height: var(--nav-height);
    font-family: roboto, sans-serif;
    color: var(--text-color);
    margin: 0;
}

/* Middle navigation */

.nav-items-container {
    height: 100%;
    width: auto;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.nav-item {
    border: none;
    padding: 0 5px 6px 5px;
    color: var(--text-color);
    background: none;
    cursor: pointer;
    font-family: roboto, sans-serif;
    font-weight: bold;
    font-size: 2rem;
}

.nav-item:hover {
    color: var(--main-color);
}

/* Right buttons */

.nav-buttons-container {
    height: 100%;
    width: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-button {
    width: 2em;
    height: 2em;
    transition-duration: 0.5s;
    cursor: pointer;
    color: white;
}

.nav-button:hover {
    transform: rotateZ(-45deg) scale(1.4);
}

.nav-container-desktop {
    display: flex;
}

.nav-container-mobile {
    display: none;
}

/* MOBILE */

.nav-container-mobile {
    display: none;
    flex-direction: column;
    height: var(--nav-height);
    overflow: visible;
}

.mobile-nav-top {
    height: var(--nav-height);
    width: 100%;
    display: flex;
    align-items: center;
}

.hamburger {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--sec-color);
    border-bottom: 1px solid var(--sec-color);
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    z-index: 1500;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu .nav-item {
    font-size: 1.8rem;
    padding: 10px;
}

.mobile-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

@media (max-aspect-ratio: 1) {
    .nav-container-desktop {
        display: none;
    }

    .nav-container-mobile {
        display: flex;
    }

    .nav-fk-logo {
        font-size: 2rem;
    }
}