*{
    padding: 0;
    margin: 0;
}

body {
    background-color: #fcfffe;
    align-items: center;
    justify-content: center;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url("img/mouse.png"), auto;
}

/* BARRA NAVEGACION MENU */
.menunavegacion .img1   {
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 20px;
    width: 50px;
}
a{
    text-decoration: none;
}

.menunavegacion ul {
    list-style: none; 
    background: rgb(27, 27, 27);
    position: fixed;
    width: 100%;
    z-index: 999;
}

.menunavegacion ul li {
    display: inline-block;
    position: relative;
    top: -20px;
}

.menunavegacion ul li a {
    display: block;
    padding: 20px 25px;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    margin-bottom: -10px;
}

.menunavegacion ul li ul.menudesp li {
    display: block;
    top: -10px;
}

.menunavegacion ul >li > ul.menudesp {
    width: 100%;
    background: rgb(26, 26, 26);
    position: absolute;
    display: none;
}

.menunavegacion ul li a:hover {
    background: rgb(20, 20, 20);
    color: red;
    border-radius: 25px;
}

.menunavegacion ul li:hover ul.menudesp {
    position: absolute;
    display: block;
    top: 78.8px;
}


/* PRESENTACION */

#seccion1 {
    background-color: #ffffff;
}


.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;
}

@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%);
    }
}

/* BARRA NAVEGACION SECUNDARIO */
.navegacion {
    background-color: black;
    font-family: Arial;
    margin-top: -10px;
    margin-bottom: 70px;
}

.navegacion ul {
    text-align: center;
    list-style: none;
    background: rgb(24, 24, 27);
}

.navegacion ul li {
    display: inline-block;
    text-align: center;
}

.navegacion ul li a {
    text-decoration: none;
    display: block;
    width: 150px;
    padding: 20px 0px;
    color: #FFF;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.navegacion ul li a:hover {
    background: rgb(20, 20, 20);
    cursor: pointer;
}

/* Acerca de Legacy studios */
.acercadelegacystudios{
    font-family: Arial;
    margin-left: 16%;
    margin-right: 16%;
}
.acercadelegacystudios .titulo{
    text-shadow: 2px 2px 4px rgba(0, 29, 56, 0.5);
    font-weight: bold;
    color: rgb(20, 20, 20);
    text-align: left;
    font-size:50px;
    padding-bottom: 35px;
}
.acercadelegacystudios .texto{
    text-align: left;
    color: rgb(31, 30, 30);
    font-size:21px;
}

/* Valores */
.valores{
    position: relative;
    font-family: Arial;
    margin-left: 0%;
    margin-right: 0%;
    height: 190px;
}
.valores .titulo{
    text-shadow: 2px 2px 4px rgba(0, 29, 56, 0.5);
    position: absolute;
    font-weight: bold;
    color: rgb(20, 20, 20);
    text-align: left;
    font-size:50px;
    top: 40%;
    left: 16%;
}
.valores .texto{
    text-align: left;
    color: rgb(31, 30, 30);
    font-size:21px;
    padding-left: 16%;
    padding-right: 16%;
}
.valores .lista .item{
    position: absolute;
}

table {
    background-image: url(img/valoresfondo.jpeg); /* Imagen de fondo inicial */
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: -10px;
    border-collapse: collapse;
    width: 101%;
    border: 2px solid black; /* Grosor y color del borde */
}

td {
    position: relative;
    border: 2px solid black; /* Grosor y color del borde */
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: width 0.5s; /* Agregamos una transición para un cambio suave de ancho */
    width:16.66666%; /* Ajustamos el ancho inicial */
    height: 700px;

}

/* Juegos */
.juegos{
    font-family: Arial;
    margin-top: 70px;
    margin-left:16%;
    margin-right: 16%;
}
.juegos .titulo{
    text-shadow: 2px 2px 4px rgba(0, 29, 56, 0.5);
    font-weight: bold;
    color: rgb(0, 0, 0);
    text-align: left;
    font-size:50px;
    padding-bottom: 35px;
}
.juegos .texto{
    text-align: left;
    color: rgb(0, 0, 0);
    font-size:21px;
}
.juegos .contenedorjuegos{
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 columnas iguales */
    grid-gap: 20px; /* Espacio entre las imágenes */
    padding-top: 70px;
}
.juegos .contenedorjuegos .juego1,
.juegos .contenedorjuegos .juego2,
.juegos .contenedorjuegos .juego3{
    text-align: center;
}
.contenedorjuegos .juego1 img,
.contenedorjuegos .juego2 img,
.contenedorjuegos .juego3 img{
  max-width: 100%; /* Ajusta el tamaño máximo de las imágenes */
}
.juegos .contenedorjuegos .descripcion{
    font-size: 18px;
    padding-top: 25px;
    color:rgb(117, 117, 117);
}
.espaciojuego{
    height: 50px;
}
.juego2 img{
    height: 140px;
}
.juego3 img{
    height: 140px;
}
/* Sedes */
    /* Parallax */
.parallax {
    position: relative;
    height: 1000px; /* Ajusta la altura según tus necesidades */
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: url('img/sedesfondo.jpg'); /* Ruta de tu imagen de fondo */
    background-size: cover;
    background-position: center;
    transform: translate3d(0, 0, 0);
    z-index: 0;
}

.parallax-content {
    position: relative;
    z-index: 1;
}
    /* Fin de Parallax */
.sedes{
    margin-left:16%;
    margin-right: 16%;
    perspective: 2px;
}
.sedesbackground{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform-origin: top left;
}
.sedes .titulo{ 
    text-shadow: 2px 2px 4px rgba(31, 30, 43, 0.5);
    font-weight: 900;
    color: rgb(255, 255, 255);
    text-align: center;
    font-size:70px;
    padding-bottom: 35px;
    padding-top: 35px;
}
.sedes .texto{
    text-align: center;
    color: rgb(255, 255, 255);
    font-size:21px;
    margin-bottom: 70px;
    margin-left:17%;
    margin-right: 17%;
}
.sedes .contenedorsedes{
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.sedes .contenedorsedes .cajaderecha{
    text-align: center;
    width: 50%;
    color: #ffffff;
}
.sedes .contenedorsedes .cajaizquierda{
    text-align: center;
    width: 50%;
    height: 150px;
}
.sedes .contenedorsedes .cajaizquierda img{
    width: 100%;
    height: 100%;

}
.titulosedes{
    color: #ffffff;
    font-weight: bold;
    font-size: 25px;
}
.textosedes{
    color: #ffffff;
    font-size: 25px;
}
/* FOOTER */
.seccion {
    transition: background-color 0.5s ease;
    height: 100vh;
    display: flex;
    font-size: 24px;
    padding: 0px;
    position: relative; /* Añadir posición relativa */
}

#seccion5{
    background-color: #2c2b2b;
    height: 250px;
}
.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;
  }
/* SCROLL HACIA ARRIBA*/
#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;
}