
.carousel-container
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel {
    --carousel-width: 30vw;
    --carousel-height: 700px;
    --navdots-height: 24px;
    --active-index: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    width: var(--carousel-width);
    height: var(--carousel-height);
}
.carousel .slides {
    display: flex;
    padding: 0;
    margin: 0;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior: contain;
    list-style-type: none;
}
.carousel .slides img {
    width: var(--carousel-width);
    height: calc(var(--carousel-height) - var(--navdots-height));
    scroll-snap-align: start;
}
.carousel .nav-dots {
    display: none;
    justify-content: space-around;
    height: var(--navdots-height);
    padding: 20px 0 0 0;
    margin: 0;
    list-style-type: none;
}
.carousel .nav-dots .dot a {
    position: relative;
    display: block;
    width: calc(var(--navdots-height) / 2);
    height: 50%;
}
.carousel .nav-dots .dot a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}
.carousel .nav-dots .dot a:hover::before {
    background: rgba(0, 0, 0, 0.4);
}
.carousel .nav-dots .dot a.active::before {
    background: rgba(0, 0, 0, 0.6);
}
.carousel .nav-arrows {
    margin: 0;
    list-style-type: none;
}
.carousel .nav-arrows li {
    position: absolute;
    bottom: calc(50%);
    width: 2em;
    height: 2em;
    border: 5px solid black;
    background-color: #fff;
    cursor: pointer;
}
.carousel .nav-arrows li.arrow-left {
    left: 20px;
    border-right-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(-45deg);
    background-color: #fff;
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    transition: 1s cubic-bezier(0.2, 1, 0.3, 1);
}
.carousel .nav-arrows li.arrow-right {
    right: 20px;
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(45deg);
    background-color: #fff;
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    transition: 1s cubic-bezier(0.2, 1, 0.3, 1);
}
.carousel .nav-arrows li.arrow-left::before {
    position: absolute;
    content: "";
    top: calc(-13%);
    left: calc(-15%);
    width: inherit;
    height: inherit;
    border: inherit;
}
.carousel .nav-arrows li.arrow-left:hover {
    border-left-color: #CAAD59;
    border-top-color: #CAAD59;
}
.carousel .nav-arrows li.arrow-left:hover::before {
    border-left-color:#CAAD59;
    border-top-color: #CAAD59;
    animation: fadeToLeft 2.5s cubic-bezier(0.2, 1, 0.3, 1) infinite;
}
.carousel .nav-arrows li.arrow-right::before {
    position: absolute;
    content: "";
    top: calc(-13%);
    left: calc(-15%);
    width: inherit;
    height: inherit;
    border: inherit;
}
.carousel .nav-arrows li.arrow-right:hover {
    border-right-color: #CAAD59;
    border-top-color: #CAAD59;
}
.carousel .nav-arrows li.arrow-right:hover::before {
    border-right-color: #CAAD59;
    border-top-color: #CAAD59;
    animation: fadeToRight 2.5s cubic-bezier(0.2, 1, 0.3, 1) infinite;
}

@keyframes fadeToLeft {
    5% {
        transform: translate(10%, 10%);
    }
    to {
        transform: translate(-100%, -100%);
        opacity: 0;
    }
}
@keyframes fadeToRight {
    5% {
        transform: translate(-10%, 10%);
    }
    to {
        transform: translate(100%, -100%);
        opacity: 0;
    }
}



.option-active
{
    background-color: #000000;
    color: #CAAD59;
}


@media (max-width: 768px) {
    .carousel {
        --carousel-width: 105vw;
        --carousel-height: 500px;
    }

    .carousel .slides img {
        height: calc(var(--carousel-height) - var(--navdots-height));
    }

    .carousel .nav-dots {
        display: none;
        height: var(--navdots-height);
        padding: 10px 0 0 0;
    }

    .carousel .nav-dots .dot a {
        width: calc(var(--navdots-height) / 2);
        height: 50%;
    }

    .carousel .nav-arrows li {
        width: 1.5em;
        height: 1.5em;
        bottom: calc(50% - 0.75em); /* Adjust vertical positioning */
    }

    .carousel .nav-arrows li.arrow-left {
        left: 20px;
    }

    .carousel .nav-arrows li.arrow-right {
        right: 20px;
    }
}
