/*
 Theme Name:   SOKP Attack Echols
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for sokp_attack_echols
 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:  sokp_attack_echols
*/

/* ========= COLOR REFERENCES ========= */
:root {
  --bg: #f4f4f4;
  --red: #d60812;
  --blue: #0a4486;
  --black: #1a1818;
  --lp-surface-primary: #e5e6e6;
  --lp-brand-invert: #213312;
  --lp-accent: #c3c05a;
  --lp-text-primary: #353535;
}

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

/* ======== 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: 77px;
  line-height: 1;
}

h2,
.h2 {
  font-size: 41px;
  line-height: 1;
}

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

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

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: blue;
  border: none;
  background: none;
}

a:hover,
a:focus,
.anchor-theme:hover,
.anchor-theme:focus {
  color: blue;
  font-weight: 700;
}

html,
body {
  overflow-x: hidden;
}

.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: none;
  padding: 0 36px;
  width: 100%;
}

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

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

/* ------------------------------ 
    3. Start Main Content
------------------------------ */
/*  - 3a. Landing Page  */
.page-template-page-lp .splash {
  background: url("/wp-content/themes/sokp_attack_echols/assets/images/1_hero.jpg")
    no-repeat center center;
  background-size: cover;
  padding-bottom: 0%;
}

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

/* LP video modal: avoid backdrop scrollbar (responsive.css uses large modal-dialog margins). */
.page-template-page-lp #lpVideoModal.modal {
  overflow-x: hidden;
  overflow-y: hidden !important;
}

.page-template-page-lp #lpVideoModal .modal-dialog {
  margin: 1rem auto;
  max-width: min(750px, calc(100% - 1rem));
}

@media (min-width: 576px) {
  .page-template-page-lp #lpVideoModal .modal-dialog {
    margin: 1rem auto !important;
  }
}

body.page-template-page-lp.modal-open {
  padding-right: 0 !important;
}

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/themes/sokp_attack_echols/assets/images/1_hero.jpg")
    no-repeat center center;
  background-size: cover;
  padding-bottom: 5%;
}

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

.brush {
  font-family: "brush-up", sans-serif;
}

.broadsheet {
  font-family: "broadsheet", serif !important;
}

.sff-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
  padding-bottom: 16px;
}

.sff-navbar .navbar-brand img {
  height: 32px;
  width: auto;
  max-width: 100%;
}

.sff-navbar-nav .nav-link {
  font-family: "adrianna", sans-serif;

  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #1b2640;
  padding-left: 18px;
  padding-right: 18px;
}

.sff-navbar-nav .nav-link:hover,
.sff-navbar-nav .nav-link:focus {
  color: #0b5ed7;
}

.sff-navbar-nav .current-menu-item > a.nav-link,
.sff-navbar-nav .current_page_item > a.nav-link {
  color: #0b5ed7;
  position: relative;
}

.sff-navbar-nav .current-menu-item > a.nav-link::after,
.sff-navbar-nav .current_page_item > a.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -6px;
  height: 2px;
  background-color: #0b5ed7;
}

@media (max-width: 991.98px) {
  .sff-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sff-navbar-nav .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

nav .container {
  max-width: 100%;
}

.nav-social > a {
  display: inline-block;
  width: 22px;
  height: 22px;
  overflow: hidden;
  text-indent: -9999px; /* hides visible text */
  white-space: nowrap;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* per platform icon */
.nav-social--ig > a {
  background-image: url("/wp-content/themes/sff-nv-lp/assets/insta.svg");
  height: 24px;
  width: 24px;
  object-fit: cover;
}
.nav-social--x > a {
  background-image: url("/wp-content/themes/sff-nv-lp/assets/x.svg");
  height: 24px;
  width: 24px;
  object-fit: cover;
}
.nav-social--fb > a {
  background-image: url("/wp-content/themes/sff-nv-lp/assets/fb.svg");
  height: 24px;
  width: 24px;
  object-fit: cover;
}
.nav-social--yt > a {
  background-image: url("/wp-content/themes/sff-nv-lp/assets/yt.svg");
  height: 24px;
  width: 24px;
  object-fit: cover;
}

.header-overlay {
  z-index: 0;
}
.site-header,
.site-header * {
  position: relative;
  z-index: 10;
}

.menu-item-object-page a {
  padding-top: 16px !important;
}

.nav-social > a {
  pointer-events: auto !important;
}

.nav-donate.text-white.menu-item a {
  color: white !important;
}
.nav-link {
  padding-bottom: 0 !important;
}
.nav-donate {
  font-family: "adrianna", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  background-color: #18428f !important;
  border-radius: 8px;
  color: white !important;
  padding: 8px 32px;
  margin-left: 2rem;
  padding-bottom: 8px !important;
}

.nav-donate a {
  padding-bottom: 8px !important;
}

@media screen and (max-width: 991.8px) {
  .nav-donate {
    margin-left: 0 !important;
    text-align: center !important;
  }
}

.bg-gray {
  background-color: #e5e6e6;
}

.text-yellow {
  color: #c3c05a;
}

.text-dark-gray {
  color: #353535;
}

.d1 {
  font-weight: 500;
  font-size: clamp(100px, 14vw, 201px);
  line-height: 0.9;
}

.d3 {
  font-weight: 500;
  font-size: 93px;
  line-height: 1.1;
}

.italic {
  font-style: italic;
}

.f-400 {
  font-weight: 400;
}

.bg-green {
  background-color: #213312;
}

/* ------------------------------ 
    Landing Page Card Slider
------------------------------ */

.card-text {
  font-family: "Belanosima", sans-serif;
  font-weight: 600;
  font-size: 49px;
  line-height: 1;
  color: #353535 !important;
}

.card-text-large {
  font-family: "brush-up", sans-serif;
  font-weight: 500;
  font-size: 109px;
  line-height: 1;
  color: #c3c05a !important;
}

.card-slider {
  position: relative;
  width: 526px;
  height: 835px;
  margin-top: 200px;
  touch-action: pan-y;
}

.card {
  position: absolute;
  left: 0;
  width: 526px;
  height: 745px;
  border-radius: 15px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.h-353 {
  height: 353px;
  width: 100%;
}

.h-text {
  height: 392px;
  width: 100%;
}

.card img.check {
  width: 63px;
  height: 63px;
}

.arrow {
  width: 56px;
  height: 56px;
}

.h-294 {
  height: 294px;
  width: 100%;
}

.h-451 {
  height: 451px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

.card-subtext {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
}
.card-subtext-small {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
}

.f-700 {
  font-weight: 700;
}

#card2img {
  height: 160% !important;
}

#card1 {
  z-index: 100;
  top: 0;
}

#card2 {
  z-index: 90;
  top: -12px;
}

#card3 {
  z-index: 80;
  top: -24px;
}

#card4 {
  z-index: 70;
  top: -36px;
}

#card5 {
  z-index: 60;
  top: -48px;
}

#card6 {
  z-index: 50;
  top: -60px;
}

#card7 {
  z-index: 40;
  top: -72px;
}

#card8 {
  z-index: 30;
  top: -84px;
}

#card9 {
  z-index: 20;
  top: -96px;
}

#card10 {
  z-index: 10;
  top: -108px;
}

#card9img {
  width: 100%;
  height: 140%;
  object-fit: cover;
  display: block;
  object-position: 10% 50%;
}

#card10img,
#card5img {
  width: 170%;
  height: 120%;
  object-fit: cover;
  display: block;
  object-position: 20% 160%;
}

.card {
  transition:
    top 0.35s ease,
    transform 0.55s ease,
    opacity 0.55s ease;
  will-change: transform, top, opacity;
  transform-origin: center center;
  border: none !important;
}

.card.is-exiting-left {
  transform: translateX(-550px) rotate(-18deg);
}

.card.is-exiting-right {
  transform: translateX(550px) rotate(18deg);
}

.card.is-side-left {
  transform: translateX(-550px) rotate(-18deg);
  z-index: 5 !important;
}

.card.is-side-right {
  transform: translateX(550px) rotate(18deg);
  z-index: 5 !important;
}

#btnLeft,
#btnRight {
  background: transparent;
  border: 0;
}

.bg-swipe {
  background: url("/wp-content/themes/sokp_attack_echols/assets/images/1_swipe_bg.jpg")
    no-repeat center center;
  background-size: cover;
  padding-bottom: 10%;
}

/* Footer */
.footer-text {
  outline: 1px solid white;
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
  color: white;
  padding: 10px 10px;
}

.footer-text-small {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  line-height: 2;
  font-weight: 400;
  color: white;
}

.bg-footer {
  background-color: #213312;
}

/* ------------------------------
   Responsive Card Slider
------------------------------ */

.card-slider {
  width: min(526px, calc(100vw - 32px));
  height: auto;
  aspect-ratio: 526 / 835;
  top: 0;
  overflow: visible;
}

.card {
  width: 100%;
  height: auto;
  aspect-ratio: 526 / 745;
}

.card-pagination {
}

.arrow {
  width: clamp(42px, 7vw, 56px);
  height: clamp(42px, 7vw, 56px);
}

.card-text {
  font-size: clamp(28px, 4.2vw, 49px);
}

.card-text-large {
  font-size: clamp(56px, 10vw, 109px);
}

.card-subtext {
  font-size: clamp(16px, 2.5vw, 24px);
  line-height: 1.15;
}

.card-subtext-small {
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.15;
}

.card img.check {
  width: clamp(40px, 7vw, 63px);
  height: clamp(40px, 7vw, 63px);
}

.h-353 {
  height: 47.3825503%;
}

.h-text {
  height: 52.6174497%;
}

.h-294 {
  height: 39.4630872%;
}

.h-451 {
  height: 60.5369128%;
  padding-left: clamp(14px, 3vw, 20px);
  padding-right: clamp(14px, 3vw, 20px);
}

/* make thrown cards less extreme on smaller screens */
/* .card.is-exiting-left {
  transform: translateX(-80vw) rotate(-18deg);
}

.card.is-exiting-right {
  transform: translateX(80vw) rotate(18deg);
}

.card.is-side-left {
  transform: translateX(-38vw) rotate(-18deg);
  z-index: 5 !important;
}

.card.is-side-right {
  transform: translateX(38vw) rotate(18deg);
  z-index: 5 !important;
} */

/* tablet */
@media (max-width: 991.98px) {
  .card-slider {
    width: min(500px, calc(100vw - 28px));
  }

  .card-text br {
    display: none;
  }
}

/* mobile */
@media (max-width: 767.98px) {
  .card.is-exiting-left {
    transform: translateX(-400px) rotate(-18deg);
  }

  .card.is-exiting-right {
    transform: translateX(400px) rotate(18deg);
  }

  .card.is-side-left {
    transform: translateX(-400px) rotate(-18deg);
    z-index: 5 !important;
  }

  .card.is-side-right {
    transform: translateX(400px) rotate(18deg);
    z-index: 5 !important;
  }
  .card-slider {
    width: calc(100vw - 24px);
    max-width: 420px;
    top: 48px;
  }

  .card-pagination {
    margin-top: 0.75rem !important;
    top: 28px;
  }

  .h-451 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .card-text {
    font-size: clamp(24px, 6vw, 34px);
  }

  .card-text-large {
    font-size: clamp(44px, 12vw, 72px);
  }

  .card-subtext {
    font-size: 15px;
    line-height: 1.2;
  }

  .card-subtext-small {
    font-size: 13px;
    line-height: 1.2;
  }
}

@media (max-width: 600px) {
  .card.is-exiting-left {
    transform: translateX(-800px) rotate(-18deg);
  }

  .card.is-exiting-right {
    transform: translateX(800px) rotate(18deg);
  }

  .card.is-side-left {
    transform: translateX(-800px) rotate(-18deg);
    z-index: 5 !important;
  }

  .card.is-side-right {
    transform: translateX(800px) rotate(18deg);
    z-index: 5 !important;
  }
}

/* very small phones */
@media (max-width: 479.98px) {
  .card-slider {
    width: calc(100vw - 16px);
  }

  .card-text {
    font-size: 22px;
  }

  .card-text-large {
    font-size: 38px;
  }

  .card-subtext {
    font-size: 14px;
  }

  .card-subtext-small {
    font-size: 12px;
  }

  .h-451 {
    padding-left: 12px;
    padding-right: 12px;
  }

  .card img.check {
    width: 36px;
    height: 36px;
  }
}
