body{
    font-family: 'Roboto', sans-serif;
}
:root {
    --hauteur-header:min(60vw,100vh);
    --hauteur-footer:min(calc(100vh/3),40vw);
    --primary-dark: #1857B2;
    --primary-blue : #008AD3;
    --primary-flashy : #22A5F1;
    --primary-light: #cfe0f4;
  }

/* Styles généraux pour le texte */

    h1{
        font-size: 7vw; 
        font-weight: 600;
        color: white;
    }   

    h2{
        font-size: 1.75rem; 
        font-weight: 500;
        margin-bottom: 1.8rem;
    }

        
    h3{
        font-size: 1.25rem; 
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    h4{
        margin-bottom: 1rem;
        font-weight: 500;
        font-size: 1.25rem;
    }

    p{
        font-size: 1rem; 
        margin-bottom: 1rem;
        line-height:1.4rem;
        text-align: left;
    }
    br{
        margin-bottom: 16px;
    }
    

/*  */


/* Styles généraux de mise en page */

    *{
        margin: 0;
        padding: 0;
    }

    main{
        background-color: white;
        padding : 5vw 10vw;
        overflow: clip;
    }

    section{
        margin-top: 5vw;
    }
    .section-content{
        padding: 0 25px;
    }
   
    
    .lien-hover:hover{
        opacity: 0.5;
    }

    a{
        color: var(--primary-blue);
        text-decoration: none;
    }
    a:hover{
        text-decoration: underline;
    }

    li{
        margin-bottom: 1rem;
    }

    ul{
        padding: 0 1rem;
    }
    


/*  */


/* Styles pour le header */

    .menu-radio, .repli-radio{
        display: none;
    }
    .repli-label, .menu-label{
        display: none;
    }
 
    header{
        overflow: hidden;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(3, calc(var(--hauteur-header)/3));
        height: var(--hauteur-header);
        background-color: rgba(0,0,0,0.6);
    }
    .image-background{
        width: 100%;
        height: var(--hauteur-header);
        object-fit: cover;
        position: fixed;
        z-index: -1;
    }
   
    .header-bottom{
        grid-row: 2/3;
        grid-column: 1/13;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        color: aliceblue;
    }

    header img[src="images/logos/logoblanc.svg"]{
        height: calc(var(--hauteur-header)/3.5);
        padding: 16px 0 0 16px;
    }


    /* Barre de navigation */
    .navbar{
        grid-column: 3/13;
        grid-row: 1/2;
        margin: 16px 16px auto auto;
        width: 100%;
    }

    .navbar ul{
        width: 100%;
        list-style-type: none;
        display: flex;
        justify-content: space-around;
        border-radius: 20px;
        padding:16px 6px;
    }

    .navbar a{
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 2px;
        color: white;
        padding: 16px;
    }
    .navbar a:hover{
        opacity: 0.5;
        color: var(--primary-blue);
    } 

    /*  */


    /* Titre et sous-titre de page */
        
        #header1 h1{
            font-family: 'judson', serif;
            font-size: 9vw;
            font-weight: 400;
        }

        header P{
            font-size: 3vw;
            font-weight: 500;
            color: white;
            text-align: center;
        }

        

    


/* Styles pour le pied de page */

    footer{
        padding:0 5%;
        overflow: hidden;
        display: grid;
        grid-template-columns: repeat(4 ,1fr);
        align-items: center;
        justify-items: center;
        height: var(--hauteur-footer);
        background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.4) 100%);
        
    }

    .background-footer{
        position: fixed;
        object-fit: cover;
        right: 0;
        bottom:0;
        height: var(--hauteur-footer);
        width: 100%;
        z-index: -2;
    }


    .icon-réseaux{
        width: calc(var(--hauteur-footer)/3);
        max-width: 10vw;
    }

/*  */








/* Sur les écrans, quand la largeur de la fenêtre fait au maximum 1280px */
@media screen and (max-width: 1024px){

h1{
    font-size: 10vw;
}

#header1 h1{
    font-size: 12vw;
}
header p{
    font-size: 4vw;
}

h2{
    font-size: 1.5rem;
}


main{
    padding :5vh 8vw;
}
section{
    padding:0;
}
.section-content{
    padding: 0 ;
}
table{
    width: 100%;
}

header img[src="images/logos/logoblanc.svg"]{
    height: calc(var(--hauteur-header)/4);
    padding: 16px 16px 0 0;
    position: absolute;
    right: 0;
}

.navbar{
    display: none;
}


/* Burgermenu navigation */
.navbar ul{
    background-color: rgba(0, 0, 0, 0.9);
    padding: 52px 0 10px 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 10px 0px;
}
.navbar ul li{
    display: block;
    text-align: left;
    padding : 20px;
}
.navbar ul li:hover{
    background-color: rgba(52, 52, 52, 0.9);
}
.navbar a:hover{
    opacity: 1;
    color: white;
} 

.navbar ul li:first-of-type{
    border-top: none;
}
.navbar ul a{
    display: block;
}

.menu-label{
    display: block;
}


.menu-label div, .repli-label{
    height : 20px;
    width : 20px;
    background: white;
    border-radius: 8px;
    position: fixed;
    z-index: 4;
    top: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 13px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    font-size: 2rem;
}
.repli-label{
    align-items: center;
    justify-content:center ;
}

.menu-label hr{
    height: 1.5px;
}


.menu-radio:checked + .menu-label + .navbar{
    display: initial;
}
.menu-radio:checked + .menu-label div{
    display: none;
}
.menu-radio:checked ~ .repli-label{
    display: block;
}



.repli-radio:checked + .repli-label +.menu-radio+ .menu-label + .navbar{
    display: none;
}
.repli-radio:checked + .menu-radio+ .menu-label div{
    display: initial;
}


} 