/* Reset CSS for better cross-browser consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    color-scheme: light dark;
}

body {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    background: linear-gradient(180deg, #610000, #252525); /* Gradient background */
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

.container {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #fff; /* White color for the heading */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Add a subtle text shadow */
}

p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    margin-top: 30px;
    color: #fff; /* White color for the text */
}

.juegos {
    width: 20%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.juegos img {
    width: 100px; /* Adjust the size as needed */
    border-radius: 50%;
    border: 3px solid #fff; /* White border around the images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow to the images */
    transition: transform 0.3s ease; /* Add a smooth transition on hover */
}

.juegos img:hover {
    transform: scale(1.1); /* Enlarge the image on hover */
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounceInDown {
    0% {
        transform: translateY(-1000px);
    }
    60% {
        transform: translateY(30px);
    }
    80% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.animate__fadeIn {
    animation: fadeIn 1s;
}

.animate__bounceInDown {
    animation: bounceInDown 1s;
}

/* Hidden class to hide the gifContainer */
.hidden {
    display: none;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

/* Style for the gifContainer */
#gifContainer{
    position: absolute;
    display: flex;
    justify-content: center;
    bottom: 0;
    height: 50vh;
    width: 100vw;
    object-fit: contain;
}

#gifContainer img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
