#btn_retour{
    text-decoration: none;
    color: black;
    font-family: 'Roboto-Regular';
}

body{
    font-family: 'Roboto-Regular';
}

#infos{
    font-family: 'Roboto-Medium';
    font-size: 20px;;
    display: flex;
    justify-content: center;
    margin-top:3%;
}

.retour{
    margin-top:2%;
}

#btn_retour{
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-top:2%;
    margin-left:2%;
}
#btn_retour::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #C6AEBC;
    transition: width 0.3s ease-in-out;
}

#btn_retour:hover::after {
    width: 100%;
}

/* Effet au survol */
#btn_retour:hover {
    font-style: italic; /* Texte en italique */
    color: #C6AEBC;
}


.slider {
    position: relative;
    width: 28.1%;
    max-width: 800px;
    height: 545px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px #C6AEBC;
    margin-bottom:4%;
    margin-top:1%;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}


.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: 90%;
    object-fit: cover;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(0, 0, 0, 0);
    color: #C6AEBC;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
}

.dot.active {
    opacity: 1;
    width: 15px;
    background: #C6AEBC;
    height: 15px;
}




::-webkit-scrollbar {
    width: 12px; /* Largeur de la barre verticale */
    height: 12px; /* Hauteur de la barre horizontale */
  }

  /* Couleur de fond de la piste de défilement */
  ::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
  }

  /* Couleur et style de la poignée (le thumb) */
  ::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
    border: 3px solid #f1f1f1; /* pour un effet d'espace autour du thumb */
  }

  /* Style au survol de la poignée */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }




#flecheretour{
    margin-left:64px;
    margin-top:3%;
  }


.content{
    display: flex;
    margin-left:15%;
}

h1{
    font-family: gigalypse, sans-serif;
    font-size: 36px;
    color: #C6AEBC;

  }

.titre_cannes{
    width:600px;
    margin-top:1%;
    margin-left:8%;
}


  /* Animation pour flecheretour */
#flecheretour {
    transition: transform 0.3s ease-in-out; /* Animation fluide */
  }
  
  #flecheretour:hover {
    transform: translateX(-5px); /* Déplacement vers la gauche */
  
  }
  
.texte{
    margin-top:5%;
    line-height: 20px;
}

/* Disposition verticale pour les téléphones et tablettes */
@media (max-width: 1024px) {

    #flecheretour{
      margin-left: 10%;
    }
   
  }


  /* Section principale */
.content {
    display: flex;
    flex-wrap: wrap;
    margin-left: 15%;
}

@media only screen and (max-width: 768px) {
    #titre{
        font-size: 28px;
    }
    .content {
        display: block;
        margin-left: 5%; /* Réduction des marges */
        margin-right: 5%;
    }

    .slider {
        width: 100%; /* Prend toute la largeur de l'écran */
        height: 500px;
        margin-top:30px;
        margin-bottom:30px;
    }

    .titre_cannes {
        width: 100%;
        margin-top: 5%;
        margin-left: 0;
    }

    .texte {
        font-size: 14px;
        margin-bottom:5%;
    }

    h1 {
        font-size: 28px;
        text-align: center;
    }

    /* Ajustements pour les flèches dans le slider */
    .arrow {
        width: 30px;
        height: 30px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 12px;
        height: 12px;
    }
}
