.reviews-carousel-container {
    padding: 80px 50px 70px 50px;
    transition: all 0.2s ease-in-out;
}

.carousel *:not(.buttons, .buttons a, h2, .review-card, .sub-header, .quote) {
    margin: 0 !important;
    padding: 0;
    margin-inline-end: 0;
    transition: all 0.2s ease-in-out;
}

.carousel {
    gap: 20px;
    margin: auto;
    width: 100%;
    height: 300px;
    max-width: 1250px;
    padding: 30px 20px;
    text-align: center;
    border: 4px solid white;
    font-family: Arial, sans-serif;
    border-radius: var(--default-border-radius);
}

.carousel h2 {
    top: -20px;
    z-index: 2;
    padding: 0 30px;
    position: absolute;
    background-color: var(--deep-aqua);
}

.review {
    width: 100%;
    max-width: 900px;
    font-weight: 200;
    font-size: 1.3em;
    letter-spacing: .05rem;
    margin-bottom: 10px;
    font-family: var(--def-secondary-font) !important;
}

.customer {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: var(--def-primary-font) !important;
}

.buttons {
    width: 100%;
    display: flex;
    padding: 0 20px;
    position: absolute;
    justify-content: space-between;
}

.buttons a {
    color: white;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    line-height: 0 !important;
    transition: all 0.2s ease-in-out;
}

.buttons a:hover {
    color: white;
    transform: scale(1.2);
}

.buttons a:focus {
    color: white;
    background-color: transparent !important;
}

.buttons .material-symbols-rounded {
    margin: 0 !important;
    line-height: normal !important;
}
.prev span, .next span {
    font-size: 2em;
    margin-inline-end: 0px;
}

.prev span {
    transform: rotate(180deg);
}

.exit-carousel {
    opacity: 0;
    position: absolute;
}

/* ---------------------------------- RESPONSIVE ---------------------------------- */

@media screen and (max-width: 1100px) {
    .carousel h2 {
        top: -15px;
        font-size: 1.5em;
    }

    .review {
        padding:0 20px !important;
        max-width: 700px;
        font-size: 1em;
    }

    .customer {
        font-size: 1em;
    }

    .buttons {
        padding: 0 10px;
    }
}

@media screen and (max-width: 800px) {
    .reviews-carousel-container {
        padding: 25px;
    }

    .carousel {
        height: 400px;
    }

    .review {
        padding:0 20px !important;
        max-width: 525px;
        font-size: 1em;
    }

    .prev span, .next span {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 500px) {
    .reviews-carousel-container {
        padding: 10px;
    }

    .carousel {
        padding: 10px;
        height: 500px;
    }

    .review {
        padding: 0 !important;
    }

    .carousel h2 {
        top: unset;
        position: relative;
        padding: 0px 10px !important;
        font-size: 1.2em;
    }

    .buttons {
        gap: 40px;
        padding: 0 5px;
        position: relative;
        justify-content: center;
    }
}

@media screen and (max-width: 300px) {
    .carousel {
        height: auto;
    }
}