@font-face {
  font-family: "Segment";
  src: url("../fonts/segment-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  }

@font-face {
  font-family: "Segment";
  src: url("../fonts/segment-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  }

@font-face {
  font-family: "Segment";
  src: url("../fonts/segment-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  }

:root {
  --color-teal: #00c69c;
  --color-midnight: #001329;
  --color-midnight-rgb: 0, 19, 41;
  --color-pale: #f7f6f3;
  --animate: all .4s ease;
  --btn-radius: 7px;
  }


html {
  height: 100%;
  color: var(--color-midnight);
  font-size: 1em;
  line-height: 1.4;
  }

body {
  background: var(--color-pale);
  font-family: "Segment", sans-serif !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  }

main {   
  flex: 1 0 auto; 
  }




/* -----------------------------------

TYPOGRAPHY

----------------------------------- */

:last-child {
  margin-bottom: 0;
  }

.minor {
  color: rgba(var(--color-midnight-rgb), .6);
  }

h1, h2, .h2 {
  
  }

h1 {
  font-size: 5rem;
  line-height: .85;
  letter-spacing: -.12rem;
  color: var(--color-midnight);
  font-weight: 900;
  }

h2, .h2 {
  color: var(--color-teal);
  letter-spacing: -.07rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  padding: 3rem 0 1.5rem;
  }

  h2:first-child, .h2:first-child {
    padding-top: 0;
    }

  @media (min-width: 992px) {

    

  }

.climate-gradient {
  background: linear-gradient(180deg, #c20000, #ff8d24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  }



/* -----------------------------------

HEADER

----------------------------------- */

header {
  position: relative;
  z-index: 1;
  }

.navbar .nav-link {
  color: var(--color-midnight);
  font-weight: 700;
  line-height: 50px;
  padding: 0 2rem;
  text-decoration: underline;
  text-decoration-color: var(--color-teal);
  text-decoration-thickness: 4px;
  text-underline-offset: .3rem;
  transition: var(--animate);
  }

  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    background-color: #fff;
    text-underline-offset: .4rem;
    XXXline-height: 40px;

    }

  @media (min-width: 992px) {

    .navbar-expand-lg .navbar-nav .nav-link {
      padding: 0 2rem;
      }

  }

.donate {
  position: relative;
  width: 120px;
  line-height: 50px;
  overflow: hidden;
  transition: 0.5s;
  border-radius: var(--btn-radius);
  }

  .donate:before,
  .donate a:after {
    border: 4px solid var(--color-teal);
    content: "";
    inset: 0;
    position: absolute;
    filter: url(#noise);
    }

  .donate a {
    width: 101%;
    height: 100%;
    font-weight: 700;
    background: var(--color-teal);
    mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png");
    mask-size: 3000% 100%;
    border: none;
    color: #fff;
    cursor: pointer;
    animation: ani2 1s steps(29) forwards;
    display: block;
    text-align: center;
    text-decoration: none;
    }

    .donate a:hover,
    .donate a:focus {
      animation: ani 1s steps(29) forwards;
      }

  .mask {
    position: absolute;
    width: 101%;
    color: var(--color-midnight);
    text-align: center;
    font-weight: 700;
    overflow: hidden;
    line-height: 52px;
    }

@-webkit-keyframes ani {
  from {
    mask-position: 0 0;
  }
  to {
    mask-position: 100% 0;
  }
}
@keyframes ani {
  from {
    mask-position: 0 0;
  }
  to {
    mask-position: 100% 0;
  }
}
@-webkit-keyframes ani2 {
  from {
    mask-position: 100% 0;
  }
  to {
    mask-position: 0 0;
  }
}
@keyframes ani2 {
  from {
    mask-position: 100% 0;
  }
  to {
    mask-position: 0 0;
  }
}





/* -----------------------------------
MARQUEE JUMBOTRONS
----------------------------------- */

.marquee {
  background-image: url(../img/mountains.avif);
  transform: translate(0,-200px);
  padding-top: 280px;
  padding-bottom: 100px;
  position: relative;
  z-index: 0;
  }






/* -----------------------------------
FORM STUFF
----------------------------------- */

label {
  cursor: pointer;
  }

/* --- BS overrides --- */

.form-control:focus,
.fancycheck input[type=checkbox]:focus ~ .check-box {
  border: 2px solid var(--color-teal);
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(0, 198, 156, .25);
  }

.form-floating>label {
  color: rgba(var(--color-midnight-rgb), .75);
  }

/* --- Fancy Checkbox */

.fancycheck {
  --background-color: #fff;
  --checkbox-height: 25px;
  }

  @keyframes dothabottomcheck {
    0% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) / 2);
    }
  }

  @keyframes dothatopcheck {
    0% {
      height: 0;
    }
    50% {
      height: 0;
    }
    100% {
      height: calc(var(--checkbox-height) * 1.2);
    }
  }

  .fancycheck .fancycheck-checkbox {
    width: calc(var(--checkbox-height) * 1.6); /* left; the checkbox */
    }

  .fancycheck .fancycheck-label {
    width: calc(100% - (var(--checkbox-height) * 1.6)); /* right; the remaining space after the checkbox wrapper */
    }

  .fancycheck .check-box {
    height: var(--checkbox-height);
    width: var(--checkbox-height);
    background-color: transparent;
    border: 2px solid #ddd;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    transition: border-color ease 0.2s;
    }

    .fancycheck .check-box::before,
    .fancycheck .check-box::after {
      position: absolute;
      height: 0;
      width: calc(var(--checkbox-height) * .2);
      background-color: #34b93d;
      display: inline-block;
      transform-origin: left top;
      border-radius: 5px;
      content: " ";
      transition: opacity .5s ease;
      }

    .fancycheck .check-box::before {
      top: calc(var(--checkbox-height) * .72);
      left: calc(var(--checkbox-height) * .41);
      box-shadow: 0 0 0 calc(var(--checkbox-height) * .05) var(--background-color);
      transform: rotate(-135deg);
      }
    
    .fancycheck .check-box::after {
      top: calc(var(--checkbox-height) * .37);
      left: calc(var(--checkbox-height) * .05);
      transform: rotate(-45deg);
      }

    .fancycheck input[type=checkbox]:checked + .check-box,
    .fancycheck .check-box.checked {
      border-color: var(--color-teal);
      }

    .fancycheck input[type=checkbox]:checked + .check-box::after,
    .fancycheck .check-box.checked::after {
      height: calc(var(--checkbox-height) / 2);
      animation: dothabottomcheck 0.2s ease 0s forwards;
      }
    
    .fancycheck input[type=checkbox]:checked + .check-box::before,
    .fancycheck .check-box.checked::before {
      height: calc(var(--checkbox-height) * 1.2);
      animation: dothatopcheck 0.4s ease 0s forwards;
      }

.uniform__potty {
  position: absolute;
  left: -9999px;
  }

/* ----------------
   Buttons
   ------------- */

.btn {
  background-color: var(--color-teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  padding: .6rem 1.2rem;
  transition: var(--animate);
  border-radius: var(--btn-radius);
  }

  .btn:hover,
  .btn:focus {
    background-color: var(--color-midnight);
    color: #fff;
    }

  .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 198, 156, .25);
    }
























.wonky-border {
  border: 2px solid var(--color-teal);
  border-radius: 2% 6% 5% 4% / 1% 1% 2% 4%;
  }




/* -----------------------------------

FOOTER

----------------------------------- */

footer {
  XXXheight: 100px;

  flex-shrink: 0;
  }

.disclaimer {
  border: 1px solid #000;
  }

.superfooter {
  XXXbackground-image: url(../img/mountains-fade.avif);
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 2200 / 1238;
  }

.social-icons a {
  background-color: transparent;
  border: 1px solid transparent;
  padding: .5rem;
  transition: var(--animate);
  }

  .social-icons a:hover {
    background-color: #fff;
    border-color: var(--color-teal);
    }




/* -----------------------------------

UTILITIES

----------------------------------- */

.square { aspect-ratio: 1 }

.bg-cover {
  background-repeat: no-repeat;
  background-size: cover;
  }

.hidden,
[hidden] {
  display: none !important;
  }

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  }

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
  }