.gallery-section {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 500px;
  /* background-image: url('/img/onama1.jpg'); */
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px;
}

.gallery-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.overlay h5{
  color:white;
  text-align: center;
}

.gallery-section .btn {
  color: white;
} 

@media(width < 400px){
  .overlay h5{
    font-size: 1rem;
  }
}