body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to bottom, #5ab6f3, #016fff);
  color: #ffffff;
  text-align: center;
}

.header {
  padding: 20px;
}

.logo {
  width: 180px;  /* más grande */
  height: auto;  /* mantiene la proporción */
}

h1 {
  font-size: 1.5rem;
}

h2{
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
}

.social-icons a {
  color: rgb(255, 255, 255);
  margin: 0 8px;
  font-size: 1.2rem;
  text-decoration: none;
}

.nav-buttons {
  margin-top: 10px;
}

.nav-buttons button {
  padding: 8px 16px;
  margin: 5px;
  border: none;
  border-radius: 25px;
  background: #ff0000;
  color: #000;
  cursor: pointer;
  font-weight: bold;
}

.nav-buttons .active {
  background: black;
  color: white;
}

.main {
  margin-top: 20px;
}

.video-card {
  margin: 20px auto;
  max-width: 90%;
  background-color: #0b5394;
  border-radius: 15px;
  overflow: hidden;
  padding: 10px;
}

.video-card img {
  width: 100%;
  border-radius: 10px;
}

.link-buttons {
  margin-top: 20px;
}

.link-item {
  display: block;
  background-color: rgba(81, 250, 241, 0.582);
  margin: 10px auto;
  padding: 12px 20px;
  border-radius: 20px;
  border: 1px solid rgba(32, 247, 236, 0.582); /* borde visible */
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-weight: bold;
  max-width: 300px;
  transition: background 0.3s ease;
}

.link-item i {
  margin-right: 10px;
}

.link-item:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .logo {
    width: 100px;
  }

  .link-item {
    max-width: 400px;
  }
  
}

/* --- Selector de idioma profesional en el header --- */
.language-switcher {
  position: absolute;
  top: 20px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.language-switcher .globe {
  font-size: 18px;
}

.lang-link {
  text-decoration: none;
  font-weight: bold;
  color: #000;
  transition: 0.2s;
}

.lang-link:hover {
  color: #0056ff;
  transform: scale(1.1);
}

.separator {
  color: #333;
  opacity: 0.7;
}

/* --- ESTILO DEL IDIOMA ACTIVO --- */
.lang-active {
  color: #0056ff !important;
  text-decoration: underline;
  transform: scale(1.15);
}


.language-switcher .globe {
  font-size: 18px;
  color: #fff;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}




