﻿.challenges-container {
    background: linear-gradient(to bottom, #ffffff, #E3F0FF, #BFD7FF, #92BBFF, #6197FF, #296CDB, #0E56B6);
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top:50px;
}
.juegos-retos-container {
    padding: 20px;
    text-align: center;
    max-width: 800px; 
    margin: 0 auto;
}

    .juegos-retos-container img {
        height: 500px;
        border-radius: 10px;
        padding-bottom: 2%;
        width: 100%;
        object-fit: cover;
    }

    .juegos-retos-container p {
        color: white;
        font-size: 20px; 
        line-height: 1.6;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        padding: 20px 0;
        font-family: 'PRegular', sans-serif;
    }
.challenges-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.challenges-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.countdown-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 120px;
    backdrop-filter: blur(5px);
}

    .countdown-box span {
        color: white;
        font-size: 3rem;
        font-weight: bold;
        display: block;
    }

    .countdown-box label {
        color: white;
        font-size: 1rem;
        margin-top: 0.5rem;
        display: block;
    }

.challenges-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.challenge-button {
    background: white;
    color: #0055CC;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .challenge-button:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
    }

.iframe-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

    .iframe-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/* Desktop Styles */
    @media (max-width: 1024px) {
        .juegos-retos-container {
            padding: 15px;
        }

            .juegos-retos-container img {
                height: 250px;
                width: 100%;
            }

            .juegos-retos-container p {
                font-size: 18px;
                padding: 15px 0;
                width: 100%;
            }
        .challenges-title {
            font-size: 3.5rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .countdown-box {
            min-width: 180px;
            padding: 2rem;
        }

            .countdown-box span {
                font-size: 4rem;
            }

            .countdown-box label {
                font-size: 1.2rem;
            }

        .challenge-button {
            padding: 1.2rem 3rem;
            font-size: 1.4rem;
        }
    }
@media (max-width: 768px) {
    .juegos-retos-container p {
        font-size: 16px;
        padding: 10px 0;
    }
}
    .juegos-container {
        width: 100%;
        background: linear-gradient(to bottom, #ffffff, #E3F0FF, #BFD7FF, #92BBFF, #6197FF, #296CDB, #0E56B6);
        margin: 0 auto;
        padding: 20px;
        padding-top: 6%;
        height: 100%;
    }

    .juegos-content {
        border-radius: 8px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .juegos-buttons {
        display: flex;
        justify-content: space-around;
        padding: 20px;
    }

    .juegos-button {
        padding: 10px 20px;
        background-color: #41A62A;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        font-weight: bold;
    }

    .juegos-iframe-container {
        position: relative;
        width: 100%;
        max-width: 850px;
        height: 0;
        min-height: 90vh;
        padding-bottom: 56.25%;
    }

        .juegos-iframe-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            min-height: 90vh;
        }

    .juegos-nav-icons {
        display: flex;
        justify-content: space-between;
        gap: 70px;
        padding: 10px 0;
        background-color: transparent;
    }

    .juegos-icon-orange {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #41A62A;
    }

        .juegos-icon-orange img {
            width: 55px;
            height: 55px;
        }

        .juegos-icon-orange p {
            margin-top: 5px;
            font-size: 12px;
            font-weight: bold;
        }

        .juegos-icon-orange.active {
            color: #41A62A;
        }

    .juegos-retos-container {
        padding: 20px;
        text-align: center;
    }

        .juegos-retos-container h2 {
            color: black;
            margin-bottom: 15px;
        }

        .juegos-retos-container p {
            font-size: 16px;
            line-height: 1.5;
        }
