html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    /* Permet d'utiliser min-height:100vh sur body correctement */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
}

.hero {
    position: relative;
    flex: 1;
    /* La section .hero s'étend pour remplir l'espace */
}

header {
    width: 100%;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Sur grand écran : on place le contenu vers 70% de la hauteur du .hero */
.content {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
}

.subtitle {
    font-size: 14px;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.linktree {
    margin: 10px 0;
}

.linktree a {
    color: #00ff00;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.linktree a:hover {
    color: #ffffff;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    background-color: #222;
    width: 100%;
    flex-wrap: wrap;
    /* Pas besoin de margin-top ici, le flex layout gère l'emplacement du footer */
}

footer a {
    margin: 5px 10px;
    text-decoration: none;
}

footer a img {
    width: 40px;
    height: 40px;
    transition: transform 0.2s;
}

footer a img:hover {
    transform: scale(1.2);
}

/* Ajustements pour les écrans de moins de 768px */
@media (max-width: 768px) {
    .subtitle {
        font-size: 12px;
    }

    .linktree a {
        font-size: 16px;
    }

    footer a img {
        width: 30px;
        height: 30px;
    }

    /* Sur mobile, on peut ajuster la position du contenu 
       si nécessaire, par exemple un peu plus bas */
    .content {
        top: 50%;
        /* Ajuster cette valeur selon le rendu souhaité */
        transform: translate(-50%, -50%);
    }
}