html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Calibr', sans-serif;
        font-weight: bold;
}

@font-face {
    font-family: 'Ethnocentric';
    src: url('/Resource/Fonts/ETHNOCENTRIC RG.TTF') format('truetype');
}



.juegos {
    position: relative;
    overflow: hidden;
    background: #2b2b2b;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding: 50px 20px;
}

.container {
    top: 0px;
    position: relative;
    width: 100%;
    max-width: 1000px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 50px 52px 0 52px;
    padding: 20px;
}

#hex-grid {
    height: 100vh;
    background: #000;
}

#hex-grid .grid {
    position: absolute;
    top: 0;
    left: 0;
    background: url(../Resource/grid.svg) repeat;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: 500px;
}

#hex-grid .light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15em;
    height: 15em;
    filter: blur(15px);
    background: linear-gradient(90deg, #0083cf 0%, #003985 100%);
    z-index: 0;
    transition: transform 0.3s ease;
}

.title-box h2 {
    margin: 0 0 0 12px;
    font-size: 24px;
    font-family: 'Ethnocentric', sans-serif;
    
}

.title-box p {
    margin: 10px 0 0;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.container:nth-child(2),
.container:nth-child(3) {
    text-align: center;
}

.imagen1,
.imagen2 {
    width: 100%;
    max-width: 500px;
}

/* 📌 RESPONSIVE DESIGN */

@media (max-width: 768px) {
    .juegos {
        flex-direction: column;
        align-items: center;
        padding: 30px 10px;
    }

    .container {
        top: -100px;
        width: 90%;
        margin: 20px 0;
    }

    #hex-grid{
            height: 40vh;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 15px;
        top: -100px;
    }

    .title-box h2 {
        font-size: 1.2rem;
        font-family: 'Ethnocentric', sans-serif;
    }

    #hex-grid{
            height: 30vh;
    }

    .imagen1,
    .imagen2 {
        width: 80%;
        max-width: 300px;
    }
}