:root {
  --random-hue: calc(var(--random-seed) * 360);
  --random-color: hsl(var(--random-hue), 70%, 50%);
}
.payment-details {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flexCol {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.flexCol label {
  font-size: 20px;
  text-align: left;
  margin-left: 0px;
}

.flexCol select,
.flexCol input {
  font-size: 16px;
  font-weight: 600;
  min-width: 100%;
  border: 2px solid black;
  padding: 10px;
  border-radius: 5px;
}

.input-field {
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.button {
  font-size: 16px;
  font-weight: 600;
  background-color: var(--orange);
  color: white;
  outline: none;
  border: 0;
  padding: 10px;
  border-radius: 25px;
  cursor: pointer;
  width: 200px;
}

.button:hover {
  background-color: var(--light-orange);
  color: black;
  border: 2px solid black;
}

.cell {
  margin: 3px 7px;
  border: none;
  display: table-cell;
  height: 30px;
  width: 30px;
  font-size: 17px;
  padding: 0;
  outline: 0;
  font-weight: 600;
  background-color: transparent;
  border-radius: 50%;
  /*ensures text can't be accidentally selected*/
  cursor: default;
  -moz-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.cell:hover {
  background-color: rgb(242, 229, 141);
}

.cell.selectable {
  background-color: rgb(234, 228, 206);
}

.cell.selected {
  background-color: rgb(205, 188, 90);
}

.cell.found {
  background-color: var(--random-seed);
  /* background-color: rgb(158, 149, 123); */
  border: 1px black solid;
  font-weight: bold;
}

#found-words span::before {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--lineWidth);
  height: 0.3vmin;
  background: var(--lineColor);
  transition: all 0.5s ease-in-out;
}

.listRow {
  display: flex;
  gap: 100px;
  justify-content: space-between;
}

.sub-title {
  font-size: 24px;
}

.how-to-play-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.how-to-play-text {
  max-width: 500px;
  text-align: center;
}

@media screen and (max-width: 800px) {
  #grid-wrapper {
    margin-top: -500px;
  }
}

/* @media screen and (max-width: 600px) {
  #grid-wrapper {
    margin-top: -2600px;
  }
} */
