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

* {
    margin: 0px;
    scroll-behavior: smooth;
    /*scrollbar-width: none;*/
}

/*variables pour les couleurs*/
:root {
    --black: #000000;
    --background: #FFFFFF;
}


html {
    font-family: Gill Sans;
    font-size: 105%;
    font-weight: 400;
    background-color: var(--background);
    color: var(--red);
}


header {
    display: block;
    width: 100%;

    position: fixed;
    top: 0;
    min-width: 100%;

    border-top: 5px solid;
    border-bottom: 5px solid;
    border-color: var(--red);
    background-color: var(--background);

    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--red);
}

header:hover{
    background-color: var(--grey);
    text-decoration: none;
}

/*sections du site – version écrans inférieurs à 800px*/
#left {
    margin-top: 60px;
    color: var(--red);
}

#right {
    margin-top: 80px;
    margin-bottom: 50px;
}

.section {
    padding: 0px 5% 5% 5%;
}


/*sections du site – version écrans supérieurs à 800px*/
@media (min-width:800px) {
    #left {
        width: 30%;
        float: left;
        position: fixed;
        display: block;
    }


    #right {
        max-width: 70%;
        float: right;
    }

    .section {
        padding: 0px 8% 8% 8%;
    }

}


/*_____________________________________________MENU_____________________________________________*/
/*______________________________________________________________________________________________*/


.menu {
    font-size: 14px;
    margin: 30px 5% 5% 5%;
    border: 2px solid var(--red);
    border-top: 0px solid;
}

.scrollable_menu {
    max-height: 350px;
    overflow-y: scroll;
}


.menu_title {
    font-size: 14px;
    padding: 4px;

    background-color: var(--grey);
    text-transform: uppercase;

    border-top: 2px solid var(--red);
}


.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


.button {
    padding: 8px;
    border-top: 2px solid var(--red);
}

.button:hover {
    background-color: var(--red);
    color: var(--background);
}

.button_current {
    padding: 8px;
    border-top: 2px solid var(--red);

    background-color: var(--red);
    color: var(--background);
}



/*____________________________________________TEXTES____________________________________________*/
/*______________________________________________________________________________________________*/

h1 {
    font-family: Gill Sans;
    font-size: 2.6em;
    font-weight: normal;
    margin: .67em 0;
}

h2 {
    font-family: Gill Sans;
    font-size: 24px;
    margin-top: .65em;
    margin-bottom: .85em;

}

h3 {
    font-size: 14px;
    letter-spacing: -0.011em;
    line-height: 22px;

    margin: .83em 0;

    border-bottom: 1px solid;
    padding: 0.2em 0;
}

h4 {
    font-family: Gill Sans;
    font-size: 14px;
    margin-top: .65em;
    margin-bottom: .85em;

}

p{
    margin: 0 0 0 0;
}



#right p,
#right h4,
#right blockquote,
#right ul {
    font-size: 17px;
    letter-spacing: -0.013em;
    line-height: 26px;
    padding-bottom: 10px;
    color: var(--black);
}


#right li{
    padding-bottom: 10px;
}



a {
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    color: var(--blue);
}

#right a{
    text-decoration: none;
}

#right a:hover{
    background-color: var(--red);
    text-decoration: underline;
    color: grey;
}


/*____________________________________________IMAGES____________________________________________*/
/*______________________________________________________________________________________________*/
img {
    max-width: 100%;
    max-height: 100%;
}


hr {
    border: none;
    height: 2px;
    background-color: var(--red);
    width: 100%;
}


/*__________________________________________TABLEAUX____________________________________________*/
/*______________________________________________________________________________________________*/
table {
    border-collapse: collapse;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}


th,
td {
    border: 1px solid var(--red);
    padding: 6px;
}

th {
    text-align: left;
    background-color: var(--red);
    color: var(--background);
}

td {}






/*____________________________________________SECTIONS__________________________________________*/
/*______________________________________________________________________________________________*/

.grille {
    display: inline-block;
    row-gap: 30px;
    column-gap: 30px;
}


@media (min-width:800px) {

    .grille {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}



/*_________________________________________ANIMATIONS___________________________________________*/
/*______________________________________________________________________________________________*/

#right {
    -webkit-animation: fadein 500ms;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 500ms;
    /* Firefox < 16 */
    -ms-animation: fadein 500ms;
    /* Internet Explorer */
    -o-animation: fadein 500ms;
    /* Opera < 12.1 */
    animation: fadein 500ms;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}