* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  -webkit-animation: bugfix infinite 1s;
  /* needed for checkbox hack */
  background: #000;
}

@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
/* needed for checkbox hack */

header {
    margin: 0 auto;
    padding: 0 auto;
    padding: 10px;
    max-width: 100%;
    background: #000;
    color: #FFF;
    text-align: center;
}

#nav {
  position: relative;
}
#nav ul {
  display: none;
  width: 100%;
  list-style: none;
  margin: 0px;
  padding: 0px;
}
#nav ul li a {
  display: block;
  padding: 0.8em;
  background: #000000;
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.4em;
  color: white;
  text-decoration: none;
  border-right: 1px solid #4c4c4c;
}
#nav ul li a:hover {
  background: #484848;
}
#nav ul li:last-of-type a {
  border-right: 0px;
}
#nav ul li ul li a {
  padding-left: 0.5em;
  font-size: 0.9em;
}
#nav ul li ul li ul li a {
  padding-left: 4.125em;
}
#nav input.trigger {
  position: absolute;
  top: -9999px;
  left: -9999px;
}
#nav input.trigger:checked ~ ul, #nav input.trigger:checked ~ ul li ul {
  display: block !important;
}
@media (min-width: 48em) {
  #nav input.trigger:checked ~ ul, #nav input.trigger:checked ~ ul li ul {
    /* older flexbox */
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    box-orient: horizontal;
    /* newer flexbox */
    display: flex;
    flex-direction: row;
  }
}
#nav label {
  position: relative;
  display: block;
  min-height: 2em;
  padding: .45em;
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.4em;
  margin: 0;
  cursor: pointer;
  background: #000000;
  line-height: 1.6em;
  color: #fff;
}
#nav label:after {
  position: absolute;
  right: 1em;
  top: .2em;
  content: "\2261";
  font-size: 1.4em;
  color: white;
}
@media (min-width: 48em) {
  #nav ul {
    /* older flexbox */
    display: -ms-flexbox;
    flex-direction: -ms-row;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
    box-orient: horizontal;
    /* newer flexbox */
    display: flex;
    flex-direction: row;
  }
  #nav ul li {
    position: relative;
    text-align: center;
    /* older flexbox */
    -ms-flex: 1;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    /* newer flexbox */
    flex: 1;
  }
  #nav ul li ul {
    display: none !important;
    position: absolute;
    top: 3.0625em;
    left: 0;
    display: block;
    width: 14.5em;
    z-index: 200;
  }
  #nav ul li ul li {
    text-align: left;
  }
  #nav ul li ul li ul {
    z-index: 300;
    top: 0px;
    left: 12.4em;
  }
  #nav ul li ul li ul li a {
    padding-left: 30px !important;
  }
  #nav ul li:hover > ul {
    display: block !important;
  }
  #nav label {
    display: none;
  }
}

img{
  margin: 0 auto;
  max-width: 100%;
}

footer {
    margin: 0 auto;
    padding: 0 auto;
    padding: 20px;
    max-width: 100%;
    font-size: 1em;
    text-align: center;
    color: #FFF;
}

a.nav2:link {
    text-decoration:none;
    color:#999;
}

a.nav2:visited {
    text-decoration:none;
    color:#999;
}

a.nav2:hover {
    color:#fff;
}

#design {
    margin: 0 auto;
    padding: 0 auto;
    padding: 20px;
    max-width: 100%;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8em;
    text-align: center;
    background: #000;
    color: #FFF;
}

a.nav1:link {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8em;
    text-decoration:none;
    color:#0ff;
}

a.nav1:visited {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8em;
    text-decoration:none;
    color:#0FF;
}

a.nav1:hover {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8em;
    text-decoration:none;
    color:#ffff00;
}