:root{
    --police-exo2:Exo2;
    --couleur-jeu-primaire:#23201d;
    --couleur-jeu-secondaire:#413135;
    --couleur-jeu-accuentuation:#C4755A;
    --couleur-jeu-boutons:#F0EFF4;
    --couleur-jeu-habillage:#783D2B;
}

@font-face {
    font-family: Exo2;
    src: url(media/Exo2.ttf);
}

a{
    color: var(--couleur-jeu-accuentuation);
    text-decoration: none;
    font-weight: 1000;
}

body{
    font-family: var(--police-exo2);
}

.en-tete a{
    color: var(--couleur-jeu-habillage);
}

.pied-de-page a{
    color: var(--couleur-jeu-habillage);
}

.section-heros{
    padding: 0 10% 10% 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('media/clairval-heros');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--couleur-jeu-boutons);
    font-weight: 900;
}

.heros-image{
    width: 89%;
}

.section-jeu-cartes{
    padding: 10%;
    display: flex;
    flex-direction: column;
    background-color: #ffebcd;
    color: var(--couleur-jeu-primaire);
    align-items: center;
    gap: 100px;
}

.carte-organisation{
    display: flex;
    flex-direction: row;
    gap: 100px;
}

.carte-organisation-resume{
    display: flex;
    flex-direction: column;
    width: 20%;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.carte-organisation-detail{
    display: flex;
    flex-direction: column;
    width: 80%;
    text-align: justify;
    gap: 30px;
}

.carte-organisation-image{
    width: 100%;
    border-radius: var(--arrondi);
}

.section-foire-aux-questions{
    display: flex;
    flex-direction: column;
    padding: 10%;
    align-items: center;
    background-color: var(--couleur-jeu-secondaire);
    color: var(--couleur-jeu-boutons);
    
}

.section-jeu-telechargements{
    display: flex;
    flex-direction: column;
    padding: 10%;
    align-items: center;
    justify-content: space-evenly;
    color: var(--couleur-jeu-primaire);
    background-color: var(--couleur-jeu-boutons);
}

.telechargements-organisation{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    padding-top: 10%;
}

.telechargements-cartes{
    display: flex;
    flex-direction: column;
    width: 30%;
    align-items: center;
    justify-content: center;
    gap: 50px;
    border: 5px solid var(--couleur-jeu-accuentuation);
    background-color: var(--couleur-jeu-primaire);
    color: var(--couleur-jeu-boutons);
    padding: 40px 20px;
    border-radius: var(--arrondi);
}

.telechargements-bouton{
    padding: 10px 20px;
    border: 5px solid var(--couleur-jeu-accuentuation);
    font-size: 25px;
    text-decoration: none;
    border-radius: var(--arrondi);
}

.telechargements-image{
    height: 200px;
}

.titres-section{
    font-size: 50px;
}

.sous-titres-section{
    font-size: 40px;
}

.jeu-texte-faq{
    font-size: 30px;
    text-align: justify;
}

.cartes-texte{
    font-size: 30px;
    text-align: justify;
}

.heros-titre{
    font-size: 64px;
}

.heros-synopsis{
    font-size: 32px;
    text-align: center;
}

.accordion {
    max-width: 80%;
    margin: 0 auto;
    padding-top: 10%;
}

.accordion-item {
    border: 5px solid var(--couleur-jeu-accuentuation);
    margin-bottom: 20px;
    overflow: scroll;
    scrollbar-width: none;
    background: var(--couleur-jeu-boutons);
    font-size: 30px;
    border-radius: var(--arrondi);
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    cursor: pointer;
    background-color: var(--couleur-jeu-primaire);
    color: white;
}

.accordion-header:hover {
    background-color: var(--couleur-jeu-secondaire);
}

.accordion-content {
    max-height: 0;
    overflow: scroll;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

.accordion-content p {
    margin: 15px 0;
    color: black;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked + .accordion-header + .accordion-content {
    max-height: 200px;
}

/* Animations */

.habillage-nav a {
    transition: color 0.2s ease;
}

.habillage-nav a:hover {
    color: var(--couleur-jeu-accuentuation);
}

.habillage-nav-alt a {
    transition: color 0.2s ease;
}

.habillage-nav-alt a:hover {
    color: var(--couleur-jeu-accuentuation);
}

.telechargements-bouton, .accordion-header {
    transition: filter 0.2s ease;
}

.telechargements-bouton:hover, .accordion-header:hover {
    filter: brightness(1.8);
}

.telechargements-cartes {
    transition: transform 0.2s ease;
}

.telechargements-cartes:hover {
    transform: scale(1.04);
}

.carte-organisation-image {
    transition: transform 0.2s ease;
}

.carte-organisation-image:hover {
    transform: scale(1.04);
}


@media only screen and (min-width: 320px) and (max-width: 425px){
    .section-heros{
        display: flex;
        flex-direction: column;
        padding: 40px 2%;
        gap: 40px;
    }

    .heros-image{
        width: 100%;
    }

    .section-jeu-cartes{
        display: flex;
        flex-direction: column;
        padding: 40px 2%;
        gap: 80px;
    }

    .carte-organisation{
        display: flex;
        flex-direction: column;
        gap: 40px;
        justify-content: center;
    }

    .carte-organisation-resume{
        display: flex;
        flex-direction: column-reverse;
        gap: 40px;
        width: 100%;
    }

    .carte-organisation-image{
        width: 50%;
    }

    .cartes-texte{
        font-size: 22px;
    }

    .carte-organisation-detail{
        display: flex;
        flex-direction: column;
        gap: 40px;
        width: 100%;
    }

    .section-foire-aux-questions{
        display: flex;
        flex-direction: column;
        padding: 40px 2%;
        gap: 40px;
    }

    .accordion{
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .accordion-header{
        font-size: 24px;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .jeu-texte-faq{
        font-size: 22px;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .section-jeu-telechargements{
        display: flex;
        flex-direction: column;
        padding: 40px 2%;
        gap: 40px;
        height: auto;
    }

    .telechargements-organisation{
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }

    .telechargements-cartes{
        width: 100%;
    }

    .telechargements-image{
        height: 100px;
    }

    .telechargements-bouton{
        text-align: center;
    }

    .titres-section{
        font-size: 40px;
        text-align: center;
    }

    .sous-titres-section{
        font-size: 35px;
        text-align: center;
    }

    .heros-synopsis{
        text-align: justify;
        font-size: 26px;
    }
}