@ct-navbar-height: 100px;
@ct-navbar-height-mobile: 60px;

.cr-ct-navbar__sticky-empty {
  height: @ct-navbar-height;

  &--mobile {
    height: @ct-navbar-height-mobile;
  }
}

.cr-ct-navbar {
  display: flex;
  align-items: center;
  height: @ct-navbar-height;
  background-color: #fff;
  box-shadow: 0 0 0 1px rgba(17, 20, 24, 0.1), 0 1px 1px rgba(17, 20, 24, 0.2);
  position: relative;
  z-index: 1000;
  &--mobile {
    height: @ct-navbar-height-mobile;
  }

  &--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease-in-out;
  }

  &--transparent {
    background-color: transparent;
    box-shadow: none;
  }

  &--scrolled {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    backdrop-saturate: saturate(1.5);
    box-shadow: 0 0 0 1px rgba(17, 20, 24, 0.1), 0 1px 1px rgba(17, 20, 24, 0.2);
  }

  &__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 30px;

    &--mobile {
      padding: 0 15px;
    }
  }

  &__left {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 10px;

    &--has-actions {
      cursor: pointer;
    }
  }

  &__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    > .anticon {
      font-size: 40px;
    }

    &--mobile {
      > .anticon {
        font-size: 24px;
      }
    }
  }

  &__studio-name {
    &--mobile {
      font-size: 16px;
      line-height: 24px;
    }

    &--dark {
      color: white;
    }
  }

  &__options {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 30px;
    margin: 0;
    padding: 0;

    &--mobile {
      display: none;
    }
  }

  &__menu-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  &__right {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 30px;
  }

  &-option {
    list-style: none;
    display: flex;
    align-items: center;

    &__link {
      color: @theme-secondary-base-color;
      font-size: 16px;
      font-style: normal;
      font-weight: 400 !important;
      line-height: 32px;
      text-decoration: none;
      &:hover {
        color: @theme-secondary-base-color;
        text-decoration: none !important;
      }
    }
  }

  &__actions {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
  }

  &__menu-button {
    margin-right: 12px;
  }

  &__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #fff;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    overflow-y: auto;
    overflow-x: hidden;
  }

  &--font-variant-1 {
    .cr-ct-navbar-option__link {
      font-family: @theme-font-variants[ @variant-1][body-font-family];
    }

    .cr-ct-navbar__studio-name {
      font-family: @theme-font-variants[ @variant-1][header-font-family];
    }
  }

  &--font-variant-2 {
    .cr-ct-navbar-option__link {
      font-family: @theme-font-variants[ @variant-2][body-font-family];
    }

    .cr-ct-navbar__studio-name {
      font-family: @theme-font-variants[ @variant-2][header-font-family];
    }
  }

  &--font-variant-3 {
    .cr-ct-navbar-option__link {
      font-family: @theme-font-variants[ @variant-3][body-font-family];
    }

    .cr-ct-navbar__studio-name {
      font-family: @theme-font-variants[ @variant-3][header-font-family];
    }
  }
}
