/* GENERAL PAGE STYLE */

body {
  font-family: Arial, sans-serif;
  background-color: #0f0f0f;
  color: white;
  margin: 0;
  padding: 40px;
}

h1 {
  text-align: center;
  margin-bottom: 60px;
}

h2 {
  margin-bottom: 20px;
}


/* YEAR SECTIONS */

.year {
  margin-bottom: 80px;
}


/* PHOTO GALLERY GRID */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}


/* PHOTO STYLE */

.gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}


/* LIGHTBOX BACKGROUND */

#lightbox {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.9);

  display: none;

  justify-content: center;
  align-items: center;
  flex-direction: column;

  z-index: 1000;
}


/* EXPANDED IMAGE */

#lightbox-img {
  max-width: 85%;
  max-height: 85vh;

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 8px;
  margin-bottom: 20px;
}


/* CAPTION TEXT */

#lightbox-caption {
  color: white;
  font-size: 18px;
  text-align: center;
  max-width: 700px;
  line-height: 1.4;
}


/* CLOSE BUTTON */

#close {
  position: absolute;
  top: 25px;
  right: 40px;

  font-size: 40px;
  color: white;

  cursor: pointer;
}

.landing {
  margin: 0;
  background: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.video-container {
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 16 / 9;
}

.enter-button {
  margin-top: 30px;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border: 1px solid white;
  padding: 12px 24px;
}

.enter-button:hover {
  background: white;
  color: black;
}

#lightbox-caption {
  text-transform: capitalize; /* Capitalizes first letter of every word */
  /* or use text-transform: uppercase; to make all letters uppercase */
}