body {
    margin: 0;
    font-family: 'Minecraftia', sans-serif;
    background: url('fond-minecraft-Sky.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

/* ✅ Centrage du logo et du texte d’intro */
.logo-container {
    text-align: center;
    padding: 20px;
}

.logo {
    width: 500px;
    margin: 0 auto 20px auto;
    display: block;
    position: relative;
    top: -200px;
}

.logo-petit {
    width: 200px;
    margin: 0;
    display: block;
    text-align: left;
}
.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #000000;
    background-color: rgba(255, 255, 255, 0.432);
    padding: 20px;
    border-radius: 10px;
    font: optional;
    font-weight: bold;
    margin: -200px auto 0 auto; /* remonte le bloc intro */
    text-align: center;
    width: 250px;
}

.intro a {
    color: #00ffcc;
    text-decoration: underline;
    font-weight: bold;
}

header {
    align-items: center;
    padding: 20px;
    width: 97%;
}

h2 {
    text-align: center;
    color: #8bc34a;
    font-size: 30px;
    margin-top: 20px;
    text-shadow: -2px -2px 0 #3d2106,  /* Contour en noir */
                  2px -2px 0 #3d2106,
                 -2px 2px 0 #3d2106,
                  2px 2px 0 #3d2106;
}

/* ✅ Streamer grid sans espace */
.streamer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Espace entre les cartes */
}

/* ✅ Cartes streamers collées, en ligne */
.streamer-card {
    display: flex;
    align-items: center;
    background-color: rgba(34, 34, 34, 0.8);
    padding: 25px;
    margin: 0;
    border: 2px solid #8bc34a;
    border-radius: 10px;
    width: 250px;
    box-sizing: border-box;
}

/* ✅ Avatar circulaire à gauche */
.avatar {
    width: 70px;
    height: 70px;
    max-width: 70px;
    border-radius: 50%;
    margin-right: 10px;
}

.streamer-card h3 {
    margin: 0 0 5px;
    font-size: 14px;
}

.streamer-card a {
    margin-left: 5px 0 5px 0;
    color: #ff4040;
    text-decoration: none;
    font-size: 15px;
}

.minecraft-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    font-family: 'Minecraftia', sans-serif;
    background-color: #5e7c16;
    /* vert pixel Minecraft */
    border: 4px solid #3b5111;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    box-shadow: inset -2px -2px 0 #3b5111, inset 2px 2px 0 #91bd36;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

.minecraft-btn:hover {
    background-color: #91bd36;
    border-color: #5e7c16;
    box-shadow: inset -2px -2px 0 #5e7c16, inset 2px 2px 0 #c0e57c;
    transform: translateY(-1px);
}

.streamer-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lien-twitch {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #ff4040;
    text-decoration: none;
    margin-top: 4px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.226);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

@media screen and (max-width: 768px) {
    .streamer-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        /* un peu d’espace entre les cartes */
    }

    .streamer-card {
        width: 90%;
        max-width: 350px;
        flex-direction: row;
        /* tu peux aussi tester column */
        padding: 15px;
    }

    .avatar {
        width: 60px;
        height: 60px;
        margin-right: 15px;
    }

    .logo {
        width: 80%;
    }

    .intro {
        font-size: 18px;
        padding: 0 10px;
    }

    h2 {
        font-size: 20px;
    }

    .minecraft-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    footer {
        position: fixed;
        padding: 15px;
    }
}
