/*! 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;
}

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

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

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



/*WRL CSS*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
  font-family: 'Open Sans', sans-serif;
}

/*Header*/
.top-green {
  height: 40px;
  background-color: #8dc73f;
  border-bottom: 6px solid #122f67;
}

.money-container {
  background-image: url('../img/money-background-opt.jpg');
  background-size: cover;
  height: 325px;
  position: relative;
}

.money-container img {
  position: absolute; 
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto;
  border-radius: 50%;
  background-color: #fff;
  -webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.3); 
  box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.3);
  top: 25px;
}



/*Main*/
.main-page {
  background-color: #122861;
  background-image: url('../img/cube-background-opt.jpg');
  background-size: contain;
}

.main-page .container, .secondary-page .container {
  text-align: center;
  margin-top: -48px;
  padding-top: 55px;
  padding-bottom: 40px;
}

.secondary-page .container p {
  color: #000 !important;
}

.secondary-page .container p a {
  color: #000 !important;
  text-decoration: none;
}

.secondary-page .container p a:hover {
  text-decoration: underline;
}

.container {
  width: 1199px;
  margin: auto;
  position: relative;
}

.container-fluid {
  width: 100%;
}

.large-p {
  font-size: 48px;
  color: #fff;
  line-height: 68px;
  margin-bottom: 0;
  font-weight: 500;
}

.large-p span {
  font-size: 70px;
  font-weight: 600;
}

.small-p {
  font-size: 23px;
  color: #fff;
  margin-top: 5px;
  line-height: 45px;
}

.green-button-absolute {
  background-color: #8dc73f;
  font-size: 26px;
  font-weight: 100;
  padding: 15px 75px;
  color: #fff;
  text-decoration: unset;
  display: block;
  width: fit-content;
  margin: auto;
  margin-bottom: -20px;
  position: absolute;
  bottom: -12px;
  left: 0; 
  right: 0; 
  margin-left: auto; 
  margin-right: auto;
  font-weight: 400;
}

.green-button-absolut:hover {
  text-decoration: underline;
}

.green-button {
  background-color: #8dc73f;
  font-size: 26px;
  font-weight: 100;
  padding: 15px 75px;
  color: #fff;
  text-decoration: unset;
  display: block;
  width: fit-content;
  margin: auto;
  margin-bottom: -20px;
  margin-left: auto; 
  margin-right: auto;
  margin-bottom: 20px;
  font-weight: 400;
}

.green-button:hover {
  text-decoration: underline;
}

.secondary-page {
  padding-top: 35px;
}

.secondary-page .container {
  padding-top: 35px;
  padding-bottom: 0;
}

.secondary-page h2 {
  color: #162f66;
  font-size: 38px;
  font-weight: 500;
  margin-bottom: 0px;
}

.no-top-margin {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}

.secondary-page h3 {
  font-size: 30px;
  color: #162f66;
  font-weight: 500;
  margin-top: 0 !important;
  line-height: 40px;
  margin-bottom: 20px;
}

.secondary-page h3 a {
  color: #162f66;
  text-decoration: none;
}

.secondary-page h3 a:hover {
  text-decoration: underline;
}
  
.margin-bottom {
  margin-bottom: 0;
  margin-top: 0;
}














/*Footer*/
.footer-contact {
  text-align: center;
}

.footer-contact {
  padding-left: 0 !important;
  margin-top: 0;
}

.footer-contact li {
  display: inline;
  border-left: 2px solid #8dc73f;
  padding-left: 20px;
  padding-right: 15px;
  font-size: 18px !important;
  color: #56565b;
  font-weight: 500;
}

.footer-contact li a {
  color: #56565b;
  text-decoration: none;
}

.footer-contact li a:hover {
  text-decoration: underline;
}

.footer-contact li.first {
  border-left: none;
}

.footer {
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer p {
  text-align: center;
  font-size: 18px !important;
  color: #56565b;
  margin-bottom: 0px;
  font-weight: 500;
}







/*Responsive Programming*/
@media screen and (max-width: 1199px) {
  .container {
    width: 100%;
  }
  
  .large-p {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .small-p {
    padding-left: 15px;
    padding-right: 15px;
  }

  .secondary-page h2, .secondary-page h3 {
    padding-left: 15px;
    padding-right: 15px;
  }

}


@media screen and (max-width: 991px) {
  .large-p {
    font-size: 32px;
    line-height: 38px;
    margin-top: 60px;
  }
  
  .large-p span {
    font-size: 42px;
  }
  
  .large-p br {
    display: none !important;
  }
  
  .small-p {
    padding-left: 15px;
    padding-right: 15px;
    line-height: 32px;
  }
  
  .small-p br {
    display: none !important;
  }

}


@media screen and (max-width: 767px) {
  .footer p {
    padding-right: 15px;
    padding-left: 15px;
  }
}


@media screen and (max-width: 550px) {
  .money-container img { 
    width: 200px;
    top: 10px;
  }
  
  .money-container {
    height: 185px;
  }
  
  .footer-contact {
    margin-top: 20px;
  }
  
  .footer-contact li {
    display: block;
    border: 0 !important;
  }
  
  .secondary-page h2 {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 10px;
  }
  
  .secondary-page h3 {
    font-size: 22px;
    line-height: 30px;
  }
  
  .green-button-absolute, .green-button {
    padding: 15px 50px;
    font-size: 20px;
  }
  
  
}


@media screen and (max-width: 425px) {
  .large-p {
    font-size: 28px;
    line-height: 34px;
    margin-top: 40px;
  }
  
  .large-p span {
    font-size: 34px;
  }
  
  .small-p {
    font-size: 20px;
    line-height: 30px;
    margin-top: 15px;
  }
  
}