div.wiring-tool-hud {
  position: absolute;
  top: 300px;
  left: 100px;
}

.wiring-ports {
  display: flex;
  flex-direction: column;
  background-color: rgba(blue, 0.2);
  border-radius: 8px;
  padding: 4px;

  .h2 {
    font-size: 40px;
    color: rgba(white, 0.8);
    text-shadow: 3px 3px 20px rgba(black, 0.8);
    padding: 4px;
  }
  .port {
    font-size: 24px;
    color: rgba(white, 0.8);
    text-shadow: 3px 3px 20px rgba(black, 0.8);
    padding: 4px;
    &.active {
      background-color: rgba(green, 0.6);
    }
  }
  &.selected {
    background-color: rgba(blue, 0.35);
    .port.active {
      background-color: rgba(green, 0.9);
    }
  }

  .wiring-ports-list {
    display: flex;
    flex-direction: column;
  }
}

.wiring-outputs {
  margin-left: 30px;

  background-color: rgba(blue, 0.125);
  opacity: 0.75;
  &.selected {
    background-color: rgba(blue, 0.2);
    opacity: 1;
  }
}



.wire-gate-menu {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 10%;

  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-out;

  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

  .wire-gate-container {
    display: flex;
    max-width: 60%;
    flex-direction: column;
    .wire-gate-category {
      align-items: center;

      padding-bottom: 10px;
      .wire-gate-category-label {
        color: rgb(216, 216, 216);
        text-shadow: -1px -1px 4px #000000, 2px 2px 4px #000000;
        padding: 4px;
        padding-right: 8px;
        font-size: 16px;
        white-space: nowrap;
        min-width: 100px;
      }
      .wire-gate-category-list {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
      }
    }
  }

  &.visible {
    display: flex;
    opacity: 1;

    button {
      color: rgb(216, 216, 216);

      padding: 16px;
      margin: 2px;
      background-color: rgba(black, 0.85);
      border-radius: 12px;
      font-size: 14px;
      cursor: pointer;
      pointer-events: all;

      &:hover,
      &:active {
        background-color: rgba(black, 0.75);
        color: white;
      }
    }
  }
}
