
body {
    background: rgba(218, 218, 218, 1);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    max-width: 800px;
    margin: auto;
}

.photo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.photo img {
    width: 200px;
    height: 280px;
    object-fit: cover;
    box-shadow: 10px 15px 25px 0 rgba(0, 0, 0, .2);
    display: block;
    transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1);
    margin-top: -10px;
}

.photo:hover img {
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .1);
}

.photo .glow-wrap {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    margin-top: -10px;
}

.photo .glow {
    display: block;
    position: absolute;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, .2);
    top: 0;
    filter: blur(5px);
    transform: rotate(45deg) translate(-450%, 0);
    transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.photo:hover .glow {
    transform: rotate(45deg) translate(450%, 0);
    transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.photo:hover img,
.photo:hover .glow-wrap {
    margin-top: 0;
}

.photo .name {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .photo img {
        width: 150px;
        height: 200px;
    }

    .photo .name {
        font-size: 16px;
    }

    .card {
        max-width: 100%;
    }

    table {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .photo img {
        width: 120px;
        height: 180px;
    }

    .photo .name {
        font-size: 14px;
    }

    table {
        font-size: 12px;
    }

    .btn {
        font-size: 12px;
    }

    .col-sm-12 {
        text-align: justify;
    }

    .photo {
        margin-bottom: 20px;
    }
}
