:root {
  --green-lt: #a1cf5f;
  --green-md: #4b9e46;
  --blue-md: #0063a8;
  --blue-dk: #093b60;
  --blue-op: rgba(9, 59, 96, 0.8);
  --white: #ffffff;
  --gray-lt: #d4d4d4;
  --gray-md: #898989;
  --gray-dk: #5f5f5f;
  --black: #000000;
  --white-op: rgba(255, 255, 255, 0.4);
  --black-op: rgba(0, 0, 0, 0.25);
}

body {
  margin: 0;
  padding: 0;
  color: var(--gray-dk);
  font-size: 16px;
  font-family: 'proxima-nova', sans-serif;
  font-style: normal;
  font-weight: 300;
  overflow-x: hidden;
}

a {
  color: var(--blue-dk);
  text-decoration: none;
}

a:hover {
  color: var(--blue-md);
}

h1,
h2,
h3,
h4 {
  font-family: study, serif;
  font-style: normal;
  font-weight: 300;
}

header h1 {
  font-weight: 600;
  font-size: 3.75em;
}

main h1 {
  font-family: "proxima-nova";
  font-weight: 600;
  font-size: 8em;
  color: var(--gray-lt);
  -webkit-text-stroke: 1.25px var(--gray-md);
  -webkit-text-fill-color: var(--white);
  text-align: center;
  z-index: -1;
  position: relative;
  margin: 0;
}

h2 {
  font-size: 2.25em;
  font-weight: 600;
}

h3 {
  font-size: 1.75em;
}

h3 small {
  font-size: 0.9em;
}

h4 {
  font-size: 1.25em;
  font-weight: 600;
}

p {
  line-height: 1.75em;
}

sup {
  top: 0.25em;
  position: relative;
}

main {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
}

header {
  background-color: var(--blue-dk);
  background-image: url('../img/header-bg.jpg');
  background-size: cover;
  background-position: center;
  clip-path: ellipse(100% 100% at 35% 0);
  min-height: 500px;
  color: var(--white);
  position: relative;
  z-index: 1;
  padding: 2em 0 5em;
  margin-bottom: 5em;
}

main article {
  margin-bottom: 8em;
}

header article,
footer article {
  max-width: 1200px;
}

article {
  position: relative;
  margin: 0 auto;
  padding: 1em;
  clear: both;
}

article::after {
  content: "";
  display: table;
  clear: both;
}

button {
  background-color: var(--green-md);
  border: none;
  border-radius: 0 20px 0 20px;
  color: var(--white);
  padding: 1em 1.5em;
  transition: background-color 0.25s ease;
  cursor: pointer;
}

button:hover {
  background-color: var(--blue-dk);
}

button::after {
  font-family: 'Font Awesome 5 Free';
  content: "\f055";
  font-weight: 900;
  padding-left: 0.5em;
}

img,
video {
  width: 100%;
  max-width: 100%;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;

  max-width: 100%;
  width: 90vmin;
  margin: 1.75em 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

footer {
  background-color: var(--gray-lt);
  overflow: hidden;
  position: relative;
  clip-path: ellipse(100% 100% at 65% 100%);
  padding: 5em 0 1em;
}

footer::before {
  content: "";
  background-color: var(--white-op);
  display: block;
  position: relative;
  z-index: 1;
  height: 2000px;
  margin-bottom: -2000px;
  top: -5em;
}

footer article {
  z-index: 1;
  position: relative;

}

footer video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  height: 100%;
}

footer .logo,
footer address,
footer nav {
  display: inline-block;
  font-style: normal;
  color: var(--blue-dk);
  font-size: 0.9em;
  vertical-align: bottom;
  margin-bottom: 1em;
}

footer .logo {
  max-width: 250px;
}

footer address {
  margin-left: 2.5em;
}

footer nav .fab,
footer nav .fas {
  margin: 0 0.25em;
}

footer nav .fab::after,
footer nav .fas::after {
  font-family: 'Font Awesome 5 Free';
  content: "\f0c8";
  font-weight: bold;
  color: var(--white);
  font-size: 0.85em;
  margin-left: -0.95em;
  position: relative;
  z-index: -1;
}


/* Leaves */

.image {
  display: inline-block;
}

.image img {
  box-shadow: 2px 4px 8px var(--black-op);
  border-radius: 0 40px 0 40px;
  background-color: var(--white);
}

.leaf {
  background-color: var(--white);
  box-shadow: 2px 3px 5px var(--black-op);
  width: 100%;
  max-width: 25%;
  float: left;
  padding: 0 0.5em 0.25em 3em;
  margin: 1em;
  border-radius: 0 40px 0 40px;
}

.icon {
  background-color: var(--green-lt);
  box-shadow: 2px 3px 5px var(--black-op);
  color: var(--white);
  border-radius: 0 20px 0 20px;
  height: 60px;
  width: 60px;
  text-align: center;
  line-height: 60px;
  display: inline-block;
  position: relative;
  left: -4.25em;
  margin-right: -4.25em;
  vertical-align: top;
  top: 1em;
}

.leaf h3 {
  line-height: 0.9em;
}

.leaf h3,
.leaf h4 {
  display: inline-block;
  padding-left: 0.5em;
  max-width: 75%;
  margin-bottom: 0;
}

.leaf button {
  float: right;
  position: relative;
  margin-bottom: -20px;
  text-transform: uppercase;
  font-size: 0.8em;
  box-shadow: 2px 4px 8px var(--black-op);
}

/* Modal */

.modal {
  background-color: var(--blue-op);
  height: 100vh;
  width: 100vw;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  /* display is switched to flex in jquery */
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow-x: auto;
}

.modal section {
  box-shadow: 2px 3px 5px var(--black-op);
  border-radius: 0 40px 0 40px;
  margin: 1em;
  text-align: center;
  background: var(--white);
  padding: 1em;
  max-width: 700px;
  min-height: 1em;
  overflow-x: auto;
}

.modal .close {
  float: right;
  cursor: pointer;
  font-size: 1.2em;
}

.modal .close:hover {
  font-weight: bold;
}

.modal .close::before {
  font-family: 'Font Awesome 5 Free';
  content: "\f057";
}

.modal p,
.modal dt,
.modal dd {
  text-align: left;
  margin-top: 1em;
}

/* Modifiers */

h1 strong,
h2 strong,
h3 strong,
h4 strong {
  font-weight: 700;
}

.tk-proxima-nova strong {
  font-weight: 800;
}

.nowrap {
  white-space: nowrap;
}

.clickable {
  cursor: pointer;
  position: relative;
  transition: top 0.25s ease-out;
  top: 0;
}

.clickable:hover {
  top: -0.5em;
}

.clickable:hover h3 {
  color: var(--blue-dk);
}

.green-text {
  color: var(--green-lt);
}

.blue-text {
  color: var(--blue-dk);
}

.shadow {
  text-shadow: 2px 3px 5px var(--black-op);
}

.green-md {
  background-color: var(--green-md);
  color: var(--white);
}

.blue-md {
  background-color: var(--blue-md);
  color: var(--white);
}

.blue-dk {
  background-color: var(--blue-dk);
  color: var(--white);
}

.bg {
  border-radius: 0 40px 0 40px;
  padding: 1em 3em;
  color: var(--white);
}

.bg .leaf {
  color: var(--gray-dk);
}

.reverse img {
  border-radius: 20px 0 20px 0;
}

/* Article Changes */

header::before {
  background-image: url('../img/gicf-mark.png');
  background-size: 450px;
  background-position: 60vw 30vh;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.1;
}

#header section {
  max-width: 50%;
}

#header .logo {
  width: 300px;
  height: auto;
}

main h1:nth-of-type(1) {
  margin-bottom: -8vw;
  font-size: calc(65px + (275 - 65) * ((100vw - 320px) / (1920 - 320)));
}

main h1:nth-of-type(2) {
  margin-bottom: -4vw;
  font-size: calc(40px + (150 - 40) * ((100vw - 320px) / (1920 - 320)));
}

main h1:nth-of-type(3) {
  margin-bottom: -5vw;
  font-size: calc(50px + (180 - 50) * ((100vw - 320px) / (1920 - 320)));
}

main h1:nth-of-type(4) {
  margin-bottom: -5vw;
  font-size: calc(50px + (180 - 50) * ((100vw - 320px) / (1920 - 320)));
}

#featured {
  position: relative;
  min-height: 300px;
}

#featured::after {
  content: "";
  display: table;
  clear: both;
}

#featured section:nth-of-type(1) .leaf {
  position: absolute;
  left: 2%;
  top: 0;
}

#featured section:nth-of-type(2) .leaf {
  position: absolute;
  left: 24%;
  bottom: 20px;
}

#featured section:nth-of-type(3) .leaf {
  position: absolute;
  left: 46%;
  top: 0;
}

#featured section:nth-of-type(4) .leaf {
  position: absolute;
  left: 68%;
  bottom: 20px;
}

#featured .leaf p, #donors .leaf p, #nonprofits .leaf p, #moving_ahead .leaf p {padding-left: 0.5em; margin-top:10px; padding-right: 1em; line-height: 1.45em;}
#featured .leaf p {min-height:60px;}
#moving_ahead .leaf p {min-height:40px;}

#hower {
  width: 90%;
  float: right;
}

#hower .bg {
  background-color: var(--gray-dk);
  background-image: url('../img/hower-bg.jpg');
  background-size: cover;
  background-position: center;
  padding-bottom: 5em;
}

#hower section:nth-of-type(1) {
  position: absolute;
  width: 250px;
  height: auto;
  left: -50px;
  margin-top: -45px;
}

#hower section:nth-of-type(2) {
  position: absolute;
  width: 250px;
  height: auto;
  left: 90px;
  margin-top: 135px;
}

#hower section:nth-of-type(3) {
  padding-left: 370px;
}

#donors .bg {
  background-color: var(--blue-dk);
  background-image: url('../img/flood-independent.jpg');
  background-size: cover;
  background-position: bottom right;
}

#donors section:nth-of-type(1) {
  position: absolute;
  left: 25%;
  margin-top: 300px;
}

#donors section:nth-of-type(1) .leaf {
  max-width: 315px;
}

#donors section:nth-of-type(2) {
  width: 35%;
  float: left;
  padding-bottom: 7em;
}

#donors section:nth-of-type(2) h2 {
  font-weight: normal;
  font-size: 2.75em;
}

#donors section:nth-of-type(2) p:nth-of-type(1) {
  width: 50%;
}

#donors section:nth-of-type(3) {
  width: 40%;
  float: right;
  background-color: var(--white);
  box-shadow: 2px 3px 5px var(--gray-lt);
  border-radius: 0 40px 0 40px;
  margin-top: 6em;
}

#donors section:nth-of-type(3) p {
  margin: 2em 3em;
}

#donors section:nth-of-type(3) .leaf {
  max-width: 210px;
  height: 150px;
  position: relative;
  left: 20px;
  cursor: pointer;
  margin-bottom: -2em;
  background-image: url('../img/marshall-video-bg.jpg');
  background-size: cover;
}

#donors section:nth-of-type(3) .leaf .fa-play-circle {
  font-size: 3em;
  transition: color 0.25s ease;
  position: relative;
  top: 50px;
  left: 65px;
}

#donors section:nth-of-type(3) .leaf:hover .fa-play-circle {
  color: var(--green-lt);
}

#donors #bill {
  background-image: url('../img/bill-marshall.jpg');
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
  min-height: 250px;
  border-bottom: 1px solid var(--gray-lt);
  padding-right: 50%;
  padding-left: 3em;
  margin: 1em 0 3em;
  
}

#donors h4 {
  float: left;
  margin-left: 1.25em;
  margin-right: 0.25em;
  font-size: 1.5em;
  text-align: center;
  line-height: 0.8em;
  margin-bottom: 0;
}

#donors h4 small {
  font-size: 0.5em;
}

#fund_holders {
  width: 90%;
  float: left;
}

#fund_holders .bg {
  background-color: var(--blue-md);
  background-image: url('../img/hornady-bg.jpg');
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}

#fund_holders .leaf {
  max-width: 35%;
  float: right;
}

#fund_holders section:nth-of-type(1) {
  position: absolute;
  width: 200px;
  height: auto;
  margin-top: -25px;
  left: -25px;
}

#fund_holders section:nth-of-type(2) {
  position: absolute;
  width: 200px;
  height: auto;
  margin-top: 120px;
  left: 140px;
}

#fund_holders section:nth-of-type(3) {
  position: absolute;
  width: 200px;
  height: auto;
  margin-top: 345px;
  left: 45px;
}

#fund_holders section:nth-of-type(3) img {
  padding: 2em;
}

#fund_holders section:nth-of-type(4) {
  position: absolute;
  margin-top: 200px;
  right: -140px;
  z-index: 1;
}

#fund_holders section:nth-of-type(5) {
  padding-left: 375px;
  padding-right: 200px;
}

#winners .image:nth-of-type(1),
#winners .image:nth-of-type(2) {
  width: 200px;
  height: auto;
}

#museum section:nth-of-type(1) {
  width: 40%;
  display: inline-block;
}

#museum section:nth-of-type(2) {
  position: absolute;
  right: 0px;
  width: 45%;
  height: auto;
}

#museum section:nth-of-type(2) img {
  border-radius: 60px 0 60px 0;
}

#museum section:nth-of-type(3) {
  position: absolute;
  margin-top: 260px;
  right: 30%;
  width: 250px;
  height: auto;
}

#nonprofits section:nth-of-type(1) {
  position: absolute;
  width: 350px;
  height: auto;
}

#nonprofits section:nth-of-type(1) img {
  padding: 2.5em;
}

#nonprofits section:nth-of-type(2) {
  position: absolute;
  margin-top: 225px;
  left: 200px;
}

#nonprofits section:nth-of-type(2) .leaf {
  max-width: 225px;
}

#nonprofits section:nth-of-type(3) {
  float: right;
  width: 57%;
  margin-bottom: 8em;
}

#nonprofits section:nth-of-type(3) h2 {
  position: relative;
  margin-top: 1.5em;
}

#nonprofits section:nth-of-type(4) {
  position: absolute;
  margin-top: 250px;
  right: 0;
  z-index: 1;
}

#nonprofits section:nth-of-type(4) .leaf {
  width: 275px;
  max-width: 100%;
}

#nonprofits section:nth-of-type(4) .leaf img {
  width: 80%;
  margin: 5% 10% 0;
}

#nonprofits section:nth-of-type(4) .leaf p {
  font-weight: bold;
  color: var(--blue-dk);
  font-style: italic;
  font-size: 0.9em;
}

#child_advocacy {
  width: 90%;
  float: right;
}

#child_advocacy .bg {
  background-color: var(--blue-md);
  background-image: url('../img/cac-bg-img.jpg');
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  padding-bottom: 3em;
}

#child_advocacy section:nth-of-type(1) {
  position: absolute;
  width: 200px;
  height: auto;
  left: 75px;
  margin-top: -25px;
}

#child_advocacy section:nth-of-type(2) {
  position: absolute;
  width: 250px;
  height: auto;
  padding: 1em;
  left: -100px;
  margin-top: 260px;
}

#child_advocacy section:nth-of-type(2) img {
  padding: 1em;
}

#child_advocacy section:nth-of-type(3) {
  padding-left: 325px;
  padding-right: 275px;
}

#community h2 {
  text-align: center;
}

#community section:nth-of-type(1) {
  position: absolute;
  width: 47%;
  height: auto;
}

#community section:nth-of-type(2) {
  position: absolute;
  width: 300px;
  height: auto;
  left: 220px;
  margin-top: 315px;
}

#community section:nth-of-type(3) {
  width: 48%;
  float: right;
  margin-bottom: 8em;
}

#community section:nth-of-type(4) {
  position: absolute;
  margin-top: 300px;
  right: 70px;
  width: 275px;
}

#community section:nth-of-type(4) .leaf {
  max-width: 100%;
}

#stick_creek {
  min-height: 500px;
}

#stick_creek .bg {
  background-color: var(--blue-md);
}

#stick_creek section:nth-of-type(1) {
  position: absolute;
  width: 46%;
  height: auto;
  right: 0;
  margin-top: 100px;
}

#stick_creek section:nth-of-type(2) {
  position: absolute;
  width: 200px;
  height: auto;
  left: calc(50% - 50px);
  bottom: -30px;
}

#stick_creek section:nth-of-type(3) {
  width: 45%;
  margin-bottom: 8em;
  padding-right: 10%;
  padding-bottom: 3em;
}

#moving_ahead section {
  width: 75%;
  float: right;
}

#moving_ahead h2 {
  font-size: 2.5em;
  font-weight: bold;
}

#moving_ahead .leaf {
  max-width: 33%;
  margin-left: 3em;
}

#footer section {
  clear: both;
  padding-top: 3em;
}