* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  color: #003F35;
  display: flex;
  background-color:#003F35;
  flex-direction: column;
  justify-content: space-between; /* Permet de répartir le contenu verticalement */
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #fff5;
  text-decoration: none;
}

ul {
  list-style-type: none;
  padding: 0;
}

.copyright {
    position: absolute;
    left: -75px;
    bottom: 115px;
    transform: rotate(-90deg);
    font-size: 16px;
    color: #FFF;
    z-index: 999;
}

.slider-container {
  position: relative; /* Assure que .navigation-dots est positionné relativement à .slider-container */
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.slider {
  position: relative;
  width: 70%;
  height: 100%;
  overflow: hidden;
}

.slider img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 100%;
  opacity: 0;
  transition: all 1s ease;
}

.slider img.active {
  left: 0;
  opacity: 1;
}

.slider img.prev {
  left: -100%;
}

.text-container {
  width: 30%;
  padding: 20px;
  display: block;
  margin-left: auto; /* Aligne le texte à droite */
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-align: right; /* Le texte reste aligné à gauche dans sa boîte, mais la boîte est à droite */
  align-self: flex-start; /* Positionne la boîte en haut */
  color:#fff;
}

ul.ul_first,
ul.ul_two,
ul.ul_three {
    margin-bottom:15px;
}

footer {
    position: fixed;
    right: 0;
    bottom: 0;
    text-align: right;
    padding: 20px;
    background-color: #003F35;
    width: auto;
    color:#fff;
}

.navigation-dots {
  position: absolute;
  bottom: 10px; /* Ajustez la distance depuis le bas */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10; /* Assurez-vous que les dots sont au-dessus des images */
}

.navigation-dots span {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 5px;
  border-radius: 50%;
  background-color: #003F35;
  border: 2px solid #E7D4A7;
  cursor: pointer;
}

.navigation-dots span.active {
  background-color: #E7D4A7;
}

/* END LOADING FONT FROM GOOGLE */

@media (max-width: 768px) {
  .slider-container{
    display: block;
  }
  
  .slider {
      width: 100%; 
      height: 40vh; 
  }

  .text-container {
      width: 100%; 
      margin-left: 0;
      margin-top: 10px; 
      text-align: center; 
      align-self: flex-start; 
      font-size: 12px;
      height: auto;
      padding-bottom:50px;
  }

.slider img {
    object-position: left;
}
  footer {
      width: 100%; 
      text-align: center;
      font-size:13px;
  }
}