@import url('https://fonts.googleapis.com/css?family=Merienda&display=swap');

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  background-color: honeydew;
  box-sizing: border-box;
  font-size: 62%;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  color: #333;
  font-size: 1.6rem;
  font-family: Arial, sans-serif;
  height: 100%;
  line-height: 1.5;
  margin: 0;
}

body > nav {
  background-image: linear-gradient(to bottom, white, #999);
  border-bottom: 1px solid #333;
  box-shadow: 0 2px 5px #333;
  text-align:center;
  width:100%;
}

#brand {
  color: darkgreen;
  font-family: 'Merienda', cursive;
  font-size: 2em;
  font-weight:bold;
  text-decoration:none;
}

/*---------------------------------------*/
/* Navigation container formatting rules */
/*---------------------------------------*/
#nav-container {
  float:left;
  margin: 2rem;
  width: 15rem;
}

#nav-title {
  font-family: 'Merienda', cursive;
  font-weight: bold;
  margin-bottom:0rem;
  text-align:center;
}

#nav-container ul {
  list-style: none;
  padding:0;
}

#nav-container li {
  background-color: darkgreen;
  border: 1px solid silver;
  border-top: none;
  margin:0;
  padding:1rem;
  width:100%;
}

#nav-container li:first-child {
  border-top: 1px solid silver;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

#nav-container li:last-child {
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

#nav-container a {
  color: white;
  font-family: 'Merienda',
  cursive;
  text-decoration: none;
  text-transform: uppercase;
}

#body {
  margin:3rem auto;
  max-width: 750px;
  padding: 0.5rem;
  width: 80%;
}

/*------------------------------*/
/* Block Quote formatting rules */
/*------------------------------*/
blockquote {
  background:white;
  border:1px solid #ccc;
  border-radius:7px;
  box-shadow: 3px 3px 5px #333;
  color:green;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin:0 auto;
  text-align:center;
}

blockquote::before {
  content:open-quote;
  font-size: 3em;
}

blockquote::after {
  content: close-quote;
  font-size: 3em;
}

/*-------------------------*/
/* Footer formatting rules */
/*-------------------------*/
footer {
  background:#333;
  bottom: 0;
  clear:both;
  color:white;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  left:0;
  position:fixed;
  width:100%;
}

[class^="col"] {
  padding: 2em;
  text-align:center;
}


.col1 {
  grid-column: 1;
  grid-row: 1;
}

.col2 {
  grid-column: 2;
  grid-row:1;
}

.col3 {
  grid-column: 3;
  grid-row:1;
}

.full-col {
  align-self: center;
  grid-column: 1/4;
  grid-row:2;
  text-align:center;
}