:root{
    --bg-color-1: #e7e7e7;
    --border-radius: 20px;
    --card-bg-color: #FFFFFF;
    --main-font: 'Urbanist', sans-serif;
    --box-shadow: 11px 10px 17px 5px #adadadbf;
    --vagrant-color-1: rgb(252, 101, 14);
    --dim-color-1: #6b6b6b;
}

body{
    background-color: var(--bg-color-1);
    font-family: var(--main-font);
}

.cards-container{
    display: flex;
    flex-wrap: wrap;
}

.card{
    background-color: var(--card-bg-color);
    height: 32rem;
    width: 20rem;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 1rem;
    position: relative;
    top: 0;
    left: 0;
    /* transition: all 700ms ease; */
    transition-duration: 5000ms;
    transition-timing-function: ease-out;
}

.hide{
    top: 70rem;
    left: -70rem;
}

.card-header{    
    flex: 2;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    background-image: url('https://unsplash.it/400/300');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.avatar {
    border-radius: 50%;
    height: 100px;
    width: 100px;
    /* border: 2px solid var(--card-bg-color); */
    position: relative;
    top: 50px;
}

.card-body{
    flex: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.card-footer{
    flex: 1;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    display: flex;
    background-color: var(--vagrant-color-1);
}

.title{
    color: var(--vagrant-color-1);
}

.description{
    text-align: center;
    color: var(--dim-color-1);
    line-height: 1.4rem;
}

.stats{
    flex: 1;
    color: var(--card-bg-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8rem;
}

.stats-value{
    font-weight: bold;
    font-size: 1.3rem;
}