body {
    background-image: url('../../img/bg-home.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    background-blend-mode: multiply;
}

:root {
    --page-background-color: #F0D5C9;
}

.jt-content {
    padding-top: 50px;
    margin: 0 auto;
}

.jt-cards-container {
    display: grid;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
}

.jt-card {
    width: 310px;
    height: 310px;
    position: relative;
    perspective: 500px;
    margin: 0 auto;
}

.jt-card-content {
    position: absolute;
    inset: 0;
    transition: transform 1.5s;
    transform-style: preserve-3d;
}

.jt-card:hover .jt-card-content,
.jt-card.flip .jt-card-content {
    transform: rotateY(180deg);
}

.jt-card .front,
.jt-card .back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background: #000;
    color: #F0D5C9;
    border-radius: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 7px 8px 29px 0px rgba(0, 0, 0, 0.20);
}

.jt-card .back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: rotateY(180deg);
}

.jt-card .back p {
    max-width: 85%;
    margin-bottom: 8px;
    color: #ffba40;
}

.ver-btn{
    width: 70px;
    height: 30px;
    border-radius: 70px;
    padding: 2px;
    border: 1px solid #ffba40;
    color: #ffba40;
    text-decoration: none;
    font-weight: 600;
}

.ver-btn:hover{
    background-color: #DE0032;
}

.icon-size{
    width: 70px;
}

@media screen and (max-width: 760px) {
    body {
        background-image: url('../../img/bg-home-mobile.jpg');
        }
    }


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

    .jt-card .jt-card-content,
    .jt-card.flip .jt-card-content {
        transform: rotateY(180deg);
        transition: transform .8s;
    }
}

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

    body,
    html {
        height: 100vh;
        width: 100vw;
        overflow: auto;
        padding-bottom: 80px;
    }

    .jt-content {
        padding-top: 110px;
    }

    .jt-cards-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .jt-cards-container.two-columns {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .jt-card {
        margin: 0;
        width: 210px;
        height: 210px;
    }

    .jt-cards-container.two-columns .jt-card {
        width: 260px;
        height: 260px;
        margin: 0 auto;
    }

}

@media screen and (min-width: 1280px) {
    .jt-card.flip .jt-card-content {
        transition: all 0s ease;
    }
    .jt-card-content:hover {
        transition: transform 0.5s;
    }
    .jt-card {
        width: 210px;
        height: 210px;
    }

    .jt-cards-container.two-columns .jt-card {
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }

    .jt-content {
        padding-top: 50px;
    }

    .icon-size{
        width: 50px;
    }
}

@media screen and (min-width: 1600px) {
    .jt-content {
        padding-top: 120px;
    }

    .jt-cards-container.two-columns .jt-card {
        width: 300px;
        height: 300px;
    }

    .jt-card {
        width: 310px;
        height: 310px;
    }

    .icon-size{
        width: 70px;
    }

    .jt-card .back p {
        max-width: 80%;
        font-size: 20px;
    }
}