@import '../../assets/styles/colors';
@import '../../assets/styles/fonts';

.typography-container {
  .typography-header {
    & div {
      @extend .font2Xl;
      font-weight: 600;
    }
    & span {
      @extend .fontSm;
      font-weight: 400;
      color: $tooltip-bg-color; // need to change color #7A7A7A
    }
  }
}
.font-display {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.font-row {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.font-left {
  width: 60%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid $border-color;
  padding: 10px;
  gap: 10px;

  .font-name {
    @extend .fontLg;
    font-weight: 600;
  }

  .font-sample {
    @extend .font-size-80;
    font-weight: 700;
  }

  .font-characters {
    @extend .font2Xl;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0.16em;
    white-space: pre;
  }
}

.font-right {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  gap: 20px;

  .font-right-section {
    display: flex;
    align-items: center;

    .font-sample-large {
      font-size: 40px;
      margin-right: 10px;
    }

    // Apply specific font weight different sections
    &.bold {
      @extend .font2Xl;
      font-weight: 700;
    }
    &.semi-bold {
      @extend .font2Xl;
      font-weight: 600;
    }
    &.regular {
      @extend .font2Xl;
      font-weight: 400;
    }

    .font-info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;

      // Specific styling for the font-size part
      .font-size {
        @extend .fontLg;
        font-weight: 400;
        color: $tooltip-bg-color;
      }
    }
  }
}
