.title{
    text-align: center;
    font: 3rem;
    margin-top: 3rem;
}

.section-a-about{
    display: grid;
    background: url("../img/CDL.jpg") center;
    height: 50vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: center;
    filter: brightness(0.5);
    -webkit-filter: brightness(0.5);
}

.contain h2{
    width: 100%;
    font-weight: bolder;
    text-align: center;
    color:rgba(255, 255, 255, 1);
    text-shadow: 2px 2px #000;
    font-size: 10vw;
}

.section-coaches,
.section-testimonials,
.underline-fade,
.section-jim{
    max-width: 1000px;
    margin: auto;
}

.section-b-about .contain{
    display: grid;
    grid-gap: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    max-width: 1200px;
    margin:auto;
}

.section-b-about .contain img{
    max-height: 30%;
    max-width: 30%;
    margin: auto;
}

.section-mission h2{
    margin: 2rem;
    text-align: center;
    font-size: 4rem;;
}

.section-mission .contain{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    text-align: center;
    grid-gap: 2rem;
    background: rgb(250, 250, 250);
    padding: 2rem;
}

.section-mission .contain img{
    height: 50%;
    width: 50%;
}

.section-mission .contain h3{
    font-size: 10vw;
    font-family:'Arvo', sans-serif;
}

.section-coaches .contain{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    grid-gap: 2rem;
    max-width: 1200px;
    margin: 2rem;
    padding: 2rem;
    margin: auto;
}
.section-coaches .contain div,
.section-coaches .contain img{
    align-self: center;
}

.section-testimonials{
    width: 100%;
    height: 40vh;
}

.slider{
    height: 35vh;
    width: 90%;
    margin: 2rem auto;
    overflow: visible;
    position: relative;
}

.mask{
    overflow: hidden;
    height: 35vh;
    line-height: 35vh;
}

.slider ul{
    margin: 0;
    padding: 0;
    position: relative;
}

.slider li{
    width: 100%;
    height: 35vh;
    position: absolute;
    left: -100%;
    list-style: none;
}

.slider .quote{
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    font-size: 1.5rem;
    text-align: center;
}

.slider li.slide1 {
    animation: cycle 30s linear infinite;
}

.slider li.slide2 {
    animation: cycle2 30s linear infinite;
}

.slider li.slide3 {
    animation: cycle3 30s linear infinite;
}

.section-testimonials .contain #one{
    display: none;
    animation: slide1 1000s infinite;
}

.section-testimonials i{
    color: #ccc;
}

.section-jim .contain{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    grid-gap: 2rem;
    max-width: 1200px;
    margin: 2rem;
    padding: 2rem;
}

.section-jim .contain .btn{
    margin: 1rem 0;
}


.section-jim .contain img{
    filter: grayscale() brightness(0.8);
}


@keyframes cycle{
    0%{
        left: 0;
    }
    4%{
        left: 0;
    }
    29%{
        left: 0;
        opacity: 1;
        z-index: 0;
    }
    33%{
        left: 100%;  
        opacity: 0;
        z-index: 0;
    }
    34%{
        left: -100%;
        opacity: 0;
        z-index: -1;
    }
    50% {
        left: -100%;
        opacity: 0;
        z-index: -1;
    }
    92% {
        left: -100%;
        opacity: 0;
        z-index: 0;
    }
    96% {
        left: -100%;
        opacity: 0;
    }
    100% {
        left: 0px;
        opacity: 1;
    }
}

@keyframes cycle2{
    0%{
        left: -100%;
        opacity: 0;
    }
    29%{
        left: -100%;
        opacity: 0;
    }
    33%{
        left: 0;  
        opacity: 1;
    }
    37%{
        left: 0;
        opacity: 1;
    }
    62%{
        left: 0;
        opacity: 1;
        z-index: 0;
    }
    66%{
        left: 100%;
        opacity: 0;
        z-index: 0;
    }
    67%{
        left: -100%;
        opacity: 0;
        z-index: -1;
    }
    100% {
        left: -100%;
        opacity: 0;
        z-index: -1;
    }
}

@keyframes cycle3{
    0%{
        left: -100%;
        opacity: 0;
    }
    62%{
        left: -100%;
        opacity: 0;
    }
    66%{
        left: 0;  
        opacity: 1;
    }
    70%{
        left: 0;
        opacity: 1;
    }
    95%{
        left: 0;
        opacity: 1;
        z-index: 0;
    }
    99%{
        left: 100%;
        opacity: 0;
        z-index: 0;
    }
    100%{
        left: -100%;
        opacity: 0;
        z-index: -1;
    }
}

@media screen and (max-width: 768px){
    .section-a-about .contain h2{
        font-size: 3rem;
    }


    .section-mission .contain{
        grid-gap: 1rem;
    }
    .section-mission .contain h4{
        font-size: 0;
    }
    .section-testimonials .quote{
        font-size: 1rem;
    }
    .section-jim .contain{
        grid-template-columns: 1fr;
    }
}