/* Styles CSS - Vins de Loire */


/* Définition du corps de la page */
body {

    background-color: #FFD700;
    font: "Bauhaus 93", Futura, sans-serif; 

}

.accent-color {
    color: #4169E1;
}

.caption {
    text-align: center;
    color: black;
    font-weight: bold;
}


    /* Définition en-tête, main et pied de page*/
header {
    /* largeur de 1024 pixels */
    width: 1024px;
    /* marge externe : 20 pixels en haut et en bas, auto à gauche et à droite */
    margin: 20px auto;
    /* marge interne : 10 pixels */
    padding: 10px;
    /* bordure : 4 pixels, inset et de couleur d2691e */
    border: 4px inset #d2691e;
    /* fond de couleur fff */
    background-color: #8BC34A;
    }

   /* .image-container {
        display: flex;
       /* justify-content: center;*/
       /* overflow: hidden;
        }*/
     
      

        
   .image-container img {
         margin: 23px;
         border: none;
         max-width: 23em;
        /* height: auto;*/
      }
 /*  
      .img-adaptee {
        max-width: 70%; 300%
        height: auto;
      } */
     
      .image-container {
        display: flex;
        justify-content: space-between;
        align-items:center;
      }
      
      .footer-item {
        margin-bottom: 40px;
      }

    
/* Définition en-tête, main et pied de page*/
/*footer {
    /* largeur de 1024 pixels */
  /*  width: 1024px;
    /* marge externe : 20 pixels en haut et en bas, auto à gauche et à droite */
 /*   text-align: right;  */

 footer {
    display: flex;
    justify-content: space-between;
    font-size: 70%;
    
  }
  
  .footer p {

    margin-right: 10px; /* Ajustez la valeur selon l'espace souhaité entre les paragraphes */
      
  }


  footer p.footer-item {
    margin-right: 10px;
  }

  
 /* .footer-item {
    margin: 0;
    padding: 0;
  }*/
  .cta-link {
    display: inline-block;
    background-color: #87CEEB;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .cta-link i {
    margin-right: 5px;
  }
  

/* Définition titre de niveau 1 */
h1 {
/* police Bauhaus 93, futura ou sans-serif, taille de la police de 2,5 em, interligne de 2,1 em et lettres en petites capitales */
font: small-caps 2.5em/2.1em "Bauhaus 93", Futura, sans-serif; 
/* premières lettres de chaque mot en majuscules */
text-transform: capitalize;
/* texte centré */
text-align: center;
/* espacement des mots : 20 pixels */
word-spacing: 20px;

}

/* Définition titre de niveau 2 */
h2 {
/* style oblique */
font-style: oblique;
/* police grasse */
font-weight: bold;
/* police de couleur : d2691e     font-style: #d2691e; */
/* alignement centré */
text-align: center;
/* espacement des lettres de 5 pixels */
letter-spacing: 5px;
/* interligne de 1,8 em */
line-height: 1.5em;
/* couleur de fond : a52a2a      #f96232 */
background-color: #b4dd7f;
/* marge externe : 20 pixels en haut et en bas, 10% à gauche et à droite  margin: 5em 5em;*/
.noir {
  color: black;
}

}
.caption-description {
    font-size: 13px;
    text-align: center;
   
  }
  
  
/* Définition titres de niveau 3 et 4 et les termes définis au niveau du glossaire */
h3, h4 {
/* police de couleur a52a2a */
color: black;
}

/* Définition titre de niveau 3 */
h3 {
/* style italique */
/* font-style:normal; */
/* police grasse */
/*font-weight: bold;*/
/* alignement centré */
text-align: center;
/* épaisseur de la bordure de 3 pixels */
/* border-width: 3px; */
/* style de la bordure : double */
/*border-style: double;
/* largeur de 600 pixels */
/* width: 580px; */
/* hauteur de 40 pixels */
/* height: 20px; */
/* marge externe de 20 pixels en haut et en bas, et automatique ailleurs */
/* margin: 2px auto; */
/* marge interne égale à 12px en haut et 0 ailleurs */
/* padding: 12px 0 0 0; */
}

/* Définition titre de niveau 4 et les termes définis au niveau du glossaire */
h4 {
/* décalage du texte de 20 pixels */
text-indent: 20px;
/* bordure gauche style solid, épaisseur de 4 pixels */
border-left: solid 4px;
/* bordure basse style solid, épaisseur de 2 pixels */
border-bottom: solid 2px;
/* marge externe de 20 pixels en haut et de 70% à droite */
/* margin: 20px 70% auto auto;*/
margin-bottom: 20px;
margin-right: 70%;
}

h5 {
text-align: center;
font-weight: lighter;
}

/*ici a faire pour la semaine prochaine*/


/* Définition liens normaux ou visités */
a:link, a:visited {
/* lien de couleur a52a2a */
color:black;
}


/* Définition liens survolés ou actifs et nom de fleuve mis en valeur */
a:hover {
/* police de couleur blanche */
color: black;
/* fond de couleur a52a2a */
background-color: #ccd1d9;
}


/* Définition image de la flêche */
footer img, table img {
/* pas de bordure */
border: none;
}


.image-container {
    display: flex;
    justify-content: center;
    position: relative;
    overflow: auto;
  }
  
  .contact-info {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    text-align: right;
    background-color: rgba(255, 255, 255, 0.8);
  }

  figcaption.caption {
    font-size: 20px; /* Ajustez la taille de la police selon vos besoins */
  }
  
/* Définition légendes et paragraphe de navigation */
/*nav, figcaption {
/* texte centré */
/*text-align: center;
/*}



/*article > h4 {
color: rgb(0, 81, 255);
}

article > h3 {
color: rgb(60, 50, 205);
}
*/

header div {
display: flex;
flex-direction: row;
justify-content: center;

}
/*
.overlay1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    text-align: center;
  }
  .overlay2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    text-align: center;
  }
  
  .overlay1,
  .overlay2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
  }
  */

  .overlay-content,
  .overlay-content2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
  }
  
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }
  
  .overlay-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
 

/*

  .overlay-content {
    display: inline-block;
    max-width: 80%;
    background-color: #fff;
    padding: 20px;
    margin-top: 10vh;
    position: relative;
  }
  .overlay-content2 {
    display: inline-block;
    max-width: 80%;
    background-color: #fff;
    padding: 20px;
    margin-top: 10vh;
    position: relative;
  }
  .overlay img {
    max-width: 100%;
    height: auto;
  }
  .overlay2 img {
    max-width: 100%;
    height: auto;
  }
  .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
  }

  .image-link {
    display: inline-block;
  }

  .image-link:hover {
    cursor: pointer;
  }

*/

  /* Style de base pour les images */
.img-adaptee {
    max-width: 100%;
    height: auto;
  }
  


  .footer-mention {
   position: absolute;
   left: 35%;
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #888;
  }
  


  /*<style>*/
    .image-container {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .caption {
      position: absolute;
      top: 10px;
      left: 10px;
      color: white;
      font-weight: bold;
      background-color: rgba(0, 0, 0, 0.5);
      padding: 5px;
      display: none;
      z-index: 2;
    }

    .caption-description {
      position: absolute;
      bottom: 10px;
      left: 10px;
      color: white;
      font-size: 12px;
      display: none;
      z-index: 2;
    }

    .image-link {
      display: block;
    }

    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1;
    }

    .overlay.show {
      display: flex;
    }

    .overlay-content {
      background-color: white;
      padding: 30px;
      max-width: 90%;
      text-align: center;
    }

    .footer {
      text-align: center;
      margin-top: 20px;
    }

    .footer-item {
      margin-bottom: 10px;
    }

    .prix {
      color: #ff5500;
      font-weight: 900;
      padding: 2px 5px;
      font-size: 25px;
      filter: saturate(200%);

    }
    
    

  /*</style>*/


  /* Média query pour les écrans de taille moyenne */
  @media (max-width: 768px) {
    .image-container {
      flex-direction: column;
    }
    
    .footer {
      flex-direction: column;
      align-items: center;
      display: flex;
      align-items: center;
    }
    
    .footer-item {
      margin-bottom: 10px;
    }
  

  }
  @media (max-width: 600px) {
    .footer-mention {
      position: relative;
      left: auto;
      text-align: center;
      margin-top: 10px;
      font-size: 10px;
    }

 
  }
  /* Média query pour les écrans de petite taille */
  @media (max-width: 480px) {
    .image-container {
      flex-direction: column;
      align-items: center;
    }

  }
  