@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Josefin+Sans:wght@400&display=swap');
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    --res: calc(0.01 * 15vmin);
    --jaune: #FCC342;
    --bleu: #4BAEC0;
    --clrtitre1: #ffffff;
    --clrtitrehor: #707070;
    --clrftitrever: #D3D3D3;
    --gris1: #F5F5F5;
    --gris2: #D3D3D3;
    --gris3: #707070;
    --gris4: #DBDBDB;
    --cadrebleu: solid 2px #4BAEC0;
    --cadrejaune: solid 2px var(--jaune);
    --ombre: 0 5px 5px rgb(0 0 0 / 10%);
    --ombre2: 10px 10px 10px rgb(0 0 0 / 10%);
    --typo1: 'Bebas Neue', cursive;
    --typo2: 'Josefin Sans', sans-serif;
    --hauteurligne: 1.2;
    --margesectiontop: 20vh;
}
@media screen and (max-width: 840px){
    *{
        --margesectiontop: 10vh;
        
    }
    
}
@media screen and (max-width: 501px){
    *{
    --res: calc(0.01 * 15vmin);
}
}
main{
    margin-left: 5%;
    margin-right: 5%;
}
@media screen and (max-width: 745px){
    main{
        margin-left: 2%;
        margin-right: 2%;
    }
}
a{
    color: unset;
    text-decoration: none;
    width: fit-content;
}
a:hover{
    color: unset;
}
header{
    position: relative;
    min-height: 15vh;
}
header img{
    width: 100%;
    height: 85vh;
    object-fit: cover;
}
@media screen and (max-width: 840px){
  header img{
    height: 50vh;
  }
}
@media  screen and (max-width: 500px){
  header img{
    height: 40vh;
  }
}
h1{
    font-family: var(--typo1);
    color: var(--clrtitre1);
    position: absolute;
    font-size: calc(55 * var(--res));
    top: 55%;
    left: 3%;
    background-color: rgba(0, 0, 0, 0.2);
}
h3{
  font-weight: 500;
  line-height: 1;
}
@media screen and (max-width: 840px) {
  h1{
    font-size: calc(50 * var(--res));
  }
  
}
.titre_droite{
    font-size: calc(55 * var(--res));
    font-family: 'Bebas Neue', cursive;
    color: #707070;
    text-align: right;
}
.titre_droite::first-letter{
    color: var(--jaune);
}
.titre_horizontal_gauche::first-letter{
    color: var(--jaune);
}
.vertical_droite{
    writing-mode: vertical-rl;
    text-orientation: sideways;
    font-size: calc(55 * var(--res));
    font-family: 'Bebas Neue', cursive;
    color: #D3D3D3;
    line-height: 0.9;
}
.titre_horizontal_gauche{
    font-family: var(--typo1);
    color: var(--clrtitrehor);
    font-size: calc(55 * var(--res));
    text-align: start;
    padding-left: 2vmin;
    z-index: 10;
    width: 100%;
}
.titre_vertical_gauche{
    font-family: var(--typo1);
    color: var(--clrftitrever);
    font-size: calc(55 * var(--res));
    writing-mode: vertical-lr;
  text-orientation: sideways;
  z-index: 10;
  line-height: 1;
}
.none{
    display: none;
}
p{
    color: var(--gris3);
    font-family: var(--typo2);
    line-height: var(--hauteurligne);
    text-align: justify;
}
.bouton_bleu{
    background-color: var(--bleu);
    color: white;
    font-family: var(--typo1);
    text-align: center;
    font-size: 20px;
    padding: 0.5vw 1vw;
    box-shadow: var(--ombre2);
}
.bouton_bleu:hover{
    background-color: var(--jaune);
    border-radius: 10px;
    transition: .3s ease;
}
.bouton_jaune{
    background-color: var(--jaune);
    color: white;
    font-family: var(--typo1);
    text-align: center;
    font-size: 20px;
    padding: 0.5vw 1vw;
    box-shadow: var(--ombre2);
}
.bouton_jaune:hover{
    background-color: var(--bleu);
    border-radius: 10px;
    transition: .3s ease;
}

/* ---------slide_gallerie------------ */
* {
    box-sizing: border-box;
  }
  
  /* Position the image container (needed to position the left and right arrows) */
  .container {
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    width: 16.66%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }