/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: 'ChronicleDisplay';
  src: url('../fonts/ChronicleDisplay-Roman.eot?#iefix') format('embedded-opentype'),
       url('../fonts/ChronicleDisplay-Roman.otf') format('opentype'),
       url('../fonts/ChronicleDisplay-Roman.woff') format('woff'),
       url('../fonts/ChronicleDisplay-Roman.ttf') format('truetype'),
       url('../fonts/ChronicleDisplay-Roman.svg#ChronicleDisplay-Roman') format('svg');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'PFDinTextCompPro';
  src: url('../fonts/PFDinTextCompPro-Regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/PFDinTextCompPro-Regular.woff') format('woff'),
       url('../fonts/PFDinTextCompPro-Regular.ttf') format('truetype'),
       url('../fonts/PFDinTextCompPro-Regular.svg#PFDinTextCompPro-Regular') format('svg');
  font-weight: 400;
  font-style: normal;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

.cover {
  background: url('../img/background.jpg') no-repeat center center transparent;
  background-size: cover;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
}

.logo {
  height: auto;
  left: 50%;
  margin-left: -60px;
  position: absolute;
  top: 15%;
  width: 120px;
}

h1 {
  color: #fff;
  font-family: "ChronicleDisplay", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 20px;
  margin: 0;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 40%;
  width: 100%;
}

.selection {
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: 'PFDinTextCompPro', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  height: 26px;
  justify-content: center;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 54%;
  width: 100%;
}

.selection .separator {
  background: #fff;
  float: left;
  height: 100%;
  width: 1px;
}

.selection a {
  color: inherit;
  float: left;
  height: 26px;
  letter-spacing: 0.35em;
  line-height: 26px;
  padding: 0 16px 0 20px;
  text-decoration: none;
}

@media only screen and (min-width: 40.000em) {

  .logo {
    margin-left: -85px;
    width: 170px;
  }

  h1 {
    top: 40%;
  }

  .selection {
    font-size: 21px;
    top: 52%;
  }

  .selection a {
    padding-left: 24px;
    padding-right: 20px;
  }

}