.flex-center-vertically {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-card-1 {
    width: 18rem;
    height: 420px;
    background: white;
    margin: 0 auto;
    border-radius: 10px;
    text-align: center;
    box-shadow: 4px 4px 10px #999;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.profile-card-1 .img img {
    /* width: 160px; */
    height: 160px;
    padding: 3px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.6);
    position: absolute;
    left: calc(50% - 84px);
    top: 26px;
}

.profile-card-1 .img {
    height: 130px;
    width: 100%;
    background-image: linear-gradient(rgba(128, 166, 236, 0.4), rgba(169, 173, 236, 0.95));
    /* background-image: url("../images/profile-card/bac.jpg"); */
    /* background-image: linear-gradient(rgba(128, 166, 236, 0.4), rgba(169, 173, 236, 0.95)), url("../images/profile-card/bac.jpg"); */
    padding: 20px;
    box-sizing: border-box;
    position: relative;
}

.profile-card-1 .mid-section {
    position: absolute;
    height: 200px;
    width: 100%;
    top: 200px;
    left: 0;
    padding: 10px 10px 0;
    box-sizing: border-box;
    background: white;
}

.profile-card-1 .mid-section .name {
    color: #02416b;
    font-size: 1.2em;
    padding-top: 5px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.profile-card-1 .mid-section .description {
    color: gray;
    text-decoration: none;
    font-size: 0.9em;
}

.profile-card-1 .mid-section .description a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.profile-card-1 .mid-section .line {
    background: #6d98e7;
    width: 80%;
    height: 2px;
    margin: 5px auto -3px;
}

.profile-card-1 .mid-section .stats {
    display: flex;
    position: absolute;
    left: 10%;
    padding-top: 10px;
    width: 80%;
    justify-content: space-around;
}

.profile-card-1 .mid-section .stats .stat {
    font-size: 1.0em;
    color: #333333;
    padding: 5px;
    font-weight: bold;
}

.profile-card-1 .mid-section .stats .stat .subtext {
    color: gray;
    font-size: 0.7em;
    font-weight: normal;
}

.profile-card-1 .links {
    width: 100%;
    height: 2.5rem;
    margin: auto;
    background: #ffffff;
    border-top: 1px solid #3563e4;
    margin-top: 35px;
    color: white;
    font-size: 2em;
    line-height: 1.1em;
    position: absolute;
    bottom: 0;
}

.profile-card-1 .links a {
    color: white;
    padding-bottom: 5px;
}

.profile-card-1 .links .fb {
    position: absolute;
    left: 0;
    width: 2em;
    height: 100%;
    background-color: #3b5998;
}

.profile-card-1 .links .fb:hover {
    background-color: #2162db;
}

.profile-card-1 .links .twitter {
    position: absolute;
    left: 2em;
    width: 2em;
    height: 100%;
    background-color: #55acee;
}

.profile-card-1 .links .twitter:hover {
    background-color: #50dcff;
}

.profile-card-1 .links .follow {
    position: absolute;
    left: 4em;
    width: 2em;
    height: 100%;
    background-color: #8a3ab9;
}

.profile-card-1 .links .follow:hover {
    background-color: #f369ec;
}

/* image after effect */
.profile-card-1 .img::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    left: calc(50% - 91.5px);
    top: 20px;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

/* image before effect */
.profile-card-1 .img::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    left: calc(50% - 95px);
    top: 15.5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.profile-card-1 .view-more {
    position: absolute;
    top: calc(50% - 0.5em);
    left: calc(50% - 0.5em);
    z-index: 2;
    font-size: 2em;
    color: #2ecc71;
}