html {
  height: 100%;
}

body {
  height: 100%;
  font-family: "Raleway", sans-serif;
}

main {
  width: 90%;
  max-width: 960px;
  margin: 90px auto;
}

main * p {
  line-height: 1.5em;
  margin-bottom: 1.5em;
}

header.top {
  width: 100%;
  height: 90px;
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: #fff;

  box-shadow: 0px 0px 5px #000;
}

header.top h1.desktop {
  height: 60px;
  line-height: 60px;
  margin-left: 5%;
  font-weight: bold;
  font-size: 2em;
  overflow: hidden;
}

header.top p.mobile {
  display: none;
}

header.top h1 img {
  float: left;
  margin-top: 2px;
}

header.top nav {
  height: 30px;
  background-color: #000;
}

header.top nav ul {
  display: block;
  text-align: center;
  width: 90%;
  height: 30px;
  margin-left: 5%;
}

header.top nav ul li {
  display: inline-block;
  overflow: hidden;
  width: 15%;
  height: 30px;
  line-height: 28px;
  vertical-align: middle;
}

header.top nav ul li.highlight {
  background-color: #fff;
  color: #000;
  animation-duration: 0.5s;
  animation-name: liFadeIn;
}

header.top nav ul li a span {
  padding-left: 5px;
}

header.top nav ul li a,
header.top nav ul li a:visited {
  color: #fff;
  text-decoration: none;
}

header.top nav ul li.highlight a,
header.top nav ul li.highlight a,
header.top nav ul li.highlighted a:visited {
  animation-duration: 1.5s;
  animation-name: textFadeIn;
  color: #000;
}

@keyframes textFadeIn {
  from {
    color: #fff;
  }

  to {
    color: #000;
  }
}

@keyframes liFadeIn {
  from {
    background-color: #000;
    color: #fff;
  }

  to {
    background-color: #fff;
    color: #000;
  }
}

header .contain-yourself {
  width: 100%;
  height: 100%;
  background-color: white; /* fallback color */
  background-position: center;
  background-size: cover;
}

header .contain-yourself h1 {
  padding: 15px;
  background-color: rgba(256, 256, 256, 0.75);
}

main header .contain-yourself {
  margin: 0 -10% 0 -10%;
  padding: 0 10%;
}

#home header .contain-yourself {
  background-image: url("images/standing-out.jpg");
  background-position: top;
  background-position-y: -100px;
  min-height: 406px;
}

#leadership header .contain-yourself {
  background-image: url("images/tree.jpg");
  min-height: 406px;
}

#webDesign header .contain-yourself {
  background-image: url("images/screenshots.jpg");
  min-height: 576px;
}

#instrumentDesign header .contain-yourself {
  background-image: url("images/acoustic_bass_design.jpg");
  min-height: 576px;
}

#interactionDesign header .contain-yourself {
  background-image: url("images/lights.jpg");
  min-height: 362px;
}

#resume header .contain-yourself {
  background-image: url("images/head-shot.jpg");
  background-position: top;
  background-position-y: -350px;
  min-height: 460px;
}

acronym,
abbreviation {
  cursor: help;
}

blockquote {
  font-family: "Playfair Display", serif;
  font-size: 1.2em;
  float: right;
  padding: 15px;
  border-top: 3px double #ccc;
  border-right: 2px solid #ccc;
  border-bottom: 3px double #000;
  border-left: 2px solid #000;
  margin-left: 10px;
  margin-bottom: 5px;
  quotes: "\201c""\201d";
  max-width: 25%;
}

blockquote::before {
  content: open-quote;
}

blockquote::after {
  content: close-quote;
}

section h1 {
  font-size: 2em;
}

section h2 {
  font-size: 1.6em;
}

section h3 {
  font-size: 1.4em;
  font-style: italic;
}

section h4 {
  font-size: 1.2em;
}

section h5 {
  font-size: 1.1em;
  font-weight: bold;
}

section ul {
  list-style: square;
  margin: 15px;
}

section ul li ul {
  margin: 5px 0px 5px 15px;
}

section ul li ul li {
  list-style: circle;
}

section main {
  margin-top: 10px;
}

section ol {
  list-style-type: decimal;
  margin: 15px;
}

figure {
  float: right;
  border: 1px solid #999;
  margin-left: 5px;
  padding: 3px;
  max-width: 300px;
}

figure img {
  width: 100%;
  height: 100%;
}

figure figcaption {
  font-size: 0.75em;
  font-style: italic;
  margin: 0px;
  padding: 5px;
}

em {
  font-weight: bold;
  font-style: italic;
  font-size: 1.05em;
}

footer {
  border-top: 1px solid #ccc;
  font-color: #999;
  padding: 5px 5% 5px 5%;
  text-align: center;
  font-size: 0.9em;
}
