.carousel {
    width: 96%;
    aspect-ratio: 3/2;
    display: flex;
    gap: 1em;
    overflow-x: auto;
    margin: 1em auto;
    anchor-name: --carousel;
    scroll-snap-type: x mandatory;
    scroll-marker-group: after;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    border: 2px solid #fff;
    object-fit: cover;
    border-radius: 10px;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel::scroll-button(right), .carousel::scroll-button(left) {
    content: "❯";
    border: none;
    background-color: #AA272F;
    color: #F5F5F5;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    padding-bottom: .1em;
    cursor: pointer;
    position: fixed;
    position-anchor: --carousel;
    position-area: right center;
    translate: -50%;
    z-index: 1000;
}

.carousel::scroll-button(left) {
    content: "❮";
    position-area: left center;
    translate: 50%;
}

.carousel::scroll-marker-group {
    display: flex;
    justify-content: center;
    gap: .5em;
    margin-top: -3em;
}

.card::scroll-marker {
    content: "";
    height: 1em;
    width: 1em;
    background-color: #d5d5d5;;
    border-radius: 50%;
}

.card::scroll-marker:target-current {
    background-color: #AA272F;
}

.card {
    scroll-snap-align: start;
    flex: 0 0 100%;
    aspect-ratio: 3/2;
    text-align: center;
    align-content: center;
}

.card img {
    width: 100%;
    aspect-ratio: 3/2;
}