html, body , .container {
    height: 100%;
    margin: 0;
    background-color: var(--gris);
    font-family: 'silka'
  }  


.container {  
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 15% 10% 60% 100% 11%;
    grid-auto-columns: 1fr;
    gap: 2% 4%;
    grid-auto-flow: row;
    grid-template-areas:
      "retour retour"
      "titre titre"
      "description1 description2"
      "image image"
      "footer footer";
      
    max-height: 300vh;
    overflow: auto;
    padding: 3vh 3vw;
  }
  
  .retour { 
    grid-area: retour;
}
  
  .titre { 
    grid-area: titre; 
    font-family: 'moringa';
    font-size: 3rem;
    display: flex;
    align-items: center;
    color: var(--violet3);
}
  
  .description1 {
    grid-area: description1; 
    }
  
  .description2 {
    grid-area: description2;
    font-size: 1.2rem;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    color: var(--noirgris);
}
  
  .footer {
    grid-area: footer;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
  .image {
    grid-area: image; 
}
  
  


/* Retour - croix */
.croix {
    position: absolute;
    width: 45px;
    height: 45px;
    top: 37px;
    left: 48%;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out 0s;
    background-color: var(--noirgris);
    color: white;
}

.croix:hover {
    transform: scale(1.3,1.3);
    transition: all 0.3s ease-out 0s;
    cursor: pointer;
    background-color: var(--violet3);
}


/* Description 1 (gauche) */
.description1_texte {
    font-size: 1.7rem;
}


.bouton_voirprojet {
    margin: 3vh 2vw; 
}

.bouton_voirprojet span {
    background-color: var(--gris2);
    color: var(--noir);
    padding: 1vh 1vw;
    border-radius: 50px;
    transition: all 0.3s ease-out 0s;
}

.bouton_voirprojet span:hover {
    background-color: var(--violet5);   
}


/* Description */
.description1 a {
    text-decoration: none;
    font-size: 1.1rem;
}

.description2 h2 {
    font-size: 1.3rem;
    font-family: 'moringa';
    margin: 3vh 0 0 0;
}

/* Image  */

.image {  display: grid;
    grid-template-columns: 1.6fr 1.1fr 1fr;
    grid-template-rows: 40% 40%;
    grid-auto-columns: 1fr;
    gap: 5% 2%;
    grid-auto-flow: row;
    grid-template-areas:
      "image1 image3 image5"
      "image2 image4 image5";
      max-height: 100vh;
  }


  .image>div {
    background-size: cover;
    background-position: center;
  }
  .image div>img {
    max-height: 100%;
      border-radius: 30px
  }
  
  .image1 { grid-area: image1;
}
  
  .image2 {
      grid-area: image2;
    }
  
  .image3 { 
        grid-area: image3;
}
  
  .image4 {
      grid-area: image4;
    }
  
  .image5 { 
      grid-area: image5; 
        }
  
.image>div {
    border-radius: 30px;
}




/* Media queries  */
@media screen and (max-width: 1000px){

    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "retour"
        "titre"
        "description1"
        "description2"
        "image"
        "footer";
        max-height: -webkit-fit-content;
        max-height: -moz-fit-content;
        max-height: fit-content;
    }


    .image {  
        display: none;
      }


      .description1 a {
        font-size: 1rem;
    }
    
    .description2 h2 {
        font-size: 1.2rem;
    }
      

    .titre { 
     font-size: 2rem;
     margin-top: 10vh;
  }

  .description1_texte {
    font-size: 1.5rem;
}
  }