.boy-with-book {
  width: 150px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.button-section {
  margin: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: white;
  background-color: black;
  padding-top: 15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
  border-radius: 6px;
  font-size: 8px;
  box-shadow: #646363 2px 2px 5px;
  transition: background-color 0.2s ease;
  max-width: 150px;
  max-height: 60px;
}

.gallery {
  margin: 0;
  text-align: center;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.images-gallery img {
  max-width:400px;
  width: 100%;
  height: 400px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.images-gallery figcaption {
  margin-top: 0.25rem;
  color: #000000;
  font-size: 1.1rem;
  opacity: 1; /* semi-transparent caption text */
}

.images-gallery img:hover {
  transform: scale(1.05);      /* zoom in slightly on hover */
  transition: transform 0.3s ease; /* smooth transition for the zoom effect */
}