/*******************
        ALL
********************/

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    background-color: #f0f5fa;
    border-radius: 0.5em;
    margin-bottom: 30px;
  }
  

.gallery {
    display: grid;
    margin: 3em 0;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-template-rows: 1fr;
    grid-gap: 1em;
    grid-auto-flow: dense;
  }
  
  figure {
    display: flex;
    margin: 0;
  }

  div.figure {
    display: flex;
    margin: 0;
  }


/*******************
        NAVBAR
********************/

.navbar div a{

    font-size: 35px;
    
    color: black;

}

/*******************
        HEADER
********************/
#header{
    margin-bottom: 30px;
}

#header div#img{
    background: linear-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4) ), url("./assets/gallery/s2-1.jpg");
    background-position: start;
    background-repeat: no-repeat;
    width: 100%;
    height: 217px;
    border-bottom-left-radius: 30% 10%;
    border-bottom-right-radius: 30% 10%;
}

#header div#img div#center{
    position: absolute;
    width: 50%;
    margin-top: 40px;
    margin-left: 25%;
    margin-right: 25%;
    text-align: center;
}

#header div#img div#center h1{

    margin-bottom: 36px;

}

#header div#img div#center h1 img{
    width: 350px;
    background-color: rgb(255 255 255 / 80%);
    border-radius: 10px;
    padding: 5px 18px;

}

#header div#img div#center h1.uppercase{
    font-size: 26px;    color: #ffffff;
    text-shadow: 0 0 1em #000000;
}

#header div#img div#center p{
    font-size: 19px;
    background-color: var(--color-page1-green);
    padding: 15px 0px;
    color: white;
    margin: 0px 30px;
}

@media (max-width: 991px) {
    #header div#img div#center{
        width: 70%;
        margin-left: 15%;
        margin-right: 15%;
    }
    #header div#img div#center h1 img{
        width: 260px;
    }
    #header div#img div#center h1.uppercase {
        font-size: 23px;
    }
    #header div#img div#center p {

         margin: unset;
    }
}


/*******************
        GALERY
********************/

  
  #galery img {
    flex: 1;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0.5em;
  }

  #galery img:hover{

    -webkit-transform: scale(1.10);
    -moz-transform: scale(1.10);
    -ms-transform: scale(1.10);
    -o-transform: scale(1.10);
    transform: scale(1.10);

    transition: all 0.2s ease 0s;


  }
/*******************
        RESEAU
********************/

  #reseau p{
    text-align: center;
    
  }

  #reseau div{
    margin-bottom: 24px;
  }

/*******************
        FOOTER
********************/

footer {
    background-color: #f0f5fa;
    border-top: 4px solid;
    border-color: rgb(0, 0, 0);
    padding: 20px 0 15px;
    color: black;
  }
  footer span{
    text-align: center;
    color: black;
  }
  footer img {
    width: 70px;
  }

  footer a{
    color: rgb(0, 0, 0);
  }
  
  footer a:hover{
    color: rgb(63, 62, 62);
  }