.prev_show_content h1 {
    text-align: center;
    padding-top: 2rem;
}

.ps_gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width: 100%;
    gap: 2rem;
    margin-block: 4rem;
}

.ps_img_container {
    position: relative;
}

.ps_img_container figure img {
    width: 100%;
    border: 5px solid var(--white);
    filter: drop-shadow(0px 10px 5px rgba(0,0,0,.1));
    transform: translateY(0px);
    transition: transform .5s;
}

.ps_img_container figure img:hover {
    transform: translateY(-10px);
}

.ps_img_container_overlay {
    position: absolute;
    background-color: rgba(0,0,0,0);
    opacity: 0;
    width: 100%;
    height: 89%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(0px);
    text-transform: uppercase;
    transition: background-color .5s, opacity .5s, transform .5s;
    pointer-events: none;
}

.ps_img_container figure:hover .ps_img_container_overlay {
    transform: translateY(-10px);
    background-color: rgba(0,0,0,0.3);
    opacity: 1;
}

.ps_img_container_overlay_text {
    position: absolute;
    top: 50%;
    right: 40%;
    text-align: center;
    color: #FFF;
}

.ps_img_container figcaption {
    text-align: center;
    margin-top: 1rem;
}

/* MEDIA */ 

@media screen and (max-width:600px) {
    .ps_gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}