.navHeader {
    background-color: #ae0535;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    line-height: 1.7em;
    position: fixed;
}

.brand a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
}

.brand a:hover,
.brand a:visited {
    color: white;
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 1em;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: white;
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

nav {
    position: absolute;
    text-align: left;
    top: 0;
    left: 0;
    background-color: #ae0535;
    width: 100%;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 400ms ease-in-out;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 40px;
}

nav li {
    margin-bottom: 1em;
    margin-left: 1em;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

nav a:hover {
    color: black;
    text-decoration: none;
}

.nav-toggle:checked ~ nav {
    transform: scale(1, 1);
}

.nav-toggle:checked ~ nav a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
}

@media screen and (min-width: 1230px) {
    .nav-toggle-label {
        display: none;
    }

    .navHeader {
        display: grid;
        grid-template-columns: 1fr auto minmax(700px, 3fr) 0.5fr;
    }

    .logo {
        grid-column: 1 / 2;
    }

    nav {
        all: unset;
        grid-column: 2 / 5;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-right: 2em;
    }

    nav a {
        opacity: 1;
        position: relative;
        font-size: 1rem;
        text-decoration: none;
    }

    nav a::before {
        content: "";
        display: block;
        height: 5px;
        background: white;
        position: absolute;
        top: -0.5em;
        left: 0;
        right: 0;
        transform: scale(0, 1);
        transition: transform ease-in-out 250ms;
    }

    nav a:hover::before {
        transform: scale(1, 1);
    }

    nav ul {
        margin-top: 0px;
        display: flex;
    }

    nav li {
        margin-left: 2em;
        margin-bottom: 0;
    }
}

header {
    background-image: url('img/skybackground.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: solid 10px #ae0535;
}

#primarytraining {
    background-image: url('img/piper-bg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    border-top: solid 10px #ae0535;
}

#advancedtraining {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    border-top: solid 10px #ae0535;
    display: flex;
    align-items: center;
}

#specialtyservices {
    background-image: url('img/runway bg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    border-top: solid 10px #ae0535;
    display: flex;
    align-items: center;
}

#about {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: contain;
    background-position: center center;
    border-top: solid 10px #ae0535;
}



