.card {
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
}

.userpicture {
    position: relative;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 3;
    margin: 10px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
}

.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    object-fit: cover;
    z-index: 0;
}

.name {
    font-size: 22px;
    position: relative;
    /* right: 20px; */
    top: 50%;
    color: #2D327E;
}

.bio {
    margin: 15px;
    margin-top: 0px;
}

@media only screen and (max-width: 2000px) {
    .main {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 1500px) {
    .main {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 1100px) {
    .main {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 650px) {
    .main {
        grid-template-columns: 1fr;
    }
    .userpicture {
        position: relative;
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 50%;
        z-index: 3;
        margin: 10px;
        box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
    }
}
