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

body {
    background: #fff;
    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: 0px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}

.tinder--card {
    display: inline-block;
    width: 80vw;
    max-width: 400px;
    padding-bottom: 30px;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    position: absolute;
    will-change: transform;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 50px rgba(1,1,1,0.2);
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
}


.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: 12px;
    font-size: 20px;
    padding: 0 16px;
    pointer-events: none;
}

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

.tinder--buttons button {
    border-radius: 50%;
    line-height: 60px;
    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;
}

.match-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 120vh;
    text-align: center;
    color: white;
    z-index: 999;
    padding-top: 70px;
    background-color: rgba(1,1,1,0.85);
    transition: top .3s;
}

.match-container i {
    font-size: 72px;
}

.match-text {
    padding: 30px 0;
}

.match-text h1 {
    margin-bottom: 0.5em;
}

.match-profiles {
    display: flex;
}

.match-profiles .profile {
    width: 50%;
    padding: 0 5%;
}

.match-profiles .profile img {
    width: 100%;
    height: auto;
    border-radius: 600px;
    border: 3px solid white;
}

.buttons {
    padding: 50px 0 0 0;
}

.button {
    display: block;
    text-align: center;
    padding: 20px 25px;
    width: 310px;
    margin: 5px auto 20px;
    font-size: 24px;
    background-color: white;
    color: black;
    border-radius: 7px;
}

.button-blue {
    background-color: #ffc000;
}
