/* header.css */
* {
    box-sizing: border-box;

}

.menu li {
   
    box-sizing: border-box;
    
    text-decoration: none;
    list-style: none;
}

.menu li a {
    padding: 5px;
    margin: 2px;
    text-decoration: none;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    box-shadow: 0 4px 20px hsla(207, 24%, 35%, 0.1);
    background-color: #b8813e; /* Header background color */
    z-index: 1;
}

nav {
    display: flex;
    justify-content: space-between; /* Space between logo and menu */
    align-items: center;
    padding: 20px 30px; /* Padding around nav */
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #dfd0be; /* Logo text color */
}

.menu {
    display: flex; /* Horizontal layout for desktop */
    justify-content: center;
    align-items: center;
}

.menu a {
    display: block;
    padding: 7px 15px; /* Padding for menu items */
    font-size: 17px;
    font-weight: 500;
    transition: 0.2s all ease-in-out; /* Smooth transition */
    color: #333; /* Text color */
}

.menu:hover a {
    opacity: 0.4;
}

.menu a:hover {
    opacity: 1;
    color: #fff;
}

.menu-icon {
    display: none; /* Hide hamburger icon initially */
}

#menu-toggle {
    display: none; /* Hide checkbox */
}

#menu-toggle:checked ~ .menu {
    transform: scale(1, 1); /* Show menu when checked */
}

@media only screen and (max-width: 950px) {
    nav {
        justify-content: space-between; /* Keep logo and hamburger aligned */
    }

    .menu {
        display: none; /* Hide menu by default */
        flex-direction: column; /* Stack items vertically */
        background-color: #b8813e; /* Menu background color */
        position: absolute; /* Absolute position for dropdown */
        top: 70px; /* Position below the header */
        left: 0;
        width: 100%; /* Full width */
        z-index: 1;
        transform: scale(1, 0); /* Hide menu by default */
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; /* Menu shadow */
    }

    #menu-toggle:checked ~ .menu {
        display: flex; /* Show menu when checkbox is checked */
    }
    .menu a {
        margin-left: 12px;
    }

    .menu li {
        margin-bottom: 10px;
    }
    .menu-icon {
        display: block; /* Show hamburger icon */
        color: #fff;
        font-size: 28px;
        cursor: pointer; /* Pointer cursor for interaction */
    }
}

/* Additional styles for download button */
.download-button {
    padding: 5px 10px; /* Padding for button */
    background-color: #d9a050; /* Button background color */
    color: white; /* Button text color */
    border-radius: 10px; /* Rounded corners */
    text-decoration: none; /* No underline */
}

.download-button:hover {
    background-color: #d9b07e; /* Change background on hover */
}
