/* ==========================Font========================== */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

@font-face {
    font-family: 'robotoregular';
    src: url(../fonts/roboto-regular-webfont.woff) format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "robotoregular", sans-serif;
} */

.responsive-card {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: #060c21; */
    min-height: 100vh;
    margin-bottom: -100px;
}

.responsive {
    position: relative;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    grid-template-rows: auto;
    gap: 40px 40px;
}

.round-card {
    position: relative;
    height: 450px;
    background: #060c21;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    cursor: pointer;

}

.round-card:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none;
}

.round-card.skew::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #fff;
    transform: skew(2deg, 2deg);
    z-index: -1;
}

.round-card.skew.glow:nth-child(1)::before {
    background: linear-gradient(315deg, #e91e63, #5d02ff);
}

.round-card.skew.glow:nth-child(2)::before {
    background: linear-gradient(315deg, #5d02ff, #e91e63);
}

.round-card.skew.glow:nth-child(3)::before {
    background: linear-gradient(315deg, #e91e63, #5d02ff);
}

.round-card.skew.glow:nth-child(4)::before {
    background: linear-gradient(315deg, #5d02ff, #e91e63);
}

.round-card .res-content {
    position: relative;
    padding: 20px;
    transform: translateY(40px);
}

.round-card .res-content h2 {
    position: absolute;
    top: -60px;
    right: 20px;
    margin: 0;
    padding: 0;
    font-size: 10em;
    color: rgba(255, 255, 255, .05);
    transition: .5s;
}

.round-card:hover .res-content h2 {
    top: -120px;
}

.round-card .res-content h3 {
    margin: 0 0 10px;
    padding: 0;
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

.round-card .res-content p {
    margin: 0;
    padding: 0;
    font-size: 16px;
    color: #fff;
}

/* .round-card .res-content a {
    margin: 20px 0 0;
    position: relative;
    padding: 10px 20px;
    text-decoration: none;
    border: 1px solid #fff;
    display: inline-block;
    color: #fff;
    transition: .5s;
    transform: translateY(-40px);
    opacity: 0;
    visibility: none;
}

.round-card:hover .res-content a {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.round-card .res-content a:hover {
    background: #fff;
    color: #000;
} */

@keyframes colorChange {
    0% {
        color: #fff;
    }

    50% {
        color: #b1b493;
    }

    80% {
        color: #4f8a8b;
    }

    100% {
        color: #fff;
    }
}

/* =======================Responsive Breakpoint ========================== */

@media only screen and (max-width:992px) {
    .responsive {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .responsive .round-card {
        width: 450px;
    }
}

@media only screen and (max-width:768px) {

    .responsive .round-card {
        max-width: 350px;
        flex-direction: column;
        height: auto;
    }

    .responsive .round-card .imgBox {
        position: relative;
    }

    .responsive .round-card .imgBox,
    .responsive .round-card:hover .imgBox {
        width: 100%;
        height: 210px;
        left: 0;
        border-radius: 0;
    }

    .responsive .round-card .imgBox img,
    .responsive .round-card:hover .imgBox img {
        max-width: 100px;
    }

    .responsive .round-card .res-content {
        position: relative;
        width: 100%;
    }
}