/* Réinitialisation de base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    position: relative;
}

/* Flou du contenu tant que l'utilisateur n'a pas validé */
.blurred {
    filter: blur(10px);
}

/* Footer */
footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: gray;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 0;
}

/* Image du jour */
img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

/* Positionnement de l'horoscope dans la marge (ici, en haut à droite) */
.horoscope {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 250px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
  }
  
  .horoscope h2 {
    margin-top: 0;
    font-size: 1.2em;
    text-align: center;
  }
  
  .horoscope p {
    font-size: 0.95em;
    line-height: 1.4;
    text-align: justify;
  }
  

/* Modal de vérification de l'âge & cookies */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 400px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin-bottom: 10px;
    font-size: 18px;
}

.modal-content p {
    margin-bottom: 20px;
    font-size: 14px;
    color: #333;
}

.modal-content button {
    width: 100%;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
}

#confirm-age, #accept-cookies {
    background: black;
    color: white;
}

#deny-age, #decline-cookies {
    background: #e0e0e0;
    color: black;
}

#confirm-age:hover, #accept-cookies:hover {
    background: #333;
}

#deny-age:hover, #decline-cookies:hover {
    background: #d6d6d6;
}
/* Ajustement de l'image pour éviter qu'elle ne dépasse l'écran */
img {
    max-width: 90vw; /* 90% de la largeur de l'écran */
    max-height: 80vh; /* 80% de la hauteur de l'écran */
    object-fit: contain; /* Assure que l'image garde ses proportions */
    display: block;
    margin: auto;
}
