@import url("a-general.css");

p{
    font-family:  Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
    text-align: justify;
}


.container{
    border: 5px solid #ee6314;
    border-radius: 15px;
    margin: 0 auto;
    width: 80%;
    height: auto;
    padding: 2%;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 50px;
    font-weight: 580;
}

h1{
    text-align: center;
}

/*conteneur pour tout les éléments du slider*/
.conteneur-carrousel {
    width: 900px;
    height: 900px;
    margin: 100px auto 0;
    position: relative;
  }
  /*conteneur pour toutes les images*/
  .conteneur-images {
    width: 100%;
    height: 100%;
  }
  
  .conteneur-images img {
    width: 100%;
    /*Pour que les images s'adaptent à la taille du conteneur*/
    height: auto;
    /* Pour que les images s'empilent*/
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
  }
  .conteneur-images img:nth-child(2) {
    margin-top: 27%;
    width: 100%;
    /*Pour que les images s'adaptent à la taille du conteneur*/
    height: auto;
    /* Pour que les images s'empilent*/
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
  }
  .conteneur-images img:nth-child(4) {
    margin-top: 23%;
    width: 100%;
    /*Pour que les images s'adaptent à la taille du conteneur*/
    height: auto;
    /* Pour que les images s'empilent*/
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
  }
  /* conteneur des boutons */
  .commandes {
    top: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
  }
  
  .commandes button {
    position: absolute;
    width: 50px;
    height: 50px;
    /* transformer en cercle*/
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }
  
  .commandes img {
    width: 15px;
    position: relative;
  }
  /* pour placer le bouton à gauche */
  .commandes button:nth-child(1) {
    top: 50%;
    transform: translateY(-50%);
    left: 5px;
  }
  /* pour placer le bouton à droite */
  .commandes button:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
  }
  /* pour décaler l'image à l'intérieur des boutons */
  .commandes button:nth-child(1) img {
    left: -1px;
  }
  .commandes button:nth-child(2) img {
    right: -1px;
  }
  
  .cercles {
    position: absolute;
    /* pour faire dépasser les cercles en bas du carrousel */
    top: 105%;
    left: 50%;
    /* centrer les cercles sur l'axe x */
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .cercle {
    width: 20px;
    height: 20%;
    border-radius: 50%;
    /* Mettre un espace entre les cercles */
    margin: 5px;
    cursor: pointer;
    outline: none;
    border: 1px solid #333;
  }
  
  /* couleur du cercle actif */
  .actif-cercle {
    background: #ee6314;
  }
  /* pour faire apparaître le bouton actif */
  .actif {
    opacity: 1 !important;
  }