/* General Styles */
* {
  box-sizing: border-box;
}

body {
  background-image: url("/images/stripBG.jpg");
  font-family: Economica, sans-serif;
  font-size: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  color: #104f7f;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0;
  padding-bottom: 2%;
  font-size: 1.5em;
}

img, main {
  padding: 0;
}

/* Header */
header img {
  width: 90%;
  padding: 0 2%;
}

/* Content */
#content {
  display: grid;
  width: 95%;
  margin: 0 auto;
  padding: 2%;
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.35);
  transition: 0.5s;
  overflow: auto;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: Peralta, serif;
  color: #3079a3;
  margin: 0;
  padding-bottom: 1px;
}

/* Feature Box */
.featureBox {
  background-color: #e4d487;
  width: 80%;
  padding: 2.5% 5%;
  margin: 10px 0;
  transition: 0.5s;
}

.featureBox img {
  display: block;
  height: 25vw;
  width: auto;
  float: left;
  margin: 0 20px 20px 0;
}

/* Misc Classes */
.lftImg { float: left; }
.title { font-style: italic; font-weight: bold; }
.cover { width: 25%; height: auto; }
.clear { clear: both; }

/* Burger Menu */
#burger {
  color: hsl(214, 58%, 80%);
  text-align: center;
  font-size: 1.5em;
  width: 1.4em;
  margin: 0 auto;
  display: none;
  position: relative;
  transition: 0.5s;
}

/* Navigation */
nav {
  width: 75%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

nav ul {
  list-style: none;
  padding: 0;
  transition: 0.5s;
}

nav a {
  display: block;
  width: 18%;
  float: left;
  font-size: 2.5vw;
  text-align: center;
  color: #b9dbeb;
  margin-right: 2%;
  padding: 5px 0;
  border-radius: 20px 20px 0 0;
  background: hsla(214, 68%, 39%, 0.75);
  transition: 0.5s;
}

nav a:hover {
  background-color: #0a557b;
  color: white;
}

/* Footer */
footer {
  background-color: rgba(255, 255, 255, 0.67);
  padding: 10px 0;
  font-size: 80%;
  text-align: center;
  color: #3079a3;
}

/* Video */
#vid {
  width: 90vw;
  height: 60vw;
  margin: 0 auto;
}

/* Comic Script */
#comicScript {
  font-family: Courier, monospace;
  font-size: 80%;
  background: white;
  margin-bottom: 25px;
  width: 80%;
  padding: 5% 10%;
  box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.52);
}

/* Alignment */
.alignCenter { text-align: center; }
.alignRight { text-align: right; }
.tiny { font-size: 60%; }

/* Floating Elements */
.left {
  float: left;
  margin: 5px 20px 5px 0;
}

.right {
  float: right;
  margin: 5px 0 5px 20px;
}

.bottom {
  width: 80%;
  margin: 0 auto 10px;
  display: block;
}

/* Width Utilities */
.width50 { width: 50%; }
.width33 { width: 33%; }
.width25 { width: 25%; }
.width20 { width: 20%; }
.width15 { width: 15%; }

/* Go Back Button */
.goBack {
  font-size: 120%;
}

/* Responsive Styles */
@media only screen and (max-width: 720px) {
  #content {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  main { padding: 0; }
  p { font-size: 1.1em; }
  #burger { display: block; }
  h1 { font-size: 1.5em; }
  h2 { font-size: 1.15em; }

  nav {
    width: 100%;
    height: 35px;
    background: hsl(209, 64%, 44%);
    padding: 0;
  }

  nav a {
    width: 60vw;
    height: 40px;
    margin: 0 auto;
    border-radius: 0;
    float: none;
    font-size: 1.5em;
    border-bottom: 1px solid hsl(214, 58%, 80%);
  }

  #burger:hover {
    color: white;
    background: hsl(214, 69%, 73%);
  }

  nav ul {
    position: relative;
    margin: 0 auto;
    width: 60vw;
    height: 0;
    overflow: hidden;
  }

  .featureBox {
    width: 100%;
    padding: 2% 4%;
    margin: 10px auto;
  }

  .featureBox img {
    margin: 0 3% 2% 0;
  }

  footer {
    padding: 0;
    margin: 0;
  }
}