@font-face {
  font-family: 'Helvetica';
  src: url('helvetica-webfont.woff2') format('woff2'),
    url('helvetica-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'Helvetica';
  src: url('helvetica-bold-webfont.woff2') format('woff2'),
    url('helvetica-bold-webfont.woff') format('woff');
  font-weight: bold;
  font-style: normal;

}


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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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;
}

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

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

body {
  font-family: Helvetica, sans-serif;
}

header {
  z-index: 2;
  display: flex;
  width: 100%;
  padding: 0 2.1vw;
  box-sizing: border-box;
  align-items: center;
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  position: relative;
  position: relative;
  top: -32px;
}

main {
  background: #E5EAF0;
  margin: 4.2vw;
  min-height: calc(100vh - 160px);
  position: relative;
  padding-top: 0;
}

nav {
  display: flex;
  width: 580px;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 4.2vw;
}

nav a {
  display: block;
  text-align: center;
  color: black;
  font-weight: bold;
  width: 20%;
  font-size: 17px;
  text-decoration-thickness: 1px;
  text-underline-offset: 1px;
}

nav a img {
  display: block;
  margin: 0 auto 5px;
}

h1 {
  font-size: 7.85vw;
  line-height: 7vw;
  letter-spacing: -1px;
  position: relative;
  left: -2vw;
  margin: 0;
}

h1.end {
  margin-top: -3vw;
}

.title {
  position: absolute;
  top: 24vw;
}

.title h1:first-child {
  margin-bottom: 7.75vw;
}

.covers {
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  margin: -4.2vw auto 0;
}

.covers img {
  width: 25%;
  height: auto;
}

footer {
  display: flex;
  padding: 300px 40px 40px;
  font-size: 17px;
}

footer a {
  font-weight: 700;
  color: black;
  margin-right: 40px;
}

footer p {
  margin: 0 0 0 auto;
}

.credits {
  display: flex;
  align-items: center;
  font-size: 10px;
  margin-left: auto;
  margin-top: 0;
  margin-bottom: 4.2vw;
}

.credits p {
  line-height: 14px;
  padding: 0;
  margin: 0 0 0 20px;
  white-space: nowrap;
}

.credits a {
  color: black;
  text-decoration: none;
}

@media only screen and (max-width: 768px) {
  main {
    margin: 40px;
  }

  .title {
    top: 30vw;
  }

  h1 {
    font-size: 11.7vw;
    line-height: 11vw;
  }

  h1.end {
    margin-top: -23px;
  }

  .covers img {
    width: 33%;
  }

  footer {
    padding: 300px 30px 30px 30px;
    font-size: 15px;
  }

  footer a {
    margin-right: 20px;
  }
}

@media only screen and (max-width: 600px) {
  main {
    margin: 40px;
    padding-top: 4.2vw;
  }

  nav a {
    font-size: 10px;
  }

  nav a img {
    width: 12px;
    height: 12px;
  }

  .covers img {
    width: 50%;
  }

  .credits img {
    width: 40px;
    height: 40px;
  }

  .credits p {
    font-size: 7px;
    line-height: 9px;
    margin-left: 10px;
  }

  .title {
    top: 96vw;
  }

  h1 {
    font-size: 12.7vw;
    line-height: 12vw;
  }

  footer {
    display: block;
    font-size: 17px;
    padding-top: 200px;
    padding-left: 20px;
    padding-right: 20px;
  }

  footer p {
    padding-top: 20px;
  }
}