/* Static Header Styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #222;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    /*font-family: 'Lato', sans-serif;
    letter-spacing: 2px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo or Image Styling in Header */
header img {
    height: 100%;
    max-height: 80px;
    padding: 10px 20px;
}


/* Menu Styling */
header nav.menu {
    display: flex;
    padding: 0 1rem;
    gap: 1rem;
}

/* Menu Items Styling */
header nav.menu a {
    color: #fff;
    text-decoration: none;
    /*font-size: 1rem;
    font-family: Arial, sans-serif;*/
    letter-spacing: 1px;
    line-height: 1;
    transition: color 0.5s ease;
}

/* Hover Effect */
header nav.menu a:hover {
    color: #aaa; /* Slight color change on hover */
}

/* ----- MOBILE MENU RELATED STUFF ----- */

/* Hide checkbox */
header input.menu-toggle {
    display: none;
}

/* Creating 'hamburger' / hamburger style 'icon' */
header label.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

/* Hide 'hamburger' menu */
header label.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

/* Show the hamburger menu on smaller screens */
@media only screen and (max-width: 662px) {
    /* Hide the desktop menu */
    header nav.menu {
        display: none;
    }

    /* Show the hamburger icon */
    header label.hamburger {
        display: flex;
        padding: 0 1rem;
    }

    /* Show the mobile menu when toggled */
    input.menu-toggle:checked + label + nav.menu {
        display: flex;
        position: absolute;
        flex-direction: column;
        top: 100%;
        left: 0;
        width: 96%;
        background-color: #222;
        padding: 0 2%;
        text-align: center;
        gap: 0;
        border: 1px solid white;
        border-left: none;
    }

    input.menu-toggle:checked + label + nav.menu a {
        padding: 20px;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    }


}
