
/* RESET */
body, div
{
  margin: 0;
  padding: 0;
}

/* MAIN */
html
{
  height: 100%;
}

head
{
  width: 100%;
  text-align: center;
}

body
{
  width: 100%;
  text-align: center;
  max-width: 1200px; /* Does not allow page to expand indefinitely */
  margin: 0 auto;    /* Centers the content */
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 95%;
  background: white;
  color: black;
}
#header
{
  /* set position relative: anything inside with position absolute will use this as its reference */
  position: relative;
  padding: 0 20px;
  color: #DDDDDD;
  margin: 0 auto;
}

#hdr_left
{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 20px;
  height: 60px;
  background: linear-gradient(to left, MediumBlue, #212128);
}

#hdr_mug
{
  position: absolute;
  left: 20px;
  top: 0px;
  width: 51px;
  height: 60px;
  background: MediumBlue url(../images/hdr.png);
}

#hdr_right
{
  position: absolute;
  left: 70px;
  top: 0px;
  width: 100%;
  height: 60px;
  background: linear-gradient(to right, MediumBlue, #212128);
  font-variant: small-caps;
}

#hdr_title
{
  position: absolute;
  top: 4px;
  left: 10px;
  font-family: 'Times New Roman', Times, serif;
  text-align: left;
}
@media only screen and (min-width: 768px) {
  #hdr_title
  {
    font-size: x-large /* Makes title in header larger when width allows */
  }
}

#nav
{
  margin: 0;
  position: absolute;
  top: 36px;
  left: 0px;
  height: 20px;
  text-align: left;
  list-style: none;
  z-index: 5;
}
#nav li
{
  display: block; /* Ensures each item takes a full line */
  width: 100%;    /* Optional: ensures full width */
}
#nav li > p
{
  margin: 0;
  padding: 0 0 0 5px;
  /* shows selected, unselectable menu item*/
  color: DarkGray;
}
#nav a
{
  display: block;
  padding: 0px 5px;
  color: #FFFFFF;
  text-decoration: none;
}
#nav a:hover
{
  color: SkyBlue;
  text-decoration: underline;
}

#contents
{
  position: relative;
  height: 100%;
  top: 60px;
  margin: 0 auto;
  text-align: left;
  padding: 5px 20px;
}

/*--- HAMBURGER ---*/
.hamburger {
  position: fixed;
  z-index: 100;
  top: 1rem;
  right: 1rem;
  padding: 4px;
  border: black solid 1px;
  background: white;
  cursor: pointer;
}

.closeIcon {
  display: none;
}

.menu {
  position: fixed;
  transform: translateY(-100%);
  transition: transform 0.2s;
  top: 0;
  right: 0;
  z-index: 99;
  background-image: linear-gradient(to right, MediumBlue, #212128);
  color: white;
  list-style: none;
  padding-top: 4rem;
}

.showMenu {
  transform: translateY(0);
}