header {
  padding: 0px 20px 0px 20px;
  background: #AC0D22;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
  position: fixed;
  top: 0px;
  z-index:102;
  width: 100%;
  overflow: visible;
  .logo {
    img {
      width: 150px;
    }
  }
  .nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    @media (max-width: 992px) {
      display: none;
      position:absolute;
      /* position: static; */
      background: #000;
      flex-direction: column;
      width: unset;
      right: 0px;
      top: 0px;
      height: fit-content;
      width: 237px;
      padding: 96px 1em 3em 1em;
      height: 100vh;
    }
    a {
      display: inline-block;
      text-align: center;
      color: #fff;
    }
    .nav-links {
      display: flex;
      justify-content: space-around;
      flex-grow: 5;
      @media (max-width: 992px) {
        flex-grow: 1;
        flex-direction: column;
        justify-content: flex-start;
      }
      a {
        color: #fff;
        font-size: 16px;
        max-width: 189px;
        @media (max-width: 1199px) {
          font-size: 15px;
        }
        @media (max-width: 992px) {
          font-size: 16px;
          line-height: 1.4em;
          padding-bottom: 1.4em;
          margin-bottom: 1em;
          br {
            display: none;
          }
          &:not(:last-child):after {
            content: "";
            width: 40vw;
            display: block;
            border-bottom: 1px solid #fff;
            position: relative;
            top: 1em;
          }
        }
      }
      a:hover, a.is-active {
        color: #f6b83b;
      }
      a.is-active {
        cursor: default;
      }
    }
    .nav-buttons {
      display: flex;
      justify-content: space-around;
      flex-grow: 1;
      @media (max-width: 992px) {
        flex-direction: column;
        height: 40%;
        justify-content: flex-start;
        gap: 2em;
      }
      a {
        display: flex;
        border: 1px solid white;
        border-radius: 20px;
        background: #000;
        color: #fff;
        width: 125px;
        font-weight: 500;
        font-size: 14px;
        line-height: 16px;
        justify-content: center;
        align-items: center;
        height: 43px;
        @media (max-width: 1199px) {
          width: 120px;
        }
        @media (max-width: 992px) {
          width: 189px;
          br {
            display: none;
          }
        }
      }
      .btn-quiz {
        background: #f6b83b;
        color: #000;
      }
      .btn-quiz:hover {
        background: #fff;
      }
    }
    .nav-socials {
      display: flex;
      gap: 8px;
      margin-left: 8px;
      @media (max-width: 1199px) {
        flex-direction: column;
      }
      @media (max-width: 992px) {
        flex-direction: row;
        height: 50%;
        margin-top: 2em;
        gap: 2em;
      }
      a.social img {
        width: 28px;
        height: auto;
        filter: brightness(100);
        @media (max-width: 992px) {
          width: 38px;
        }
      }
      a.social img:hover {
        filter: none;
      }
    }
    .btn:hover {
      background: #f6b83b;
      color: #000;
      border-color: #333;

    a:hover {
      color: #f6b83b;
    }
  }
}
#mobile-button {
  position: relative;
  z-index: 100;
  color: white;
}
.shown {
  display: flex !important;
}
.mobile-only {
  display: none;
  align-items: center;
  position: relative;
  @media (max-width: 992px) {
    display: flex;
  }
  .btn-quiz {
    text-align: center;
    display: flex;
    border: 1px solid white;
    border-radius: 20px;
    background: #f6b83b;
    color: #000;
    width: 125px;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    justify-content: center;
    align-items: center;
    height: 43px;
    margin: 0 0.75em;
    position: absolute;
    left: -125px;
    z-index: -1;
  }
}
.mobile-menu {
  cursor: pointer;
  margin-left: 30px;
  position: relative;
  height: 36px;
  width: 56px;
  display: flex;
  @media (max-width: 600px) {
    margin-left: 20px;
  }
  span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 6px;
    &:nth-child(1) {
      top: 0;
    }
    &:nth-child(2) {
      top: 50%;
      transform: translateY(-50%);
    }
    &:nth-child(3) {
      bottom: 0;
    }
  }
  &.is-active {
    height: 21px;
    width: 36px;
    margin-left: 50px !important;
    span {
      background: #f6b83b;
      &:nth-child(1) {
        transform: rotate(-50deg) translateY(-9.5px);
        transform-origin: 100%;
        position: relative;
        left: 2px;
      }
      &:nth-child(2) {
        display: none;
      }
      &:nth-child(3) {
        transform: rotate(50deg) translateY(7.5px);
        transform-origin: 100%;
      }
    }
  }
}
