/* Apply blurred background image */
body {
    margin: 0;
    padding: 0;
}

.bg-image {
    background-size: cover;
    filter: blur(70px);
    -webkit-filter: blur(70px);
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.story {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.story__slider {
    width: 400px;
    height: 690px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    /* Ensure the buttons are correctly positioned */
}

.story__slide video,
.story__slide img {
    height: 100%;
    width: 100%;
    /* object-fit: contain; */
    object-position: top;
}

.story__pagination {
    bottom: unset !important;
    top: 8px !important;
    display: flex;
    /* padding: 0 4px; */
}

.story__pagination .swiper-pagination-bullet {
    flex-grow: 1;
    border-radius: 100vh;
    height: 3px;
    margin: 0 2px !important;
    background-color: rgba(247, 247, 245, 0.4);
    opacity: 1;
}

.story__pagination .swiper-pagination-progress {
    height: 100%;
    width: 0%;
    border-radius: 100vh;
    background-color: #f7f7f5;
}

/* Style for the Prev/Next buttons */
.story__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.story__prev {
    left: 0px;
}

.story__next {
    right: 0px;
}

.story__button img {
    width: 24px;
    height: 24px;
}

.story__wrapper {
    display: flex;
    height: 100%;
}

.story__controls {
    position: absolute;
    top: 15px;
    right: 0;
    transform: translateX(-50%);
    z-index: 20;
}

.story__controls button {
    padding: 5px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.story__controls button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media only screen and (max-width: 767px) {
    .story__slider {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }


    .story__slide video,
    .story__slide img {
        height: 100%;
        width: 100%;
        /* object-fit: contain; */
        object-position: top;
    }
}