
#testimonial {
    padding: 10px 0 50px 0;
    background: var(--testimonial-bg-color) var(--rectangle-bg-url);
    background-size: cover;
    --testimonial-height: 200px;
}
#testimonial h2 {
    color: var(--testimonial-color);
}

#carousel {
    position: relative;
    width: var(--base-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
}
#slides {
    overflow: hidden;
    position: relative;
    width: 70%;
    margin: 0 auto;
    height: var(--testimonial-height);
}
#slides ul {
    list-style: none;
    width: 100%;
    height: var(--testimonial-height);
    margin: 0;
    padding: 0;
    position: relative;
}

#slides li {
    width: 100%;
    height: var(--testimonial-height);
    float: left;
    text-align: center;
    position: relative;
}


a.buttons {
    font-size: 50px;
    filter: var(--testimonial-button-color);
    padding: 9px;
    width: 35px;
}
a.buttons:hover,
a.buttons:focus {
    filter: var(--testimonial-button-hover-color);
}

.quote-phrase, .quote-author {
    display: table-cell;
    vertical-align: middle;
    padding: 5px 20px;
}

.quote-phrase {
    height: 160px;
    color: var(--testimonial-color);
    font-style: italic;
    text-align: center;
}
.quote-phrase p {
    text-align: center;
}
.quote-phrase > *:first-child::before {
    content: '"';
    margin-right: 3px;
}
.quote-phrase > *:last-child::after {
    content: '"';
    margin-left: 3px;
}

.quote-marks {
    font-size: 1.2rem;
    padding: 0 3px 3px;
    position: inherit;
}

.quote-author {
    font-size: .9em;
    font-style: italic;
    color: var(--testimonial-color);
    height: 30px;
    text-align: center;
}

.quoteContainer, .authorContainer {
    display: table;
    width: 100%;
}



@media screen and (max-width: 650px) {
    #testimonial {
        --testimonial-height: 250px;
    }
}
@media screen and (max-width: 550px) {
    #testimonial {
        --testimonial-height: 350px;
        padding-bottom: 20px;
    }
}
@media screen and (max-width: 415px) {
    #testimonial {
        --testimonial-height: 460px;
    }
}