/*! 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
   ========================================================================== */

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;
}

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

.sr-only {
  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 .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.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
 *
 * 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: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primulticolor-leaf ('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: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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:
   * https://web.archive.org/web/20180815150934/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;
  }
}
   
/*=================
Intro animation
==================*/

html, body {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  font-family:'Montserrat',Helvetica,Arial, sans-serif;
  background:#222;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}

h1, h2, p {
    margin: 0;
}

/*===================
main content area
====================*/

#projector {
  position: absolute; 
  top: 50%;
  left: 0px;
  width:100%;
  height:100%;
  opacity:0.75;
  z-index:1;
} 

.no-webp .main-content-area {
  background-image:linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),url('../img/chair-dark.jpg');
}

.webp .main-content-area {
  background-image:linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),url('../img/chair-dark.jpg');
}

.main-content-area {
  display:flex;
  min-height:100%;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center center;
  position:relative;
  z-index:0;
}

.main-content-inner::-webkit-scrollbar {
  display:none;
}

.main-content-inner {
  display:flex;
  padding-left:100px;
  padding-right:100px;
  max-width:1920px;
  justify-content:flex-end;
  margin-left:auto;
  z-index:2;
  -ms-overflow-style:none;
  scrollbar-width:none;
}

.main-content-left {
  flex-basis:55%;
  display:flex;
  max-height:650px;
  align-items:center;
  flex-direction:column;
  justify-content:space-between;
}

.main-content-heading {
  font-family:'Montserrat',Helvetica,Arial, sans-serif;
  font-weight:900;
  font-size:4rem;
  line-height:1;
  color:white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);  
  animation: fadeInUp 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s forwards;
  opacity: 0;
}

.heading-underline {
  background-image: linear-gradient(120deg, #A42324 0%, #c12425 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 88%;
}

.main-content-subheading {
  font-family:'Montserrat',Helvetica,Arial, sans-serif;
  font-weight:300;
  font-size:1.75rem;
  color:white;  
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  animation: fadeInUp 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 0.75s forwards;
  opacity: 0;
  margin-top:35px;
}

@keyframes name {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.main-content-button {
  margin-top:35px;
  animation: fadeInUp 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 1s forwards;
  opacity: 0;
  display:flex;
  align-self:flex-end;
}

.cta-button {
  min-width: 300px;
  min-height: 60px;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  text-transform: lowercase;
  letter-spacing: 1.3px;
  font-weight: 600;
  color: white;
  background: #C8A289;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  background-image: -webkit-linear-gradient(0deg,#A42324 0,#c12425 100%);
  background-image: -ms-linear-gradient(0deg,#A42324 0%,#c12425 100%);
  border: none;
  border-radius: 1000px;
  box-shadow: 0 2px 5px 0 rgba(63,54,132,.1)!important;
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  outline: none;
  position: relative;
  text-decoration: none;
  padding: 10px;
  -webkit-transform:translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
	-webkit-transform: scale(1);
	-webkit-transform-style: preserve-3d;
	margin-bottom:85px;
	display:flex;
	align-items:center;
	justify-content:center;
  }

.cta-button::before {
content: '';
  border-radius: 1000px;
  min-width: calc(300px + 12px);
  min-height: calc(60px + 12px);
  border: 6px solid #C8A289;
  box-shadow: 0 0 60px rgba(200,162,137,.64);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all .3s ease-in-out 0s;
}

.cta-button:hover, button:focus {
  color: white;
  transform: translateY(-6px);
}

.cta-button:hover::before, button:focus::before {
  opacity: 1;
}

.cta-button::after {
  content: '';
  width: 30px; height: 30px;
  border-radius: 100%;
  border: 6px solid #A42324;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring 1.5s infinite;
}

.cta-button:hover::after, .cta-button:focus::after {
  animation: none;
  display: none;
}

@keyframes ring {
  0% {
    width: 30px;
    height: 30px;
    opacity: 1;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

.main-content-right {
  flex-basis:75%;
  display:flex;
  flex-direction:column;
  text-align:right;
}

.main-content-logo {
  align-self:flex-end;
  opacity:0;
  animation: name 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 1.5s forwards;
  padding-top:20px;
}

.logo-img {
  width:auto;
  max-height:185px;
  max-width:100%;
  margin-bottom:85px;
}

.main-content-credit {
  align-self:flex-end;
  border-radius: 5px;
  padding-bottom:20px;
  margin-top:auto;
}

.main-content-credit-text {
  font-size:11px;
  color:#128FF9;
  text-align:left;
  margin-bottom:5px;
}

.main-content-credit-logos {
  text-align:left;
}

.credit-logo {
  width:55px;
  height:55px;
  filter: grayscale();
  transition: filter 0.4s ease-in-out;
}

.credit-logo:hover {
  filter:none;
}

.clf {
  margin-right:30px;
  animation: name 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 1.75s forwards;
  opacity:0;
}

.cls {
  animation: name 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) 1.95s forwards;
  opacity:0;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}

.animatedFadeInUp {
    opacity: 0
}

.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}