/* 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;
    background-image:url(img/xd.png);
    cursor: url('./img/mouse.png'), auto;
}

a {
    text-decoration: none;
}

/* ====================BARRA DE NAVEGACION====================================== */

/* Estilos para la clase del logo del NAV*/
.img1 {
    margin-top: 20px;
    margin-right: 20px;
    margin-left: 20px;
    width: 70px;
    text-decoration: none;
}

/* Estilos para las listas no ordenadas */


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

/* 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: 77px;
}

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




/* 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: linear-gradient(135deg, #474747, #5e5e5e);
    height: 700px;

}

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


.video-container {
    position: absolute;
    top: 70px;
    right: 60px;
    width: 900px;
    height: 520px;
    z-index: 1; /* Asegura que el video esté encima de otros elementos */
}

.video-iframe {
    width: 100%;
    height: 100%;
    border-radius: 40px;
}

/* BOTON ¡JUEGA AHORA! */

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

/* Estilo específico de la sección 3 */

#seccion3 {
    background: linear-gradient(to bottom right, #414040, #585858);
    height: 700px;
}

/* Estilos de la imagen */
.contenedor-imagen {
    position: relative;
    top: 350px;
    left: 140px;
    width: 300px;
    height: 210px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.imagen {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease-out;
}

/* Contenedor mini con información */
.mini-contenedor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: justify;
    font-size: 15px;
}


/* Efecto hover para mostrar el mini contenedor */
.contenedor-imagen:hover .mini-contenedor {
    transform: translateY(0);
}

/* Efecto hover para resaltar la imagen */
.contenedor-imagen:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}


/* Estilos de la imagen */
.contenedor-imagen2 {
    position: relative;
    top: 320px;
    left: 200px;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.imagen {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-out;
}

/* Contenedor mini con información */
.mini-contenedor2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: justify;
    font-size: 15px;
}


/* Efecto hover para mostrar el mini contenedor */
.contenedor-imagen2:hover .mini-contenedor2 {
    transform: translateY(0);
}

/* Efecto hover para resaltar la imagen */
.contenedor-imagen2:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

/* Estilos de la imagen */
.contenedor-imagen3 {
    position: relative;
    top: 350px;
    left: 260px;
    width: 300px;
    height: 210px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, transform 0.3s;
}

.imagen {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-out;
}

/* Contenedor mini con información */
.mini-contenedor3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    text-align: justify;
    font-size: 15px;
}


/* Efecto hover para mostrar el mini contenedor */
.contenedor-imagen3:hover .mini-contenedor3 {
    transform: translateY(0);
}

/* Efecto hover para resaltar la imagen */
.contenedor-imagen3:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.historia_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,  #b7950b ,  #d4ac0d ,  #f1c40f ,  #f4d03f );
    background-size: 300% 300%;
    animation: gradientAnimation 5s infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    top: -900px;
    left: 1200px;
  }


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

/* BOTON DE HISTORIA ============================================================*/

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

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

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

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


/* ==================CONTENIDO SECCION 4 (TIENDA)================================================= */

#seccion4 {
    background: linear-gradient(135deg, #363636, #444444);
    height: 1290px;
}

/* =============================TIENDA====================================== */

.tienda_nombre {
    position: absolute;
    left: 400px;
    width: 1000px;
}

.tiendaX .tienda_nom {
    position: absolute;
    top: 10%;
    left: 110%;
    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
}

.tiendaX .tienda_nom2 {
    position: absolute;
    top: 10%;
    left: 110%;
    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%);
    }
}


.tienda_centrado {
    position: relative;
    left: 200px;
    top: -300px;
}

h1 {
    font-family: 'Arial', sans-serif;
    font-size: 3em;
    color: #ffffff;
    position: relative;
    animation: slideIn 1.5s ease-in-out;
}

.imagen_tienda {
    width: 1400px;
    border-radius: 20px;
    margin-left: 110px;
}

.container_shop {
    position: relative;
    top: 100px;
    left: 110px;
    width: 500px;
    height: 320px;
    perspective: 1000px;
}

.container_shop2 {
    position: relative;
    top: -220px;
    left: 1010px;
    width: 500px;
    height: 320px;
    perspective: 1000px;
}

.card {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card:hover {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.front {
    background: url('./img/tienda10.png') center/cover;
}

.front2 {
    background: url('./img/tienda50.png') center/cover;
}

.front3 {
    background: url('./img/tienda100.png') center/cover;
}


.back {
    transform: rotateY(180deg);
    background: url('./img/Donatello.gif') center/cover;

    color: #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.card:hover .back {
    opacity: 1;
}

.description {
    font-size: 16px;
    margin-bottom: 10px;
    color: black;
}

.buy-button {
    padding: 10px 20px;
    background-color: #333333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    transform: translateY(0);
}

.buy-button:hover {
    background-color: #5a5a5a;
    transform: translateY(-5px);
}


/* =====================================CONTENIDO SECCION 5================================ */

#seccion5 {
    background-color: #2c2b2b;
    height: 230px;
}

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

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

