body {
    margin: 0;
    background-color: #1b1b1b;
    font-family: "Minecraftia", sans-serif;
    color: white;
}


header {
    background: linear-gradient(#2c2c2c, #1a1a1a);
    border-bottom: 4px solid #3ca374;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mc-logo {
    width: 60px;
    height: auto;
    image-rendering: pixelated;
}

.header-left h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #fff;
    text-shadow: 3px 3px 0 #000;
    letter-spacing: 2px;
}


.header-center {
    text-align: center;
    flex: 1;
    margin-bottom: 1%;
}

.header-center p {
    margin-bottom: 1.5%;
}
.slogan {
    font-size: 1.2rem;
    color: #ddd;
    text-shadow: 2px 2px 0 #000;
    margin: 0 0 0.5rem;
}

.nav-center {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.nav-center a {
    text-decoration: none;
    background: #2c2c2c;
    border: 2px solid #3ca374;
    padding: 0.3rem 0.8rem;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
}

.nav-center a:hover {
    background: #3ca374;
    box-shadow: 0 0 10px #3ca374;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.nav-title {
    background: #2a2a2a;
    border: 2px solid #3ca374;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin: 0;
    font-size: 0.9rem;
    text-shadow: 2px 2px 0 #000;
}

.nav-group a {
    display: inline-block;
    border: 2px solid #3ca374;
    border-radius: 6px;
    background: #2c2c2c;
    padding: 4px;
    transition: all 0.15s ease-in-out;
}

.nav-group a img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    image-rendering: pixelated;
    display: block;
    transition: all 0.15s ease-in-out;
}

.nav-group a:hover img {
    transform: scale(1.1);
    box-shadow: 0 0 10px #3ca374;
}

.nav-group a:hover {
    background: #3ca374;
}


@media (max-width: 900px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .header-right {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-center {
        flex-wrap: wrap;
    }
}
