* {
  box-sizing: border-box;
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

html {
  scroll-behavior: smooth;
  padding: 0;
  margin: 0;
}

body {
  background-color: white;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  font-synthesis-weight: none;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  padding: 0;
  margin: 0;
}

.turbo-progress-bar {
  background-color: var(--color-primary);
}

::selection {
  background-color: var(--color-selected);
}

h1 {
  font-size: var(--headline-one);
  font-weight: 800;
  line-height: 1em;

  span {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2em;
    text-transform: uppercase;
  }
}

h2 {
  font-size: var(--headline-two);
  font-weight: 800;
}

h3 {
  font-size: var(--headline-three);
  font-weight: 500;
  text-transform: uppercase;
}

a,
a:link,
a:visited {
  color: var(--color-brand-red);
}

a:hover,
a:active {
  color: var(--color-brand-orange);
  transition: color 0.2s ease-in-out;
}

.gradient-block {
  height: 5px;
  background: var(--brand-gradient);
}

main > section {
  padding: 0 1em;
}

.nest {
  max-width: 1160px;
  margin: 0 auto;
}

.button,
a.button {
  background-color: var(--color-brand-orange);
  color: white;
  display: inline-block;
  font-size: 0.825rem;
  padding: 10px 30px;
  border-radius: 25px;
  text-transform: uppercase;
  text-decoration: none;

  &:hover {
    background-color: var(--color-brand-orange-reverse);
  }
}

a.button {
  color: white !important;

  &:hover {
    background-color: var(--color-brand-orange-reverse);
  }
}

a.button-big {
  background-color: var(--color-brand-orange-screen);
  background-image: url("/assets/dsa_orange_circle-9f0b7301.svg");
  background-repeat: no-repeat;
  background-position: 95%;
  border-radius: 50px;
  color: var(--color-brand-orange);
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1em 1.5em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.5s ease;
  width: 100%;

  &:hover {
    background-color: var(--color-brand-orange);
    color: white;
  }
}

p.buttons-row,
div.buttons-row {
  margin: 1em 0 0 auto !important;

  .button-big {
    width: 33%;
  }
}

/* Header NAV */
header#page_header {
  background: none !important;
  z-index: 1000;
  .nest {
    max-width: 1325px;
    padding: 0 3em;
  }

  nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1em;

    .nav-wrapper {
      margin-right: 10%;
    }

    .mobile-nav-menu {
      width: 100%;
    }

    ul {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      list-style-type: none;
      margin: 30px 0;
      padding: 0;
      width: 100%;
    }

    li {
      list-style-type: none;
    }

    li#home a {
      background-color: transparent;
      background-image: url("/assets/dsa_4c-98000de6.svg");
      background-size: contain;
      background-repeat: no-repeat;
      display: block;
      height: 72px;
      width: 193px;
      color: transparent;
      border: 0;
      overflow: hidden;
      text-indent: 100%;
      text-shadow: none;
      white-space: nowrap;

      &:before {
        content: "";
        display: block;
        height: 100%;
        width: 0;
      }
    }

    a {
      color: black;
      font-size: 1rem;
      font-weight: 500;
      text-transform: uppercase;
      text-decoration: none;

      &:hover {
        color: var(--color-link);
      }
    }

    li#nav-donate,
    li#donate {
      background: none;
      padding: 0;

      a {
        background-color: var(--color-brand-orange);
        color: white !important;
        padding: 10px 20px;
        border-radius: 25px;
      }
    }

    .logo {
      font-size: 2rem;
      font-weight: 800;
      text-transform: uppercase;
    }
  }

  nav[role="primary"] {
    .nav-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .mobile-nav-toggle {
      display: none;
    }
  }
}

footer#page_footer {
  background: var(--color-brand-red) url("/assets/arrow_watermark-074f9182.svg");
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-y: center;
  border-radius: 15px;
  color: #fff;
  margin: 2em 1em 1em 1em;
  padding: 4em 0 0 0;

  img {
    max-height: 100px;
    margin-bottom: 2em;

    &#dsa-logo {
      position: relative;
      left: -70px;
    }
  }

  .nest {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 2em 0 2em 7em;
  }

  .col:nth-child(n + 2) {
    padding-top: calc(60px + 2em);
    p a {
      font-weight: 700;
    }
  }

  .col {
    flex-basis: 25%;

    p {
      margin-top: 0;
    }

    img {
      max-width: 90%;
    }
  }

  p,
  a {
    color: white;
    text-decoration: none;
  }

  ul.socials {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  ul.socials li {
    display: inline-block;
  }

  ul.socials li img {
    height: 40px;
    margin: 0 10px 0 0;
    opacity: 0.6;
    transition:
      opacity 0.3s,
      transform 0.3s;
  }

  ul.socials li img:hover {
    opacity: 1;
    transform: scale(1.1);
  }

  #footer_socket {
    /* background-color: var(--color-brand-red); */
    color: white;
    height: 50px;
    padding: 0 2em 0 7em;

    .nest {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      padding: 0;
    }

    p,
    li,
    li a {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.8125rem;
      font-weight: 500;
      line-height: 1;
      margin: 0;
      padding: 0;
    }

    ul,
    li {
      list-style-type: none;
      margin: 0;
      padding: 0;
    }
  }
}

main {
  padding-top: 130px;
}
