html{

    scroll-behavior: smooth;
   

}

main{
    padding : 0px;
    margin: 0px;
}

body{
    background-color:#F5EADB;
    padding : 0px;
    margin: 0px;

}

a{
    text-decoration: none;
    color: white;
}




/****************/
/** font-style **/
/****************/






/************/
/** header **/
/************/


header{
    position: sticky;
    top : 0px;
    z-index: 100;
}




/********************/
/** header Section **/
/********************/



.HeaderMain{
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 1fr;
    /* background-color: red; */
    background-image : url("/img/sceneEleve.jpeg");
    background-size: cover;    
    text-align: center;
    padding : 1vw;
    
}


.HeaderMain a{
    
    background-color: #29335B;
    padding: 20px;
    width: 25%;
    border-radius: 60px;
    margin : 10vw;
    color: #F5A72A;
    grid-row: 3;
    justify-self:center;
}



.HeaderMain h2{
    color: white;
    margin : 5vw;
    grid-row : 1;
    grid-column: span 2;
}

.HeaderMain h3{
    color: white;
    margin : 5vw;
    grid-row : 2;
    grid-column: span 2;
}

/*********/
/** --- **/
/*********/


#actus div{
    display : flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 99vw;
    align-items: center;
}

section h1{
    margin: 5vw;
}


hr{
  
  background-color : #29335B;
  text-align: center;
  height: 10px;
  flex-basis: 36vw;

}

section{

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: 33%;
    justify-content: center;
    text-align: center;
    align-items: center;

}

section:last-child{
    flex-direction: column;
}


h1{
    color :#29335B;
}

section h2{
    color: #29335B;
}



/***********/
/** Vague **/
/***********/


#wave {
  --s: 5vh; /* size of the wave */
  --b: 1px; /* thickness of the line */
  --m: 2; /* curvature of the wave [0 2] */
  
  background: #29335B;
  --R: calc(var(--s)*sqrt(var(--m)*var(--m) + 1) + var(--b)/2);
  height: calc(2*var(--R));
  width: 100%;
  --_g: #0000 calc(99% - var(--b)), #000 calc(101% - var(--b)) 99%, #0000 101%;
  mask:
    radial-gradient(var(--R) at left 50% bottom calc(-1*var(--m)*var(--s)), var(--_g)) 
     calc(50% - 2*var(--s)) calc(50% - var(--s)/2 - var(--b)/2)/calc(4*var(--s)) calc(var(--s) + var(--b)) repeat-x,
    radial-gradient(var(--R) at left 50% top calc(-1*var(--m)*var(--s)),var(--_g)) 
     50% calc(50% + var(--s)/2 + var(--b)/2)/calc(4*var(--s)) calc(var(--s) + var(--b)) repeat-x;
}

img{background-color: red;}





