html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #222; /* matches your header/footer */
}

body {
  display: flex;
  flex-direction: column;
}

header, footer {
  background-color: #222;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

main {
  padding: 2rem;
  background-color: #222; /* Dark gray, same as header/footer */
  color: #fff; /* White text inside main */
  /*min-height: 80vh;*/
}

/* Video gallery layout */
.gallery-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 180px;
  text-decoration: none;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.poster:hover {
  transform: scale(1.03);
}

.poster img {
  width: 180px;
  height: 270px;
  object-fit: cover;
}

.poster p {
  padding: 0.5rem;
  margin: 0;
  color: #333;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.video-page {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto; /* center the whole video page */
  text-align: center;
}
.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

video {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

