
/* --------------------------------- --------------------------------- */
/* --------------------------------- --------------------------------- */
/* --------------------------------- --------------------------------- */

/* --- --- --- PAGE : illustration.HTML --- --- --- */

/* Galerie d'illustrations */
.illustration-gallery {
  columns: 3;
}

.illustration-gallery img {
  display: block;
  width: 100%;
  height: auto;
  break-inside: avoid;
}

/* pour marge et espace images */
.content {
  padding: 0;
}

.illustration-gallery {
  column-gap: 0;
  margin-top: 0;
}

.illustration-gallery img {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 0;
}

/* Smartphone responcive */
@media (max-width: 768px) {
  /* Format telephone, une seule colone image */
  .illustration-gallery {columns: 1;}
}

/* Texte gris au survol des images */
        .cont3ainer { position: relative; }

        .title {
            background-color: rgb(0, 0, 0, 0.5);
        /*positioned relative to parent div (container) */
            position: absolute;    
        /* bottom margin is 0 so that it coincides with container's bottom margin*/
            bottom: 0;            
            color: white;
            width: 100%;
            font-size: 1.25rem;
            padding: 15px 0;
            text-align: center;
        /*invisible because opacity is 0*/
            opacity: 0;            
            transition: 0.6s;
        }

        .cont3ainer:hover .title {
        /*becomes visible on hover*/
            opacity: 1;        
        }
 
