

/* Gallery Section*/
#gallery {
  animation: slideInBot 1s ease-out forwards;

  display: flex;
  width: fit-content;
  text-align: center;


  margin: 0 auto;
  
  justify-content: space-between;;
  background: whitesmoke;
  color: brown;  /*texxxt color */

  min-width: 50vw;
  min-height: 60vw;

  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#left {
  flex: 1;

  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

#left h2{
  font-size: 30px;
}

#right {
  flex: 1;

  color: black;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

#image-box {

  display: flex;
  width: fit-content;
  flex-direction: column;
  background: #d4d4d4;
  color: grey;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);

  min-width: 40vw;
  min-height: 40vw;
  margin: 20px auto;            
  padding: 10px;               
  text-align: center;
}

#image-box img {
  max-width: 100%;  
  max-height: 400px;
  width: auto;
  height: auto;
  border-radius: 8px; 
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3); 
}
#image-box p {
  font-size: 20px;
}
/*if no image in gallery show this instead*/
#no-image {
  align-items: center;
  text-align: center;
  width: 100%;
}

#image-btn button{
  width: 10vw;
  margin-left: 1vw;
  margin-bottom: 3vh;
}


/*sliding animation*/

@keyframes slideInLeft {
  from {
    transform: translateX(-200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(+200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInTop {
  from {
    transform: translateY(-200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInBot {
  from {
    transform: translateY(+200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}