/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */
/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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
   ========================================================================== */
* {
  box-sizing: border-box !important;
}

html {
  font-size: 1em;
  line-height: 1.4;
  color: #222222;
}

/*
 * 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;
}

/*
 * 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;
}

/* ==========================================================================
   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 */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *::before,
  *::after {
    color: #000000 !important;
    background: #ffffff !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^='#']::after,
  a[href^='javascript:']::after {
    content: '';
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

@font-face {
  font-family: Adca;
  src: url('/assets/fonts/Adca.ttf');
}

html, body {
  height: 100%;
}

body {
  background-image: url('/assets/img/background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 85vw;
  height: 75vh;
  margin: 0 auto;
  padding: 5vh;
}

.container img {
  width: 80%;
  margin: auto;
}

header h1 {
  font: 3rem/3.5rem Adca, sans-serif;
  margin: 0;
  color: white;
  text-shadow: 1px 1px 32px #666666
}

header p {
  font: lighter 1.75rem/2rem sans-serif;
  margin-top: 1rem;
  color: white;
  text-shadow: 1px 1px 15px #666666
}

@media only screen and (min-width: 768px) {
  header h1 {
    font-size: 5rem;
    line-height: 6rem;
  }

  .container img {
    width: 24vw;
    max-width: 350px;
    margin: 0;
  }
}
