:root {
  --color-s: #ff7f80;
  --color-a: #ffc07f;
  --color-b: #ffdf80;
  --color-c: #fdff7f;
  --color-d: #bfff7f;
  --color-e: #7fff7f;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* html,
body {
  min-height: 100vh;
  background-color: black;
} */


button {
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  border-style: none;
}

body {
  background-color: black;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0 auto;
  max-width: 500px;
  padding-inline: 32px;
  user-select: none;
  color: #ffffff;
}

#top-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 8px;
}

#top-header img {
  max-width: 125px;
  height: auto;
}

.tier {
  border: 1px solid #444444;
  display: flex;
  flex-direction: column;
  background-color: #1f1f1f;
}

.row {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #111111;
  transition: all 0.3s ease;

  &.drag-over {
    background-color: #555555;
    scale: 1.01;
  }
}

.label {
  cursor: pointer;
  background-color: var(--level, #09f);
  color: #333333;
  font-weight: bold;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;

  & span:focus {
    outline: 1px solid #ffffff;
  }
}

#selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

#selector-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;

  & button, 
  & label {
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #222222;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.25rem;
  }

    &:hover {
      background-color: #444444;
      scale: 1.1;
    }

  & svg {
    width: 100%;
    height: 100%;
  }
}

#selector-items {
  border: 1px solid #666666;
  width: 100%;
  height: 100px;
  margin-bottom: 100px;
  display: flex;
  flex-wrap: wrap;

  &.drag-files {
    background-color: #555555;
    border-style: dashed;
  }
}

.item-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  background-color: #ffffff;
  cursor: grab;

  &.drag-preview {
    opacity: .5;
    pointer-events: none;
  }
}

