/* CSS - Header */
header {
    background-color: rgba(194, 194, 194, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 3px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--header-h);
    transition: all 0.3s ease-in-out;
    border-bottom: 1px solid #ffffff40;
    display: flex;
    flex-direction: row;
    z-index: 1000;
}

header:hover {
    background-color: rgba(194, 194, 194, 0.29);
}

header .container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header .container {
    flex-wrap: wrap;
    padding: 0 12px;
    box-sizing: border-box;
}

header .container .item {
    display: flex;
    align-items: center;
}

header .container .item.logo img {
    padding: 4px;
    filter: invert(1);
    width: 256px;
    box-sizing: border-box;
}

header .container .links {
    transition: all 0.3s ease-in-out;
}

header .container .links a {
    margin: 0 8px;
    font-family: 'Open Sans Condensed';
    font-size: 15px;
    text-transform: uppercase;
    padding: 10px;
    letter-spacing: 2px;
    text-shadow: 0 0 20px black;
    text-decoration: unset;
}

/* Hamburger button - hidden on desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 1.5px;
    background: #dadadaa8;
    margin: 6px 0;
    transition: 0.3s ease;
    box-shadow: 0 0 5px rgba(56, 56, 56, 0.3);
}

header.active .menu-toggle span {
    box-shadow: 0 0 5px rgba(206, 206, 206, 0.7);
}

header.active .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

header.active .menu-toggle span:nth-child(2) {
    opacity: 0;
}

header.active .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile */
@media screen and (max-width: 768px) {
    /* Hide Links */
    header .container .links {
        opacity: 0;
        height: 0px;
        pointer-events: none;
    }

    /* Show Links */
    header.active .container .links {
        height: 310px;
        opacity: 1;
        pointer-events: all;
    }

    /* Show Hamburger Button */
    .menu-toggle {
        display: block;
    }

    /* Adjustements */
    header.active {
        border-bottom: 1px solid #ffffff00;
    }

    header:hover {
        background-color: rgba(194, 194, 194, 0.1);
    }

    header .container .links {
        top: 100%;
        left: 0%;
        position: absolute;
        flex-direction: column;
        background-color: rgba(194, 194, 194, 0.3);
        backdrop-filter: blur(4px);
        border-bottom: 1px solid #ffffffb7;
        width: 100%;
    }

    header .container .links a {
        margin: 0 8px;
        font-family: 'Open Sans Condensed';
        font-size: 23px;
        text-transform: uppercase;
        padding: 10px;
        letter-spacing: 2px;
        text-shadow: 0 0 8px #323232;
        text-decoration: unset;
        color: white;
    }

}