* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.swiper-matcher {
    position: relative;
}

.swiper-matcher #swiper {
    height: 50vh;
    aspect-ratio: 2 / 3;
    perspective: 1000px;
    perspective-origin: center 50%;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    z-index: 99;
}

.swiper-matcher .card {
    position: absolute;
    touch-action: none;
    will-change: transform;
    border-radius: 10px;
    overflow: hidden;
    transform: translateZ(calc(-10px* var(--i))) translateY(calc(0px* var(--i))) rotate(calc(-1.5deg* var(--i)));
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s;
    width: 100%;
    height: 470px;
    background: transparent linear-gradient(144deg, #F8BBA3 0%, #8CC1BB 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 5px 15px #00000040;;
}


.card.second-card {
    background: transparent linear-gradient(144deg, #8CC1BB 0%, #F8BBA3 100%) 0% 0% no-repeat padding-box;
    transform: translateZ(calc(-10px * var(--i))) translateY(calc(0px * var(--i))) rotate(calc(1deg * var(--i)));
}
@media (min-width: 768px) {
    .swiper-matcher .card {
        height: 570px;
    }
}
@media (min-width: 1200px) {
    .swiper-matcher .card {
        height: 600px;
    }
}
.card-buttons {
    position: absolute;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#like.trigger,
#dislike.trigger {
    animation-name: animation2;
}

.icon span {
    font-size: 20px;
}
@media (min-width: 662px) {
    .icon span {
        font-size: 28px;
    }
}
@media (min-width: 768px) {
    .icon span {
        font-size: 34px;
    }
}
#like, #dislike {
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 30px;
    position: relative;
    z-index: 999;
}
@media (min-width: 662px) {
    #like, #dislike {
        background: #fff;
        width: 55px;
        height: 55px;
    }
}
#like:hover, #dislike:hover {
    background: #efefef;
}


.card.dismissing {
    display: none !important;
}


@media (min-width: 768px) {
    #like, #dislike {
        width: 85px;
        height: 85px;
    }
}

.swipe-hand .icon-swipe_hand {
    font-size: 120px;
}
@media (min-width: 768px) {
    .swipe-hand .icon-swipe_hand {
        font-size: 150px;
    }
}

.swiper-matcher .card .text {
    padding: 100px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.swiper-matcher .card .text h3 {
    font-size: 31px;
    line-height: 35px;
}

@media (min-width: 662px) {
    .swiper-matcher .card .text h3 {
        font-size: 36px;
        line-height: 37px;
    }
}
@media (min-width: 768px) {
    .swiper-matcher .card .text h3 {
        font-size: 44px;
        line-height: 45px;
    }
}
@keyframes animation1 {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

@keyframes animation2 {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}


.card.result-card {
    position: relative;
    top: 0;
    display: none;
    animation: fade-in 1s ease-out forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.card.result-card.active {
    display: block;
}
#lottie-container {
    height: 220px;
    margin-top: 50px;
}
@media (min-width: 768px) {
    #lottie-container {
        height: 240px;
        margin-top: 80px;
    }
}
.card.result-card .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 20px;
}

@media (min-width: 768px) {
    .card.result-card .text {
        padding: 50px 50px;
    }
}

#result-text {
    color: #000000;
    font-weight: 700;
    font-size: 21px;
}


.result-card .elementor-button {
    margin-top: 20px;
    font-size: 18px;
    padding: 10px 20px;
    color: #fff !important;
    z-index: 99;
    position: relative;
}
.result-card .elementor-button:hover {
    background: #E73B2A;
}