@font-face {
  font-family: 'HeadingNow';
  src: url('/assets/fonts/heading-now/HeadingNow-36Bold.otf') format('opentype');
  font-style: normal;
  font-weight: bold;
  font-display: swap;
}

@font-face {
  font-family: 'Haas Grot Disp';
  src: url('/assets/fonts/haas-disp/Neue Haas Grot Disp-55 Roman.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Haas Grot Disp';
  src: url('/assets/fonts/haas-disp/Neue Haas Grot Disp-65 Medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Haas Grot Text';
  src: url('/assets/fonts/haas-text/Neue Haas Grot Text-65 Medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}


:root {
  --heading-font: 'HeadingNow', sans-serif;
  --haas-disp-font: 'Haas Grot Disp', sans-serif;
  --haas-text-font: 'Haas Grot Text', sans-serif;

  --light-grey: #FFFFFF;
  --yellow: #FFC700;
  --blue: #162750;

  --p-size: 19rem;
  --p-big-size: 24.5rem;
  --h1-size: 73rem;
  --h2-size: 43rem;
  --h3-size: 36rem;
  --h4-size: 30rem;
  --h5-size: 30rem;

  --p-mobile-size: 15rem;
  --p-big-mobile-size: 17rem;
  --h1-mobile-size: 40.48rem;
  --h2-mobile-size: 26rem;
  --h3-mobile-size: 21rem;
  --h4-mobile-size: 22rem;
  --h5-mobile-size: 19rem;
}

.fade-in {
  opacity: 0;
  transition: opacity 1000ms ease;

  &.show {
    opacity: 1;
  }
}

.slide-in {
  transform: translateY(50rem);
  opacity: 0;
  transition: opacity 1000ms ease,
    transform 1000ms ease;

  &.show {
    transform: translateY(0rem);
    opacity: 1;
  }
}

.cta {
  display: inline-flex;
  background: var(--yellow);
  padding: 25rem 40rem;
  justify-content: center;
  align-items: center;

  color: #162750;
  font-family: var(--haas-disp-font);
  font-size: 18rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3333; /* 133.333% */
  letter-spacing: -0.5rem;
  text-decoration: none;
  transition: background-color 150ms ease,
    color 150ms ease;

  @media (max-width: 768px) {
    padding: 17rem 26.977rem;
    font-size: 14rem;
    line-height: 1.15615;
    letter-spacing: -0.337rem;
  }

  &:hover {
    background-color: #001F7E;
    color: #FFF;
  }

  & > .label {
    display: block;
  }
}


body {
  font-size: var(--p-size);
  font-family: var(--haas-disp-font);
  color: #162750;
  font-style: normal;
  font-weight: 400;
  line-height: 1.474;
  background-color: var(--light-grey);
  scroll-behavior: smooth;

  &.blue_header {
    padding-top: 108rem;
  }

  &.modal {
    height: 100vh;
    overflow: hidden;

    & .main_header {
      & .cta {
        display: none;
      }

      & .menu_toggler > .icon {
        &.hamburger {
          display: none;
        }

        &.close {
          display: block;
        }
      }
    }
  }
}

strong {
  font-weight: 500;
}

hr {
  background: #D0D0D0;
  height: 1px;
  border: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;

  & > li {
    padding-left: 10rem;
    padding-bottom: 0;

    &::marker {
      content: '•';
    }
  }
}

li,
p {
  color: rgba(22, 39, 80, 0.9);
  font-family: var(--haas-disp-font);
  font-size: var(--p-font);
  font-style: normal;
  font-weight: 400;
  line-height: 1.4737;
  padding-bottom: 15rem;

  &:last-child {
    padding-bottom: 0;
  }

  @media (max-width: 768px) {
    font-size: var(--p-mobile-font);
  }

  &.big {
    color: #162750;
    font-size: var(--p-big-size);
    line-height: 1.5;
    padding-bottom: 12rem;

    &:last-child {
      padding-bottom: 0;
    }

    @media (max-width: 768px) {
      font-size: var(--p-big-mobile-font);
    }
  }
}

h1 {
  font-family: var(--heading-font);
  font-size: var(--h1-size);
  font-style: normal;
  font-weight: bold;
  line-height: 0.877; /* 87.671% */
  text-transform: uppercase;

  @media (max-width: 768px) {
    font-size: var(--h1-mobile-size);
  }
}

h2 {
  font-family: var(--haas-text-font);
  font-size: var(--h2-size);
  font-style: normal;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.43rem;

  @media (max-width: 768px) {
    font-size: var(--h2-mobile-size);
  }
}

h3 {
  font-family: var(--haas-text-font);
  font-size: var(--h3-size);
  font-style: normal;
  font-weight: 500;
  line-height: 1.3333;
  letter-spacing: -0.36rem;
  padding-bottom: 45rem;

  @media (max-width: 768px) {
    font-size: var(--h3-mobile-size);
  }
}

h4 {
  font-family: var(--haas-text-font);
  font-size: var(--h4-size);
  font-style: normal;
  font-weight: 500;
  line-height: 1.3333;
  letter-spacing: -0.3rem;

  @media (max-width: 768px) {
    font-size: var(--h4-mobile-size);
  }
}

h5 {
  font-family: var(--haas-text-font);
  font-size: var(--h5-size);
  font-style: normal;
  font-weight: 500;
  line-height: 1.4333;

  @media (max-width: 768px) {
    font-size: var(--h5-mobile-size);
  }
}


.main_header {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  padding: 27rem 55rem;
  padding-left: 95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;

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

  @media (max-width: 768px) {
    padding: 14rem 18rem;

    &.active {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100vh;
      justify-content: space-between;
      align-items: flex-start;
      overflow-x: hidden;
      overflow-y: auto;
      background: linear-gradient(180deg, var(--blue) 10.77%, #3259B6 100%);

      & > .right_side {
        & > .menu_toggler > .icon {
          &.hamburger {
            display: none;
          }

          &.close {
            display: block;
          }
        }

        & > .menu {
          display: block;
          position: absolute;
          top: 188rem; left: 0;
          width: 100%;

          & > .item {
            color: #FFF;
            font-family: var(--heading-font);
            font-size: 73rem;
            font-style: normal;
            font-weight: bold;
            line-height: 64rem; /* 87.671% */
            text-transform: uppercase;
          }
        }
      }

      & > .mobile_img {
        display: block;
        position: absolute;
        bottom: 0; left: 50%;
        width: 333rem; height: auto;
        transform: translateX(-50%);
        z-index: 1;
      }
    }
  }

  & > .logo {
    color: #FFF;
    font-family: var(--haas-disp-font);
    font-size: 24rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.48rem;

    @media (max-width: 768px) {
      font-size: 17.645rem;
      letter-spacing: -0.353rem;
    }
  }

  & > .right_side {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;

    & > .menu {
      display: flex;
      padding-right: 27rem;

      @media (max-width: 768px) {
        display: none;

        & .hide_mobile {
          display: none;
        }
      }

      & > .item {
        position: relative;
        display: block;
        padding: 0 18rem;
        color: #FFF;
        text-align: right;
        font-family: var(--haas-disp-font);
        font-size: 18rem;
        font-style: normal;
        font-weight: 500;
        line-height: 28rem;
        text-decoration: none;
        transition: color 150ms ease;

        &.mobile {
          display: none;
          color: var(--yellow);

          @media (max-width: 768px) {
            display: block;
          }
        }

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

        &::before {
          content: "";
          position: absolute;
          top: 50%; right: 100%;
          width: 1px; height: 24rem;
          background: rgba(255,255,255, 0.20);
          transform: translateY(-50%);
        }

        &:first-child {
          padding-left: 0;

          &::before {
            display: none;
          }
        }

        @media (max-width: 768px) {
          text-align: left;

          & .hide_mobile {
            display: none;
          }
        }
      }
    }

    & > .cta {
      @media (max-width: 768px) {
        padding: 13.4rem 26.977rem;
      }

      &:hover {
        background-color: #FFF;
        color: #162750;
      }
    }

    & > .menu_toggler {
      width: 43rem; height: 43rem;
      background: #FFF;
      display: none;

      @media (max-width: 768px) {
        display: flex;
        align-items: center;
        justify-content: center;
        order: -1;
      }

      &.active > .icon {
        &.hamburger {
          display: none;
        }

        &.close {
          display: block;
        }
      }

      & > .icon {
        display: block;
        width: 15rem; height: auto;
        align-self: center;

        &.close {
          display: none;
        }
      }
    }
  }

  & > .mobile_img {
    display: none;
  }
}

.content {
  position: relative;
  display: block;
  z-index: 1;

  & > .hero {
    position: relative;
    display: block;
    overflow: hidden;
    backface-visibility: hidden;

    &.history {
      & > .bg_img {
        @media (max-width: 768px) {
          height: 360rem;
        }
      }

      & > .content {
        top: 200rem;

        @media (max-width: 768px) {
          top: 138rem;
        }

        & > .subtitle {
          font-family: var(--haas-text-font);
          font-size: 30rem;
          font-style: normal;
          font-weight: 500;
          line-height: 1.5;
          letter-spacing: -0.3rem;
          margin-bottom: 29rem;

          @media (max-width: 768px) {
            font-size: 17rem;
            line-height: 1.77;
            letter-spacing: -0.17rem;
            margin-bottom: 14rem;
          }
        }
      }
    }

    & > .bg_img {
      display: block;
      width: 100%; height: auto;
      object-fit: cover;
      will-change: transform;

      &.mobile {
        display: none;
      }

      @media (max-width: 768px) {
        &.desktop {
          display: none;
        }

        &.mobile {
          display: block;
        }
      }
    }

    & > .content {
      position: absolute;
      top: 170rem; left: 95rem;
      color: #FFF;

      @media (max-width: 768px) {
        top: 100rem; left: 18rem;
        width: 388rem;
      }

      & span {
        color: var(--yellow);
      }
    }
  }

  & > .home_content {
    display: flex;
    justify-content: space-between;
    padding: 70rem 95rem 92rem;

    @media (max-width: 768px) {
      padding: 50rem 18rem 82rem;
    }

    & > .left_col {
      width: 769rem;

      @media (max-width: 768px) {
        width: 100%;
      }

      & > .expand_section {
        padding-top: 40rem;

        @media (max-width: 768px) {
          padding-top: 29rem;
        }

        & > .trigger {
          display: inline-flex;
          margin-bottom: 70rem;

          color: #162750;
          font-family: var(--haas-text-font);
          font-size: 16rem;
          font-style: normal;
          font-weight: 500;
          line-height: normal;
          text-decoration: underline;

          @media (max-width: 768px) {
            margin-bottom: 41rem;
            font-size: 14rem;
          }

          &.active > .arrow {
            transform: rotate(0deg);
          }

          & > .arrow {
            display: block;
            width: 13rem; height: auto;
            margin-left: 11rem;
            transform: rotate(-90deg);
            transition: transform 300ms ease;
          }
        }

        & > .cta {
          margin: 40rem 0;
          width: 100%;

          @media (max-width: 768px) {
            margin: 35rem 0;
          }
        }

        & > .content {
          display: none;

          @media (max-width: 768px) {
          }

          &.active {
            display: block;
          }

          & hr:last-child {
            margin-top: 70rem;

            @media (max-width: 768px) {
              margin-top: 50rem;
            }
          }
        }
      }

      & h4 {
        padding-top: 70rem;
        padding-bottom: 50rem;

        @media (max-width: 768px) {
          padding-top: 39rem;
          padding-bottom: 27rem;
        }
      }

      & .two_col {
        /* columns: 2;
        column-gap: 50rem;

        & > .break {
          column-break-before:always;
        } */
      }

      & .ctas {
        padding: 56rem 0 0;

        @media (max-width: 768px) {
          padding: 44rem 0 0;
        }

        & > .row {
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 48rem 0;
          border-top: 1px solid #D0D0D0;

          @media (max-width: 768px) {
            padding: 42rem 0;
            flex-wrap: wrap;
            justify-content: flex-start;
          }

          &:last-child {
            border-bottom: 1px solid #D0D0D0;
          }

          & > .col {
            @media (max-width: 768px) {
              width: 100%;
            }

            &.text {
              width: 454rem;

              @media (max-width: 768px) {
                width: 100%;
                padding-bottom: 25rem;
              }
            }

            & .cta.form {
              width: 246rem;

              @media (max-width: 768px) {
                width: 100%;
              }
            }

            &.links {
              display: flex;
              justify-content: space-between;
              align-items: center;
              width: 246rem;

              & > .link {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 70rem; height: 70rem;
                border-radius: 50%;
                background-color: var(--yellow);
                flex-shrink: 0;
                transition: background-color 150ms ease;

                &:hover {
                  background-color: #001F7E;

                  & > .icon path {
                    fill: #FFF;
                  }
                }

                &.share > .icon {
                  width: 21rem;
                }

                &.fb > .icon {
                  width: 13rem;
                }

                &.twitter > .icon {
                  width: 23rem;
                }

                & > .icon {
                  display: block;
                  height: auto;
                  align-self: center;

                  & path {
                    transition: fill 150ms ease;
                  }
                }
              }
            }
          }
        }
      }
    }

    & > .right_col {
      width: 495rem;
      /* background: linear-gradient(0deg, #F5F3ED 0%, #F5F3ED 100%), rgba(213, 213, 213, 0.36); */

      @media (max-width: 768px) {
        display: none;
        position: fixed;
        top: 88rem; left: 18rem;
        width: calc(100% - 36rem); height: calc(100vh - 100rem);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        background-color: var(--light-grey);

        &.active {
          display: block;
        }
      }

      & iframe {
        display: block;
        width: 100%;
      }
    }
  }

  & > .history_content {
    padding: 0 94rem 288rem;

    @media (max-width: 768px) {
      padding: 0 18rem 70rem;
    }

    & > .row {
      display: flex;
      padding: 67rem 0 84rem;
      border-bottom: 1px solid #D0D0D0;

      @media (max-width: 768px) {
        display: block;
        padding: 50rem 0;
      }

      &:last-child {
        padding-bottom: 0;
        border-bottom: 0;
      }

      & > .title {
        width: 37.6%;

        @media (max-width: 768px) {
          width: 100%;
          padding-bottom: 27rem;
        }
      }

      & > .content {
        width: 62.4%;
        padding-right: 47rem;

        @media (max-width: 768px) {
          width: 100%;
          padding-right: 0;
        }
      }
    }
  }

  & > .about_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 82rem 94rem 304rem;

    @media (max-width: 768px) {
      padding: 52rem 19rem 76rem;
      flex-wrap: wrap;
    }

    & > .col {
      &.left {
        width: 414rem;

        @media (max-width: 768px) {
          width: 100%;
          margin-bottom: 1em;
        }

        & > .side_img {
          display: block;
          width: 100%;
          margin-top: 88rem;

          @media (max-width: 768px) {
            display: none;
          }

          & > img {
            display: block;
            width: 100%; height: auto;
          }
        }
      }

      &.right {
        width: 788rem;

        @media (max-width: 768px) {
          width: 100%;
        }

        & > .desktop_footer {
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-top: 55rem;
          padding: 36rem 0;
          border-top: 1px solid #D0D0D0;
          border-bottom: 1px solid #D0D0D0;

          @media (max-width: 768px) {
            display: none;
          }

          & > .desc {
            font-weight: 500;
          }
        }
      }
    }
  }
}

.main_footer {
  position: relative;
  z-index: 3;

  & > .content_wrapper {
    position: relative;
    background: linear-gradient(90deg, #162750 0%, #223C7A 30.28%, #3259B6 75.69%), linear-gradient(270deg, #122667 0%, #304EB4 100%);
    overflow: visible;

    @media (max-width: 768px) {
      overflow: hidden;
      background: linear-gradient(180deg, #162750 10.77%, #3259B6 100%), linear-gradient(0deg, #122667 0%, #304EB4 100%), linear-gradient(0deg, #1A317D 0%, #2D55DB 100%), var(--Primary-Blue, #162750);
    }

    & > .content {
      width: calc(617rem + 95rem);
      padding: 84rem 0 90rem;
      padding-left: 95rem;

      color: #FFF;

      @media (max-width: 768px) {
        width: calc(350rem + 18rem);
        padding: 48rem 0 0rem;
        padding-left: 18rem;
      }

      & > .cta {
        margin-top: 71rem;

        &:hover {
          background-color: #FFF;
          color: #162750;
        }

        @media (max-width: 768px) {
          margin-top: 32rem;
        }
      }
    }

    & > .footer_img {
      position: absolute;
      bottom: 0; right: 97rem;
      width: 623rem; height: auto;
      display: block;
      pointer-events: none;
      user-select: none;

      @media (max-width: 768px) {
        position: relative;
        bottom: initial; right: initial;
        width: 445rem; height: auto;
        margin-left: -6rem;
        margin-top: -37rem;
      }
    }
  }

  & > .copyright_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #385CD6;
    padding: 38rem 94rem;

    @media (max-width: 768px) {
      justify-content: center;
      padding: 54rem 0;
    }

    & > .col {
      display: flex;
      align-items: center;

      @media (max-width: 768px) {
        &.left {
          display: block;
          text-align: center;
        }

        &.right {
          display: none;
        }
      }

      & > .item {
        position: relative;
        display: block;
        padding: 0 20rem;
        color: rgba(255,255,255, 0.8);
        font-family: var(--haas-disp-font);
        font-size: 18rem;
        font-style: normal;
        font-weight: 400;
        line-height: 28rem; /* 155.556% */
        letter-spacing: 0.09rem;
        text-decoration: none;
        transition: color 150ms ease;

        &:not(.text):hover {
          color: var(--yellow);
        }

        &:first-child {
          padding-left: 0;
        }

        &:last-child {
          padding-right: 0;

          &::after {
            display: none;
          }
        }

        &::after {
          content: "";
          position: absolute;
          top: 50%; left: 100%;
          width: 1px; height: 24rem;
          background: rgba(255,255,255,0.2);
          transform: translateY(-50%);
        }

        @media (max-width: 768px) {
          padding: 0;

          &::after {
            display: none;
          }
        }
      }
    }
  }
}