* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #161616;
}

.profile-card {
    position: relative;
    width: 230px;
    height: 230px;
    background: #fff;
    padding: 30px;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
    margin: 0 25px;
}

.profile-card:hover {
    border-radius: 10px;
    height: 260px;
    box-shadow: inset 5px 5px 10px green,
                inset -5px -5px 10px darkgreen;
}

.profile-card .img {
    position: relative;
    width: 100%;
    height: 100%;
    transition: .6s;
    z-index: 99;
}

.profile-card:hover .img {
    transform: translateY(-60px);
}

.img img {
    width: 100%;
    border-radius: 50%;
    box-shadow: 0 0 22px #3336;
    transition: .6s;
}

.profile-card:hover img {
    border-radius: 10px;
}

.caption {
    text-align: center;
    transform: translateY(-80px);
    opacity: 0;
    transition: .6s;
}

.profile-card:hover .caption {
    opacity: 1;
}

.caption p {
    font-size: 17px;
    color: #0ed145;
    margin: 2px 0 6px 0;
}

.caption h3 {
    font-size: 21px;
    color: black;
}




@media screen and (max-width: 900px) {
    h6 {
        font-size: xx-large;
        text-align: center;
        margin-top: 150px;
    }

    .main {
        flex-direction: column;
    }

    .profile-card {
        margin: 10px 0;
    }
    
    header {
        height: 50vh;
        min-height: 30vh;
        display: flex;
        flex-direction: column;
        background: #161616;
    }
}

