@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap"); .vertical-slider-body h2 {
    display: none;
}

.vertical-slider-wrapper {
    position: fixed;
    top: 90px;
    left: 0px;
    width: 130px;
    height: calc(-70px + 100vh);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 10px;
    z-index: 1000;
}

.vertical-slider-wrapper::before {
    top: 0px;
    background: linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0));
}

.vertical-slider-wrapper::after {
    bottom: 0px;
    background: linear-gradient(to top, rgb(255, 255, 255), rgba(255, 255, 255, 0));
}

.vertical-slider-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.vertical-slider {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.vertical-slider .slide {
    width: 110px;
    aspect-ratio: 1 / 1.2;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    padding: 5px 5px 20px;
    transform: rotate(-2deg);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

.vertical-slider .slide:nth-child(2n) {
    transform: rotate(2deg);
}

.vertical-slider .slide:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    z-index: 2;
}

.vertical-slider .image-box {
    width: 100%;
    height: 0px;
    padding-bottom: 75%;
    overflow: hidden;
    background-color: rgb(240, 240, 240);
    position: relative;
}

.vertical-slider .image-box img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.vertical-slider .title {
    font-family: "Permanent Marker", cursive;
    font-size: 10px;
    color: rgb(51, 51, 51);
    text-align: center;
    margin-top: 10px;
    transform: rotate(-1deg);
}

@media (max-width: 768px) {
    .vertical-slider-body h2 {
        display: block;
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        padding-top: 4rem;
        color: rgb(51, 51, 51);
        text-align: center;
    }

    .vertical-slider-wrapper {
        width: 90px;
    }

    .vertical-slider .slide {
        width: 80px;
        margin-bottom: 12px;
    }

    .vertical-slider .title {
        font-size: 9px;
    }

    .vertical-slider-wrapper {
        position: static;
        width: 100%;
        height: auto;
        overflow: auto hidden;
        display: flex;
        flex-direction: row;
        padding: 10px 0px;
    }

    .vertical-slider-container {
        display: flex;
        flex-direction: row;
        height: auto;
        width: auto;
    }

    .vertical-slider {
        flex-direction: row;
        display: flex;
        width: max-content;
    }

    .vertical-slider .slide {
        flex-direction: column;
        align-items: center;
        min-width: 100px;
        height: 100px;
        padding: 0px;
        margin-right: 10px;
    }

    .vertical-slider .image-box {
        width: 100px;
        height: 75px;
    }

    .vertical-slider .image-box img {
        width: 100%;
        height: 100%;
    }

    .vertical-slider .title {
        font-size: 12px;
        margin-top: 5px;
    }
}
