* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

a {
    color: #20C997;
}

a:hover {
    color: #20C997; /* Changes color when hovering over the link */
}

a:visited {
    color: #20C997; /* Changes color after the link has been visited */
}

a:active {
    color: #20C997; /* Changes color when the link is clicked */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #5A5A5A; /* Black background for sidebars */
    scroll-behavior: smooth; /* Smooth scrolling */
}

.content-wrapper {
    width: 80%; /* Controls the width and sidebar size */
    max-width: 1200px;
    margin: 0 auto;
    background-color: white; /* Main content background */
    display: flex;
    flex-direction: column;
    position: relative; /* Allows fixed navbar within bounds */
}

.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 20px 0;
    position: fixed; /* Keeps the navbar fixed at the top */
    top: 0; /* Sticks it to the top */
    left: 50%; /* Centers relative to the page */
    transform: translateX(-50%); /* Ensures proper centering */
    width: 80%; /* Matches .content-wrapper width */
    max-width: 1200px; /* Same max-width as content-wrapper */
    z-index: 1000; /* Ensures it stays on top of other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for visibility */
}

.navbar a {
    text-decoration: none;
    color: black;
    padding: 10px 15px;
    border-radius: 5px; /* Optional: Rounds the corners */
    transition: background-color 0.3s; /* Smooth transition */
}

.navbar a.active {
    color: #20C997; /* Optional: Set text color for the active state */
}

.icon-container {
    margin-bottom: 10px; /* Adds space between the icon and the links */
}

.icon {
    display: block;
    margin: 0 auto;
    width: 50px;
    height: 50px;
}

/* Hamburger Button Styles */
.hamburger {
    display: none; /* Hidden by default, shown on mobile */
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
}

/* Navbar Links */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    transition: color 0.3s;
    font-family: 'Courier New', Courier, monospace;
}

.navbar li a:hover {
    color: #20C997;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar ul {
        display: none; /* Hide menu by default on mobile */
        flex-direction: column; /* Stack items vertically */
        background-color: white; /* Background color for dropdown */
        position: absolute;
        top: 60px; /* Position below the navbar */
        right: 0;
        width: 100%; /* Full width */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add shadow for visibility */
    }

    .navbar ul.active {
        display: flex; /* Show menu when active */
    }

    .hamburger {
        display: flex; /* Show hamburger menu on mobile */
    }

    .content-wrapper {
        width: 100%; /* Controls the width and sidebar size */
        max-width: 1200px;
        margin: 0 auto;
        background-color: white; /* Main content background */
        display: flex;
        flex-direction: column;
        position: relative; /* Allows fixed navbar within bounds */
    }

    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: white;
        padding: 20px 0;
        position: fixed; /* Keeps the navbar fixed at the top */
        top: 0; /* Sticks it to the top */
        left: 50%; /* Centers relative to the page */
        transform: translateX(-50%); /* Ensures proper centering */
        width: 100%; /* Matches .content-wrapper width */
        max-width: 1200px; /* Same max-width as content-wrapper */
        z-index: 1000; /* Ensures it stays on top of other elements */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for visibility */
    }
}

main.content {
    flex: 1;
    background-color: white;
    padding-top: 160px; /* Adjusts for the height of the fixed navbar and icon */
}

.section {
    padding: 50px 20px; /* More padding for sections */
    text-align: center;
}

.section h2 {
    margin-bottom: 20px;
    font-size: 30px;
    font-family: 'Saira Extra Condensed', serif;
}

.section p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.footer {
    background-color: #5A5A5A;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-family: 'Courier New';
}

.button-link {
    display: inline-block; /* Makes the link behave like a button */
    text-decoration: none; /* Removes underline */
    color: white; /* Sets font color to white */
    background-color: black; /* Sets button background to black */
    padding: 10px 20px; /* Adds padding around the text */
    border: none; /* Removes default border */
    border-radius: 5px; /* Rounds the corners of the button */
    font-size: 15px; /* Sets the font size */
    transition: background-color 0.3s, transform 0.2s; /* Adds smooth hover effect */
    font-family: 'Saira Extra Condensed', serif; /* Optional: applies your specific font */
}

.button-link:hover {
    background-color: black; /* Changes background color on hover */
    transform: scale(1.05); /* Slightly enlarges the button on hover */
}

p .button-link {
    margin: 0 !important; /* Reset margins if set by the p tag */
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

/* Modal content */
.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close button */
.close-button {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover {
    color: black;
}

#emailText {
    font-size: 18px;
    color: black;
    margin-top: 10px;
}
