/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f8ff;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://i.imgur.com/QszaXt7.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1; /* Make sure it's behind all other content */
}

/* Features Page Specific */
#features h1,
#features h2,
#features p {
    color: #ffffff; /* Set text color to white */
}

/* Leaderboard Page Specific */
#leaderboard h1,
#leaderboard h2,
#leaderboard p {
    color: #ffffff; /* Set text color to white */
}

/* Contact Page Specific */
#contact h1,
#contact h2,
#contact p {
    color: #ffffff; /* Set text color to white */
}


/* Apply background image to the entire page */
html, body {
    height: 100%;
}

body {
    background-image: url('https://i.imgur.com/QszaXt7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0); /* Transparent background */
    color: white;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Navigation */
nav {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    transition: background-color 0.3s;
    font-size: 16px;
}

nav ul li a:hover {
    background-color: #0077cc;
    border-radius: 4px;
}

/* Main Section Styling */
section {
    padding: 80px 20px 60px;
    box-sizing: border-box;
    position: relative;
}

/* Transparent White Container for Content */
.container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin: auto;
    max-width: 1200px;
}

/* Footer */
footer {
    background-color: #000000;
    color: white;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    margin-top: auto;
}

/* General Styles for Back Button */
.back-button {
    position: fixed;
    bottom: 80px;
    left: 20px;
    padding: 8px 15px;
    background-color: #000000;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    z-index: 1000;
}

.back-button a {
    color: #fff;
    text-decoration: none;
}

.back-button:hover {
    background-color: #005fa3;
}

/* Home Page Specific */
#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#home h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

#home p {
    font-size: 18px;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #000000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #005fa3;
}

/* Staff Page Specific */
#staff {
    /* Apply container style */
}

/* Staff Page Specific */
#staff h1,
#staff .staff-info h2,
#staff .staff-info p {
    color: #ffffff; /* Set text color to white */
}

#staff h1 {
    font-size: 32px; /* Font size adjustment */
    margin-bottom: 30px;
}

.staff-member {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    background-color: #000000;
}

.staff-member img {
    border-radius: 50%;
    width: 80px; /* Image size adjustment */
    height: 80px; /* Image size adjustment */
    margin-right: 15px; /* Margin adjustment */
}

.staff-info h2 {
    margin: 0;
    font-size: 20px; /* Font size adjustment */
}

.staff-info p {
    margin: 5px 0;
    font-size: 16px; /* Font size adjustment */
}

/* Features Page Specific */
#features .container {
    /* Apply container style */
}

#features h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

#features p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Leaderboard Page Specific */
#leaderboard .container {
    /* Apply container style */
}

#leaderboard h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

#leaderboard p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Contact Page Specific */
#contact .container {
    /* Apply container style */
}

#contact h1 {
    font-size: 32px;
    margin-bottom: 30px;
}

#contact p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .logo {
        font-size: 18px;
        margin-right: 0;
    }

    section {
        padding: 60px 15px 40px;
    }

    .back-button {
        bottom: 10px;
        left: 10px;
        padding: 8px 15px;
    }
}
