body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.about-page {
    background: url('../images/background.webp') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.about-header {
    background-color: rgba(255, 255, 255, 0.8); /* Light background with higher opacity */
    color: #333; /* Dark text color */
    padding: 1rem 0;
    text-align: center;
}

.about-header h1 {
    margin: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 1rem;
}

nav ul li a {
    color: #333; /* Dark text color for links */
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 200px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding-top: 50px;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* Vertical list */
}

.side-nav ul li {
    margin: 20px 0;
    text-align: center;
}

.side-nav ul li a {
    color: white;
    text-decoration: none;
}

.side-nav ul li a:hover {
    text-decoration: underline;
}

.about-main {
    flex: 1;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
    padding-left: 220px; /* Offset main content for side navigation */
}

.about-section {
    min-height: 100vh; /* Ensure full screen height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #333; /* Darker text color */
    scroll-snap-align: start;
    text-align: center;
    max-width: 800px; /* Restrict the width of sections */
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 8px;
    background: linear-gradient(to bottom, rgba(255, 0, 0, 0.7), rgba(255, 165, 0, 0.7), rgba(255, 255, 0, 0.7), rgba(0, 128, 0, 0.7), rgba(0, 0, 255, 0.7), rgba(75, 0, 130, 0.7), rgba(238, 130, 238, 0.7)); /* Continuous rainbow gradient */
    background-attachment: fixed;
}

.about-section h2 {
    font-weight: bold; /* Increase font weight for better readability */
    margin-bottom: 1rem;
    font-size: 2rem; /* Increase font size */
    color: white; /* White text color for better readability */
}

.about-section p {
    margin-bottom: 1rem;
    max-width: 600px; /* Restrict the width of text */
    font-size: 1.2rem; /* Increase font size */
    font-weight: bold; /* Bold text for better readability */
    color: white; /* White text color for better readability */
}

.team-member {
    margin-top: 1rem;
    text-align: left;
    width: 100%;
    max-width: 600px; /* Restrict the width of team member sections */
    font-size: 1.2rem; /* Increase font size */
    font-weight: bold; /* Bold text for better readability */
    color: white; /* White text color for better readability */
}

.about-footer {
    background-color: rgba(255, 255, 255, 0.8); /* Light background with higher opacity */
    color: #333; /* Dark text color */
    text-align: center;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
