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

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

body {
  width: 100vw;
}

main {
  width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
}
/*
 * 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
   ========================================================================== */

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

/*
 * Hide visually and from screen readers
 */

.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
*/

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

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

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

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

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. 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: " "; /* 1 */
  display: table; /* 2 */
}

.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 */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

body {
  background: #1c1c1c;
  font-family: "Lato", sans-serif;
  color: white;
}

header {
  height: 87px;
  background: rgba(28, 28, 28, 0.94);
  display: flex;
  align-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
}

.screen-reader-hidden {
  position: absolute;
  transform: scale(0);
}

*:focus {
  outline: 2px solid red;
}

.hero {
  background: red;
  height: 90vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fo-caption {
  position: absolute;
  bottom: 50px;
  left: 0;
  background: rgba(28, 28, 28, 0.94);
  padding: 25px;
}
.fo-caption h3 {
  margin: 0;
  font-weight: 300;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 1px;
}

nav img {
  padding-left: 25px;
}

article {
  display: flex;
  width: 100vw;
  max-width: 90vw;
  padding: 80px 80px;
}

.col-6 {
  flex-basis: 50%;
}

p {
  display: flex;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 1px;
}

p span {
  padding-right: 60px;
}

p span.italic {
  padding-right: 30px;
  padding-left: 30px;
}

.fo-title-wrapper {
  display: flex;
  flex-direction: column;
}

.fo-title-wrapper h2 {
  order: 0;
  font-style: italic;
  font-weight: 100;
  font-size: 14px;
  letter-spacing: 2px;
}

.fo-title-wrapper h1 {
  order: 1;
  margin-top: 0;
  letter-spacing: 1px;
}

.italic {
  font-style: italic;
  font-weight: 300;
}

footer {
  display: flex;
  width: 100vw;
  max-width: 90vw;
  padding: 40px 40px;
  flex-wrap: wrap;
}

hr {
  width: 100vw;
  flex-basis: 100%;
  opacity: 0.5;
}

.col-4 {
  display: flex;
  flex-basis: 40%;
  justify-content: flex-end;
}

.col-4 ul li {
  margin-bottom: 30px;
}
.col-8 {
  flex-basis: 60%;
}

ul {
  list-style-type: none;
}

.footer-wrapper {
  padding: 0 40px;
  width: 100vw;
  display: flex;
}

.footer-wrapper h4 {
  margin-top: 0;
  letter-spacing: 1.2px;
}

.partnership {
  margin-right: 60px;
}

.copyright {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 100;
}

.fo-img-wrapper {
  position: relative;
  height: 100%;
}

.fo-img-absolute {
  position: absolute;
  left: 283px;
  top: 50px;
  width: 350px;
}

.fo-img-absolute__right {
  position: absolute;
  right: 0px;
  top: 150px;
  z-index: 999;
  width: 150px;
}

.fo-img-relative {
  margin-left: 50px;
  width: 200px;
}

.fo-img-absolute__center {
  position: absolute;
  bottom: 0;
  left: 40%;
  width: 300px;
}

.img-full {
  width: 100%;
  height: 700px;

  background-size: cover !important;
  background-repeat: no-repeat !important;
}

a:hover {
  opacity: 0.7;
}
a {
  transition: 0.3s ease;
}

.zoom {
  animation: scale 40s linear infinite;
}

@keyframes scale {
  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
  }
}

/* Landscape */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
  .fo-img-absolute__right {
    z-index: 999;
    width: 150px;
    top: 322px;
  }
  .fo-img-absolute__center {
    left: 19%;
  }
}

@media only screen and (min-width: 1280px) {
  .img-full {
    width: 100%;
    height: 700px;
    background-size: cover;
    background-attachment: fixed !important;
  }
}

@media only screen and (max-width: 1024px) {
  .col-6 {
    flex-basis: 100%;
    margin-bottom: 100px;
  }
  article {
    flex-wrap: wrap;
  }
  .img-full {
    background-attachment: auto;
  }
  .fo-img-absolute__center {
    position: relative;
  }
  .fo-img-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

@media only screen and (max-width: 991px) {
  p {
    flex-wrap: wrap;
  }
  p span {
    padding: 0;
  }
  p span.italic {
    padding: 0;
    margin-top: 20px;
  }
  article {
    padding: 80px 0;
  }
  main {
    padding: 0 30px;
  }
  .img-full {
    height: 400px;
  }
}

@media only screen and (max-width: 767px) {
  footer {
    width: 100%;
    box-sizing: border-box;
  }
  .footer-wrapper {
    flex-wrap: wrap;
    padding: 0;
  }
  .col-8 {
    flex-basis: 100%;
    order: 2;
  }
  .col-8 br {
    display: none;
  }
  .col-4 {
    order: 0;
    flex-basis: 100%;
    flex-direction: column;
  }
  .col-4 ul {
    margin: 0;
    padding: 0;
  }
  .fo-img-relative {
    margin: 0;
  }
  .fo-img-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
  }
  .fo-img-wrapper img {
    position: relative !important;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    margin-top: 20px;
  }
}
