/* Mobile Styles */

.nav {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
  }

#logo {
    order: -1;
    flex-basis: 100%;
}

.banner, .bannerreg {
    display: flex;
    align-items: center;
    flex-direction: column;
}

a {
    flex-grow: 1;
    }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.why {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer {
    display: flex;
    justify-content: space-between;
    margin: 0px auto;
    align-items: center;
    }

.contact, fieldset, legend {
    display: flex;
    flex-direction: column;
    justify-content: center;
    }

/* Media Queries */


/* Links are inline with logo */

@media (min-width: 640px) {

    header {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    #logo {
        justify-content: center;
        order: 0;
    }

    #mylinksleft {
        display: flex !important;
        }

    #mylinksright {
        display: flex !important;
        }

    .why {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .about {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .reasons {
        flex-basis: 35%;
    }
}


@media (min-width: 925px) {

    header, img {
    display: flex
    }

    header {
        flex-direction: row;
        justify-content: space-between;
    }

    .why {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
    }
}

