.carousel-section {
    display: flex;
    flex-direction: row;
    margin: 2rem 0;
}

.carousel-section .spacer-sides {
    flex: 1;
}

.carousel-container {
    flex: 3;
    position: relative;
}

.carousel-track-container {
    width: 100%;
    min-width: 870px;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    top: 0;
    bottom: 0;
    animation: fade .5s;   
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.carousel-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: opacity 0.25s;
}

.carousel-button:hover {
    opacity: 0.75;
}

.button-arrow-left {
    left: -30px;
}

.button-arrow-right {
    right: -30px;
}

.carousel-button img {
    width: 16px;
}


/* Tablet */
@media (max-width: 69em) {
    .carousel-container {
        flex: 16;
    }

    .carousel-track-container {
        min-width: 0;
    }

    .button-arrow-left {
        left: -20px;
    }
    
    .button-arrow-right {
        right: -20px;
    }
    
    .carousel-button img {
        width: 16px;
    }
}
