:root {
    /* --background: #3c2c26; */
    --background: #191515;
    --light: #ffe9c6;
    --emph: #ffe01a;
    --emph2: #ff9900;
    --emph3: #813e08;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: min(50vmin, 400px);
}

section .carousel{    
    margin: 30px 0 10px;
}

.carousel-track {
    display: flex;
    gap: 5px;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    height:min(50vmin, 400px);
    width: auto;
    display: block
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 2;
}

.arrow.left {
    left: 10px
}

.arrow.right {
    right: 10px
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.dot.active {
    background: gray;
    outline:2px solid white;
}

.carousel::before,
.carousel::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    pointer-events: none;
    z-index: 1;
}

.carousel::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}

.carousel::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.light .carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--light), rgba(255, 255, 255, 0));
}

.light .carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--light), rgba(255, 255, 255, 0));
}


@media (max-width:700px) {
    .dot{
        width: 6px;
        height: 6px;
    }
    .dot.active{
        outline:1px solid white;
    }
}