
header {
  position: fixed;
  margin-block: 15px;
  padding-inline: 15px;
  width: 100%;
  z-index: 1000;
  font-size: 20px;
  color: black;
  top: 0;

  #header-content {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 100%;

    .navbar-brand {
      display: flex;
      flex-flow: row nowrap;
      justify-content: center;
      font-size: 40px;
    }

    a {
      display: flex;
      align-items: center;
      min-width: 100%;

      .brand-text {
        display: flex;
        flex-flow: column;
        padding-inline: 5px;
        font-size: 30px;
        font-weight: 900;
        background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-light) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

        span {
          padding-inline: 5px;
        }
      }
    }

    #header-links {
      width: 300px;

      #header-bottom {
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        padding-top: 15px;


        .call-button {
          display: flex;
          align-items: center;
          margin-inline: 5px;
          min-width: fit-content;

          button#nav-cta {
            display: flex;
            margin-block: 10px;
            padding-inline: 20px;
            height: fit-content;

            svg,
            .call-button span {
              color: rgb(0 71 26);
            }
          }
        }

        button#mobile-menu {
          margin-inline: 5px;
        }
      }

      #links {
        a {
          display: flex;
          justify-content: center;
        }
      }
    }



    #links {
      display: flex;
      flex-flow: column;
      max-height: 0;
      padding-top: 0;
      transition: max-height 0.4s linear;
      overflow: hidden;

      a {
        padding: 5px 10px;
        text-align: center;
        border-radius: 25px;
        width: fit-content;
        padding-inline: 10px;
        color: #FFFFFF;
      }

      a:hover.links {
        background-color: #2b2b2b87;
      }
    }

    .show {
      max-height: 275px !important;
      padding-top: 20px !important;
    }

    #mobile-menu {
      width: 58px;
      margin: auto;
    }
  }

  img {
    height: 75px;
  }
}

@media (min-width: 912px) {
  header {
    #header-content {
      flex-flow: row wrap;
      justify-content: center;
      align-items: flex-start;

      .navbar-brand {
        display: flex;
        justify-content: flex-start;
        min-width: auto;

        .brand-text {
          flex-flow: row;
        }
      }

      #header-links {
        display: flex;
        width: auto;

        #header-bottom {
          padding-top: 0;

          #mobile-menu {
            display: none;
          }
        }

        #links {
          flex-flow: row wrap;
          max-height: 275px;

          a {
            min-width: auto;
          }
        }
      }
    }
  }
}

@media (min-width: 1012px) {
    header {
        #header-content {
            align-items: center;
        }
    }
}

@media (min-width: 1097px) {
  header {
    #header-content {
      justify-content: space-between;
      align-items: center;
      max-width: 1160px;

      #header-links {
        flex-flow: row-reverse;
      }
    }
  }
}