@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');

.card2
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card
{
    font-family: 'Poppins', sans-serif;
    position: relative;
    /* width: 160px; */
    width: 140px;
    height: 90px;
    /* height: 220px; */
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
    margin: 5px 3px 40px 3px;
    cursor: pointer;
}

.card:hover
{
    width: 180px;
    height: 170px;

}

.imgBx
{
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
    /* overflow: hidden; */
    transition: 0.5s;
}

.card:hover .imgBx
{
    width: 80px;
    height: 80px;
}

/* aqui se sobrepone la imagen */
.imgBx img
{
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    /* height: 60%; */
}

.imgBx .flags
{
    position: absolute;
    display: flex;
    top: -10px;
    left: 90%;
    align-items: flex-start;
    /* justify-content: ; */

}

.imgBx .flags img
{
    width: 20px;
}

.imgBx .flags img:nth-child(2)
{
    top: 15px;
}

.imgBx .flags img:nth-child(3)
{
    top: 30px;
}

.imgBx .flags img:nth-child(4)
{
    top: 45px;
}

.card .content
{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;/*  sss */
    /* Aqui se supone que ocula lo que se sobreponga */
    overflow: hidden;
}

.card .content .details
{
    padding: 10px;
    text-align: center;
    width: 100%;
    transition: 0.5s;
    transform: translateY(35px);
}

.card:hover .content .details
{
    transform: translateY(60px);
}

.card .content .details h2
{
    font-size: 1em;
    line-height: 1.2em;
    font-weight: 600;
    color: #555;
}

.card .content .details h2 span
{
    font-size: 0.75em;
    font-weight: 500;
    opacity: 0.5;
}

.card .content .details .actionBtn
{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    /* justify-content: space-between; */
    /* gap: 20px; */
}

.card .content .details .actionBtn button
{
    width: 110px;
    height: 30px;
    padding: 5px 15px;
    border-radius: 5px;
    border: none;
    /* border: 1px solid #999; */
    background-color: #17478f;
    /* background: #fff; */
    color: #fff;
    /* color: #525252; */
    outline: none;
    font-size: .75em;
    font-weight: 500;
    /* cursor: pointer; */
    transition: 0.5s;
}

.card:hover .content .details .actionBtn button
{
    width: 140px;
}