/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Righteous&display=swap');
@font-face {
  font-family: 'After Night'; /* Nombre personalizado para la fuente */
  src: url('After_night.ttf') format('truetype'); /* Ruta al archivo .ttf */
  font-weight: normal; /* Opcional: peso de la fuente */
  font-style: normal; /* Opcional: estilo de la fuente */
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: rgba(0, 0, 0, .7);
  font-family: 'Exo 2', sans-serif;
  color: white;
  scroll-behavior: smooth;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all ease-in-out 0.3s;
}

header .logo img {
  max-height: 70px;
  filter: drop-shadow(0px 2px 0px rgba(0, 0, 0, 0.4));
  animation: moveUpDown 2s ease-in-out infinite;
}

@keyframes moveUpDown {
  0% {
    transform: translateY(0); /* Posición inicial */
  }
  50% {
    transform: translateY(-10px); /* Mueve hacia arriba 10px */
  }
  100% {
    transform: translateY(0); /* Vuelve a la posición inicial */
  }
}
.bg-transparente {
  background: rgba(0,0,0,.8);
  padding: 20px;
  border-radius: 6px;
}
header .menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}
.scrolled {
  background: rgba(0, 0, 0, .3);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: #FFF;
  text-decoration: none;
  text-transform: uppercase;
  transition: all ease-in-out 0.3s;
  padding: 10px;
  border-radius: 6px;
  text-shadow: 1px 1px #000;
}
.menu li a.active {
  border: 1px solid #fff;
}
nav ul li a:hover {
  border: 1px solid #fff;
}

#principal {
    background: url(../img/bg.jpg) center;
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
  }
  
  #principal h1 {
    font-size: 120px;
    margin: 0;
    text-transform: uppercase;
    line-height: 100px;
  }
  .neon-azul {
    text-shadow: 0 0 5px #5CA6BF, 0 0 10px #5CA6BF, 0 0 15px #5CA6BF, 0 0 20px #5CA6BF, 0 0 30px #5CA6BF, 0 0 40px #5CA6BF, 0 0 55px #5CA6BF, 0 0 75px #5CA6BF;
  }
  .neon-purpura {
    text-shadow: 0 0 5px #B773EC, 0 0 10px #B773EC, 0 0 15px #B773EC, 0 0 20px #B773EC, 0 0 30px #B773EC, 0 0 40px #B773EC, 0 0 55px #B773EC, 0 0 75px #B773EC;
  }
  
  #principal p {
    font-size: 20px;
    margin: 10px 0;
  }
  #principal .online {
    position: absolute;
    display: flex;
    right: 0; /* Pegado a la derecha */
    top: 50%; /* Para centrar verticalmente */
    transform: translateY(-50%) rotate(90deg); /* Centra y rota el texto */
    gap: 10px;
    border-radius: 6px;

    padding: 10px;
    margin: auto;
    width: fit-content;
    
  }

  #principal .online i {
    color: #33e03c;
    font-size: 10px;
    line-height: 22px;
  }

  #principal .online::before,
  #principal .online::after {
  content: ""; /* Elemento vacío para las líneas */
  position: absolute;
  width: 1px; /* Grosor de las líneas */
  height: 30px; /* Longitud de las líneas en vertical */
  background-color: white; /* Color de las líneas */
}

#principal .online::before {
  top: 20px; /* Línea superior, ajusta según tu diseño */
  left: 140px; /* Centrada con el texto */
  transform: translateY(-50%) rotate(90deg); /* Centra la línea */
}

#principal .online::after {
  bottom: -10px; /* Línea inferior, ajusta según tu diseño */
  left: -30px; /* Centrada con el texto */
  transform: translateY(-50%) rotate(90deg); /* Centra la línea */
}
  .buttons {
    margin-top: 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    margin: 5px;
    transition: background-color 0.3s ease;
    border: 2px solid;
    background: rgba(0, 0, 0, .1);
    border-radius: 10px;
    text-transform: uppercase;
    cursor: pointer;
  }
  
  .btn-purple {
    border-image: linear-gradient(45deg, #1261BE, #4F2493, #B773EC) 1;
    transition: all ease-in-out 0.3s;
  }
  .btn-purple:hover {
    border-image: linear-gradient(45deg, #B773EC, #4F2493, #1261BE) 1;
  }

  .btn-blue {
    border-image: linear-gradient(45deg, #B773EC, #4F2493, #1261BE) 1;
    transition: all ease-in-out 0.3s;
  }
  
  .btn-blue:hover {
    border-image: linear-gradient(45deg, #1261BE, #4F2493, #B773EC) 1;
  }

  #caracteristicas {
    padding: 50px 20px;
    border-top: 5px solid #fff;
    background: url(../img/carac.jpg) bottom;
    text-align: center;
    color: white;
    padding-bottom: 300px;
  }
  
  #caracteristicas h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-shadow: 1px 2px #000;
  }
  
  .caracteristicas-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .caracteristicas-cards .card {
    background-color: rgba(0, 0, 0, .7);
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .caracteristicas-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .caracteristicas-cards .card h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .caracteristicas-cards .card p {
    font-size: 16px;
    line-height: 1.5;
  }
  #normativa2 {
    padding: 50px 20px;
    background: url(../img/bg.jpg) fixed top;
    background-size: cover;
    border-top: 5px solid #B773EC;
    text-align: center;
    color: white;
  }
  
  #normativa {
    padding: 50px 20px;
    background: url(../img/normativa.jpg) fixed top;
    background-size: cover;
    border-top: 5px solid #B773EC;
    text-align: center;
    color: white;
  }
  #normativa .card {
    background: rgba(0, 0, 0, .7);
    width: fit-content;
    border-radius: 6px;
    padding: 10px;
    margin: auto;
  }
  
  #normativa h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  #normativa ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
    text-align: left;
  }
  
  #normativa ul li {
    font-size: 18px;
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
  }
  
  #normativa ul li::before {
    content: "✔";
    color: #4caf50;
    position: absolute;
    left: 0;
    top: 0;
  }
  
  .btn-orange {
    display: inline-block;
    margin-top: 20px;
    background-color: #ff9800;
    padding: 12px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .btn-orange:hover {
    opacity: 0.9;
  }
  
  /* Sección de streamers */
#streamers-section {
  padding: 20px;
  background:url(../img/streamer.png);
  border-top: #5CA6BF 5px solid;
  background-size: cover;
  text-align: center;
}

#streamers-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-shadow: 2px 2px #000;
  text-transform: uppercase;
}

/* Contenedor de streamers */
.streamer-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* Lista de streamers */
.streamer-list {
  max-height: 400px; /* Tamaño máximo de la lista */
  overflow-y: auto; /* Habilitar scroll vertical */
  padding: 10px;
  background:rgba(0, 0, 0, .7);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 200px; /* Ancho fijo para la lista */
  scrollbar-width: thin;
  scrollbar-color: #ff9800 transparent;
}

/* Scrollbar personalizado */
.streamer-list::-webkit-scrollbar {
  width: 6px;
}

.streamer-list::-webkit-scrollbar-thumb {
  background-color: #ff9800;
  border-radius: 5px;
}

/* Botones de los streamers */
.streamer {
  padding: 10px 15px;
  background: linear-gradient(0deg, rgba(174,77,250,0.7) 0%, rgba(44,149,185,0.7) 100%);;
  background-size:cover;
  background-repeat: no-repeat;
  text-transform: uppercase;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  text-align: left; /* Alinear el texto a la izquierda */
  transition: all ease-in 0.3s;
  height: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 0px #2C95B9;
}

.streamer:hover {
  height: 100px;
}
.streamer img {
  position: absolute;
  right: -75px;
  top:10px;
  transition: all ease-in 0.3s;
}
.streamer:hover img {
  filter: drop-shadow(0 1px 0 #fff) drop-shadow(1px 0 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(-1px 0 0 #fff);
  top: -10px;
}

/* Área de visualización del stream */
.stream-display {
  display: flex;
  width: 850px;
  gap: 20px;
  flex-wrap: wrap;
}

#stream-frame {
  width: 68%; /* El video ocupa el 70% del espacio */
  height: 400px;
  border-radius: 10px;
}

#chat-frame {
  width: 29%; /* El chat ocupa el 30% del espacio */
  height: 400px;
  border-radius: 10px;
  background-color: #333; /* Fondo oscuro para el chat */
}

#vicenews {
  background: url(../img/bgvicenews.jpg) center;
  text-align: center;
  width: 100%;
  border-top: 5px solid #fff;
  padding: 20px;
}

#vicenews h2 {
  text-transform: uppercase;
  font-size: 50px;
}
#vicenews .vice-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}
#vicenews .images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#vicenews .hexagon {
  width: 250px;
  aspect-ratio: 1;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  background: #ffffff22;
}

#vicenews .hexagon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#vicenews .images .hexagon:first-child {
  transform: translateX(-50px); /* Desplazar hacia la izquierda */
}

#vicenews .images .hexagon:last-child {
  transform: translateX(30px); /* Desplazar hacia la derecha */
}
#vicenews .text {
  max-width: 400px;
}

#vicenews .text .revistas {
  max-height: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #5CA6BF transparent;
  border-radius: 6px;
  background: rgba(0, 0, 0, .7);
  padding: 10px;
  width: 100%;
}
#vicenews .text .revistas a {
  text-decoration: none;
  color: #fff;
  background: #1e1e1e;
  border-radius: 6px;
}
#vicenews .text .revistas a:hover {
  opacity: .7;
}

#vicenews .text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#vicenews .text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: justify;
}
  #tutoriales {
    padding: 50px 20px;
    background-color: #1e1e1e;
    text-align: center;
    color: white;
  }
  
  #tutoriales h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .tutoriales-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .tutoriales-cards .card {
    background-color: #333;
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .tutoriales-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .tutoriales-cards .card h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .tutoriales-cards .card p {
    font-size: 16px;
    margin-bottom: 15px;
  }
  
  .tutoriales-cards .card button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .tutoriales-cards .card button:hover {
    background-color: #45a049;
  }
  
  /* Footer */
  #footer {
    padding: 20px;
    background-color: #000;
    text-align: center;
    color: white;
  }
  
  #footer p {
    margin: 0;
    font-size: 14px;
  }
  
  #footer .social-links {
    margin-top: 10px;
  }
  
  #footer .social-links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  #footer .social-links a:hover {
    color: #ff9800;
  }
  

/* Responsive Menu */
@media screen and (max-width: 768px) {
  .stream-display, #stream-frame, #chat-frame {
    width: 100%;
  }
  #principal h1 {
    font-size: 30px;
    line-height: 30px;
  }
  #principal p {
    font-size: 10px;
  }
  header .menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 20px;
    border-radius: 5px;
  }

  nav ul.show {
    display: flex;
  }
}
#scrollToTop {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #4F2493;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}