:root {

    --c-light: #FFFFFF;
    --c-dark: #000000;
    --c-cream: #FFE9C9;
    --c-red: #740C0A;
}

.testimonials {

  position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.testimonials h2 {

    font-family: 'Vast Shadow',display;
    font-size: 50px;
}

h2 {

    text-transform: uppercase;
}

.testimonials .track {

    position: relative;
    width: 100%;
}

.testimonials .testimonial {

    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--c-cream);
    border-style: solid;
    border-width: 4px;
    border-color: var(--c-red);
    padding: 30px;
    visibility: none;
    opacity: 0;
    transform: translateX(5rem);
    z-index: -1;
    transition: all 0.3s ease-in-out;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.testimonials .testimonial.active {

    position: initial;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    display: flex;
    z-index: 1;
}

.testimonials .testimonial span {

    font-family: 'Vast Shadow',display;
    font-size: 30px;
}
