/* Style général */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    height: 100vh;
    margin: 0;
    background: url('fond.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Conteneur principal */
.container {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparence */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 80%;
    margin: 20px;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2em;
}

p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.2em;
}

a.youtube-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

a.youtube-link:hover {
    background-color: #cc0000;
}

/* Media Queries pour le design responsive */

/* Écrans moyens (tablettes) */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }

    .container {
        padding: 30px;
        max-width: 90%;
    }

    h1 {
        font-size: 1.8em;
    }

    p {
        font-size: 1.1em;
    }

    a.youtube-link {
        font-size: 1em;
    }

    img.logo {
        max-width: 120px; /* Taille du logo plus petite sur les tablettes */
    }
}

/* Petits écrans (mobiles) */
@media (max-width: 480px) {
    body {
        background-attachment: scroll;
        background-position: top center;
    }

    .container {
        padding: 20px;
        max-width: 100%;
    }

    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }

    a.youtube-link {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    img.logo {
        max-width: 100px; /* Taille du logo plus petite sur les mobiles */
    }
}
