*, *::before, *::after {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Nova Square', sans-serif;
    font-size: 14px;
    background: black;
    color: white;
}

.sombre {
    margin: 0;
    height: 100vh;
    background-color: rgb(0, 0, 0, 0.3);
    }

/*Navigation*/
.header {
  height: 100vh;
  background: url(img/header.jpeg) center center no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sombre {
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  height: 100vh;
  width: 100%;
  background-color: rgb(0, 0, 0, 0.3);
}

.active {
  color: gold !important;
}

.navbar {
    font-size: 1.2rem;
    list-style: none;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .navbar a {
    color: white;
    text-decoration: none;
  }
  
  .navbar .logo {
    font-size: 2em;
    font-weight: bold;
    max-width: 300px;
  }

  .logo {
    margin-right: 60px;
  }
  
 .navbar .nav-links ul {
    display: flex;
    align-items: center;
    width: 100%;
     font-size: 1.01em;
    font-weight: bold;
  }
  
  .navbar .nav-links ul li {
    display: flex;
    margin: 0 25px;
    transition: all 0.5s ease-in-out;
    list-style: none; 
    transition: all 0.3s;
  }

  .navbar .boutton {
    position: absolute;
    width: 35px;
    top: 50px;
    right: -10px;
  }
  
  .navbar a:hover {
    transition: all 0.3s;
    color: goldenrod;
  }

  .flexCentre {
  display: flex;
  align-items: center;
  justify-content: center;
  }

  .iconSize {
    height: 30px;
    width: 30px;
    border-radius: 20px 0 0 20px;
  }
/*---*/

/* texte haut de page + texte animé */
.text {
    height: 70vh;
    padding: 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.text h1 {
    margin-top: 100px;
    font-size: 60px;
    line-height: 2;
    margin-bottom: 1rem;
}

.text h2 {
    font-size: 3rem;
    line-height: 1.5;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.text a{
    display: inline-block;
    text-decoration: none;
    font-size: 1.25rem;
    transition: color 0.3s;
    font-weight: bolder;
    padding: 10px 20px;
    margin-right: 30px;
}

.text a:hover {
    color: goldenrod;
}

.auto-typing {
    color: gold;
}
/*---*/

.gummi {
  height: 700px;
  width: 700px;
  border-radius: 20px;
  margin-right: 50px;
}

/*Section du slider*/
.slider-container{
  height: 100vh;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
}

.js-slider {
  position: relative;
  width: 700px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.js-photos {
  position: relative;
  display: flex;
  left: -500px;
  width: max-content;
  transition: left 0.3s ease;
}

.js-photo {
  flex-shrink: 0;
  position: relative;
  width: 700px;
  height: 500px;
}

.green {
  background-image: url(img/Manoir.png);
  background-size: cover;
  width: 700px;
  height: 500px;
}
.green-dark {
  background-image: url(img/olympe.png);
  background-size: cover;
  width: 700px;
  height: 500px;
}
.green-darker {
  background-image: url(img/2quartier.webp);
  background-size: cover;
  width: 700px;
  height: 500px;
}

.js-navigation {
  position: absolute;
  width: 95%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.js-btn-decale-droite,
.js-btn-decale-gauche {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: beige;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
}

.js-btn-decale-gauche {
  left: initial;
  right: 0;
}

/*Section explicative*/
.decouvrir {
  display: flex;
  height: 100vh;
  padding: 30px;
  background-size: cover;
  flex-direction: row-reverse;
    align-items: center;
}
/*---*/
.txt_presentation {
  display: flex;
  padding: 10px;
  height: 200px;
  align-items: center;
  flex-direction: column;
}

.txt_presentation h2 {
  font-size: 2rem;
}

/*La section des 3 destination*/
.destination {
  display: flex;
  height: fit-content;
  width: fit-content;
  justify-content: space-evenly;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  flex-wrap: wrap;
  margin-bottom: 100px;
  margin-right: auto;
  margin-left: auto;
}

.destination h2 {
  margin-bottom: 125px;
}
/*---*/

.section_btn {
  display: flex;
  height: 10vh;
  align-items: center;
  justify-content: center;
}

.btn {
  display: flex;
  color: black;
  height: 44px;
  width: 70px;
  margin: 0;
  padding: 5px;
  background-color: goldenrod;
  transition: all ease-in-out 0.5s;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn:hover {
  transition: all ease-in-out 0.5s;
  color: white;
  background-color: black;
  border: 2px solid goldenrod;
  border-radius: 5px;
}

/*Les div des destination */
.boite {
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
  flex-direction: column;
  align-items: center;
}

.destcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}
/*---*/

.mention {
    display: flex;
    padding: 20px;
    flex-direction: column;
}

footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
  height: 30vh;
  background-color: rgba(255, 255, 255, 0.2);
}


