* {box-sizing: border-box;}

body {
    margin: 0;
    background-image: url("../images/Potato Background Scaling.png");
}


#gridMom {
    max-width: 1228px;
    min-height: 100vh;
    margin: auto;
    display: grid;
    grid-template-areas: 
        'head head'
        'menu menu'
        'left right'
        'foot foot';
    grid-template-rows: auto auto 1fr auto;
    grid-template-columns: 4fr 6fr;
    background-color: #28221f;
    padding: 0 8px;
}


header {
    grid-area: head;
    background-color: #ecd169;
    display: flex;
    justify-content: center;
}


nav {
    grid-area: menu;
    background-color: #dfa73c;
    height: 62px;
    font-family:'Arial Narrow', Arial, sans-serif;
    font-size: x-large;
}
nav a {
    display: block;
    text-decoration: none;
    color: #ca3434;
    text-align: center;
    padding: 17px 0;
}
nav a:hover {
    text-decoration: underline;
    background-color: #bb8b32;
}
#menuMom {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: space-around;
}
nav li {
    flex-grow: 1;
}
.drop_content {
    display: none;
    z-index: 1;
    background-color: #daa23b;
    position: absolute;
    list-style-type: none;
    padding: 0;
}
.drop_content a {
    text-align: left;
    padding: 14px 17px;
}
.drop_container:hover .drop_content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#active {
    text-decoration: underline;
    background-color: #e8b659;
}
#active:hover {
    background-color: #bb8b32;
}



aside {
    grid-area: left;
    background-color: #faf4c6;
}
aside img {
    margin: 10% 5% 0 2%;
    width: 100%;
}

article {
    grid-area: right;
    background-color: #faf4c6;
}
article p {
    font-size: larger;
    margin: 20% 3% 0 3%;
}
#second_text {
    margin: 5% 3% 0 3%;
}


footer {
    grid-area: foot;
    background-color: #a48851;
    height: 100px;
    display: grid;
    grid-template-areas: 
    'left right';
    align-items: end;
}
footer > p {
    padding-left: 5px;
    grid-area: left;
    display: inline;
    justify-self: left;
}
#small_logo {
    grid-area: right;
    width: 37px;
    height: 50px;
    justify-self: right;
}

@media screen and (max-width: 800px) {
    #gridMom {
        grid-template-areas: 
        'head'
        'menu'
        'left'
        'right'
        'foot';
        margin: auto;
        padding: 0;
        grid-template-rows: auto auto auto auto auto;
        grid-template-columns: auto;
    }

    header img {
        max-width: 90vw
    }

    nav {
        height: 364px;
    }
    #menuMom {
        flex-direction: column;
        height: auto;
    }
    .drop_content {
        display: flex;
        flex-direction: column;
        width: 100vw;
        z-index: 0;
    }
    .drop_content > li > a {
        text-align: center;
    }

    aside img {
        width: 70%;
        margin: 7% 15%;
    }

    article p {
        margin: 5%;
    }
    #second_text {
        margin: 5%;
        padding-bottom: 10px;
    }
}