/* Global Styles */

/* Resetting default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f2f2f2;
}

header {
    background-color: black; /* Changed header background color to black */
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

nav {
    background-color: black;
    color: white;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between; /* Align items in a horizontal line and distribute space between them */
    align-items: center;
}

nav img {
    max-height: 40px;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center; /* Align items in a horizontal line at the center */
}

nav ul li {
    margin-right: 20px;
}

nav ul li:last-child {
    margin-right: 0; /* Remove margin from the last li element */
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

nav ul li a:hover {
    color: lightgrey;
    text-decoration: none;
}

.social-media {
    margin-right: 20px;
}

/* Apply specific colors to social media icons */
.instagram-logo {
    filter: brightness(0) invert(1) sepia(1) saturate(10000%) hue-rotate(120deg);
}

.facebook-logo {
    filter: brightness(0) invert(1);
}

.twitter-logo {
    filter: brightness(0) invert(1) sepia(1) saturate(10000%) hue-rotate(-120deg);
}


/* Responsive navigation menu */
@media screen and (max-width: 768px) {
    nav {
        padding: 0;
        flex-direction: column; /* Change flex direction to display items vertically */
        align-items: flex-start; /* Align items to the start */
    }

    nav ul {
        display: none; /* Hide the list items by default */
        flex-direction: column; /* Display items vertically */
        width: 100%;
        text-align: center;
    }

    nav ul.show {
        display: flex; /* Show the list items when the menu is open */
    }

    nav ul li {
        margin: 10px 0; /* Add margin between list items */
    }

    .menu-toggle {
        display: block;
        color: white;
        font-size: 20px;
        padding: 10px;
        cursor: pointer;
    }
}

/* Adjust the padding of the main content to prevent it from being hidden under the header/navigation bar */
main {
    padding-top: 80px; /* Adjust the value as needed to provide enough space */
}

/* Additional Styles */

.year-container {
    margin-bottom: 20px;
}

.year-container h2 {
    text-align: center;
    margin-bottom: 10px;
}

.year-box {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.year-box .image {
    flex: 0 0 20%; /* Each image takes up 20% of the container width */
    margin: 10px; /* Adjust margin as needed */
    text-align: center;
}

.year-box .image img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Add border radius for rounded corners */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Add box shadow for depth */
}
