*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: ; */
}

section{
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: #222; */
    min-height: 50vh;
}

.containerjuegos{
    position: relative;
    width: 1000px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px;
}

.containerjuegos .card{
    position: relative;
    height: 250px;
    background: #fff;
    display: flex;
    width: 45%;
    margin: 30px 0;
    border: 2px solid grey;
}

.containerjuegos .card .imgBx{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1;
    display: flex;
    justify-content:center;
    /* align-items: center; */
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

.containerjuegos .card:hover .imgBx{
    width: 100px;
    height: 100px;
    left: -100px;
    top: calc(50% - 75px);
    transition: 0.5s ease-in-out;
    background: #6dc94c;
}

/* .containerjuegos .card .imgBx:before{
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-style: 6em;
    color: rgba(16, 15, 15, 0.5);
    font-weight: 700;
} */

.containerjuegos .card .imgBx img{
    /* max-width: 100px; */
    transition: 0.5s ease-in-out;
}

.containerjuegos .card:hover .imgBx img{
    max-width: 75px;
}

.containerjuegos .card .content{
    position: absolute;
    right: 0;
    /* width: calc(100% - 75px); */
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.containerjuegos .card .content h3{
    margin-bottom: 5px;
    font-size: 24px;
}

.containerjuegos .card .content a{
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #333;
    text-decoration: none;
    color: #fff;
}

.texto{
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    align-items: center;
    color: #000;
}

@media screen and (max-width:1400px) {
    .containerjuegos{
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .containerjuegos .card{
        width: 400px;
    }
}


@media screen and (max-width:768px){
    .containerjuegos .card{
        max-width: 300px;
        flex-direction:column;
        height: auto;
    }

    .containerjuegos .card .imgBx{
      position: relative;
    }

    .containerjuegos .card .imgBx,
    .containerjuegos .card:hover .imgBx{
      width: 100%;
      height: 200px;
      left: 0;
    }

    .containerjuegos .card .imgBx img,
    .containerjuegos .card:hover .imgBx img{
        max-width: 100px;
    }
    .containerjuegos .card .content{
    position: relative;
    width: 100%;   
    }

}