* {box-sizing: border-box;}

html {
    --header-height: calc(4vw + 2.4rem);
    scroll-behavior: smooth;
}

/* pour que les personnes qui ont choisi de ne pas avoir d'effets sur leur navigateurs puisse acceder au site : ex : épilleptiques*/
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.sommaire {
    position: fixed;  
    top: 0;           
    left: 0;          
    width: 100%;      
    z-index: 1000;  
    text-decoration: none;
    display: flex;
    justify-content: center;
    padding: 2vw 2vw;
    color: rgb(255, 255, 255);
    background: rgb(236, 44, 66);
    font-size:200%;
    height: var(--header-height);
}

section {
    scroll-margin-top: var(--header-height);
}

.sommaire a {
    text-decoration: none;
    color: white; 
    font-family: Dinaextrabold;
}

.sommaire nav {
    display: flex;
    gap: 5rem; 
}

body { 
    padding-top: 2vh;
    font-family: Dinanormal;
}

b {
    font-family: Dinaextrabold;

}

.imageprincipale {
    width: 100%;   
    height: 100vh;     
    overflow: hidden;
    position: relative; 
}

.imageprincipale img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
    
}

section h1 {
    text-align: center;  
    margin-bottom: 1rem; 
    font-weight: 600;
    font-family: Dinaextrabold;
    color: rgb(236, 44, 66);
    font-size: 2rem;
    padding: 1.5rem;
    
}

.texte {
    font-size: 1.2rem; 
    line-height: 1.6;        
    column-count: 2;        
    column-gap: 4rem; 
    margin-left: 4rem;
    margin-right: 4rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
    text-align: justify;
}


.equipe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.personne {
    background: #ffffff; 
    padding: 1rem;
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-align: center;
}

.personne img {
    width: 400px;  
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.personne p {
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: justify;
    margin-left: 3rem;
    margin-right: 3rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    font-family: Dinanormal;
}

ul{
    display: flex;
    width: 100%;
    gap: 40px;
    margin: 4px 0;
    list-style-type: none;
    padding: 0;
    overflow-x: scroll;
    text-align: center;
    padding-inline-start: 20px;
    margin-top: 3rem;
    margin-bottom: 3rem;
    
}

ul span{
    font-family: Dinaextrabold;
}

p{
    margin-left: 4rem;
}

