.card::after,
.card img {
    border-radius: 50%;
}

.card {
    display: inline-block;
}
                
.stats {
    display: flex;
    justify-content: space-evenly;
}

.card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.6);
    width: 360px;
    height: 720px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, .5);
    margin: 1rem;
    position: relative;
    transform-style: preserve-3d;
    overflow: hidden;
    border: 1px solid black;
    backdrop-filter: blur(4px);
}
.card::before,
.card::after {
    content: '';
    position: absolute;
    z-index: -1;
}
.card::before {
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    border-radius: 10px;
    top: -.7rem;
    left: -.7rem;
}
/*
.card::after {
    height: 15rem;
    width: 15rem;
    background-color: #1089ff;
    top: -8rem;
    right: -8rem;
    box-shadow: 2rem 6rem 0 -3rem #9c1c20;
}
*/

.card img {
    width: 4rem;
    height: 4rem;
    box-shadow: 1px 1px 4px #000 !important;
    border: 2px solid #9c1c20 !important;
    border-radius: 50% !important;
}

.infos {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.name {
    margin-bottom: 0.5rem;
    text-align: center;
    text-wrap: pretty;
    height: auto;
}
.name h2 {
    font-size: 1.3rem;
}
.name h4 {
    font-size: .8rem;
    color: #333
}
.text {
    font-size: .9rem;
    margin-bottom: 1rem;
}

.stats {
    margin-bottom: 1rem;
    padding: 0;
}
.stats li {
    min-width: 5rem;
    width: 5rem;
    background: white;
    border: 1px solid black;
    border-radius: 5px;
    padding: 8px;
}
.stats li h3 {
    font-size: .99rem;
    text-align: center;
    line-height: 1rem;
    margin: 0;
    padding: 0;
}
.stats li h4 {
    font-size: .75rem;
    line-height: 1rem;
    text-align: center;
    margin: 0;
    padding: 0;
}
.card .links {
    display: flex;
    justify-content: space-evenly;
}
.card .links a,
.card .links button {
    font-family: 'Poppins', sans-serif;
    min-width: 84px;
    padding: .5rem;
    border: 1px solid #222;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all .25s linear;
    text-decoration: none;
    text-align: center;
}
.card .links a,
.card .links .follow,
.card .links .view:hover {
    background-color: transparent;
    color: #222;
}
.card .links a,
.card .links .view,
.card .links .follow:hover{
    background-color: #222;
    color: #FFF;
    border: 1px solid #222;
}

.card .links a.reverse,
.card .links .view.reverse,
.card .links .follow.reverse:hover{
    background-color: #fff;
    color: #222;
    border: 1px solid #222;
}

.card .links .view.reverse:hover{
    background-color: #fff;
    color: #222;
    border: 1px solid #222;
}

@media screen and (max-width: 450px) {
    .card {
        display: inline-block;
    }
    .cards .infos {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    .links button {
        min-width: 120px;
    }
}
.card .infos img {
    min-width: 200px;
    height: auto;
    max-height: 300px;
    display: flex;
    position: relative;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-shadow: 1px 1px 4px #000 !important;
    border: 1px solid #9c1c20 !important;
    border-radius: 8px !important;
    cursor: initial !important;

}
.card .profile_img {
    width: 20%;
    left: 40%;
    position: relative;
}
.card .infos ul {
    list-style: none;       
}
