

.con {
    max-width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    /* justify-content: center !important; */
    
    /* flex-wrap: wrap; */
}

/* Tablet responsiveness */
@media only screen and (max-width: 768px) {
    .con {
        width: 100%;
        flex-direction: column;
        /* stack cards vertically */
    }

    .con .card-1 {
        margin-bottom: 20px;
        /* add margin between cards */
    }

    .con .card-1 .face {
        width: 388px !important;
        height: 200px;
        transition: 0.5s;
    }
}

/* General Mobile Responsiveness */
@media (max-width: 768px) {
    .con {
        width: 100%;
        flex-direction: column;
    }

    .con .card-1 {
        width: 100%;
        margin-bottom: 20px;
    }

    .con .card-1 .face {
        width: 100%;
        height: auto;
    }

    .con .card-1 .face.face1,
    .con .card-1 .face.face2 {
        transform: translateY(0);
    }

    .con .card-1 .face.face1 .content img {
        max-width: 80px;
    }

    .con .card-1 .face.face1 .content h3 {
        font-size: 1.2em;
    }

    .con .card-1 .face.face2 .content a {
        font-size: 0.9em;
    }
}

/* iPhone SE (320px width) */
@media only screen and (max-width: 320px) {
    .con .card-1 .face.face1 .content img {
        max-width: 60px;
    }

    .con .card-1 .face.face1 .content h3 {
        font-size: 1em;
    }
}

/* iPhone XR (414px width), iPhone 12 Pro, iPhone 14 Pro Max */
@media only screen and (min-width: 375px) and (max-width: 428px) {
    .con .card-1 .face.face1 .content img {
        max-width: 70px;
    }

    .con .card-1 .face.face1 .content h3 {
        font-size: 1.3em;
    }

    .con .card-1 .face.face2 .content a {
        font-size: 1em;
    }
}

/* Pixel 7 (393px width) */
@media only screen and (min-width: 360px) and (max-width: 393px) {
    .con .card-1 .face.face1 .content img {
        max-width: 75px;
    }

    .con .card-1 .face.face1 .content h3 {
        font-size: 1.4em;
    }
}

/* Samsung Galaxy S8+ (360px width), S20 Ultra (412px width) */
@media only screen and (min-width: 360px) and (max-width: 412px) {
    .con .card-1 .face.face1 .content img {
        max-width: 70px;
    }

    .con .card-1 .face.face1 .content h3 {
        font-size: 1.2em;
    }

    .con .card-1 .face.face2 .content a {
        font-size: 0.9em;
    }
}


.con .card-1 {
    /* position: relative; */
    cursor: pointer;
}

.con .card-1 .face {
    width: 300px;
    height: 200px;
    transition: 0.5s;
}

.con .card-1 .face.face1 {
    position: relative;
    background: #f3e4fd;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: translateY(100px);
    border-radius: 20px 20px 0 0;
    height: 220px;
}
.con .card-1 .face.face1:hover {
    position: relative;
    background: #a020f0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transform: translateY(100px);
    border-radius: 20px 20px 0 0;
}

.con .card-1:hover .face.face1 {
    background: #f3e4fd;
    transform: translateY(0);
}

.con .card-1 .face.face1 .content {
    /* opacity: 0.2; */
    transition: 0.5s;
}

.con .card-1:hover .face.face1 .content {
    opacity: 1;
}

.con .card-1 .face.face1 .content img {
    max-width: 100px;
}

.con .card-1 .face.face1 .content h3 {
    margin: 10px 0 0;
    padding: 0;
    /* color: #ecaa1e; */
    text-align: center;
    font-size: 1.5em;
}

.con .card-1 .face.face2 {
    position: relative;
    background: #a020f0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    /* box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); */
    transform: translateY(-100px);
    border-radius: 0 0 20px 20px;
}

.con .card-1:hover .face.face2 {
    transform: translateY(0);
}

.con .card-1 .face.face2 .content p {
    margin: 0;
    padding: 0;
    font-size: 1.1em;
    line-height: 1.8;
}
.icon{
    color:#ffffff;
}
.icon-hy{
    color:#ecaa1e;
    font-weight: bold;
}