.oswald{
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.pacifico-regular {
    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;
}

body{
    margin: 0 !important;
    padding: 0;
    background-color: black !important;
}


.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* El video estará detrás del contenido */
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.4; /* Ajusta la opacidad aquí */
}

.container-nobs{
    background-image: url(imagenes/joker.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 20%;
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 1;
}

.contenido{
    width: 100%;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 50;
}
.banners{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.banners img{
    width: 30%;
    height: 30%;
}
.titulo-principal h1{
    font-family: Pacifico;
    font-size: 5rem;
    font-style: italic;
    text-shadow:
    5px 5px 0 #000,
    -5px 5px 0 #000,
    -5px -5px 0 #000,
    5px -5px 0 #000;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
    animation: pulse 1s infinite ease-in-out alternate;
}
.texto-principal{
    font-family: Oswald;
    font-size: 1.5rem;
    opacity: 100%;
    width: 95%;
    animation: fade-up1 1s;
}
.texto-principal span{
    color: rgb(42, 211, 42);
    text-shadow: 0 0 10px rgba(126, 246, 156, 0.5),
                 0 0 20px rgba(102, 247, 138, 0.5),
                 0 0 40px rgba(34, 251, 89, 0.5),
                 0 0 80px rgba(34, 251, 89, 0.5),
                 0 0 160px rgba(34, 251, 89, 0.5);

}
.boton{
    animation: fade-up1 1s;
    margin-top: 0.5rem;
}
.boton a{
    display: flex;
    justify-content: center;
    align-items: center;
}
.boton a{
    color: white;
    cursor: pointer;
    font-size: 2.2rem;
    text-decoration: none;
    border-color: rgb(218, 20, 20);
    border-radius: 0.4rem;
    padding: 0.8rem;
    /*border-radius: 5rem;*/
    background-color: rgb(218, 20, 20);
    font-family: Oswald;

    background: linear-gradient(
    45deg,
    #9400D3, #d900ff,
    /*#00FFD5, #002BFF, #FF00C8,*/ #9400D3
    );
    background-size: 600%;
    animation: glowing 50s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}
  
.boton a p{
    padding: 0;
    margin: 0;
}
.contenedor-info{
    cursor: pointer;
    margin-top: 5rem;
    bottom: 0;
    background: linear-gradient(to top, #121212 0%, #121212 50%, #121212 80%, rgba(18, 18, 18, 0) 100%);
    position: fixed;
    display: flex;
    height: 9rem;
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    z-index: 55 !important;
}
.contenedor-info p{
    padding: 0;
    margin: 0;
}

/*SEGUNDO CONTENEDOR*/
/*SEGUNDO CONTENEDOR*/
/*SEGUNDO CONTENEDOR*/

.contenido-extra{
    width: 100%;
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 50;
}

.imagenes-beneficios{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.contenedor-imagen{
    max-width: 4rem;
    font-family: Oswald;
    font-size: 0.8rem;
}
.p-gradient{
    background: linear-gradient(
135deg,#ff00d2,#fed90f,#00a2ff,#09f1b8,#ff00d2,#fed90f,#00a2ff,#09f1b8);
    background-clip: text;
    background-size: 300% 300%;
    -webkit-text-fill-color: transparent;
    animation: gradient 8s ease-in-out infinite;
}

.elemento-animado {
    opacity: 0; /* Oculto inicialmente */
  }
  
.elemento-animado.animate {
    opacity: 1;
    animation-name: fade-up1; /* Nombre del keyframe */
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

/**KEY FRAMES START**/

@keyframes bouncy{
    100% {
        top: -20px;
    }
}
@keyframes glowing {
    0% {background-position: 0 0;}
    50% {background-position: 400% 0;}
    100% {background-position: 0 0;}
}
@keyframes pulse {
    from {scale: 1;}
    to{scale: 0.9;}
}
@keyframes moveArrow {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px); /* Mueve la flecha hacia arriba */
    }
    100% {
      transform: translateY(0); /* Vuelve a la posición original */
    }
}
@keyframes fade-up1 {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9)
    }
    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}
@keyframes gradient{
    0%{
        background-position: 0% 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0% 50%;
    }
}

/**KEY FRAMES END**/

@media screen and (max-width: 900px){
    .banners img{
        width: 60%;
        height: 60%;
    }
    .testimonio-img{
        width: 100% !important;
        height: auto;
    }
    .modal-content{
        max-width: 65% !important;
        height: auto;
    }
}
@media screen and (max-width: 450px){
    /*.container-nobs{
        background-image: url(imagenes/vertical.png);
        /*background-size: cover;
        background-repeat: no-repeat;
        opacity: 20%;
        width: 100%;
        height: 100vh;
        position: absolute;
        z-index: 1;*/
    /*}*/
}

.bottom-bar{
    background-color: #eee;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 20em;
    max-width: 30em;
    /*border-radius: 20px 20px 0 0;*/
}
.icon{
    font-size: 1.5em;
    padding: .5em;
    margin: .1em;
    margin-top: 0;
    margin-bottom: 0;
    transition: .5s ease-in-out;
    border-radius: 100%;
    border: 7px solid #2E004E;
}
.active1{
    transform: scale(1.25) translateY(-1em);
    background: #7A1FA2;
    border: 7px solid #2E004E;
    color: white;
}
.fixed-flex{
    display: flex;
    align-items: center;
    justify-content: center;
}
ion-icon{
    color: white;
}
.anchor-texts{
    text-decoration: none;
    display: inline-block;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.anchor-texts p{
    font-size: 0.7rem;
    color: white;
    display: block;
    margin-bottom: 1rem;
}


#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0A051C; /* Color negro grisáceo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Z-index alto para asegurar que cubra todo */
}

#loading-screen h1 {

    animation: blink 2s infinite; /* Animación de parpadeo */
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}

/* Estilo para que el carrusel tenga un tamaño máximo y sea responsive */
.carousel-item img {
    max-height: 50vh; /* Ajusta la altura máxima del carrusel */
    object-fit: contain; /* Ajusta la imagen sin que se deforme */
    width: 100%;
  }
.carousel-container {
    overflow: hidden;
}
.carousel-control-prev,
.carousel-control-next {
  outline: none !important;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
}
.carousel-control-prev {
    left: -5%;
}
.carousel-control-next {
    right: -5%;
}
.titulo-juegos h2{
    font-family: "Potta One";
    font-size: 3rem;
    /*font-style: italic;*/
    text-shadow:
    5px 5px 0 #000,
    -5px 5px 0 #000,
    -5px -5px 0 #000,
    5px -5px 0 #000;
    padding: 0;
    margin: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
    animation: pulse 1s infinite ease-in-out alternate;
}

.testimonios-section {
    padding: 20px;
    text-align: center;
  }
  
  .testimonios-title {
    margin-bottom: 20px;
    font-size: 24px;
  }
  
  .testimonios-grid {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    align-items: center;
  }
  
  .testimonio-img {
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    justify-self: center;
  }
  
  .testimonio-img:hover {
    transform: scale(1.05);
  }
  
  /* Modal styles */
  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    max-width: 15%;
    height: auto;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .caption {
    color: white;
    text-align: center;
    padding: 10px 0;
  }
  
  .testimonios-texto {
    margin-top: 20px;
    padding-bottom: 100px; /* Ensure nothing is covered by the bottom navigation bar */
  }

  .card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    padding-bottom: 0;
}

.card1 {
    background-color: rgba(255, 255, 255, 0.0);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: white;
}

.card1:hover {
    transform: translateY(-10px);
}

.card1 img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

.card1 h3 {
    padding: 15px;
    font-size: 1.2rem;
    transition: text-decoration 0.3s ease;
    text-align: left;
    color: white;
}

.card1 h3:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .card1 {
        flex: 1 1 calc(50% - 20px); /* Asegurar 2 cartas por fila */
        max-width: 250px; /* Cartas más pequeñas en pantallas grandes */
    }
}

@media (max-width: 767px) {
    .card1 {
        flex: calc(50% - 20px); /* One card per row on smaller screens */
    }
}



@media only screen and (max-width: 767px) and (orientation: landscape) {
    .card1{
        max-width: 116px;
    }
    .testimonio-img{
        width: 29% !important;
    }
    .p-gradient{
        font-size: 2rem !important;
    }
    .titulo-juegos{
        margin-bottom: 0 !important;
    }
  }
@media only screen and (min-width: 480px) and (max-width: 1024px) and (orientation: landscape) {
    .card1{
        max-width: 116px;
    }
    .testimonio-img{
        width: 29% !important;
    }
    .p-gradient{
        font-size: 2rem !important;
    }
    .titulo-juegos{
        margin-bottom: 0 !important;
    }
  }

.container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    width: 90%;
    max-width: 900px;
    padding: 20px;
}
.container a{
    text-decoration: none;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.game {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    border: 5px solid #4a0d8f;
}

.game img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease-in-out;
}

.game:hover img,
.game:active img {
    filter: blur(4px);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: purple;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.game:hover .play-button,
.game:active .play-button {
    opacity: 1;
}

.title {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}