#vertical-slider {
    display: flex;
    flex-direction: row;
    margin-left: auto;
    z-index: 2;
}

#vertical-slider-frame {
    margin-left: auto;
    border-radius: 12px 0 0 12px;
    background-color: #FFFFFFB4;
    backdrop-filter: blur(10px);
}

#vertical-slider-overlay {
    display: flex;
    flex-direction: column;
    padding: 6px;
    border-radius: 12px 0 0 12px;
    max-height: calc(67vh - 114px);
    overflow: hidden;
    background: linear-gradient(180deg, #01BAD6 2.4%, #01BAD61A 24.52%);
}

#vertical-slider-item-container {
    overflow-y: scroll;
    max-height: calc(67vh - 114px);
}

#vertical-slider-item-container::-webkit-scrollbar {
    display: none;
}

#vertical-slider-title {
    margin: 2px 0px 8px 4px;
    height: 18px;
    width: 45px;
    color: white;
    font-size: 14px;
}

.vertical-slider-item-wrapper {
    perspective: 200px;
    position: relative;
}

.vertical-slider-item-back {
    /*turn and face the back*/
    transform: rotateY(180deg);
    position: absolute;
    top: 0;
}

.vertical-slider-item,
.vertical-slider-item-back {
    width: 52px;
    height: 62px;
    border-radius: 8px;
    margin-bottom: 6px;
    overflow: hidden;
    backface-visibility: hidden;
    background-color: #fff;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.vertical-slider-item-image {
    position: absolute;
    object-fit: cover;
    width: 52px;
    height: 62px;
    overflow: hidden;
    border-radius: 8px;
}

.vertical-slider-item-overlay {
    width: 52px;
    height: 62px;
    padding: 4px;
    background: linear-gradient(180deg, #01BAD61A 60%, #01BAD6 80%);
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
}

.vertical-slider-item-text {
    color: white;
    font-weight: 700;
    font-size: 12px;
    margin-top: 42px;
    word-break: break-all;
}

.flip-front,
.flip-back {
    animation-duration: 1s;
    animation-timing-function: ease-out;
}

.flip-front {
    animation-name: rotateBackToFront;
    /*stay at 0deg (face front) after animation*/
    animation-fill-mode: forwards;
}

.flip-back {
    animation-name: rotateFrontToBack;
}

@keyframes rotateBackToFront {
    from {
        transform: rotateY(-900deg);
    }

    to {
        transform: rotateY(0deg);
    }
}

@keyframes rotateFrontToBack {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(900deg);
    }
}