/*
 Theme Name:   WRA LP
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for WRA LP
 Author:       
 Template:     twentynineteen
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  wra-wi-dem-lp
*/

/* ========= COLOR REFERENCES ========= */
:root {
  --bg: #f4f4f4;
  --red: #d60812;
  --blue: #0a4486;
  --black: #1a1818;
}

/* ==================================== */

/* ======== TABLE OF CONTENTS =========
	1. TYPOGRAPHY
	2. GLOBAL
	3. MAIN CONTENT
	- 3a. Landing Page
	- 3a. About Page
/* ==================================== */

/* ------------------------------ 
    1. Start Typography
------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6,
a,
ul,
.btn,
button {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  margin: 0;
}

h1,
.h1 {
  font-size: 64px;
  line-height: 1.05;
}

h2,
.h2 {
  font-size: 32px;
  line-height: 1.25;
}

h3,
.h3 {
  font-size: 2.188em;
  line-height: 42px;
}

h4,
.h4 {
  font-size: 16px;
}

html,
body {
  overflow-x: hidden;
}

p,
.p {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  line-height: 2;
  color: var(--black);
}

small {
  font-size: 12px;
  line-height: 1.33;
}

a,
.anchor-theme {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  text-decoration: none !important;
  transition: none;
  color: black;
  border: none;
  background: none;
}

a:hover,
a:focus,
.anchor-theme:hover,
.anchor-theme:focus {
  font-weight: 800;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.menu {
  display: flex;
  list-style: none;
}

.menu-item {
  padding: 0 10px;
}

.main-menu-more {
  display: none;
}

.nav-link {
  padding: 0.5rem;
}

nav .current-menu-item a {
  font-weight: 700;
  border-bottom: 2px solid var(--secondary);
}

/* ------------------------------ 
    1. End Typography
------------------------------ */

/* ------------------------------ 
    2. Start Global
------------------------------ */
@-ms-viewport {
  width: device-width;
}

html {
  font-size: 16px;
}

body {
  font-size: 16px;
  /* Adjust this on mobile to globally change P-tags :NOT H-tags) */
  color: var(--gray);
}

header {
  position: absolute;
  z-index: 3;
  width: 100%;
  top: 0;
  left: 0;
}

.ls-100 {
  letter-spacing: 0.1em;
}

.white {
  color: white !important;
}

.red {
  color: var(--red) !important;
}

.blue {
  color: var(--blue) !important;
}

.desktop {
  display: block !important;
}

.mobile {
  display: none !important;
}

.fw-400 {
  font-weight: 400;
  /* Regular */
}

.fw-700 {
  font-weight: 700;
  /* Bold */
}

.italic {
  font-style: italic;
}

.normal {
  font-style: normal;
}

section {
  position: relative;
}

img {
  width: 100%;
}

.bg {
  background: var(--bg);
}

.bg-blue {
  background: var(--blue);
}

.bg-white {
  background: var(--white);
}

.gform_button,
button {
  font-weight: 800;
  color: white;
  border: none;
  border-radius: 50px;
  background: var(--red);
  padding: 0 36px;
  width: 100%;
}

button:hover,
button:focus {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

button:active {
  background-color: #c10912;
}

/* ------------------------------ 
    2. End Global
------------------------------ */

/* ------------------------------ 
    3. Start Main Content
------------------------------ */
/*  - 3a. Landing Page  */
.page-template-page-lp .splash,
.page-template-page-thankyou .splash {
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.2) 55%,
      rgba(255, 255, 255, 0) 60%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("/wp-content/themes/wra-wi-dem-lp/assets/images/1_hero_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-blend-mode: hard-light;
  padding-bottom: 5%;
}

.page-template-page-lp .splash [alt*="logo"] {
  width: 80%;
  padding-top: 30%;
}

input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: var(--white);
}

input::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--white);
}

input:-ms-input-placeholder {
  /* IE 10+ */
  color: var(--white);
}

input:-moz-placeholder {
  /* Firefox 18- */
  color: var(--white);
}

.gform_wrapper {
  width: 65%;
  margin: 0 auto;
  padding-bottom: 45%;
}

.gfield:nth-child(2),
.gfield:nth-child(3),
.ginput_container,
.name_first input,
.name_last input {
  margin: 0 !important;
}

.ginput_container_email input {
  width: 100% !important;
}

.name_first input,
.name_last input,
.ginput_container input {
  font-weight: 700;
  color: white;
  background-color: rgba(26, 24, 24, 0.25);
  border: none;
  border-radius: 12px;
  padding: 0 20px !important;
}

.name_first input::placeholder,
.name_last input::placeholder,
.ginput_container input::placeholder {
  font-weight: 400;
}

.name_first input:hover,
.name_last input:hover,
.ginput_container input:hover,
.name_first input:focus,
.name_last input:focus,
.ginput_container input:focus,
.name_first input:active,
.name_last input:active,
.ginput_container input:active {
  background-color: rgba(26, 24, 24, 0.4);
}

form {
  position: relative;
}

.gform_footer {
  width: fit-content !important;
  position: absolute;
  right: 0;
  top: 95px;
}

.gform_confirmation_message {
  color: white;
  text-align: center;
  margin-bottom: 30px;
}

/*  - 3b. About Page  */
.page-template-page-about .splash {
  background: url("/wp-content/uploads/sites/43/2021/12/2_hero.jpg") no-repeat
    center center;
  background-size: cover;
  padding-bottom: 5%;
}

.page-template-page-about h1 {
  padding-top: 30%;
}

.page-template-page-about .splash p {
  width: 70%;
}

.page-template-page-about .splash #signature {
  font-family: adobe-handwriting-ernie, sans-serif;
  font-size: 24px;
}

.page-template-page-about .map {
  background: url("/wp-content/uploads/sites/43/2021/12/map.svg") no-repeat
    center center;
  background-size: cover;
}

.page-template-page-about .body img {
  height: 364px;
  object-fit: cover;
}

/* ------------------------------ 
    3. End Main Content
------------------------------ */

.sans-flex {
  font-family: "Google Sans Flex", sans-serif;
}
.rock-salt {
  font-family: "Rock Salt", cursive;
}

.d1 {
  font-size: 90px;
  line-height: 1;
}
.f-800 {
  font-weight: 800;
}
.f-400 {
  font-weight: 400;
}

.text-navy {
  color: #2a2c42;
}
.bg-navy {
  background-color: #2a2c42;
}
.text-off-white {
  color: #e5e6e6;
}
.text-blue {
  color: #2b6099;
}
.text-purple {
  color: #8031a7;
}
.text-red {
  color: #ed3d3d;
}
.form-subline {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}
.px-custom-2 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.mw-588 {
  max-width: 588px;
}

.speak4-form__input--message {
  height: 290px !important;
  padding: 48px 12px 72px;
  font-size: 12px;
  line-height: 1;
  font-family: "Google Sans Flex", sans-serif;
  color: rgba(53, 53, 53, 0.5);
}

.show-top .speak4-embed__bread--top {
  color: rgba(53, 53, 53, 0.5);
}
.show-bottom .speak4-embed__bread--bottom {
  color: rgba(53, 53, 53, 0.5);
}

.speak4-form__btn {
  align-items: center;
  background-color: #2b6099 !important;
  border-radius: 8px !important;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex !important;
  font-size: 16px;
  justify-content: center;
  line-height: 1.5;
  padding: 0.5em 0.75em;
  transition: 0.2s all;
  width: 70% !important;
  font-weight: 700;
  font-family: "Google Sans Flex", sans-serif;
}

.speak4-form__input {
  font-family: "Google Sans Flex", sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 6px !important;
}
.speak4-form__label {
  font-family: "Google Sans Flex", sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #353535 !important;
  opacity: 0.5 !important;
}

.piggy {
  max-width: 636px;
  height: auto;
}

.p-custom {
  padding: 3.5rem;
}

.fs-16 {
  font-size: 16px;
  line-height: 1.5;
}

.px-custom-piggy {
  padding-right: 7rem;
  padding-left: 4.5rem;
}

.scribble-heading {
  position: relative;
  display: inline-block;
  isolation: isolate;
  width: max-content;
}

.scribble-heading-text {
  position: relative;
  z-index: 2;
}

.scribble-heading-img {
  position: absolute;
  left: -3%;
  bottom: -16%;
  width: 104%;
  height: 3.5rem;
  z-index: 1;
  pointer-events: none;
}

.bg-off-white {
  background-color: #e5e6e6;
}

.mw-600 {
  max-width: 600px;
  height: auto;
}

.scribble-heading-img-2 {
  position: absolute;
  left: 0%;
  bottom: -60%;
  width: 139%;
  height: 67px;
  z-index: 1;
  pointer-events: none;
}

.text-gray {
  color: #353535;
}

.fs-20 {
  font-size: 20px;
  line-height: 1;
}

.wallet-col {
  position: relative;
  min-height: 900px;
}

.wallet-move {
  position: absolute;
  top: 0;
  left: 0;
  isolation: isolate;
  transition:
    top 1.5s ease,
    transform 1.5s ease;
}

/* bottom wallet layer */
.wallet {
  display: block;
  max-width: 100%;
  transform: rotate(-180deg);
  transform-origin: center;
  transition: transform 1.5s ease;
  z-index: 1;
  position: relative;
}

.wallet-section.wallet-animate .wallet-move {
  top: 100%;
  transform: translateY(-100%);
}

.wallet-section.wallet-animate .wallet {
  transform: rotate(0deg);
}

/* dollar goes above wallet_whole but below wallet_front */
.dollar {
  position: absolute;
  width: 560px;
  left: -3%;
  top: -37%;
  opacity: 0;
  transform: translateY(-520px);
  transition:
    transform 1s ease,
    opacity 0.4s ease;
  z-index: 3;
  pointer-events: none;
}

.wallet-section.dollar-animate .dollar {
  opacity: 1;
  transform: translateY(0);
}

/* top wallet layer */
.wallet-front {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.wallet-section.front-animate .wallet-front {
  opacity: 1;
}

.wallet-text-main,
.wallet-text-after {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.8s ease,
    transform 1.8s ease;
}

/* fades in while wallet is dropping */
.wallet-section.wallet-animate .wallet-text-main {
  opacity: 1;
  transform: translateY(0);
}

/* fades in while dollar is dropping */
.wallet-section.dollar-animate .wallet-text-after {
  opacity: 1;
  transform: translateY(0);
}

.modal-content {
  background-color: #2b6099;
}

.px-custom-thankyou {
  padding-left: 11rem;
  padding-right: 11rem;
}

.modal {
  overflow-y: hidden;
}

.mx-1440 {
  max-width: 1440px;
}
