/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: sans-serif;
  font-size: clamp(14px, 1.2vw + 0.5rem, 18px);
  scroll-behavior: smooth;
  background: linear-gradient(
    180deg,
    hsl(226, 95.6%, 64.3%) 0%,
    white 50%,
    hsl(226, 95.6%, 64.3%) 100%
  );
  background-attachment: fixed;
  background-size: cover;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #3e4095;
  padding: 10px 0;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 60px;
}

nav .logo {
  height: 70px;
}

/* Título principal */
h1 {
  margin-top: 100px;
  color: #3e4095;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}

/* Container dos vídeos */
.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Cartões de vídeo */
.video-card {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  width: 300px;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(6px);
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
}

.video-card:hover {
  transform: scale(1.03);
  background-color: rgba(255, 255, 255, 0.4);
}

/* Imagens dentro do card - altura fixa e largura 100% para uniformidade */
.video-card img {
  width: 100%;
  height: 202px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* Link dentro dos cards - se houver */
.video-card a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  border-top: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

.video-card a:hover {
  background-color: #e60000;
}

/* Responsividade */
@media (max-width: 768px) {
  .video-card {
    width: 95%;
  }

  .logo {
    width: 60%;
    height: auto;
  }
}
