body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #121212; /* Dark background for modern look */
    color: #E0E0E0; /* Light gray text for contrast */
}

header {
    background-color: #1E1E1E; /* Darker header background */
    color: #E0E0E0; /* Light gray text */
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

.hamburger-menu {
    position: relative;
}

.hamburger-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    transition: transform 0.3s ease; /* Add transition for hover effect */
}

.hamburger-icon:hover {
    transform: scale(1.1); /* Scale up on hover */
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #E0E0E0; /* Light gray for hamburger icon */
    transition: all 0.3s ease;
}

.hamburger-icon span:hover {
    background-color: rgba(128, 128, 128, 0.5); /* Change color to 50% gray on hover */
}

.menu-items {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #1E1E1E; /* Match header background */
    padding: 0; /* Remove padding from menu items */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    min-width: 100px; /* Set a minimum width for the menu */
}

.menu-items.active {
    display: block;
}

nav ul {
    list-style-type: none;
    padding: 0; /* Ensure no padding in the list */
}

nav ul li {
    margin-bottom: 2px; /* Further reduced margin for menu items */
}

nav ul li a {
    color: #E0E0E0; /* Light gray for links */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease, font-weight 0.3s ease; /* Smooth color and font-weight transition */
    padding: 10px; /* Add padding to prevent jumpiness */
    display: block; /* Make the link fill the list item */
}

nav ul li a:hover {
    color: #E0E0E0; /* Keep text color white on hover */
    font-weight: bold; /* Change to bold on hover */
}

main {
    padding: 2rem;
}

footer {
    background-color: #1E1E1E; /* Match header background */
    color: #E0E0E0; /* Light gray text */
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack header elements vertically */
        align-items: flex-start; /* Align items to the start */
    }

    .hamburger-icon {
        margin-top: 1rem; /* Add space above hamburger icon */
    }

    main {
        padding: 1rem; /* Reduce padding for smaller screens */
    }

    nav ul {
        padding: 0; /* Remove padding for mobile */
    }

    nav ul li {
        margin-bottom: 5px; /* Reduced margin for menu items */
    }
}
