@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    background-color: #444;
}

#art-gallery-title {
    text-align: center;
    background-color: #222;
    padding: 1vw;
    border-color: #f9f;
    border-width: 1rem;
    border-style: outset;
}

img {
    position: relative;
    background-color: #000;
    border-color: #dbd;
    border-width: 1rem;
    border-style: outset;
    border-radius: 15px;
    
    box-shadow: #222c 0.5rem 0.5rem 0.25rem;
    
    min-width: 12rem;
    max-width: 14rem;
    
    transform: scale3d(1, 1, 1);
    z-index: 0;
    filter: saturate(0.9);
    /* transition: transform 500ms ease-in-out, z-index 500ms ease-in-out, border-color 500ms ease-in-out, filter 500ms ease-in-out, position 500ms ease-in-out; */
    transition: all 500ms ease-in-out;
    /* animation: lower ease-in-out 0.5s forwards; */
    
}

img:hover {
    transform: scale3d(2, 2, 2);
    z-index: 1;
    filter: saturate(1);
    border-color: #f9f;
    box-shadow: #2228 1rem 1rem 0.5rem;
    transition: all 250ms ease-in-out;
    /* transition: transform 100ms ease-in-out, z-index 100ms ease-in-out, border-color 100ms ease-in-out, filter 100ms ease-in-out; */
    /* animation: raise ease-in-out 0.5s forwards; */
}

.grid-container {
    margin-top: 5vw;
    display: grid;
    position: absolute;
    grid-template-columns: repeat(auto-fit, minmax(min(15rem, 75%), 1fr));
    gap: 1rem;
    justify-items: center;
    align-items: center;
    width: 75vw;
    right: 12.5vw;
}

.item {
    height: 25vw;
    
    overflow: hidden;
    padding: 0.5em;
    background-color: #111;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 2rem;
}





