/* Reset de márgenes y rellenos para todos los elementos */
* {
    padding: 0;
    margin: 0;
}

/* Estilos generales del cuerpo del documento */
body {
    align-items: center;
    justify-content: center;
    padding: 0px;
}

/* Estilos para la clase .img1 */
.img1 {
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 20px;
    width: 50px;
}

/* Estilos para las listas no ordenadas (ul) */
ul {
    list-style: none;
    background: rgb(27, 27, 27);
    position: fixed;
    width: 100%;
    z-index: 999;
}

/* Estilos para los elementos de la lista (li) dentro de ul */
ul li {
    display: inline-block;
    position: relative;
    top: -20px;
}

/* Estilos para los enlaces (a) dentro de los elementos li */
ul li a {
    display: block;
    padding: 20px 25px;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    margin-bottom: -10px;
}

/* Estilos para los elementos de la lista (li) dentro de ul.menudesp */
ul li ul.menudesp li {
    display: block;
    top: -10px;
}

/* Estilos para el menú desplegable ul.menudesp dentro de los elementos li */
ul > li > ul.menudesp {
    width: 100%;
    background: rgb(26, 26, 26);
    position: absolute;
    display: none;
}

/* Estilos para el enlace (a) cuando se coloca el ratón encima */
ul li a:hover {
    background: rgb(20, 20, 20);
    color: red;
    border-radius: 25px;
}

/* Estilos para mostrar el menú desplegable ul.menudesp cuando se coloca el ratón encima */
ul li:hover ul.menudesp {
    position: absolute;
    display: block;
    top: 78.8px;
}

/* Estilos para la clase .equipo1 */
.equipo1 {
    background-color: #d8d8d8;
    width: 300px;
    height: 150px;
    border-radius: 10px;
    padding: 10px;
    color: #000000;
}

video {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 2000px;
    transform: translateX(calc((100% - 100vw) / 2));
    z-index: -2;
  }

/* Estilo de la transición */
.seccion {
    transition: background-color 0.5s ease;
    height: 100vh;
    display: flex;
    font-size: 24px;
    padding: 0px;
    position: relative; /* Añadir posición relativa */
}

/* Agrega estas clases para la animación */
.seccion {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.seccion.active {
    opacity: 1;
    transform: translateY(0);
}


/* Estilo específico de la sección 1 */
#seccion1 {
    background-color: #ffffff;
}

/* Estilo específico de la sección 2 */
#seccion2 {
    background-color: #525252;
    height: 600px;
}

#seccion3 {
    background-color: #2c2b2b;
    height: 250px;
}

.imagen-texto-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.imagen-fondo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto .hola {
    position: absolute;
    top: 10%;
    left: 50%;
    margin-top: 20%;
    font-size: 100px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    transform: translateX(-50%);
    z-index: 1;
    color: #b6b6b6;
    text-shadow: 
        -2px -2px 0 #000000,
        2px -2px 0 #000000,
        2px 2px 0 #000000,
        -2px 2px 0 #000000
}

.texto .hola2 {
    position: absolute;
    top: 10%;
    left: 50%;
    margin-top: 20%;
    font-size: 100px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    transform: translateX(-50%);
    z-index: 1;
    color: rgb(19, 27, 53);
    animation: shift 3s ease-in-out infinite;
}

a {
    text-decoration: none;
}

@keyframes shift {
    0%, 100% {
        clip-path: polygon(0% 27%, 10% 48%, 33% 54%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%);
    }
    50% {
        clip-path: polygon(0% 60%, 15% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%);
    }
}

.gif_cn {
    position: absolute;
    top: 50px;
    left: 1450px;
}

.gif_cn1 {
    position: absolute;
    top: 50px;
    left: 1150px;
}


.DescJuego_TC {
    position: absolute;
    top: 75px;
    left: 100px;
    padding: 20px; /* Espaciado interno de 20 píxeles */
    margin: 20px; /* Márgenes externos de 20 píxeles */
    width: 700px;
    height: 200px;
    text-align: justify;
    color:white;
}


.juega_button {
    display: inline-block;
    padding: 20px 40px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: none;
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: linear-gradient(45deg, #666, #444, #888, #333);
    background-size: 300% 300%;
    animation: gradientAnimation 5s infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
  }

@keyframes gradientAnimation {
0% {
    background-position: 0% 50%;
}
50% {
    background-position: 100% 50%;
}
100% {
    background-position: 0% 50%;
}
}

.juega_button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }

.juega_button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.juega_button:hover:before {
    width: 150%;
    height: 150%;
    opacity: 0.2;
}

.juega_text {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.juega_button:hover .juega_text {
    color: #ddd;
    transform: rotate(360deg) scale(1.2);
}


#btnScrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    display: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 999; /* Asegura que el botón esté por encima de otros elementos */
}

/* Estilos para el botón de desplazamiento hacia arriba cuando se coloca el ratón encima */
#btnScrollToTop:hover {
    background-color: #555;
}

/* FOOTER */


.textcopy {
    position: absolute;
    bottom: 160px;
    margin-left: 200px;
    margin-right: 700px;
    margin-bottom: -50px;
    font-size: 13px;
    color:gray;
    text-justify: auto;
}

.privacity {
    position: absolute;
    bottom: 100px;
    margin-left: 200px;
    margin-bottom: -50px;
    font-size: 13px;
    color:gray;
    cursor: pointer;
}


  .LogoContenedor {
    position: relative;
    width: 50px; /* Ajusta el tamaño según tus necesidades */
    height: 50px; /* Ajusta el tamaño según tus necesidades */
    overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga del contenedor */
    left: 1600px;
    bottom: -150px;

  }

  .LogoNormal {
    height: 50px;
  }
  
  .LogoHover {
    display: none;
    position: absolute;
    height: 50px;
    top: 0;
    left: 0;
  }

  
  .LogoLS:hover .LogoHover {
    display: block;
  }
  
  .LogoLS:hover .LogoNormal {
    display: none;
  }
  