#gallery-container {
    width: 100%;
    height: 20rem;
    overflow: hidden;
    position: relative;
}

.gallery {
    position: absolute;
    display: flex;
    width: 100%;
    top: 0;
    bottom: 0;
    transition: left 400ms 0ms ease;
}

.gallery-left,
.gallery-right {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    width: 3rem;
    position: absolute;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.gallery-left > img, 
.gallery-right > img {
    width: 2rem;
}

.gallery-left {
    left: 0;
    background-image: linear-gradient(to right, #00000055 70%, #00000000);
}

.gallery-right {
    right: 0;
    background-image: linear-gradient(to left, #00000055 70%, #00000000);
}

.gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 100%;
}
.gallery-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-item-desc {
    pointer-events: none;
    color: white;
    font-size: 4rem;
    position: absolute;
    z-index: 1;
    text-shadow: 0 0 2rem black;
    border: black;
}
