/* 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." */

body {
  background-color: #FAFAD2;
  color: #CD853F;
  font-family: "Times New Roman";
  
  /* center everything */
  text-align: center;
}

/* NAV BAR */
nav {
  width: 100%;
  margin: 20px 0;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block; /* this is the centering trick */
}

nav li {
  float: left;
}

nav a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #CD853F;
  font-family: "Times New Roman";
}

nav a:hover {
  text-decoration: underline;
}

/* clear the floats */
nav::after {
  content: "";
  display: block;
  clear: both;
}

/* Links list styling */
ul {
  list-style: none;          /* removes bullets */
  padding: 0;
  margin: 20px auto;         /* center block horizontally with some spacing */
  text-align: center;        /* center the text inside */
}

ul li {
  margin: 10px 0;            /* space between links */
}

ul li a {
  color: #CD853F;            /* same as other text/nav */
  text-decoration: none;     /* no underline by default */
  font-family: "Times New Roman";
}

ul li a:hover {
  text-decoration: underline; /* underline on hover, matches nav style */
}

img {
  /* make image smaller */
  margin-top: 20px;
  width: 400px;
  max-width: 100%;
  height: auto;
}