@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

@keyframes translate {
    from {
        transform: translateX(-10vw);
    }

    to {
        transform: translateX(100vw);
    }
}

.animation {
    animation-name: translate;
    animation-iteration-count: infinite;
    animation-duration: 10s;
    animation-direction: normal;
    animation-timing-function: linear;
    position: absolute;
    transform: translate;
    width: auto;
    height: auto;
    pointer-events: none;
    /* L'animation ne gêne pas les clics */
    z-index: 2;
}


body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #181818;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: static !important;
    /* S'assure que le body ne crée pas de contexte d'empilement */
}

p,
article {
    margin-bottom: 10px;
    font-size: 20px;
}

.pop-corn {
    width: 50%;
}

header {
    background: #e0e0e0;
    color: #181818;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 40px;
    box-shadow: 0 4px 24px 0 #bfa14a88;
    overflow: visible;
    /* Permet au menu de déborder */
    z-index: 100;
    position: relative;
    height: 120px;
    /* Hauteur fixe pour le header */
}

main {
    flex: 1;
    /*     height: 70vh; supprimé pour laisser main prendre la place */
    overflow: auto;
    box-shadow: 0 2px 16px 0 #000a;
    /* ombre noire plus diffuse */
    background: rgba(24, 24, 24, 0.98);
    border-radius: 12px;
    margin: 30px 40px;
    padding: 30px 40px;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    filter: drop-shadow(0 0 10px #bfa14a88);
    /* ombre dorée légère */
}

.sigle {
    width: 152px;
}

.logo_cgr {
    width: 70px;
}

.a-header {
    color: #181818;
    text-decoration: none;
    margin-right: 10px;
}

h1 {
    text-align: center;
    color: red;
    text-decoration: underline;
    font-size: 60px;
}

.lien {
    display: flex;
    align-items: center;
    gap: 20px;
    /* espace entre chaque élément du menu */
    width: 320px;
    /* Remplacez 320px par la largeur maximale mesurée */
    min-width: 320px;
    max-width: 320px;
    position: relative;
    /* Stabilise la position si besoin */
}

.lien details[open] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 5;
    background: #e0e0e0;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input {
    text-align: center;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 24px 0 #bfa14a88;
    /* ombre dorée subtile comme le header */
    background: #e0e0e0;
    color: #181818;
    border-top: 2px solid #bfa14a;
    padding: 20px 40px;
    margin: 10px;
}

.mon_logo {
    width: 100px;
    filter: drop-shadow(0 0 8px #bfa14a88);
    /* ombre dorée */
}


.mention {
    display: flex;
    flex-direction: column;
}

.a-footer {
    color: #181818;
    font-family: 10px;
}

.a-btn {
    background: #009258;
    color: white;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
    margin: 10px;
    border: 1px solid black;
    box-shadow: 0 2px 8px 0 #00664499;
    /* ombre verte adaptée au bouton */
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: box-shadow 0.2s;
}

.a-btn:hover {
    box-shadow: 0 4px 16px #00ffb0cc;
    /* ombre verte plus lumineuse au hover */
}