/* styles.css */

:root {
    --header-height: 100px;
}

body {
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: black; /* Purple from logo #4a0e6e */
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Adjust horizontal padding */
}

#logo {
    height: 80px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.menu-icon {
    display: none;
}

.hero {
    background: linear-gradient(to bottom, #4a0e6e, #000);
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    text-align: center;
}

#hero-logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4em;
    margin: 0;
}

.hero p {
    font-size: 1.5em;
}

.cta-button {
    background-color: #ffd000; /* Yellow from logo */
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}

#about, #games, #team, #servers {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.game {
    text-align: center;
}

.game img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.team-members {
    display: flex;
    justify-content: space-around;
	margin-bottom: 20px;
}

.member {
    text-align: center;
    width: 30%;
}

.member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #fff; /* Placeholder images */
}

.servers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.server {
    text-align: center;
    background-color: #4a0e6e;
    padding: 20px;
    border-radius: 10px;
}

.server h3 {
    margin-bottom: 10px;
}

.server p {
    margin: 5px 0;
}

footer {
    background-color: #4a0e6e;
    text-align: center;
    padding: 10px 0;
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    header {
        padding: 5px 0;
    }

    header .container {
        padding: 0 10px;
    }

    #logo {
        height: 50px;
    }

    .menu-icon {
        display: block;
        color: #fff;
        font-size: 30px;
        cursor: pointer;
    }

    nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: #4a0e6e;
        z-index: 999;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    nav li {
        margin: 10px 0;
        margin-left: 0;
    }

    .hero h1 {
        font-size: 3em;
    }

    .hero p {
        font-size: 1.2em;
    }

    #hero-logo {
        max-width: 200px;
    }

    .team-members {
        flex-direction: column;
        align-items: center;
    }

    .member {
        width: 80%;
        margin-bottom: 20px;
    }

    .container {
        padding: 10px;
    }
}