@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');


*{
    /* margin: 0; padding: 0; */
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
    transition:all .2s cubic-bezier(.34,1.12,.68,1.31);
}

.titre h1 {
    padding-top: 25px;
    font-size: 3rem;
    margin: 2rem 0;
    color: #d9000b;
    font-family: "Raleway", sans-serif;
    letter-spacing: 0.2rem;
    text-align: center;
    text-shadow: 0 0.3rem 0.5rem rgba(0, 0, 0, 0.5);
  }

.gallery{
    min-height: 100vh;
    background:#eee;
    padding-bottom: 100px;
}

.gallery .image-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery .image-container .image{
    height:250px;
    width: 350px;
    overflow: hidden;
    border:15px solid #fff;
    box-shadow: 0 3px 5px rgba(0,0,0,.3);
    margin: 20px;
}

.gallery .image-container .image img{
    height: 100%;
    width:100%;
    object-fit: cover;
}

.gallery .image-container .image:hover img{
    transform: scale(1.4);
}

@media (max-width:768px){
    .gallery h1 {
        font-size: 1rem;
        font-weight: bold;
     }
}


#button {
    display: inline-block;
    background-color: #d9000b;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 20px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  #button::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
  }
  #button:hover {
    cursor: pointer;
    background-color: #333;
  }
  #button:active {
    background-color: #555;
  }
  #button.show {
    opacity: 1;
    visibility: visible;
  }
  
  /* Styles for the content section */
  
  .content {
    width: 77%;
    margin: 50px auto;
    font-family: 'Raleway', serif;
    font-size: 17px;
    color: #6c767a;
    line-height: 1.9;
  }
  @media (min-width: 500px) {
    .content {
      width: 43%;
    }
    #button {
      margin: 30px;
    }
  }

  /* Btn menu retour et galerie suivante */

  .btn-retour{
    text-align: center;
  }
  .btn{
    margin-top: -55px;
    margin-bottom: 25px;
    display: inline-block;
    background:#333;
    color:#fff;
    font-size: 17px;
    border-radius: 5px;
    padding: 8px 25px;
  }
  .btn:hover{
    letter-spacing: 1px;
  }