@import "../Styles/styles.scss";

NameTagPanel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-family: $font-secondary;
  overflow: visible;

  .card {
    flex-direction: row;
    background-color: rgba(0, 0, 0, 0.8);
    border-bottom: 12px solid $text-primary-color;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 10px 20px 10px 8px;
    justify-content: center;
    align-items: center;
    gap: 14px;
    overflow: visible;

    .level-badge {
      padding: 0 12px;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      text-stroke: 6px black;
    }

    .name {
      font-size: 40px;
    }

    .player-copy {
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .title {
      margin-top: -6px;
      font-family: $font-primary;
      font-size: 18px;
      color: rgba(255, 255, 255, 0.82);
      text-stroke: 3px black;
    }

    .gameobject {
      color: #00ff21;
      font-size: 20px;
    }
  }
}
