/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa; /* Light background for the page */
}

.main-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Content Wrapper */
.content-wrapper {
  flex: 1;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

/* Events Section */
.events-section {
  background-color: #fff; /* White background for the container */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  margin-bottom: 20px;
}

.section-title {
  text-align: center;
  font-size: 36px; /* Bigger font size for the heading */
  margin-bottom: 30px; /* More space below the heading */
  color: #333;
  font-weight: bold;
  text-transform: uppercase; /* Uppercase for a bold look */
}

.image-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 videos per line */
  gap: 20px; /* Space between videos */
}

.image-item {
  text-align: center;
  background-color: #fff; /* White background for each video item */
  padding: 15px;
  border: 1px solid #ddd; /* Border for each item */
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-image {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.event-image:hover {
  transform: scale(1.05);
}

.image-title {
  display: block;
  margin-top: 10px;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

/* Footer Styles */
footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #ddd;
}

footer a {
  margin: 0 10px;
  color: #333;
  text-decoration: none;
}

footer a:hover {
  color: #007bff;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .image-links {
    grid-template-columns: repeat(2, 1fr); /* 2 videos per line on tablets */
  }
}

@media screen and (max-width: 480px) {
  .image-links {
    grid-template-columns: 1fr; /* 1 video per line on mobile */
  }

  .section-title {
    font-size: 28px; /* Slightly smaller heading on mobile */
  }
}
