body {
background-color: #f7f7f7;
color: #333;
font-family: "Red Hat Display", sans-serif;
}

section, header {
width: 80%;
max-width: 900px;
margin: auto;
margin-bottom: 6rem;
}

h1, h2, blockquote {
  font-family: "Domine", serif;
  color: #C5950F;
}

h1 {
    font-size: 5.062rem;
    line-height: 1;
    color: #BF6D1C;
    margin: 5rem 0 1rem 0;
}

h2 {
    font-size: 2.250rem;
    margin-bottom: 2rem\;
}

p {
    line-height: 1.8;
}

header p {
    font-size: 1.500rem;
    font-family: "Domine", serif;
}

blockquote {
    color: #BF6D1C;
    padding-top: 1rem;
    hanging-punctuation: first;
}

/*-- CSS DONE IN WEEK 10 --*/
/*-- STYLING NAVIGATION, LINKS AND FOOTER --*/

.responsivenav {
background-color: #BF6D1C;
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}

#logo {
    font-family: "Domine", serif;
    font-size: 2rem;
    color: #e4be58;
    font-weight: bold;
    padding-left: 20px;
}

a {
    color: #e4be58;
    text-decoration: none;
    border-bottom: 2px dotted;
}

a:hover {
    color: #723c05;
    transition: all 0.5s ease-in-out;
}

nav {
display: flex;
padding: 1.5rem 0;
}

nav ul {
    text-align: right;
    letter-spacing: 1px;
    list-style-type: none;
    padding-right: 20px;
}

nav ul li {
    display: inline;
    padding: 1.5rem;
}

nav a {
    border-bottom: none;
    letter-spacing: 2px;
    font-weight: bold;
}

footer {
    background-color: #BF6D1C;
    color: white;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
}

.light {
    background-color: #ece4ce;
    padding: 1.5rem;
}

/*-- CSS DONE IN WEEK 11 --*/

hr {
    margin-bottom: 5rem;
}

.gridimage {
display: grid;
column-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

@media (max-width: 600px) {
    header h1 {
        font-size: 4rem;
    }

    .gridimage {
        row-gap: 10px;
    }
}