/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
*{
  box-sizing: border-box;
}
      
body {
  background-image: url("sparkleBackground.jpg");
  background-position: left top;
  background-attachment: scroll;
  color: DarkSlateBlue;
  font-family: Arial, Helvetica, sans-serif;

}

header {
  background-color: LemonChiffon;
  height: 20%;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  font-size: 35px;
  color: DarkSlateBlue;
  margin: 0;
  width: 100%;
}
      

article {
  float: right;
  padding: 0 5px 20px;
  width: 85%;
  height: 70%;
  margin: 0;
}

/* Clear floats after the columns */
section::after {
  content: "";
  display: table;
  clear: both;
}

/* Style the footer */
footer {
  background-color: LemonChiffon;
  padding: 10px;
  text-align: center;
  color: DarkSlateBlue;
}

/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens*/
@media (max-width: 600px) {
    nav, article {
    width: 100%;
    height: auto;
    }
}
      
nav{
  z-index: 99;
  background-color: pink;
  position: absolute;
  padding: 10px;
  height: 80%;
    width: 15%;
  overflow-y: scroll;
}

.navlink{
  background-color: pink;
  display: block;
  padding: 5px 10px;
  margin: 0 0 0;
}