.help-container {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.help-icon {
  background-color: rgb(70, 70, 70);
  color: white;
  font-weight: bold;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
  user-select: none;
}

.help-popup {
  position: absolute;
  top: 2.5rem; /* below the icon */
  right: 0;
  width: 25rem;
  background-color: rgb(50, 50, 50);
  color: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
  display: none; /* hidden by default */
  z-index: 10;
}

.help-popup h3 {
  margin-top: 0;
  font-size: clamp(1rem, 2.5vh, 2rem);
}

.help-popup ul {
  padding-left: 1.2rem;
}

.help-popup ul li {
  font-size: clamp(1rem, 2vh, 1.5rem); /* scales with height */
  line-height: 1.8;
}

.help-popup button.help-close {
  color: white;
  background-color: rgb(50, 50, 50);
  border-style: solid;
  border-width: 1px;
  border-radius: 10px;
  border-color: white;
  font-weight: 500;
  padding: clamp(1rem, 2vh, 3rem);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
  cursor: pointer;
  font-size: clamp(1rem, 2.5vh, 2.5rem);
  padding: clamp(0.5rem, 1.5vh, 1rem);
  box-sizing: border-box;
}

.help-popup button.help-close:hover {
  background-color: white;
  color: rgb(50, 50, 50);
}