/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.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
   ========================================================================== */

html {
  color: #222;
  font-size: 1.125em;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

a:link {
  text-decoration: none;
}

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


   .white-subheading {
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
  }

  .blue-subheading {
    color: #0e4689;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;

  }

  @media screen and (max-width: 991px) {
    .blue-subheading {
      font-size: 20px;
    }

    .white-subheading {
        font-size: 20px;
      }
    }

/*------------------------------------*\
  #Top Section
\*------------------------------------*/

.top-section {
  background-color: #0e4689;
}

.top-grid {
  display: grid;
  max-width: 1440px;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  -ms-grid-columns: 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr;
  -ms-grid-rows: auto minmax(30vh, auto);
  grid-template-rows: auto minmax(30vh, auto);
}

.logo {
  width: 150px;
  height: 100px;
  background-image: url("../img/ipWordMarkWhite.png");
  background-position: 50% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

.cta-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  animation: fade-in ease 1s;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 50px;
  padding-bottom: 50px;
}

.hero-heading {
  color: #fff;
  font-size: 50px;
  line-height: 1.2;
  text-align: center;
  font-weight: bold;
}


.btn {
  margin-top: 20px;
  border-radius: 6px;
  background-color: #ff5f59;
  color: white;
  padding: 9px 16px;
  margin-bottom: 40px;
}

.letter-grid {
  display: grid;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding: 60px;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  -ms-grid-rows: auto;
  grid-template-rows: auto;
  animation: fade-in ease 4s;
}

.letter-paragraph {
  margin-right: 10px;
  line-height: 1.8;
}

.letter-paragraph.left {
  line-height: 1.8;
}

.letter-paragraph.right {
  margin-right: 0px;
  margin-left: 10px;
}

@media screen and (max-width: 1439px) {
  .cta-container {
    padding: 0px 60px;
  }
}

@media screen and (max-width: 991px) {
  .logo {
    margin-top: 10px;
    margin-left: 10px;
  }

  .cta-container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .hero-heading {
    font-size: 40px;
  }


  .letter-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    padding: 3%;
  }

  .letter-paragraph {
    margin-right: 0px;
    padding-right: 40px;
    padding-left: 40px;
  }

  .letter-paragraph.right {
    margin-left: 0px;
  }
}

@media screen and (max-width: 479px) {
  .top-grid {
    -ms-grid-rows: auto minmax(40vh, auto);
    grid-template-rows: auto minmax(40vh, auto);
  }

  .cta-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-heading {
    font-size: 30px;
  }

  .letter-paragraph {
    margin-bottom: 0px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .letter-paragraph.right {
    margin-left: 0px;
  }
}

#logo-node {
  -ms-grid-column-align: center;
  justify-self: center;
}

#cta-node {
  -ms-grid-column-span: 3;
  grid-column-end: 4;
  -ms-grid-column: 1;
  grid-column-start: 1;
  -ms-grid-row-span: 1;
  grid-row-end: 3;
  -ms-grid-row: 2;
  grid-row-start: 2;
  -ms-grid-row-align: center;
  align-self: center;
  -ms-grid-column-align: auto;
  justify-self: auto;
}

/*------------------------------------*\
  #Feature Section
\*------------------------------------*/

.feature-section {
  background-color: #0e4689;
}

.feature-grid {
  display: grid;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding: 60px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  animation: fade-in ease 2s;
}

.first {

  grid-area: 2 / 1 / 3 / 2;
  align-self: start;
  justify-self: end;
}

.second {

  grid-area: 2 / 2 / 3 / 3;
  align-self: start;
  justify-self: start;

}

.feature-item {
  color: white;
  padding-top: 20px;
}

#heading-node {
  grid-area: 1 / 1 / 2 / 3;
  align-self: center;
  justify-self: auto;
}

@media screen and (max-width: 991px) {
  .feature-grid {
    grid-template-columns: 1fr;
    padding: 3%;
    grid-template-rows: unset;
  }

  #heading-node {
    grid-area: 1 / 1 / 2 / 1;
    align-self: center;
    justify-self: auto;
  }

  .checklist{
    align-self: center;
    justify-self: center;
  }

  .first {
    grid-area: 2 / 1 / 2 / 1;
    justify-self: stretch;


  }

  .second {
    grid-area: 3 / 1 / 3 / 1;
    justify-self: stretch;
    margin-block-start: -20px;

  }
}

@media screen and (max-width: 479px) {
}

/*------------------------------------*\
  #Video Section
\*------------------------------------*/

.video-grid{
display: grid;
max-width: 1440px;
margin-right: auto;
margin-left: auto;
padding: 60px;
-ms-grid-columns: 1fr
grid-template-columns: 1fr
-ms-grid-rows: auto;
grid-template-rows: auto;
}


.video{
  display: block;
  height: 450px;
  margin-right: auto;
  margin-left: auto;
  border: 20px solid #000;
  border-radius: 20px;
  margin-top: 50px;
  animation: fade-in ease 2s;
}

@media screen and (max-width: 991px) {
  .video{
    max-width: 100%;
    height: auto;
    border: 15px solid #000;
    border-radius: 15px;
  }
}

@media screen and (max-width: 479px) {
  .video{
    max-width: 100%;
    height: auto;
    border: 10px solid #000;
    border-radius: 10px;
  }
}

/*------------------------------------*\
  #FAQ Section
\*------------------------------------*/

.faq-grid {
  display: grid;
  max-width: 1440px;
  margin-right: auto;
  margin-left: auto;
  padding: 60px;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  -ms-grid-rows: auto;
  grid-template-rows: auto;
}

.faq-title{

}
.faq-paragraph{
  margin-right: 10px;
  line-height: 1.8;
  animation: fade-in ease 2s;
}

.padr{
  margin-left: 10px;
}

@media screen and (max-width: 991px) {
.faq-grid {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  padding: 3%;
  padding-bottom: 40px;
}

.faq-wrapper {
  margin-right: 0px;
  padding-right: 40px;
  padding-left: 40px;
}

.padr{
  margin-left: 0px;
}

.faq-title{
font-size: 20px;
}
}

@media screen and (max-width: 479px) {
.faq-wrapper {
margin-bottom: 0px;
padding-right: 20px;
padding-left: 20px;
}
}

/*------------------------------------*\
  #Booking Section
\*------------------------------------*/

.calendly-inline-widget{
  min-width:320px;
  height:900px;"

}


@media screen and (max-width: 991px) {
  .calendly-inline-widget{
    min-width:320px;
    height:700px;"

  }
}


/*------------------------------------*\
  #Animations
\*------------------------------------*/

  @keyframes fade-in {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }

  @keyframes slide-up {
    0% {
      transform: translateY(10%);
      opacity: 0.5;
    }

    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0px);
    }

    40% {
      transform: translateY(-15px);
    }

    60% {
      transform: translateY(-5px);
    }
  }




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

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