.img-accueil img {
    display: block;
    max-width: 25%;
    height:auto;
    align-items: center;
    margin: 20px auto ;
}

.img-accueil{ margin: 80px auto;}


.img-post img {
    max-width: 50%;
    height:auto;
    border-radius: 20%;
}
.img-post {
    max-width: 100%;
    text-align: center;
    margin: 40px auto;
    display: block;
}

h3 {
    font-size: 1.5rem;
    color:  #0F1C4B;
}
.guidance,.cartomancie,.amour {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-size: 1.25rem;
    max-width: 30%;
    margin: 0 auto;
    height: auto;
    padding: 30px;
    background-color: #E0CDA9;
    border-radius: 30px;
    position: relative;
    border: #0F1C4B 3px solid;
}
.cta {
    display: inline-block;
    background: #0F1C4B;
    color: white;
    border-radius: 50px;
    padding: 20px 30px;
    text-decoration: none;
  }
.cta:hover {
    text-decoration: underline;
}

.definitions {
    height: auto;
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    max-width: 65%;
}

.bouton-fixe{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    position: fixed;
    bottom: 240px;
    left: 43%;
    transform: translateX(-300%);
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1); /* Ajoutez une ombre si nécessaire */
    font-size: 1.5rem;
    background-color: #0F1C4B;
    border-radius: 40px;
    padding: 10px 30px;
    text-align: center;
    z-index: 1000;
}

.bouton-fixe img { width: 100%;margin-top: 5px;}
.carroussel {
    display: flex;
    margin: 40px auto;
    width: 600px;
    height: 430px;
}
  
  .carroussel img {
    width:0px;
    flex-grow: 1;
    object-fit:cover;
    opacity: .8;
    transition: .5s ease;
    border-radius: 10px;
 }
  
  .carroussel img:hover {
    cursor:pointer;
    width: 400px;
    opacity: 1;
    filter: contrast(120%);
}

.livredor {text-align: center; font-size: 1.5rem;}


/* Styles pour les écrans de petite taille (par exemple, téléphones) */
@media only screen and (max-width: 450px) {
    /* Styles spécifiques pour les écrans de 450px ou moins */
      .img-accueil {
        display: block;
        width: 100%; /* Pour que le logo ne dépasse pas la largeur de son conteneur */
        height: auto; /* Pour maintenir le ratio hauteur/largeur */
        margin: 0 auto;}
    .img-accueil img { max-width: 60%;}
    .carroussel {
        max-width: 100%; /* Pour que le logo ne dépasse pas la largeur de son conteneur */
        height: auto; /* Pour maintenir le ratio hauteur/largeur */
    }
    .definitions {max-width: 450px;}
    .cartomancie p, .guidance p,  .amour p,  .cartomancie strong, .amour strong { font-size: 1rem;}
    .cartomancie, .guidance,  .amour  {max-width: 100%; transform: none;}
    .cta {font-size: 1rem;}
    .livredor a {font-size: 1.25rem;}
     
      .img-post img {
        max-width: 80%;
      }
      .bouton-fixe {
        display: flex;
        flex-direction: row;
        justify-content:center;
        position:fixed;
        bottom: 0px;
        left: 0%;
        transform: none;
        box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.1); /* Ajoutez une ombre si nécessaire */
        font-size: 1rem;
        background-color: #0F1C4B;
        border-radius: 40px;
        padding: 10px;
        z-index: 1000;
      }
    .bouton-fixe img {max-width: 55%;}
}
/* Styles pour les écrans supérieurs à 451px et inférieur à 932px */
@media only screen and (min-width: 451px) and (max-width : 932px) {
    .guidance,.amour {max-width: 100%; transform: none;}
    .cartomancie {margin-left:0%;transform: translateX(0); max-width:100%}
    .img-accueil {
        width: 100%; /* Pour que le logo ne dépasse pas la largeur de son conteneur */
        height: auto; /* Pour maintenir le ratio hauteur/largeur */
        margin: 0 auto;}
    .carroussel {width : 100%}
    .carroussel img:hover { width:400px}
    .bouton-fixe {transform: translateX(-200%);bottom: 0px; width:15%;font-size: 1rem;}
    .bouton-fixe img {max-width: 100%;}

}

    /* Styles pour les écrans supérieurs à 932px */
@media (min-width: 932px) {
    .guidance, .amour {
        transform: translateX(0); /* Annuler la position initiale hors écran */
        transition: right 0.5s ease-in-out; /* Garder la transition pour l'animation */
    }
    .cartomancie {
        /* ... (vos autres styles pour cartomancie) */
        transform: translateX(0); /* Positionner initialement hors écran à gauche */
        transition: left 0.5s ease-in-out; /* Garder la transition pour l'animation */
    }
}