/*****************

  HOME STYLE

*****************/

section,
.inner-section {
    display: flex;
    align-content: center;
    justify-content: center;
}

.inner-section {
    padding: 100px 50px;
}

#home-vid {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: auto;
    width: 100%;
    z-index: -5;
}

#home-header-inner video,
#mission-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home-header-inner {
    background: url(../img/index-header.jpg) top center no-repeat fixed;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

.sm-h1 {
    font-size: 0.4em;
}

#cage-code {
    background-color: rgb(39, 39, 39);
    color: white;
    min-height: 1rem;
    padding: 1.2rem 0;
}

.cage-code-ident {
    color: #FBCF0E;
}

#who-section {
    background-color: #eef3f5;
    background-image: url(../img/home/form-pers-sun.jpg);
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.who-pic {
    width: 60%;
}

#mission-section {
    position: relative;
}

#mission-section video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

/* .be-a-pilot {
    margin-top: 2rem;
} */

.be-a-pilot {
    margin-top: 3rem;
}

.be-a-pilot button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
}

/* #mission-section .inner-section {
    #home-header-inner {
        background: url(../img/index-header.jpg) top center no-repeat fixed;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: -1;
    }
} */

#community-events-section {
    background: url(../img/home/playground.jpg) center center no-repeat fixed;
    background-size: cover;
}

.community-pic {
    width: 55%;
    aspect-ratio: 1;
}

.community-ul {
    list-style: circle;
}

.community-ul li {
    text-align: left;
    margin: 1rem 2rem;
}

#our-passion {
    background-color: #eef3f5;
    background-image: url(../img/home/our-passion.jpg);
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

.home-flex,
.home-flex-flip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.home-flex {
    flex-direction: row;
    
}

.home-flex-flip {
    flex-direction: row-reverse;
}

.text-flex {
    width: 60%;
}

.text-flex2 {
    width: 40%;
}

.rev-flex {
    flex-direction: row-reverse;
}

#ftft-patch {
    background-image: url(../img/FTFT-Patch.png);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    width: 40%;
    max-width: 400px;
    aspect-ratio: 1;
    margin-right: 50px;
}

blockquote {
    margin-bottom: 15px;
}

.quote {
    color: #555;
    background-color: rgba(230, 230, 230, 0.5);
    font-style: italic;
    width: 100%;
    margin: 0 30px 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

#safety-focus {
    background-image: url(../img/home/safety2.jpg);
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    min-height: 0;
}

#formation-brief,
.community-pic {
    border-radius: 5px;
}

#formation-brief {
    background-image: url(../img/Formation-Brief.png);
    background-size: cover;
    background-position: center center;
    width: 60%;
    aspect-ratio: 1.5;
}

#up-next {
    background-image: url(../img/parked.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 2vh;
    min-height: 35vh;
    position: relative;
}

#up-next h2, #up-next h3 {
    text-shadow: 1px 1px 1px black, 5px 5px 7px white, -4px -4px 6px white;
}

#up-next h3 {
    font-size: 1.8em;
    color: white;
    margin-top: 15px;
    margin-bottom: 0;
}

#up-next-graphic {
    height: 200px;
    width: 200px;
    background-image: url(../img/shows/northern-illinois-airshow-logo.png);
    background-size: cover;
    margin: 0 auto;
}

@media only screen and (max-width: 800px) {
    h1 {
        font-size: 3em;
    }

    .home-flex {
        flex-direction: column;
    }

    .who-pic,
    .community-pic,
    #ftft-patch,
    #formation-brief {
        width: 80%;
    }

    .text-flex, .text-flex2 {
        width: 90%;
    }

    section {
        padding: 0;
    }

    .inner-section {
        padding-left: 5px;
        padding-right: 5px;
    }

    .quote {
        margin-left: 0;
        margin-right: 0;
        padding-left: 8px;
        padding-right: 8px;
    }

    .home-flex,
    .home-flex-flip {
        flex-direction: column;
    }
}

@media only screen and (max-width: 415px) {
    h1 {
        font-size: 2.5em;
    }

    .who-pic,
    .community-pic,
    #ftft-patch,
    #formation-brief {
        width: 95%;
    }
}

@media only screen and (max-width: 380px) {

    h2 {
        font-size: 1.6em;
    }

    .text-flex, .text-flex2 {
        width: 100%;
    }
}

@media only screen and (max-width: 355px) {
    h1 {
        font-size: 2em;
    }
}