   header {
  background-color: lightseagreen;
  color: white;
  padding: 20px;
  text-align: center;
  ul {
  list-style-type: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: lightseagreen;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: blanchedalmond;
}
}

body {
  background-color: lightyellow;
  line-height: 2;
  text-indent: 15px;
  color: black;
  font-family: 'Courier New', Courier, monospace;
  /*width: 500px;*/
  border: 15px;
  border-style: double;
  border-color: darkgreen;
  padding: 50px;
  margin: 20px;
}
  
  p {
  line-height: 2;
  text-align: left;
}

/* Align photos in a horizontal row */
.photo-row {
  display: flex;
  gap: 20px;
  overflow-x: auto; /* Adds horizontal scrolling if photos overflow */
  padding: 20px;
}

/* Base container for each photo */
.photo-container {
  position: relative;
  width: 300px; /* Fixed width for the photos */
  height: 200px; /* Fixed height for the photos */
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  flex-shrink: 0;
}

/* Ensure images cover their container proportionally */
.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Styling */
.photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.4s ease-in-out; /* Smooth fade-in */
}

/* Show the overlay only when hovering over the container */
.photo-container:hover .photo-overlay {
  opacity: 1;
}

