/* * {
  border: 1px var(--red) solid;
} */

:root {
  /* colors */
  --red: #EF4347;
  --orange: #F67A3D;
  --yellow: #FCB033;
  --green: #5C946F;
  --blue: #4065AF;
  --purple: #494A6E;
  --black: #231F20;
  --cream: #F8F7F3;
  --yellow2: #F4D06F;

  /* font weights */
  --extra-bold: 800;
  --bold: 700;
  --medium: 600;
  --regular: 500;
  --light: 300;

  --h1-size: 34px;
  --h2-size: 26px;
  --h3-size: 16px;
  --p-size: 16px;
  --p2-size: 13px;
  --notice-size: 8px;
}

/* Also standardize paddings and margins */

html {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background-color: var(--cream);
  font-family: forma-djr-display, sans-serif;
  font-style: normal;
}

h1 {
  font-weight: var(--extra-bold);
  text-transform: uppercase;
  color: var(--blue);
  margin: 2px 0;
  line-height: 1.2em;
  letter-spacing: 1.2px;
  font-size: var(--h1-size);
}

h2 {
  margin: 0;
  font-size: var(--h2-size);
  letter-spacing: 1.2px;
}

h3 {
  margin: 0;
  font-size: var(--h3-size);
}

p {
  font-weight: var(--light);
  margin: 5px 0;
  font-family: "Lexend", sans-serif;
  font-size: var(--p-size);
  line-height: 1.5em;
}

strong {
  font-weight: var(--medium);
}

b {
  font-weight: var(--medium);
  color: var(--blue);
}

.large-button {
  background-color: var(--blue);
  color: var(--cream);
  font-family: forma-djr-display, sans-serif;
  text-transform: uppercase;
  font-size: var(--h3-size);
  font-weight: var(--bold);
  border: none;
  border-radius: 100px;
  padding: 10px 30px;
  letter-spacing: 1.5px;
}

.large-button:hover {
  background-color: transparent;
  border: 2px var(--blue) solid;
  border-color: var(--blue);
  color: var(--blue);
  transition: .2s ease;
}

a {
  color: var(--blue)
}

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--red);
}

/* header css */

header {
  width: 80vw;
  padding: 25px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: var(--cream);
  margin: 25px 0;
  border-radius: 15px;
}

#logo-header {
  height: 89px;
  width: auto;
}

#logo-header:hover {
  transform: scale(1.05);
  transition-duration: .2s
}

.nav-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 21px;
}

.nav-top a {
  text-transform: uppercase;
  text-decoration: none;
  font-weight: var(--bold);
  color: var(--blue);
  letter-spacing: 1px;
  font-size: 16px;
  transition: color 0.2s ease;
}

.nav-top a:hover {
  color: var(--red);
}

#xec-button {
  height: 3.5em;
  width: auto;
  transition: transform 0.2s ease;
}

#donate-button {
  height: 2.5em;
  width: auto;
  transition: transform 0.2s ease;
}

#vote-button {
  height: 3em;
  width: auto;
  transition: transform 0.2s ease;
}

#xec-button:hover,
#donate-button:hover,
#vote-button:hover {
  transform: scale(1.05);
}

.page-title {
  margin-bottom: 21px;
}

/* cover css */

.cover-home {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  }
}

.cover-home-left {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  height: 100%;
  width: 100%;
  background-image: url("assets/Left.png");
  background-size: cover;
  background-position: left;
}

.cover-home-right {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
  background-image: url("assets/Right.png");
  background-size: cover;
  background-position: right;
}

.cover-home-logo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  height: 100%;
  width: 100%;
  background-image: url("assets/Logo-Sticker.png");
  background-size: cover;
  background-position: center;
}

.cover-home-front {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  height: 100%;
  width: 100%;
  background-image: url("assets/Front.png");
  background-size: cover;
}

.cover-home-background {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 90%;
  background-image: url("assets/Background.png");
  background-size: cover;
  background-position: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cover-text-home {
  width: 60vw;
  max-width: 1920px;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  margin: 100px auto;
  color: var(--cream);
}

.cover-text-home h1{
  font-size: var(--h1-size);
  font-weight: var(--extra-bold);
  text-transform: uppercase;
  color: var(--cream);
}

.cover {
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
  gap: 34px;
  width: 80vw;
  max-width: 1400px;
  min-height: calc(100vh - 150px);
}

.cover-text-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.cover-text-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.cover img {
  object-fit: contain;
  width: 60%;

}

.title-bar {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  max-width: 1920px;
  width: 80vw;
  margin: 0 auto;
  border-radius: 2px;

  & h1 {
    color: var(--cream);
    padding: 0 50px;
  }

}

.social-links {
  margin: 0 1em;
  display: flex;
  align-items: center;
}

.social-links a img {
  height: 34px;
  padding: 10px;
}

.social-links a img:hover {
  transform: scale(1.2);
  transition-duration: .2s;
}

.all-caps {
  text-transform: uppercase;
}

/* landing initiatives css */

#landing-initiatives {
  width: 80vw;
  max-width: 1920px;
  margin: auto;

  >.page-header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-end;


    >div {
      width: 60vw;
      max-width: 1920px;
      margin-bottom: 34px;
    }
  }
}

.page {
  padding-top: 50px;
}

.workflow {
  display: flex;
  flex-direction: column;
  gap: 100px;
  justify-content: space-between;
  margin-top: 50px;
}

.workflow-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  padding: 50px 25px;
  background-color: var(--cream);
  border-radius: 15px;
}

.workflow-item img {
  height: auto;
  width: clamp(300px, 40vw, 640px);
  max-width: 100%;
  object-fit: contain;
  padding: 10px 0;
}

.workflow-item div {
  align-content: center;
}

.description h2 {
  color: var(--blue);
  padding-bottom: 10px;
}

.description p{
  color: var(--blue);
  padding-bottom: 10px;
}

.reverse {
  flex-direction: row-reverse;
}

/* mobile responsiveness pls work */
@media (max-width: 900px) {
  .workflow {
    gap: 10px;
  }

  .workflow-item,
  .workflow-item.reverse {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    gap: 20px;
  }

  .workflow-item img {
    width: 100%;
    max-width: none;
    padding: 0;
  }
}

/* collaborators bar css */

.collaborators-list img {
  max-height: 89px;
  max-width: 144px;
}

/* Marquee styles */
.marquee {
  --gap: 3rem;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  flex-direction: row;
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}


/* Pause on hover */
.marquee--hover-pause:hover .marquee__content {
  animation-play-state: paused;
}



#collaborators h1 {
  margin-bottom: 25px;
}

.blue-bg {
  background-image: url(assets/clouds.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--blue);
  width: 100vw;
  /* padding: 75px; */
}

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

.red-bg {
  background-color: var(--red);
  border-radius: 1px;
}

.paper-bg {
  background-image: url(assets/lined-paper.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--cream);
}

/* social bar css */

.social-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 50px 0 0 0;
  width: 80vw;
  max-width: 1920px;
  margin: auto;
}

/* footer css */

footer {
  display: flex;
  flex-direction: column;
  margin: 25px 100px;
  background-color: var(--green);
  background-size: cover;
  padding: 25px 50px;
  border-radius: 15px;
}

.footer-box {
  width: 80vw;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#icon-footer {
  height: 89px;
  width: auto;
}

#icon-footer:hover {
  transform: scale(1.05);
  transition-duration: .2s
}

#nav-footer {
  font-size: var(--p2-size);
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

#nav-footer a {
  text-transform: uppercase;
  text-decoration: none;
  font-size: var(--p2-size);
  letter-spacing: 1px;
  font-weight: var(--bold);
  color: var(--cream);
}

#nav-footer a:hover {
  color: var(--blue);
  transition: color 0.2s;
}

.copyright {
  padding: 13px 0;
  background-color: var(--red);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: var(--notice-size);
  font-weight: var(--regular);
  color: var(--cream);
}

.notice,
.notice a {
  font-size: var(--notice-size);
  color: var(--blue);
  margin-top: 10px;
}

/* privacy policy + terms of use css section */
.policy-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  background-color: var(--cream);
  background-image: url(assets/crumpled-paper.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.policy-wrap {
  padding: 40px 5vw;
}

.landing {
  min-height: auto !important;
}

.cover {
  min-height: auto !important;
  padding: 40px 0 50px;
}

.policy-container h1 {
  font-family: 'forma-djr-display', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.2;
}

.policy-container .effective-date {
  font-family: 'Lexend', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 32px;
  display: block;
}

.policy-container h2 {
  font-family: 'forma-djr-display', sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--black);
  margin-top: 40px;
  margin-bottom: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-container h3 {
  font-family: 'forma-djr-display', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--black);
  margin-top: 36px;
  margin-bottom: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-container p {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.75;
  color: var(--black);
  margin-bottom: 16px;
}

.policy-container ul {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.75;
  color: var(--black);
  margin: 0 0 16px 24px;
  padding: 0;
}

.policy-container ul li {
  margin-bottom: 8px;
}

.policy-container a {
  color: var(--blue);
  text-decoration: underline;
}

.policy-divider {
  border: none;
  border-top: 2px solid var(--black);
  margin: 48px 0 40px;
  opacity: 0.15;
}

.policy-sms-title {
  font-family: 'forma-djr-display', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--black);
  margin-bottom: 20px;
  margin-top: 0;
}

@media screen and (max-width: 600px) {
  .policy-container {
    padding: 40px 24px 60px;
  }
  .policy-wrap {
    padding: 24px 4vw;
  }
}

    @media (max-width: 600px) {
      .heading {
        font-size: 2rem;
      }
    }

    .sticker {
      position: absolute;
      right: 0;
      top: 0;
      height: 20vh;
      width: auto;
    }

    .sticker-container {
      position: relative;
      width: 100%;
      height: 100%;
      align-items: right;
    }

    #mobile-menu {
      display: none;
    }

    #menu-button {
      height: 2.5em;
      display: none;
      z-index: 10;
      color: var(--cream);
    }

    .nav-mobile {
      display: none;
    }

    .mobile {
      display: none;
    }

    .cover {
      display: flex;
      width: 80vw;
      max-width: 1920px;
    }

    @media screen and (max-width: 1240px) {
      .nav-top {
        display: none;
      }

      #menu-button {
        display: block;
        z-index: 10;
      }

      #mobile-menu {
        height: 100vh;
        background-color: var(--cream);
        width: 100vw;
        position: absolute;
        inset-inline-start: 0;
        inset-block-start: 0;
        display: none;
        z-index: 5;
      }

      .nav-mobile {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        height: 100%;
      }

      .nav-mobile a {
        text-transform: uppercase;
        text-decoration: none;
        font-weight: var(--bold);
        color: var(--blue);
        letter-spacing: 1px;
        font-size: var(--p-size);
        transition: color 0.2s ease;
      }

      .cover {
        width: 80vw;
      }

      .cover img {
        width: 50%;

      }

      .cover-text-right {
        width: 80vw;
      }

      .list-title {
        flex-direction: row;
        align-items: left;
        justify-content: left;
        width: 80vw;
      }

      .list-description {
        align-items: left;
        justify-content: left;
        width: 80vw;
      }
    }

    @media screen and (max-width: 850px) {
      .cover {
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .cover img {
        width: 80vw;

      }
    }


    @media screen and (max-width: 450px) {

      h1 {
        font-weight: var(--extra-bold);
        text-transform: uppercase;
        color: var(--blue);
        margin: 2px 0;
        line-height: 1em;
        letter-spacing: 1.2px;
        font-size: var(--h2-size);
      }

      #collaborators h1 {
        font-size: 21px;
      }

      .desktop {
        display: none;
      }

      #logo-header {
        height: 60px;
        width: auto;
      }

      .cover-home {
        >img {
          width: 98vw;
        }
      }

      .mobile {
        display: block;
      }

      .social-bar {
        justify-content: center;
        padding-bottom: 11px;
      }

      #our-reach-title {
        justify-content: center;
        text-align: center;
      }

      .title-bar {
        width: 100vw;
      }

      .footer-nav {
        flex-direction: row-reverse;
        gap: 13px;
      }

      #nav-footer {
        flex-direction: column;
        gap: 3px;
        text-align: right;
        margin-bottom: 55px;
      }

      #landing-initiatives {
        >.page-header {
          justify-content: center;
        }
      }

      .cover {
        flex-direction: column;
        width: 80vw;
      }

      .cover-text-right {
        width: 80vw;
        padding: none;
      }

      .workflow {
        align-items: center;
      }

      .list-title {
        flex-direction: column;
        align-items: left;
        justify-content: left;
        width: 80vw;
      }

      .list-description {
        align-items: left;
        justify-content: left;
        width: 80vw;
      }

    }