/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.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
   ========================================================================== */

   @import url("https://use.typekit.net/ltt1dtb.css");

   /* universal style */
   * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
   }
   
   :root {
      --color-bg: #252729;
      --color-bg-light: #f7f7f7;
      --color-bg-white: #ffffff;
      --color-brand: #da291c;
      --color-brand-dark: #ba291c;
      --color-text: #ffffff;
      --color-text-light: #dddada;
      --color-text-dark: #252729;
    }

   
   html {
     scroll-behavior: initial;
     box-sizing: border-box;
     font-size: calc(100vw / 1920 * 10);
     -moz-osx-font-smoothing: grayscale;
     -webkit-font-smoothing: antialiased;
   
     @media only screen and (max-width: 1024px) {
       font-size: calc(16px / 3) !important;
     }
     @media (min-width: calc(100vh * (16 / 9))) {
       font-size: calc(100vh / 1080 * 10);;
     }
   }
   
   body {
     background-color: var(--color-bg);
     color: var(--color-text);
     overscroll-behavior: none;
     font-family: "source-sans-3", sans-serif;
     font-weight: 400;
     font-display: swap;
   /*   overflow-x: hidden; */
     opacity: 0;
   /*   padding: 0 4.5rem; */
     transition: all 0.5s ease;
   }
   
   ::-webkit-scrollbar {
     width: 10px;
     background: var(--color-text-light);
   }
   
   ::-webkit-scrollbar-thumb {
     background: var(--color-text);
     border-radius: 10px;
   }
   
   body.fonts-loaded {
     opacity: 1 !important;
   }
   
   p {
     color: var(--color-text);
   }
   
   *,
   *:before,
   *:after {
     box-sizing: inherit;
     user-select: none;
     outline: none;
     -webkit-touch-callout: none;
   }
   
   :focus {
     outline: none;
   }
   
   ::-moz-focus-inner {
     border: 0;
   }
   
   a {
     color: inherit;
     outline: none;
     pointer-events: auto;
     text-decoration: none;
   }
   
   button {
     background: none;
     border: none;
     border-radius: none;
     color: inherit;
     font: inherit;
     outline: none;
     cursor: pointer;
   }
   
   img {
     max-width: 100%;
     vertical-align: middle;
     object-fit: cover;
   }
   
   .link {
     font-size: 2rem;
     font-weight: 700;
     line-height: 1.4;
     color: var(--color-bg);
     background-color: var(--color-text);
     padding: 2rem 4rem;
     transition: all 0.3s ease-in-out;
   }
   
   .link:hover {
     background-color: var(--color-text-light);
     color: var(--color-text);
   }
   
   /* textify custom css style */
   
   .title-1 .char::after {
     content: attr(data-char);
     visibility: visible;
     display: inline-block;
     top: 100%;
     color: var(--color-text-light);
   }
   
   .banner-title .char::before,
   .banner-title .char::after {
     content: attr(data-char);
     visibility: visible;
     display: inline-block;
     top: -100%;
     color: var(--color-text-light);
   }
   
   .banner-title .char::before {
     top: -200%;
     color: var(--color-text);
   }
   
   #shepherd {
       margin: 0 auto;
       max-width: calc(100% - 7.5rem);
         width: 120rem;
   }
   #shepherd p {
       color: var(--color-text-light);
     font-size: 3rem;
     line-height: 2.5;
     margin: 0 0 7.5rem; 
   }
   #shepherd h1, #shepherd h2 {
     font-family: 'source-sans-3';
   }
   #shepherd h1 {
     font-size: 16rem;
     font-weight: 700;
     line-height: 1;
     @media only screen and (max-width: 450px) {
        font-size: 18.8889vw !important;
     }
   }
   #shepherd h2 {
     font-size: 7.5rem;
     font-weight: 700;
     line-height: 1.5;
     margin: 0 0 7.5rem;
   }
   #shepherd .section {
       display: flex;
       flex-direction: column;
       min-height: calc(100vh + 1px);
   }
   #shepherd .section:last-of-type {
       margin-top: -7.5rem;
   }
   #shepherd .section:last-of-type > :first-child {
       margin-top: 7.5rem;
   }
   #shepherd .headline {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
       margin: 18rem 0;
   }
   #shepherd .headline p {
     margin: 1rem 0;
   }
   #shepherd .footer {
     flex-grow: 1;
     display: flex;
     flex-direction: column;
     justify-content: end;
   }
   #shepherd .copy {
       margin-bottom: 3rem;
   }
   #shepherd form {
     display: flex;
     margin-bottom: 7.5rem;
   }
   #shepherd form * {
     border: none;
     font: inherit;
     font-size: 3rem;
     padding: 3rem 4.5rem;
     line-height: 2;
     outline: none;
   }
   #shepherd h2, 
   #shepherd p, 
   #shepherd form {
       max-width: 90rem;
   }
   #shepherd input[type="email"] {
     background-color: var(--color-bg-light);
       color: var(--color-text-dark);
       transition: background-color .1s ease-in-out;
     flex-grow: 1;
   }
   #shepherd input[type="email"]:focus {
    background-color: var(--color-bg-white);
   }
   #shepherd input[type="submit"] {
     background-color: var(--color-brand);
     color: var(--color-text);
     transition: background-color .1s ease-in-out;
     cursor: pointer;
   }
   #shepherd input[type="submit"]:focus,
   #shepherd input[type="submit"]:hover {
     background-color: var(--color-brand-dark);
   }

/*
 * 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 */
}

/* ==========================================================================
   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;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

