@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* Général */
*{
    margin: 0;
    text-align: center;
    scroll-behavior: smooth;
    font-family: "Lato", sans-serif;
}

body{
    top: 10vh;
    position: relative;
    width: 100vw;
}

h1{
    padding: 1.2rem 0rem 1rem 0rem;
    width: 80%;
    text-align: center;
    margin: 0px auto 0px auto;
}

i{
    color: white;
    padding: 1rem;
}


.font_kanit{
    font-family: "Kanit", sans-serif;
}

.gras{
    font-weight: bold;
}

.bouton {
    height: 20px;
    width: auto;
    padding: 20px;
    border-radius: 30px;
    border: solid 0.5px black;
    color: black;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

.bouton:hover{ /* Quand le bouton est survolé par la souris*/
    transform: translate(-0.25rem, -0.25rem); /* Déplace le bouton sur l'axe des x et des y pour donner un effet de surélèvement*/
    background-color: #17d5c0;
    box-shadow: 0.25rem 0.25rem black; /* Garde le bord de l'ombre à la position de départ*/
}

.bouton:active{
    transform: translate(0); /* Ramène le bouton à sa position de départ*/
    box-shadow: none;
}


/* En-tête du site */
header{
    position: fixed; /* Affiche en permanence la barre de navigation en haut de l'écran*/
    top: 0;
    background-color: #ed0d14;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 10vh;
    z-index: 1; /*reste en premier plan parce que sinon ça passe derrière l'image d'accueil*/
}

#logo_escargot{
    width: auto;
    height: 50%;
    padding: 20px;
}

.barreNavigation{
    position: absolute;
    top: 10vh;
    right: 0;
    height: 90vh;
    width: 50vw;
    background-color: #7b0609;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: -100%;
    transition: 0.5s ease-out;
}

.liensNavigation li{
    list-style: none;
    padding: 10px 0px 10px 0px;
    border-bottom: 0.5px solid white;
    width: 130px;
}

.liensNavigation a{
    text-align: end;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

#iconeBurger{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

header i {
    color: white;
    padding: 20px;
}

.mobileMenu{
    margin-right: 0;
}


/* accueil */
#section_accueil{
    height: 90vh;
    width: 100%;
}

#section_accueil p{
    color: white;
    font-size: 1.7rem;
    width: 80%;
}

#texte_image_banniere{
    background-image: url(./img/ludo2.jpg);
    height: 60%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#texte_accueil{
    background-color: #ed0d14;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Horaires et plan */

#section_horaires_plan{
    height: 100vh;
    margin-bottom: 30px;
}

#contenu_horaires_plan{
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#section_horaires{
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#horaires, #fermeture{
    width: 80%;
}

.jour_semaine{
    margin: auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding: 10px 10px 10px 10px;
    border-bottom: solid grey 0.5px;
}

iframe{ /* pour le widget google maps*/
    width: 80%;
    height: 300px;
    box-shadow: 0.15rem 0.15rem 10px rgb(202, 202, 202);
}


/* Abonnements */
#abonnements{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.couleur_bleu{
    color: #17d5c0;
}

.couleur_jaune{
    color: #ffd659;
}

.titre_element_abonnement{
    font-size: large;
}

.element_abonnement{
    padding: 10px 0px 10px 0px;
    width: 90%;
}

.element_abonnement *{ /* espace un peu tous les éléments */
    padding: 0.5em;
}

.tableau_abonnement{
    border: solid 0.5px black;
    box-shadow: 0.15rem 0.15rem 10px rgb(202, 202, 202);
    border-radius: 40px;
    padding: 30px 0px 30px 0px;
    width: 80%;
    height: 550px;
    margin: 20px 0px 20px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#abonnement_1{
    border-color: #17d5c0;
}

#abonnement_2{
    border-color: #ffd659;
}


/* Page à propos */

/* ludo l'escargot */
#section_ludo_apropos{
    height: 90vh;
    display: flex;
    color: white;
    background-image: url(./img/ludo-exterieur-noir-v2.jpg);
    background-size: cover;
    background-position: center;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#img_ludo_apropos{
    display: flex;
    width: 90%;
    justify-content: center;
}

.img_ludo_taille{
    width: 50%;
}

.texte_centre{
    width: 80%;
    text-align: center;
}

#texte_ludo_apropos{
    padding: 10px 0px 10px 0px;
}

/* réseaux sociaux */
#section_reseaux{
    height: 75vh;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#section_reseaux p{
    width: 85%;
}

#contenu_ludo_apropos{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.element_reseau{
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenu_icon_reseau{
    background-color: #17d5c0;
    box-shadow: 0.15rem 0.15rem 10px rgb(120, 138, 133);
    width: 150px;
    height: 150px;
    border-radius: 80px;
    margin-bottom: 0.7rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo_reseaux_apropos{
    width: 80px;
}

/* Bénévoles */
#section_benevoles{
    height: 70vh;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#infos_benevoles{
    width: 80%;
}

#texte_benevoles{
    color: white;
    background-color: #ed0d14;
    width: 80%;
    box-shadow: 0.15rem 0.15rem 10px rgb(102, 62, 62);
    padding: 20px 10px 20px 10px;
    border-radius: 30px;
}

/* Catalogue */
#section_catalogue{
    width: 90%;
    margin: auto;
    padding: 20px 0px 20px 0px;
}

article{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    margin-bottom: 20px;
    height: auto;
    background-color: #efefef;
    box-shadow: 0.15rem 0.15rem 10px rgb(118, 118, 118);
    border-radius: 40px;
}

.informations_jeu *{
    text-align: start;
    width: 90%;
    padding-top: 10px;
}

.informations_jeu{
    order: 2;
}

.description_jeu{
    font-size: smaller;
}

.img_jeu{
    width: 100%;
    border-radius: 20px;
    height: 150px;
    object-fit: cover;
}


/* Formulaire de contact */
#section_formulaire{
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form{
    width: 90%;
    height: 70%;
    padding: 10px 0px 60px 0px;
    background-color: #ed0d14;
    box-shadow: 0.15rem 0.15rem 10px rgb(102, 41, 41);
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

form h1{
    color: white;
}

.element_formulaire{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#nom_prenom{
    width: 100%;
}

.element_formulaire input{
    width: 80%;
}

#message{
    height: 100px;
    width: 80%;
    border-radius: 20px;
}

#submit{
    width: 60%;
    text-align: center;
    font-weight: bold;
}

#submit:hover{
    cursor: pointer;
    width: 65%;
}

.info_contact{
    text-align: start;
    margin: 0.5rem 0rem 0.5rem 0rem;
    padding: 10px;
    border-radius: 20px;
    border: solid 0.1px black;
    box-shadow: 0.25rem 0.25rem #ffd659;
}


/* Pied de page */
footer{
    width: 100%;
    background-color: #ed0d14;
    color: white;
    padding: 30px 0px 30px 0px;
}

footer *{ /* Tous les titres et les paragraphes qui se trouvent dans le footer s'alignent à gauche */
    text-align: start;
}

footer a{
    color: white;
}

.footer_element{
    padding: 20px;
}

#footer_icone_reseaux{
    display: flex;
    align-items: end;
}

@media screen and (min-width: 750px){

    p{
        font-size: larger;
    }

    /* Menu de navigation */
    #iconeBurger{
        display: none;
    }

    .barreNavigation{
        position: absolute;
        top: 0;
        margin-right: 0;
        padding: 0px 0px 0px 0px;
        width: 100%;
        height: 10vh;
        background-color: #7b060a00;
    }

    .liensNavigation ul{
        display: flex;
        justify-content: flex-end;
        margin-right: 30px;
    }

    .liensNavigation li{
        margin-left: 30px;
        border-bottom: none;
    }
    
    .liensNavigation a{
        font-size: 1.2rem;
    }

    .liensNavigation a:hover{
        text-decoration: underline;
    }


    /* Horaires et plan */
    #contenu_horaires_plan{
        height: 90%;
        width: 90vw;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    #section_horaires{
        height: 60%;
        width: 60%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    iframe{ /* pour le widget google maps*/
        width: 40%;
        height: 60%;
    }


    /* Abonnements */
    #abonnements{
        width: 90vw;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        margin: auto;
        margin-bottom: 50px;
    }

    .tableau_abonnement{
        width: 500px;
        border: solid 0.5px black;
        border-radius: 40px;
        padding: 30px 0px 30px 0px;
        margin: 20px 0px 20px 0px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* catalogue */
    #section_catalogue{
        width: 90%;
        margin: auto;
        padding: 20px 0px 20px 0px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    article{
        margin-bottom: 0px;
        flex-direction: row;
    }

    .informations_jeu{
        align-self: flex-start;
    }

    .img_jeu{
        width: 150px;
        height: 150px;
        object-fit: cover;
        order: 2;
    }

    /* A propos */
    /* ludo l'escargot */
    #section_ludo_apropos{
        height: 100%;
        padding-bottom: 70px;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }

    #section_ludo_apropos h1{
        padding-bottom: 100px;
    }

    #contenu_ludo_apropos{
        width: 90%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: start;
    }

    #texte_ludo_apropos{
        padding-left: 20px;
    }

    #img_ludo_apropos{
        display: flex;
        width: 100%;
        justify-content: end;
       
    }

    .img_ludo_taille{
        width: 45%;
    }

    .texte_centre{
        width: 80%;
    }

    /* réseaux sociaux */
    #section_reseaux{
        height: 60vh;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }

    #groupe_icones_reseaux{
        display: flex;
        width: 50%;
        justify-content: space-around;
    }


    /* Bénévoles */
    #section_benevoles{
        height: 65vh;
    }



    #texte_benevoles{
        width: 40%;
        border-radius: 60px;
    }



    /* Formulaire de contact */
    form{
        height: 100vh;
        width: 50%;
        height: 80%;
    }

    #nom_prenom{
        display: flex;
        width: 90%;
    }

    #submit{
        width: 40%;
        transition: 0.2s ease-in-out;
    }

    #submit:hover{
        cursor: pointer;
        width: 45%;
    }

    /* footer */
    footer{
        display: flex;
        width: 100%;
        justify-content: space-around;
    }
}