/* Color palette for now*/
:root {
  --navy: #0a0f24;
  --blue: #3ca9f2;
  --white: #f5f8fc;
  --shadow: rgba(0, 0, 0, 0.3);
}

/* Reset + Base shit*/
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: var(--navy);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  padding: 2rem 1rem 1rem;
}

.site-title {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 0.3rem;
}

.site-subtitle {
  font-size: 1rem;
  color: var(--white);
  opacity: 0.8;
}

main {
  flex: 1;
  padding: 1.5rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.video-card {
  background: #111633;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 10px var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 400px;
  width: 100%;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px var(--shadow);
}

.video-wrapper {
  overflow: hidden;
  border-radius: 8px;
}

video {
  width: 100%;
  border-radius: 8px;
  outline: none;
}

.video-title {
  font-size: 1.1rem;
  text-align: center;
  margin-top: 0.8rem;
  color: var(--blue);
}

/* Footer idk */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.6;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile tweaks for ipad kids */
@media (max-width: 600px) {
  .site-title {
    font-size: 1.6rem;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .video-card {
    max-width: 100%;
  }
}
