*,
*: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;
}

.todays-match-card-wrap {
    position: relative;
}

.todays-match-card-wrap::before {
    position: absolute;
    top: 0;
    right: 0;
    background: url('../images/icon/swip-right.svg');
    width: 30px;
    height: 30px;
}

.tinder--card {
    display: inline-block;
    max-width: 250px;
    background: var(--mr-white);
    border-radius: 8px;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    transition: all 0.3s ease-in-out;
    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 {
    perspective: 1000px;
    perspective-origin: center 50%;
    transform-style: preserve-3d;
    position: relative;
    margin: 0 auto;
    margin-top: 0px;
}

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

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

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

.tinder-dp {
    height: 400px;
    width: 250px;
    background-size: cover;
    pointer-events: none !important;
}

.tinder-body {
    background: rgb(237, 244, 246, 80%);
    padding: 5px;
    width: 90%;
    margin: 0 auto;
    margin-top: -74px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin-bottom: 11px;
}

.tinder-body a,
span {
    color: var(--mr-heading) !important;
}

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

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

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