body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    background-color: #4f2c1d;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    background-color: #333;
    padding-top: env(safe-area-inset-top, 0);
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    display: block;
    padding: 14px 20px;
    color: white;
    text-decoration: none;
    text-align: center;
}

.navbar a:hover {
    background-color: #ddd; 
    color: black; 
}

.navbar a:active {
    background-color: #FD5000;
    color: white;
}

/* Waffle Icon for Mobile */
.navbar-toggle {
    display: none;
    font-size: 24px;
    color: white;
    padding: 14px 20px;
    cursor: pointer;
}

/* Hide the menu by default on mobile */
.navbar-menu {
    display: flex;
}

/* Media query to make navbar responsive */
@media (max-width: 768px) {
    .navbar {
        justify-content: flex-start; /* Aligns items to the left when in mobile mode */
    }

    .navbar ul {
        flex-direction: column;
        text-align: center;
    }

    .navbar-menu {
        display: none; /* Hide menu items initially */
        flex-direction: column;
        width: 100%;
    }
    .navbar-menu.active {
        display: flex; /* Show menu items when active */
    }
    .navbar-toggle {
        display: block; /* Show waffle icon on mobile */
    }
}

/* Header */
header {
    text-align: center;
    padding: 2rem;
    background-color: #1e1e1e;
}

header h1 {
    font-size: 2.5rem;
    color: #FD5000;
}

header p {
    font-size: 1.1rem;
    color: #b0bec5;
}

.header-image {
    display: block;
    margin: 1rem auto;
    max-width: 150px;
    height: auto;
}

/* Section Styling */
section {
    padding: 1.5rem;
    margin: 1rem auto;
    max-width: 800px;
    border-radius: 8px;
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}

section h2 {
    color: #FD5000;
    margin-bottom: 0.5rem;
}

section h3 {
    color: #FD5000;
}

.announcements, .AboutUs, .resources, .contact {
    margin-bottom: 1.5rem;
}

/* Links */
a {
    color: #FD5000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Announcement Banner */
.announcement-banner {
    width: 100%;
    height: 40px;
    overflow: hidden; 
    background-color: #FD5000;
    color: #ffffff;
    position: relative;
}

/* Scrolling Text Wrapper */
.scrolling-text {
    display: inline-block;
    animation: scroll-loop 18s linear infinite;
    white-space: nowrap;
    position: absolute; 
    right: 0; 
}

/* Text inside the scrolling wrapper */
.scrolling-text p {
    display: inline;
    font-size: 1.1rem;
    padding-right: 2rem;
}

/* Animation: Move text from right to left */
@keyframes scroll-loop {
    from {
        transform: translateX(100%); 
    }
    to {
        transform: translateX(-400%);
    }
}

/* General styles for desktop and larger screens */
.contact {
    text-align: center;
    padding: 20px;
}

.icon {
    width: 38px; 
    vertical-align: middle;
    margin-right: 8px;
}

.icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
    transition: 0.3s ease;
}

/* Styles for smaller screens */
@media (max-width: 600px) {
    .icon {
        width: 32px; /* Adjust the width as needed for mobile */
    }
}





