body{
    width: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 20px;

}
main p{
    font-size: 26px;
}

header nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    baseline: center;
    height: 200px;
    margin-left: 50px;
    margin-right: 50px;
    
}
nav ul{
    display: flex;
    list-style: none;
}
nav ul li{
    margin-right: 50px;
}   
nav ul li a{
    text-decoration: none;
    color: #161B38;
    font-size: 22px;
}
nav img{
    width: 450px;
    height: 150px;
}
header div img{
    width: 100%;
}




.gamemodes{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 50px;
    padding: 100px;
    height: 500px;
    color: #161B38;
}
.gamemodes img{
    width: 300px;
    height: auto;
}

.version-support{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 50px;
    background-color: #3c9ce4;
    color: #ffffff;
    padding: 100px;
    height: 500px;
}
.version-support img{
    width: 300px;
    height: auto;
}

.staff-applications{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 50px;
    padding: 100px;
    color: #161B38;
    height: 500px;
}
.staff-applications img{
    width: 300px;
    height: auto;
}


.team{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 50px;
    background-color: #3c9ce4;
    color: #ffffff;
    padding: 100px;
    height: 500px;
}
.team img{
    width: 300px;
    height: auto;
}
.team-header{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.view-team-btn{
    background-color: #ffffff;
    margin-top: 10px;
    padding: 5px;
    border-radius: 2px;
    width: 200px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #3C9CE4;
}
.view-team-btn h3{
    margin: 0;
}




.fullTeam{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    color: #161B38;
    padding: 100px;
}
.fullTeam .team-row{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-bottom: 40px;
}
.fullTeam img{
    width: 300px;
    height: auto;
}




.rules{
    margin: 100px;
    padding: 100px;
    color: #161B38;
}
.rules h1{
    color: #3c9ce4;
}
.rules p{
    color: #161B38;
    font-size: 18px;
    line-height: 2;
    margin: 200px;
}
.rules p span{
    color: #3c9ce4;
    font-size: 24px;
    font-weight: bold;
}
















footer{
    background-color: #3C9CE4;
    color: white;
    text-align: center;
    height: auto;
    width: 100%;
}
footer p{
    margin: 0;
}
footer div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    
}
footer .quick-links{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}
footer .quick-links ul{
    list-style: none;
    padding: 0;
}
footer .quick-links ul li{
    margin-bottom: 10px;
    text-align: left;
}
footer .quick-links ul li a{
    text-decoration: none;
    color: white;
}
footer .webstore{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
footer .webstore .webstore-content{
    background-color: #ffffff;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 2px;
    width: 400px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .webstore .webstore-content a{
    text-decoration: none;
    color: #3C9CE4;
}
footer .webstore .webstore-content div p{
    text-align: center;
}
footer .footer-image{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
}
footer .footer-image img{
    width: 600px;
    height: auto;
    
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    /* Header & Nav */
    header nav {
        flex-direction: column;
        height: auto;
        margin: 20px;
        gap: 20px;
    }
    nav img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 15px;
    }
    nav ul li {
        margin-right: 0;
    }

    /* Main Content Sections */
    .gamemodes, .version-support, .staff-applications, .team {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        text-align: center;
        gap: 30px;
    }
    .gamemodes img, .version-support img, .staff-applications img, .team img {
        width: 100%;
        max-width: 300px;
    }

    /* Rules Section */
    .rules {
        margin: 20px;
        padding: 20px;
        text-align: center;
    }
    .rules h1 {
        font-size: 28px;
    }
    .rules p {
        margin: 20px 0; /* Override the 200px margin for mobile */
        font-size: 16px;
    }
    .rules p span {
        font-size: 20px;
    }

    /* Footer */
    footer div {
        flex-direction: column;
        gap: 30px;
    }
    footer .quick-links, footer .footer-image {
        align-items: center;
        justify-content: center;
    }
    footer .quick-links ul li {
        text-align: center;
    }
    footer .webstore .webstore-content {
        width: 90%; /* Let it shrink on small screens */
        max-width: 400px;
    }
    footer .footer-image img {
        width: 100%;
        max-width: 400px;
    }
}