:root{
    --backgroundColor: #FFE6E6;
    --lightRed: #870000;
    --darkRed: #3a0000;
    --black: black;
    --white: white;
    --grey: #707070;
}

body{
    margin: 0;
    padding: 0;
    max-width: 100vw;
    font-family: montserrat;
    background-color: var(--backgroundColor);
}

#backToMenu{
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 16px;
    font-weight: 900;
    font-size: 20px;
    text-decoration: none;
    color: var(--white);
    background: linear-gradient(to bottom left, var(--lightRed), var(--darkRed));
    opacity: 1;
    rotate: -90deg;
    border-radius: 10px;
    display: none;

}

#navBar{
    position: fixed;
    display: flex;
    justify-content: center;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 30px 30px 0px 0px;
    background-color: var(--white);
    padding: 12px 35px;
    z-index: 10000;
}

#navFlexContainer{
    height: 61px;
    width: 320px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mainBouton{
    box-shadow: 0px 0px 5px var(--grey);
}

.pictoMain{
    width: 61px;
    height: 61px;
}

.pictoMainContainer{
    width: 61px;
    height: 61px;
}

.pictoMenu{
    width: 61px;
    height: 61px;
}

.pictos{
    display: block;
    width: 35px;
    height: 35px;
}

.pictosPetit{
    height: 31px;
    width: 35px;
}

#accueil{
    height: 100vh;
    background-color: var(--white);
    background-image: url('images/fond_accueil_ctac_50.png');
    background-size: cover;
    background-position: center;
}

#bandeauAccueil{
    height: 50px;
    padding: 25px;
    /**background-color: var(--white);**/
}

#contenuAccueil{
    padding: 0px 30px;
    margin-top: 20%;
    margin-bottom: 20%;
    display: flex;
        height: 70vh;
        flex-direction: column;
        justify-content: center;
        margin: 0;
}

#links{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

#menuLaptop{
    display: none;;
}

#logoTitre{
    width: auto;
    height: 40px;
    display: flex;
    align-items: center;
}

#logoTitre img{
    height: 50px;
    width: 50px;
    margin-right: 5px;
}

#logoTitre h1{
    color: var(--lightRed);
}


#socials{
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#insta, #facebook{
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

#insta a img, #facebook a img{
    width: 20px;
    height: 20px;
}

#titreAccueil h1{
    padding: 0;
    margin-top: 0;
    margin-bottom: 0px;
    color: var(--lightRed);
    font-size: 40px;
    font-style: italic;
}

#baselineAccueil h2{
    padding: 0;
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--lightRed);
    font-size: 25px;
    font-weight: 100;
    font-style: italic;
}

#paragrapheAccueil p{
    margin-top: 0;
    margin-bottom: 25px;
    text-align: justify;
    font-size: 15px;
}

#boutonAccueil{
    background: linear-gradient(to bottom right, var(--lightRed), var(--darkRed));
    color: var(--white);
    display: flex;
    width: 100%;
    height: 60px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 100;
    font-size: 20px;
    font-style: italic;
    border: none;
    box-shadow: none;
    box-shadow: 0px 0px 5px var(--grey);
}

#horaires{
    background-color: var(--backgroundColor);
	height:auto;
}

#titreSection{
    height: 40px;
    padding: 30px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lightRed);
    font-size: 25px;
    font-style: italic;
    font-weight: 700;
}

#selectionSaison{
    height: 50px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-bottom: 1px solid var(--white);
}

.choixSaison{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    height: 100%;
    border-bottom: 2px solid var(--white);
    transition: border-bottom 0.5s;
}

.choixSaison input{
    display: none;
}

.labelContainer{
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: 2px solid var(--white);
    transition: border-bottom 0.5s;
}

.labelContainer:hover{
    border-bottom: 2px solid var(--lightRed);
}

.choixSaison input:checked ~ .labelContainer{
    border-bottom: 2px solid var(--lightRed);
}

#horairesHiver, #horairesEte{
    padding: 25px;
    margin-bottom: 50px;
}

.blocActivite{
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    border-radius: 20px;
    margin-bottom: 25px;
}

.endroit{
    width: 80%;
}

.endroit h1, .endroit p{
    padding-left: 20px;
    margin: 0;
}

.endroit h1{
    font-weight: 500;
    font-size: 18px;
}

.endroit p{
    font-weight: 200;
    font-style: italic;
    font-size: 15px;
    color: var(--grey);
}

#horairesEte .blocActivite .heure{
    width: 90px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0px 20px 20px 0px;
    background: linear-gradient(to bottom right, var(--lightRed), var(--darkRed));
}

#horairesHiver .blocActivite .heure{
    width: 90px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0px 20px 20px 0px;
    background: linear-gradient(to bottom right, var(--grey), var(--black));
}

.heure h2, .heure h3{
    margin: 0;
    padding: 0;
    text-align: center;
    color: var(--white);
}

.heure h3{
    font-weight: 300;
    font-size: 15px;
}

.heure h2{
    color: var(--white);
    font-style: italic;
    font-size: 20px;
}

#team{
    height: 100vh;
    display: grid;
    grid-template-rows: 100px auto;
}

.Team{
    height: auto;
    margin-bottom: 25px;
}

#organigramme{
    padding: 0px;
    display: grid;
    grid-gap: 25px ;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    margin-bottom: 85px;
}

.trombinoscope{
    display: flex;
    flex-direction: column;
    min-width: 130px;
}

.personnel{
    background: linear-gradient(to bottom right, var(--lightRed), var(--darkRed));
    height: 60px;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 20px 0px 0px;
    text-align: center;
}

.role{
    background-color: var(--white);
    display: flex;
    width: 130px;
    align-items: center;
    justify-content: center;
    height: 60px;
    border-radius: 0px 0px 20px 20px;
}

.trombinoscope div p, .trombinoscope div h1{
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.trombinoscope div h1{
    color: var(--white);
    font-style: italic;
    font-weight: 600;
}

#gallery{
    display: grid;
    grid-template-columns: auto;
}

#gallery div{
    margin: 0;
    padding: 0;
}

#gallery div img{
    width: 100%;
    margin: 0;
    padding: 0;
}

#accordeons{
    padding: 25px 25px 110px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.accordeon{
    background-color: var(--white);
    border-radius: 20px;
    display: block;
    width: 100%;
}

.accordeon:hover{
    cursor: pointer;
}

.accordeon:not(:last-child){
    margin-bottom: 15px;
}

.titreAccordeon{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    color: var(--lightRed);
}

.titreAccordeon .dropdownInfos{
    rotate: 90deg;
    font-weight: 900;
}

.accordeon .contenuAccordeon a{
    text-decoration: none;
    color: var(--lightRed);
    font-weight: 500;
    font-style: italic;
}

.contenuAccordeon{
    padding: 0px 20px 20px 20px;
    font-weight: 300;
}

#supplementaireAdresse, #supplementaireStatus, #supplementaireInscriptions, #supplementaireCotisations, #supplementaireCoordonnees, #supplementaireCalendrier {
    display: none;
    transition: 0.5s;
}

footer{
    text-align: center;
    font-style: italic;
    color: rgba(0, 0, 0, 0.5);
    background-color: var(--backgroundColor);
    padding: 50px 0px;
    margin-bottom: 85px;
}

/** --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Display Tablette

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------**/

@media only screen and (min-width: 575px) {

    #menuLaptop{
        display:none;
    }

    #bandeauAccueil{
        padding: 25px 50px;
        /**background-color: var(--white);**/
    }

    #contenuAccueil{
        padding: 0px 60px;
        display: flex;
        height: 80vh;
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }

    #boutonAccueil{
        width: 50%;
        border-radius: 15px;
    }

    #titreAccueil h1{
        font-size: 50px;
        font-style: italic;
    }

    #paragrapheAccueil p{
        font-size: 18px;
    }

    .personnel, .role{
        width: 200px;
    }

    #horairesEte, #horairesHiver{
        padding: 30px 50px;
    }

    #accordeons{
        padding: 30px 50px;
    }


  }


  /** --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Display Ordinateur

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------**/

@media only screen and (min-width: 768px) {

    #backToMenu{
        display: block;
    }

    #menuLaptop{
        display: block;
    }

    #menuLaptop ul li a{
        text-decoration: none;
        padding: 10px 20px;
        color: var(--lightRed);
        transition: 0.5s;
    }

    #menuLaptop ul li a:hover{
        border-bottom: 1px solid var(--lightRed);
        transition: 0.5s;
    }

    #menuLaptop ul{
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        list-style-type: none;
    }

    #navBar{
        display: none;
    }

    #titreAccueil h1{
        font-size: 70px;
        font-style: italic;
    }

    #contenuAccueil{
        padding: 0px 150px 0px 100px;
        display: flex;
        height: 80vh;
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }

    #accordeons{
        padding: 50px 150px;
    }

    .personnel, .role{
        width: 250px;
    }

    #organigramme{
        grid-column-gap: 100px;
        margin: 0;
    }

    footer{
        text-align: center;
        font-style: italic;
        color: rgba(0, 0, 0, 0.5);
        background-color: var(--backgroundColor);
        padding: 50px 0px;
        margin: 0;
    }

}




  /** --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Display big ordinateur

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------**/

@media only screen and (min-width: 1024px) {

    #backToMenu{
        display: block;
    }

    #menuLaptop{
        display: block;
    }

    #menuLaptop ul li a{
        text-decoration: none;
        padding: 10px 20px;
        color: var(--lightRed);
        transition: 0.5s;
    }

    #menuLaptop ul li a:hover{
        border-bottom: 1px solid var(--lightRed);
        transition: 0.5s;
    }

    #menuLaptop ul{
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        list-style-type: none;
    }

    #navBar{
        display: none;
    }

    #titreAccueil h1{
        font-size: 70px;
        font-style: italic;
    }

    #contenuAccueil{
        padding: 0px 300px 0px 100px;
        display: flex;
        height: 80vh;
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }

    #accordeons{
        padding: 50px 50px;
    }

    .personnel, .role{
        width: 250px;
    }

    #organigramme{
        grid-column-gap: 100px;
        margin: 0;
    }

}




/** --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Display mini-telephone

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------**/

@media only screen and (max-width: 375px) {

    #contenuAccueil{
        display: flex;
        height: 70vh;
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }

}




/** --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Display mega-screen

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------**/
@media only screen and (min-width: 1440px) {
    #accordeons, #horairesEte, #horairesHiver{
    padding: 50px 150px;
    margin: 0;
    }

    .personnel, .role{
    width: 400px;
    }

    #organigramme{
    grid-column-gap: 250px;
    margin: 0;
    }
    
    #gallery div img{
        width: 60%;
    }

    #gallery div {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #gallery{
        margin: 50px 0px;
        grid-row-gap: 50px;
    }

    #contenuAccueil{
        padding: 0px 600px 0px 100px;
        display: flex;
        height: 80vh;
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }

    #boutonAccueil{
        width: 500px;
    }

}
