@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat-v31-latin-regular.woff2") format("woff2");
}

/* 700 */
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/montserrat-v31-latin-700.woff2") format("woff2");
}

:root {
  --cp-bg: #f6f1e8;
  --cp-text: #2b2118;
  --cp-1: #efe4d3;
  --cp-2: #8a5a34;
  --cp-3: #6f6255;
  --box-shadow-1: 0 0 10px rgba(43, 33, 24, 0.08);
  --container-width: 768px;
  --font-family: "Montserrat", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* HEADER START */
#hrx-header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  .container {
    .hrx-top {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      line-height: 1.2;

      h2 {
        font-size: 1.2rem;
        margin: 4px 0;
      }
      p {
        font-size: 0.9rem;
        margin: 0;
      }
    }
  }
}
/* HEADER END */

/* Header menu start */
#hrx-header-menu {
  background-color: var(--cp-2);
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    #hrx-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: calc(100% - 3rem);
      height: 100vh;
      background-color: var(--cp-2);
      z-index: 999;
      padding: 1rem;
      transform: translateX(-100%);
      transition: all 0.3s ease;

      @media (min-width: 1024px) {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        background-color: transparent;
        z-index: 999;
        padding: 0;
        transform: translateX(0);
        transition: all 0.3s ease;
      }

      &.active {
        transform: translateX(0);
      }

      ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        @media (min-width: 1024px) {
          flex-direction: row;
          justify-content: center;
          align-items: center;
          gap: 3rem;
        }
        li {
          margin: 0;
          a {
            color: var(--cp-bg);
          }
        }
      }
    }
    button.hrx-bars {
      position: relative;
      width: 23px;
      height: 19px;
      transition: all 0.3s ease;

      @media (min-width: 1024px) {
        display: none;
      }

      .hrx-bar {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background-color: var(--cp-bg);
        transition: all 0.3s ease;

        &:nth-child(1) {
          top: 0;
        }
        &:nth-child(2) {
          top: 50%;
          transform: translateY(-50%);
        }
        &:nth-child(3) {
          bottom: 0;
        }
      }

      &.active {
        .hrx-bar {
          &:nth-child(1) {
            transform: rotate(45deg);
            top: 50%;
          }
          &:nth-child(2) {
            opacity: 0;
          }
          &:nth-child(3) {
            transform: rotate(-45deg);
            bottom: 50%;
          }
        }
      }
    }
  }
}
