/* Reset and basic styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* Header Section */
header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hamburger {
    cursor: pointer;
    font-size: 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
}

nav {
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #333;
    width: 100%;
    display: none;
    flex-direction: column;
}

nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    border-top: 1px solid #444;
}

nav a:hover {
    background-color: #444;
}

/* Main Section */
main {
    padding: 20px;
    text-align: center;
}

#wordDisplay {
    font-size: 2em;
    letter-spacing: 10px;
    margin-bottom: 20px;
}

#letters button {
    padding: 10px 15px;
    margin: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Date & Calendar Section */
#datetime-calendar {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    margin: 20px auto;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#currentDateTime {
    font-size: 1.5em;
    margin-bottom: 20px;
}

#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

#calendar div {
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 5px;
}

#calendar .header {
    font-weight: bold;
    background-color: #ddd;
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Responsive Hamburger Menu */
@media (min-width: 600px) {
    nav {
        position: static;
        display: flex !important;
        flex-direction: row;
        width: auto;
        background-color: transparent;
    }

    nav a {
        border: none;
    }

    .hamburger {
        display: none;
    }
}