.glider,
.glider-contain {
    margin: 2.4rem auto;
    position: relative;
    scrollbar-width: none;
}

.glider,
.glider-track {
    transform: translateZ(0);
    gap: 2rem;
}

.glider-dot,
.glider-next,
.glider-prev {
    border: 0;
    padding: 0;
    user-select: none;
    outline: 0
}

.glider-contain {
    width: 100%
}

.glider {
    overflow: -moz-scrollbars-none;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none
}

.glider-track {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    z-index: 1;
    max-height: max-content;
}

.glider.draggable {
    user-select: none;
    cursor: -webkit-grab;
    cursor: grab
}

.glider.draggable .glider-slide img {
    user-select: none;
    pointer-events: none
}

.glider.drag {
    cursor: -webkit-grabbing;
    cursor: grabbing
}

.glider-slide {
    user-select: none;
    align-items: center;
    width: 100%;
    min-width: 150px;
}

.glider-slide img {
    max-width: 100%;
    max-height: 52rem;
}

.glider::-webkit-scrollbar {
    opacity: 0;
    height: 0
}

.glider-next,
.glider-prev {
    position: absolute;
    background: 0 0;
    z-index: 2;
    font-size: 40px;
    text-decoration: none;
    left: -23px;
    top: 30%;
    cursor: pointer;
    color: #666;
    opacity: 1;
    line-height: 1;
    transition: opacity .5s cubic-bezier(.17, .67, .83, .67), color .5s cubic-bezier(.17, .67, .83, .67)
}

.glider-next:focus,
.glider-next:hover,
.glider-prev:focus,
.glider-prev:hover {
    color: rgba(var(--color-button-text));
}

.glider-next {
    right: -23px;
    left: auto
}

.glider-next.disabled,
.glider-prev.disabled {
    opacity: .25;
    color: #666;
    cursor: default
}

.glider-hide {
    opacity: 0
}

.glider-dots {
    user-select: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding: 0
}

.glider-dot {
    display: block;
    cursor: pointer;
    border: 0.1rem solid rgba(var(--color-button-text));
    border-radius: 999px;
    background: transparent;
    width: 12px;
    height: 12px;
    margin: 7px
}

.glider-dot:focus,
.glider-dot:hover {
    background: rgba(var(--color-button-text));
}

.glider-dot.active {
    background: rgba(var(--color-button-text));
}

@media(max-width:36em) {
    .glider::-webkit-scrollbar {
        opacity: 1;
        -webkit-appearance: none;
        width: 7px;
        height: 3px
    }

    .glider::-webkit-scrollbar-thumb {
        opacity: 1;
        border-radius: 99px;
        background-color: rgba(156, 156, 156, .25);
        -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .25);
        box-shadow: 0 0 1px rgba(255, 255, 255, .25)
    }
}

.slider-container {
    display: flex;
    flex-direction: column;
    max-height: 53rem;
}

.glider__container {
    position: relative;
}

.glider__container .prev,
.glider__container .next {
    position: absolute;
    top: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
}

.glider__container .prev {
    left: -5%;
}

.glider__container .next {
    right: -5%;
    rotate: 180deg;
}
.slide-image {
    height: auto;
    width: auto;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: var(--media-radius);
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 1.6rem;
}

@media screen and (max-width: 749px) {
    .glider__container .prev,
    .glider__container .next {
        display: none;
    }

    .glider-dots {
        display: none;
    }

    .control-button-glider {
        display: none;
    }

    .button-container {
        margin-top: 0rem;
    }

    .glider-track {
        margin-bottom: 0rem !important;
    }

    .glider {
        margin: 1.6rem auto;
    }

    .slider-counter--dots {
        display: none;
    }
}

.control-button-glider {
    position: absolute;
    z-index: 2;
    background: none;
    border: 0;
    transition: opacity .5s cubic-bezier(.17, .67, .83, .67), color .5s cubic-bezier(.17, .67, .83, .67);
}

.next-button-glider {
    display: none;
    rotate: 180deg;
    margin-top: -25%;
    margin-left: 65%;
}

.prev-button-glider {
    display: none;
    margin-top: 28%;
    margin-left: -10%;
}

.glider-center-text {
  text-align: center;
  
}

.glider-link {
  text-decoration: none;
  font-size: inherit;
  margin-top: 1.6rem;
}

@-moz-document url-prefix() {
    .glider-track {
        margin-bottom: 17px;
    }
    .glider-wrap {
        overflow: hidden;
    }
}