.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery-top-bar {
    display: flex;
    flex-wrap: nowrap;
    margin-left: 43%;
    justify-content: space-between;
    padding-top: 1%;
    padding-bottom: 1%;
}

.gallery-banner-image {
    width: 100%;
    /* height: 20% */
    height: auto;
}

.gallery-image {
    height: 250px;
    margin-left: 33%;
    padding: 20px 20px;
    justify-content: space-between;
    transition: transform .2s;
    /*animation: fadeInBig 1.5s ease forwards;*/
    animation: fadeIn 1.5s ease forwards;
  }

.gallery-image:hover {
    transform: scale(1.1);
}

.gallery-show-img {
    height: 350px;
    margin-left: 33%;
    padding: 20px 20px;
    justify-content: space-between;
    transition: transform .2s;
}

.gallery-show-img:hover {
    transform: scale(1.1);
}

.gallery_link button {
  color: #ffd8b8; 
  background-color: #2e2360; 
  text-decoration: none;
  border: 5px solid #2e2360;
  /*font-size: 18px; */
  font-size: 1em;
  font-weight: bold;
  /*padding: 8px 15px; */
  border-radius: 5px;
  cursor: pointer; 
  transition: all 0.3s ease;
}

.gallery_link button:hover {
  background-color: #EA5E5F; 
  color: #2e2360;
  border-color: #EA5E5F;
}

.gallery-text {
    margin-left: 65%;
    padding: 10px 30px;
    width: 90%;
}

.gallery_back {
  margin-left: 1.2%;
  margin-top: .5%;
}

.gallery_back button {
  color: #ffd8b8; 
  background-color: #2e2360; 
  text-decoration: none;
  border: 5px solid #2e2360;
  /*font-size: 18px; */
  font-size: 1em;
  font-weight: bold;
  /*padding: 8px 15px; */
  border-radius: 5px;
  cursor: pointer; 
  transition: all 0.3s ease;
}

.gallery_back button:hover {
  background-color: #EA5E5F; 
  color: #2e2360;
  border-color: #EA5E5F;
}

.gallery-show-page {
    margin-top: 3.8%;
}

.gallery-header {
    text-align: center;
}

/*@keyframes fadeInBig {
    0% {
      opacity: 0;
      transform: scale(.5);
    }
  
    99% {
      opacity: 1;
      transform: scale(1);
    }
  }*/

  @keyframes fadeIn {
    0% {
      opacity: 0;
    }

    100% {
        opacity: 1;
      }
  }
