/*
Reform Section 5 — static archive page

Palette
  #1A1A1A  page and header background (under the texture tiles)
  #333333  header top border / footer inset highlight
  #000000  header bottom border
  #FFFFFF  headline and body copy
  #E2AF2D  link gold

Fonts
  Bebas             headline ("Victory!")
  TitilliumRegular  body copy and the sub-footer

Layout widths follow the Bootstrap 2 grid the old theme used:
  container 724px at 768-979, 940px at 980-1199, 1170px at 1200+.
*/

@font-face {
  font-family: 'TitilliumRegular';
  src: url('../fonts/TitilliumText22L003-webfont.woff') format('woff'),
       url('../fonts/TitilliumText22L003-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Bebas';
  src: url('../fonts/BebasNeue-webfont.woff') format('woff'),
       url('../fonts/BebasNeue-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

/* The page is shorter than most viewports, so the body carries the sub-footer
   texture to fill whatever sits below it. */
body {
  margin: 0;
  background: url(../img/darker-texture.png) repeat left top #1A1A1A;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.container {
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Header */

header {
  border-top: 1px solid #333;
  border-bottom: 1px solid #000;
  background: url(../img/dark-texture.png) repeat left top #1A1A1A;
  padding: 35px 0;
  display: flex;
  flex: 1 0 auto;
}

#logo {
  margin-bottom: 60px;
  position: absolute;
  top: 0;
}

#logo img {
  display: block;
  width: 220px;
}

.intro-text {
  max-width: 570px;
}

.intro-text-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-text .headline {
  font-family: "Bebas", sans-serif;
  color: #FFF;
  font-size: 56px;
  line-height: 1em;
  margin: 0 0 10px;
  font-weight: normal;
  text-transform: uppercase;
}

.intro-text p {
  font-family: "TitilliumRegular", sans-serif;
  color: #FFF;
  font-size: 23px;
  line-height: 1.2em;
  margin: 0;
}

/* Sub-footer */

.footer-bottom {
  padding: 40px 0;
  border-top: 1px solid #333;
  background: url(../img/darker-texture.png) repeat left top #1A1A1A;
  -webkit-box-shadow: inset 0 15px 30px -15px rgba(0, 0, 0, 0.9), inset 0 -15px 30px -15px rgba(0, 0, 0, 0.9);
  -moz-box-shadow: inset 0 15px 30px -15px rgba(0, 0, 0, 0.9), inset 0 -15px 30px -15px rgba(0, 0, 0, 0.9);
  box-shadow: inset 0 15px 30px -15px rgba(0, 0, 0, 0.9), inset 0 -15px 30px -15px rgba(0, 0, 0, 0.9);
  font-family: "TitilliumRegular", sans-serif;
  font-size: 13px;
  color: #FFF;
}

.footer-bottom a {
  color: #E2AF2D;
  text-decoration: none;
}

.footer-bottom img {
  margin-right: 10px;
  vertical-align: middle;
}

.footer-bottom .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 767px) {
  #logo {
    text-align: center;
    margin-bottom: 20px;
  }

  #logo img {
    width: 250px;
    margin: 0 auto;
  }

  .intro-text .headline {
    font-size: 33px;
  }

  .intro-text p {
    font-size: 16px;
  }

  .footer-bottom span {
    display: block;
    margin-top: 10px;
  }
}

@media (max-width: 479px) {
  #logo img {
    width: 200px;
  }
}

@media (min-width: 768px) {
  .container {
    width: 764px;
  }

  #logo img {
    width: 164px;
  }

  /* .intro-text {
    max-width: 428px;
  }

  .intro-text .headline {
    font-size: 42px;
  }

  .intro-text p {
    font-size: 15px;
  } */
}

@media (min-width: 980px) {
  .container {
    width: 980px;
  }

  #logo img {
    width: 220px;
  }

  .intro-text {
    max-width: 570px;
  }

  .intro-text .headline {
    font-size: 56px;
  }

  .intro-text p {
    font-size: 23px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1210px;
  }

  #logo img {
    width: 270px;
  }

  .intro-text {
    max-width: 710px;
  }

  .intro-text p {
    font-size: 25px;
  }
}
