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

body {
    background: #CCFBFE;
    overflow: hidden;
    font-family: sans-serif;
}

.tinder {
    /* width: 100vw; */
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.loaded.tinder {
    opacity: 1;
}

.tinder--status {
    position: absolute;
    top: 50%;
    margin-top: -30px;
    z-index: 2;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.tinder--status i {
    font-size: 100px;
    opacity: 0;
    transform: scale(0.3);
    transition: all 0.2s ease-in-out;
    position: absolute;
    width: 100px;
    margin-left: -50px;
}

.tinder_love .fa-heart {
    opacity: 0.7;
    transform: scale(1);
}

.tinder_nope .fa-remove {
    opacity: 0.7;
    transform: scale(1);
}

.tinder--cards {
    flex-grow: 1;
    padding-top: 100px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 1;
}

.tinder--card {
    display: inline-block;
    /* width: 350px; */
    max-width: 250px;
    /* height: 400px; */
    background: var(--mf-white);
    /* padding-bottom: 40px; */
    border-radius: 8px;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    transition: all 0.3s ease-in-out;
    /* cursor: -webkit-grab; */
    /* cursor: -moz-grab; */
    cursor: grab;
    margin-top: -50px;
}

.moving.tinder--card {
    transition: none;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

.tinder--card img {
    max-width: 100%;
    pointer-events: none;
}

.tinder--card h3 {
    margin-top: 32px;
    font-size: 32px;
    padding: 0 16px;
    pointer-events: none;
}

.tinder--card p {
    margin-top: 6px;
    font-size: 20px;
    padding: 0 20px;
    pointer-events: none;
    text-align: left;
}

.tinder--buttons {
    flex: 0 0 100px;
    text-align: center;
    padding-top: 20px;
}

.tinder--buttons button {
    border-radius: 50%;
    line-height: 60px;
    width: 60px;
    border: 0;
    background: #FFFFFF;
    display: inline-block;
    margin: 0 8px;
}

.tinder--buttons button:focus {
    outline: 0;
}

.tinder--buttons i {
    font-size: 32px;
    vertical-align: middle;
}

.fa-heart {
    color: #FFACE4;
}

.fa-remove {
    color: #CDD6DD;
}


/* NewExtrnalCSS  */
.card-s-wrap {
    /* height: 70vh; */
    aspect-ratio: 2 / 3;
    perspective: 1000px;
    perspective-origin: center 50%;
    transform-style: preserve-3d;
    position: relative;
    margin: 0 auto;
    margin-top: 0px;
}

.card-s {
    /* width: 100%; */
    /* height: 100%; */
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    transform: translateZ(calc(-20px * var(--i))) translateY(calc(-5px * var(--i))) rotate(calc(-1deg * var(--i)));
    filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
    cursor: pointer;
    user-select: none;
    transition: transform 0.5s;
}





.card-s img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.card-location {
    display: block;
    font-size: 14px;
}


/* Swipe Introduction  */

.card-swip-tb::before {
    content: '';
    position: absolute;
    top: 200px;
    left: 0;
    background: url(../images/icon/swipe-left.svg);
    height: 250px !important;
    width: 200px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.card-swip-tb::after {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    background: url(../images/icon/swipe-right.svg);
    height: 250px !important;
    width: 200px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.card-swip-lr::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    background: url(../images/icon/swipe-up.svg);
    height: 250px !important;
    width: 200px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.card-swip-lr::after {
    content: '';
    position: absolute;
    right: 0px;
    top: 200px;
    background: url(../images/icon/swipe-down.svg);
    height: 250px !important;
    width: 200px !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

@media only screen and (max-width:1440px) {
    .tinder--card {
        margin-top: -20px;
    }

    .card-swip-tb {
        /*! margin-top: 150px; */
    }
}