body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

header {
    background-color: #1c1c1c;
    color: white;
    padding: 1px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}

nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

nav a {
    text-decoration: none;
    color: #3a3a3a;
    font-weight: bold;
}

section {
    padding: 20px;
}

.directory {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.contributors-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.contributor {
    text-align: center;
    width: 120px;
}

.contributor img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.contributor a {
    text-decoration: none;
    color: #3a3a3a;
    font-weight: bold;
}

.button-container {
    margin: 20px 0;
    text-align: center;
}

.folder {
    text-align: center;
    width: 120px;
    cursor: pointer;
}

.folder img {
    width: 100px;
    height: 100px;
}

.folder a {
    text-decoration: none;
    color: #3a3a3a;
    font-weight: bold;
}

iframe {
    width: 100%;
    height: 500px;
    border: 1px solid #ddd;
    margin-top: 20px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #3a3a3a;
    color: white;
    margin-top: 20px;
}

.leaderboard-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 20px;
}

.leaderboard-header h2 {
    margin: 0;
    color: #0077cc;
}

.leaderboard {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard th,
.leaderboard td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.leaderboard th {
    background-color: #0077cc;
    color: white;
}

.leaderboard tbody tr:hover {
    background-color: #f0f8ff;
}

.contributor-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}


/* Scroll */

.mouse-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    margin-top: 120px;

    width: 48px;
    height: 80px;
    border: 4px solid #ffffff;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: start;
}

.wheel {
    width: 8px;
    height: 16px;
    background-color: #ffffff;
    border-radius: 4px;
    animation: scroll 1s infinite;
    margin-top: 8px;
}

.arrow {
    width: 10px;
    height: 10px;
    margin-bottom: 200px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}


/* Scroll animation */
@keyframes scroll {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

    100% {
        transform: translateY(0);
    }
}



/* Tree */

@font-face {
    font-family: 'mountains_of_christmasregular';
    src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/35984/mountainsofchristmas-webfont.woff2') format('woff2'),
        url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/35984/mountainsofchristmas-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}





svg {
    width: 50%;
    height: 70%;
    margin-top: 40px;
    margin-bottom: 10px;

}

.sparkle {
    mix-blend-mode: luminosity
}

#endMessage {
    font-family: mountains_of_christmasregular;
    font-size: 2rem;
    text-anchor: middle;
    text-align: center;
    fill: #FFFFFF;
    color: #FFFFFF;
    opacity: 1;
    letter-spacing: 1px;
    margin-bottom: 130px;
}




/* Navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 30px;
    background-color: #242424;
    /* Green background */
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.navbar.sticky {
    /* position: fixed; */
    top: 0;
    width: 100vw;

    background-color: #242424c6;
}

.navbar .heading {
    text-align: center;
    flex-grow: 1;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.5;
}

.navbar .heading span {
    font-size: .8rem;
}

.navbar .links {
    display: flex;
    gap: 15px;
}

.navbar .links a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.navbar .links a:hover {
    color: rgb(55, 255, 33);
}

.navbar .join-us {
    background-color: white;
    color: #4CAF50;
    font-weight: bold;
    border: 2px solid white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.navbar .join-us:hover {
    background-color: #66BB6A;
    color: white;
}

.spacer {
    height: 200px;
    /* Just to create some scrollable content */
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px 10px 0px 10px;
    }

    .navbar .heading {
        text-align: left;
        margin-bottom: 10px;
    }

    .navbar .links {
        display: none;
    }

    .navbar .heading {
        text-align: center;
        flex-grow: 1;
        font-size: 1.0em;
        font-weight: bold;
        line-height: 1.5;
    }

    .navbar .heading span {
        font-size: .7rem;
    }
}




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

.modal-content {
    background: rgba(214, 214, 214, 0.925);
    color: #000000;
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    font-weight: bold;
}

.modal-body {
    max-height: 300px;
    overflow-y: auto;
}



.list {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 90%;
    max-width: 300px;
}

a{
    color:#26303a;
}


.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background-color: #ffffff;
}