/* Element Styling */

body {
    box-sizing: border-box;
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
}

footer {
    padding: 2em 0em;
    background-color: rgb(50, 50, 50);
}

h5 {
    margin-bottom: 0.1em;
}

header {
    height: 75px;
}

section {
    color: black;
}

/* ID Styling */

#coachCarousel img {
    border-radius: 50%;
    width: 35%;
    margin-bottom: 8em;
}

#contact {
    background-image: url('/assets/images/backgrounds/contact.jpg');
    color: white;
    scroll-margin-top: 75px;
    scroll-snap-margin-top: 75px;
}

#coachJerry, #coachLisa, #coachAndy, #coachJulie, #coachWade, #coachBen {
    scroll-margin-top: 80px;
    scroll-snap-margin-top: 80px;
}

#contactFormSection {
    z-index: 1;
}

#contactInfo {
    z-index: 3;
}

#facilityCarousel {
    width: 100%;
    display: flex;
    justify-content: center;
}

#getStartedButton {
    border: #c32a2a solid 3px;
    border-radius: 25px;
    text-align: center;
    font-size: 1.05em;
    color: #c32a2a;
    text-decoration: none;
    padding: 1em;
    transition: background-color 0.2s, color 0.2s;
}

#getStartedButton:hover {
    color: white;
    background-color: #c32a2a;
    transition-timing-function: ease-in;
}

#header-brand-img {
    max-width: 150px;
}

#memberQuotes {
    font-style: italic;
    min-height: 125px;
    font-weight: 500;
    padding: 2rem 0rem;
}

#memberQuotes .container {
    width: 80%;
    padding: 0.5em 1.5em;
}

#pricing {
    background-image: url('/assets/images/backgrounds/crossfit_elk_river_black_and_white.jpg')
}

#pricingTable {
    z-index: 1;
    color: #c32a2a;
}

#programs {
    background-image: url('/assets/images/backgrounds/member-quote-bg.jpg');
}

#quotes {
    color: white;
    font-style: italic;
}

#whatIsCF {
    width: 800px;
    height: 400px;
}

/* Class Styling */

.bg-red {
    background-color: #c32a2a;
}

.caption-text {
    background-color: rgba(0,0,0,0.8);
    color: white;
}

.carousel-inner {
    margin-bottom: 0.5em;
}

.carousel-text {
    background-color: rgba(0,0,0,0.7);
    font-size: 0.85em;
    padding: 0.75em 1em;
}

.coach-picture {
    width: 400px;
    height: 267px;
}

.contact-form {
    padding: 1em;
    margin-bottom: 1em;
    width: 100%;
    background-color: rgba(0,0,0,0.4);
    color: white;
}

.contact-form:focus {
    background-color: rgba(0,0,0,0.4);
    color: white;
}

.contact-form::placeholder {
    color: white;
}

.facilities-description {
    background-color: black;
    opacity: 75%;
    width: 50%;
}

.form-control:focus + label {
    background-color:cyan;
}

.header-text {
    font-family: inherit;
    font-size: 0.75em;
    color: black;
}

.heading-red {
    color: #c32a2a;
}

.icons {
    width: 10%;
    margin: 0em 1em;

}

.parallax {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax:after {
    background-color: rgba(0,0,0,0.6);
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    bottom: 0;
    left: 0; 
}

.pricing-table {
    background-color: rgba(0,0,0,0.8);
    color: white;
    width: 75%;
    font-size: 1rem;
}

.red-btn {
    border:  3px #c32a2a solid;
    border-radius: 25px;
    text-align: center;
    font-size: 1.05em;
    color: #c32a2a;
    text-decoration: none;
    padding: 1em;
    transition: background-color 0.2s, color 0.2s;
}

.red-btn:hover {
    color: white;
    background-color: #c32a2a;
    transition-timing-function: ease-in;
}

.section-bg {
    text-align: center;
    /* font-size: 1em; */
    color: white;
}

.section-header {
    background: url('/assets/images/backgrounds/section-header.png') no-repeat center bottom;
    padding: 30px 0px;
    font-size: 2.25em;
    font-family: 'Poppins';
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    color: black;
    z-index: 1;
}

.spinner {
    width: 5em;
    height: 5em;
}

.spinner-wrapper {
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s;
}

.spinner-wrapper:after {
    opacity: 0;
}

/* Breakpoints */

@media screen and (max-width: 1199px) {
    .carousel-text {
        font-size: 0.9375em;
    }

    #coachCarousel img {
        width: 40%;
    }
}

@media screen and (max-width: 991px) {
    div > ul > li, ul > li > a {
        font-size: 1em;  
    }
    
    .carousel-text, .carousel-caption {
        font-size: 1em;
    }

    .facilities-photo {
        width: 60%;
    }
    
    #coachCarousel img {
        width: 45%;
    }

    .coach-cert {
        font-size: 0.9375em;
    }

    q {
        font-size: 1rem;
    }

    p, ul {
        font-size: 0.9375em;
    }

    #memberQuotes {
        min-height: 170px;
    }
}

@media screen and (max-width: 767px) {
    p, li {
        font-size: 0.8rem;
    }
    
    #coachCarousel img {
        width: 50%;
    }

    q {
        font-size: 0.85rem;
    }

    #memberQuotes {
        font-size: 1em;
        min-height: 150px;
    }
}

@media screen and (max-width: 575px) {
    p, li {
        font-size: 0.875em;
    }

    .carousel-text, .carousel-caption  {
        font-size: 0.9375em;
    }

    .program-title {
        font-size: 1.25em;
    }

    .coach-cert {
        font-size: 1em;
        margin-bottom: 0.5em;
    }

    #coachCarousel img {
        margin-bottom: 7.1em;
    }

    #memberQuotes {
        font-size: calc(0.5em + 1vw);
        min-height: 180px;
    }

    #memberQuotes .container {
        width: 90%;
    }

    #schedule {
        font-size: 0.75em;
    }

    th > h3 {
        font-size: 1.35em;
    }
}   

@media screen and (max-width: 467px) {
    p, li {
        font-size: 0.80rem;
    }

    q {
        font-size: 0.75rem;
    }
    
    .facilities-photo {
        width: 60%;
    }

    .program-description {
        font-size: 0.9em;
    }
    
    .program-title {
        font-size: 1.5em;
    }

    .coach-cert {
        margin-bottom: 0.5em;
    }

    .coach-picture {
        width: 100%;
        height: auto;
    }

    .carousel-text {
        font-size: 0.75em;
    }

    .carousel-item {
        width: 100%;
        height: auto;
        padding-bottom: 1em;
    }

    .section-title {
        font-size: 1.5em;
    }
    
    #coachCarousel img {
        margin-bottom: 6em;
    }

    #pricingTable, #schedule {
        font-size: 0.8em
    }

    th > h3 {
        font-size: 1.25em;
    }
}

@media screen and (max-width: 410px) {
    #fst-title {
        font-size: 1.275em;
    }

    #fst-description {
        font-size: 0.875em;
    }
}

@media screen and (max-width: 375px) {
    .carousel-caption {
        width: 100%;
        padding: 1em 3em;
        left: 0;
    }

    #coachCarousel img {
        margin-bottom: 4.5em;
    }

    .carousel-inner {
        margin-bottom: 1.5em;
    }

    .carousel-item {
        margin-bottom: 0em;
        padding-bottom: 1.5em;
    }

    .carousel-text {
        font-size: calc(0.5em + 1vw);
        line-height: 1.05em;
        background-color: rgba(0,0,0,0.8);
        letter-spacing: 0.03em;
    }

    .coach-header {
        font-size: 1em;
    }

    .coach-cert {
        font-size: 0.875em;
        margin-bottom: 0.25em;
    }

    .facilities-photo {
        width: 80%;
    }

    .section-header {
        font-size: 1.5em;
    }

    .section-title {
        font-size: calc(1em + 1vw);
    }

    #pricingTable, #schedule {
        font-size: 0.75em;
    }

    .program-title {
        font-size: 1.275em;
    }

    .program-description {
        font-size: 0.8750em;
    }
}

@media screen and (max-width: 299px) {
    .coach-header {
        font-size: 0.8750em;
    }
    
    .coach-cert {
        font-size: 0.75em;
    }

    .program-description {
        font-size: 0.7em;
        letter-spacing: 0.05em;
    }
    .program-title {
        font-size: 1em;
    }
}