/* --- Conteneur principal : centre les éléments verticalement --- */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;        /* Largeur flexible */
    margin: 0 auto;    /* Centre horizontalement */
}

/* --- Corps de page --- */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #000000, #434343);
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* --- Titre principal --- */
h1 {
    font-size: 5vw;    /* Taille adaptative selon largeur de l’écran */
    color: white;
    text-shadow: 0 0 10px white;
    text-align: center;
    margin: 1em 0;
}

/* --- Boutons --- */
.btn {
    font-size: 2em;
    padding: 0.5em 1em;
    margin-top: 1em;
    cursor: pointer;
    background-color: black;
    color: white;
    border-radius: 5px;
    list-style: none;
    text-align: center;
    width: 80%;        /* Boutons adaptatifs */
    max-width: 300px;  /* Limite max */
}

.btn:hover {
    background-color: #333;
    box-shadow: 0 0 10px white;
}

/* --- Liens dans les boutons --- */
a {
    text-decoration: none;
    color: white;
    font-family: Satisfy, cursive;
}

/* --- Pied de page --- */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #222;
    color: white;
    text-align: center;
    padding: 1em;
    font-size: 0.9em;
}

/* --- Animation fade-in --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media queries pour petits écrans --- */
@media (max-width: 600px) {
    h1 { font-size: 8vw; }
    .btn { font-size: 1.5em; padding: 0.5em; width: 90%; }
    footer { font-size: 0.8em; padding: 0.5em; }
}
