/* You can either copy the below and paste it between style tags on your HTML page, OR you can copy this to a file and name it .css and link it from your HTML page. */

:root {
  --bg-color: #A9A9A9; /* goldenrod yellow */
  --pg-color: #FAFAD2; /* very light green */
  --accent: #DAA520; /* dark green */
  --accent-2: #8e9b90; /* gray */
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: monospace;
  font-size: 1em;
  /* here is where you'd add a background image */
}
body {
  background-color: var(--bg-color);
}
#container {
  background-color: var(--pg-color);
  width: 60%;
  border-left: 100px solid var(--accent);
  border-right: 1px solid var(--accent-2);
  position: relative;
}
#outer {
  border-left: 4px dotted var(--accent-2);
  margin-left: 100px;
}
nav {
  background-color: var(--accent);
  position: absolute;
  top: 100px;
  left: 50px;
  border: 1px solid var(--bg-color);
  width: 120px;
  height: 200px;
  z-index: 9;
}
article {
  padding: 50px;
  line-height: 1.7em;
}
h2 {
  font-size: 15px;
  border-bottom: 1px solid var(--accent-2);
  padding-bottom: 8px;
}
nav > ul {
  background-color: var(--accent-2);
  margin: 20px;
  padding: 0;
  list-style: none;
}
nav > ul > li {
  border-bottom: 1px solid white;
  text-align: center;
}
nav > ul > li:last-child {
  border-bottom: none;
  text-align: center;
}
nav > ul > li > a {
  font-size: 12px;
  padding-top: 5px;
  padding-bottom: 5px;
  display: inline-block;
  color: white;
}
@media only screen and (max-width: 850px) {
  nav {
    left: 0;
  }
  #container {
    width: 100%;
    margin-left: 0;
  }
  #outer {
    margin-left: 0;
  }
}
.hover {
  position: relative;
  display: inline-block;
}

.hover .hoverblock {
  visibility: hidden;
  min-width: 300px;
  background-color: orange;
  color: black;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  bottom: 100%;
  position: absolute;
  z-index: 1; /* Ensure hover text appears above other content */
}

.hover:hover .hoverblock {
  visibility: visible;
}
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%; /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}