.carousel-container {
    border: var(--border-4px);
    width: 48%;
    height: 100%;
    display: grid;
    grid-template-rows: repeat(8, 1fr);
}

.carousel-slides {
    position: relative;
    overflow: hidden;
    grid-column: 1;
    grid-row: 1 / 9;
}

.carousel-img {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img img {
    width: 98%;
    height: 98%;
    object-fit: contain;
}

.carousel-controls {
    z-index: 99;
    grid-column: 1;
    grid-row: 5;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 1em;
    padding-right: 1em;
}

.carousel-left-button,
.carousel-right-button {
    font-size: 4rem;
    color: var(--black);
}

@media screen and (max-width: 575px) {
    .carousel-container {
        width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .carousel-container {
        width: 100%;
    }
}
