@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700&display=swap');

body {
    font-size: 16px;
    font-family: 'Source Sans Pro', sans-serif;
    margin: 0;
    display: grid;
    grid-template-areas: 
        ". . .  header . . . "
        ". . nav nav nav . ."
        ". . . main . . .";
    grid-template-columns: 1fr 2fr 1fr 4fr 1fr 2fr 1fr;
    grid-template-rows: auto auto auto;
    background: url("background.jpg");
}

h1 {
    grid-area: header;
    justify-self: center;
}

nav {
    grid-area: nav;
    display: flex;
    margin-bottom: 5px;
}

nav ul {
    display: flex;
    list-style-type: none;
    justify-self: center;
    justify-content: space-evenly;
    flex-direction: row;
    width: 100%;
    padding-left: 0;
}

ul {
  padding-left: 15px;
  padding-right: 15px;
}

main {
    grid-area: main;
    text-align: center;
    margin-bottom: 50px;
}

a {
    color: #d48544;
    text-decoration: none;
}
a:hover {
    color: #f0dac8
}

main, aside, nav, h1{
    background: #3a2d52;
    color: white;
    padding: 5px;
    border: solid 1px #d48544;
    border-radius: 10px;
}

.alignLeft {
  text-align: left;
}

@media only screen and (max-width: 768px) {
    body {
        grid-template-areas: 
            "header header"
            "nav nav"
            "main main";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto 1fr auto;
    }
}