* {
    box-sizing:border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #FFFAF0;
    background-attachment: fixed;
    margin: 0px;
}

#wrapper {
    display: grid;
    grid-auto-rows:  minmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

header {
    background-color: #93D75E;
    color: #4A2500;
    grid-row: 1 / 2;
    grid-column: 1 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}

header a {
    color:#4A2500;
    text-decoration: none;
    font-family: 'Amatic SC', cursive;
}

header h1 {
    margin: 0;
    margin-top: 5px;
    font-size: 40px;
}

header img {
    padding: 5px;
}

nav {
    grid-row: 2 / 3;
    grid-column: 3 / 7;
}

nav a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #4A2500;
    padding: 0.4rem;
    font-size: medium;
}

nav a:hover {
    background-color: #b8b8b8;
}

nav ul {
    list-style-type: none;
    padding: 0.75rem;
    margin: 0px;
    display: flex;
    flex-flow: row nowrap;
}

nav ul li {
    width: 100%;
    border-right: 1px solid #4A2500;
}

nav ul li:last-child {
    border-right: 0px;
}

main {
    grid-row: 4 / 5;
    grid-column: 2 / 8;
}

h2 {
    text-align: center;
    color: #d16900;
}

main p {
    text-align: center;
    color:#4A2500;
}

section {
    display:flex;
    flex-flow: column;
    float: left;
    width: calc(100% / 3);
    padding: 1rem;
    color:#4A2500;
}

section h3 {
    text-align: center;
    color:#d16900;
    margin-bottom: 0;
}

footer {
    background-color: #93D75E;
    grid-row: 5 / 6;
    grid-column: 1 / 9;
    background-image: url("logoresized.png");
    background-position: 97%;
    background-repeat: no-repeat;
}

footer nav a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #4A2500;
    padding: 1rem;
}

footer nav a:hover {
    background-color: #6da146;
}

footer nav ul {
    list-style-type: none;
    padding: 1rem;
    padding-top: 0.75rem;
    margin: 0px;
    display: flex;
    flex-flow: row nowrap;
    width: 60%;
}

footer nav ul li {
    width: 100%;
    border-right: 1px solid #4A2500;
}

#teachinghero {
    background-image: url("teachinghero.jpg");
    height: 570px;
    border: 10px solid #93D75E;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 2 / 8;
}

#hive {
    background-image: url("hive.jpg");
    background-repeat: no-repeat;
    background-position: center;
    height: 300px;
    width: 300px;
    border-bottom: 11px solid #93D75E;
}

#bees {
    background-image: url("bees.jpg");
    background-repeat: no-repeat;
    height: 300px;
    width: 300px;
    border-bottom: 11px solid #93D75E;
}

#beekeeper {
    background-image: url("beekeeper.jpg");
    background-repeat: no-repeat;
    height: 300px;
    width: 300px;
    border-bottom: 11px solid #93D75E;
}

@media only screen and (max-width: 950px) {
    section {
        float: none;
        width: 100%;
        padding-right: 0px;

    }

    .swap :nth-child(3) {
        order: 1;
    }
    
    .swap :nth-child(1) {
        order: 2;
    }

    .swap :nth-child(2) {
        order: 3;
    }

    section div {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 40%;
    }

}