/* General Resets and Defaults */
html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

:root {
    /* Adjust this value to the actual height of your header */
    --header-height: 80px;
}

#header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: #F5F5F5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    /* The z-index helps keep the header above other content if you decide to use positioning */
    z-index: 10;
    border-bottom: 1px solid #dee2e6;
}

#header img {
    height: 50px; /* Example height for logo */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+/Edge */
    user-select: none;         /* Standard */
    pointer-events: none;
}

#banner {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    min-height: calc(100vh - var(--header-height));

    /* Background image properties */
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #333; /* Fallback color if image doesn't load */
    color: #222; /* Set text color to white for better readability */
}

#banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* This creates the "fog" overlay */
    z-index: -1;
}

#banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

#banner h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #333;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

#languages {
    /* Add styling for your content below the banner here */
    padding: 2rem;
    min-height: 300px; /* Example height */
}

#footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background-color: #333;
    color: white;
    border-top: 1px solid #dee2e6;
}

.social-icons {
    display: flex;
    gap: 1rem; /* Adjust space between icons */
}

.social-icons img {
    width: 24px;
    height: 24px;
    /**filter: invert(1); /* Makes svgs white */
}

/* Hamburger Menu Styles */
.container {
    display: inline-block;
    cursor: pointer;
    color: #f0f2f5;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #111;
    margin: 6px 0;
    transition: 0.4s;
}

/* Hamburger menu animation to 'X' */
.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

/* Mobile Menu Container */
#mobile-menu {
    position: absolute;
    top: var(--header-height); /* Position it right below the header */
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 5; /* Below header but above other content */

    /* Animation */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Show the menu */
#mobile-menu.show {
    max-height: 500px; /* A height large enough to show all content */
}

/* Menu List Styling */
#mobile-menu ul {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

/* Menu Item Links */
#mobile-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    transition: background-color 0.2s ease-in-out;
}

#mobile-menu a:hover {
    background-color: #f0f2f5;
}

/* Icon Styling */
#mobile-menu a svg {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    color: #555;
}

/* Text Styling */
#mobile-menu a span {
    font-weight: 500;
}