/* style.css */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Trebuchet MS', sans-serif;
  background-color: #121212; /* Dark theme */
  line-height: 1.6;
  color: white;
  padding: 0 1rem;
}

header {
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: #87CFBE;
  color: #2C3E50;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

h2 {
  text-align: center;
  font-size: 1.2rem;
  margin: 1rem 0;
  font-weight: bold;
  background-color: #B0D4D4;
  color: black;
  padding: 0.5rem;
  border-radius: 4px;
}

h3 {
  text-align: center;
  font-size: 1rem;
  margin: 0.8rem 0;
  font-weight: bold;
  background-color: #B0D4D4;
  color: black;
  padding: 0.3rem;
  border-radius: 4px;
}

h4 {
  text-align: center;
  font-size: 1.5rem;
  margin: 1rem 0;
  font-weight: bold;
  background-color: #B0D4D4;
  color: #2C3E50;
  padding: 0.5rem;
  border-radius: 4px;
}

/* === NEW STYLING FOR SECTION HEADINGS === */
.video-section h2 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 1.5rem 1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background-color: #60A8A8;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.thumbnail {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #2c3e50;
  color: white;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Optional: Larger headings on desktop */
@media (min-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h4 {
    font-size: 2rem;
  }

  .video-section h2 {
    font-size: 1.1rem;
  }
}
