.base__splide {
    position: absolute;
    width: 100%;
    height: 100%;
}

.base__splide ul {
    list-style-type: none;
}

.base__splide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.splide__pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
}

.splide__pagination:has(:nth-child(1) ~ :nth-child(13)) {
    bottom: -10%;
}

.base__splide .splide__pagination__page {
    display: block;
    width: 50px;
    height: 5px;
    cursor: pointer;
    border: 1px solid white;
    border-radius: 25px;
    transition: 1s ease-in-out;
    margin: 10px;
    position: relative;
}

.base__splide .splide__pagination__page.is-active {
    background-color: transparent;
    border-color: black;
    transform: none;
}

.base__splide .splide__pagination__page::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    z-index: 1;
}

@media screen and (max-width: 1400px) {
    .base__splide {
        all: revert;
        display: block;
        width: 100%;
        visibility: visible;
    }

    .base__splide .splide__list {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .base__splide .splide__list img {
        max-width: 100%;
        height: auto;
        display: block;
    }

}

/* ========= FULLSCREEN ========================================== */
.fullscreen_div {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fullscreen_div.open {
    opacity: 1;
    pointer-events: all;
}

.fullscreen_div .splide__arrow {
    position: absolute;
    width: 50%;
    height: 100%;
    opacity: 0 !important;
    border: none;
    border-radius: 0;
    z-index: 10;
    transition: opacity .3s ease-in-out;
    outline: none !important;
    cursor: default;
}

.fullscreen_div .splide__arrow svg {
    display: none;
}


.fullscreen_div .splide__arrow--prev {
    left: 0;
}

.fullscreen_div .splide__arrow--next {
    right: 0;
}

.fullscreen__splide {
    width: 100%;
    height: 100%;
}

.fullscreen__splide .splide__track {
    height: 100%;
}

.fullscreen__splide .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.fullscreen__splide .splide__slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fullscreen__close {
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 3rem;
    transition: font-size 0.5s;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.fullscreen__close:hover {
    font-size: 5rem;
}

@media screen and (max-width: 1400px) {
    .fullscreen__close {
        top: 15px;
        right: 15px;
        font-size: 3rem;
    }
}