body {
  overflow: hidden;
  background-color: black;
  margin: 0px;

  text-align: center;
}

.whole-screen {
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template: 1fr 10fr / 1fr;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header > h1 {
  color: red;
  font-size: 50px;
  user-select: none;
  font-size: 4vh;
}

.content {
  display: grid;
  min-height: 0;
  grid-template: 1fr / 1fr 3fr;
  position: relative;
}

.content > div {
  overflow: hidden;
  margin: 10px;
  border: 3px solid red;
  border-radius: 15px;
}

.spinner-menu {
  overflow: hidden;
  min-height: 0;
  display: grid;
  grid-template: 10fr 1fr / 1fr;
}

.spinner-list {
  height: 100%;
  overflow: hidden;
  max-height: 100%;
}

.spinner-list > h2 {
  color: red;
  user-select: none;
  font-size: 2vh;
  padding: 0px 10px;
}

.spinner-list > div {
  height: 92%;
  overflow-y: auto;
  scrollbar-width: none;
}

.spinner-list > div::-webkit-scrollbar {
  display: none;
}

.spinner-list > div > div {
  color: red;
  font-size: 1.5vh;
  user-select: none;
  padding: 5px 10px;
}

.spinner-list > div > div:hover {
  color: black;
  background-color: red;
}

.add-spinner {
  border-top: 3px solid red;
  display: flex;
  justify-content: center;
  align-items: center;
}

.add-spinner > h2 {
  color: red;
  user-select: none;
  font-size: 2vh;
}

.add-spinner:hover {
  background-color: red;
}

.add-spinner:hover > h2 {
  color: black;
}

.spinner-container {
  display: grid;
  grid-template: 10fr 1fr / 1fr;
}

.spinner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-result {
  border-top: 3px solid red;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-result > h2 {
  color: red;
  font-size: 2vh;

  /* this isn't quite right */
  width: 80%;
}

canvas {
  width: min(75vh, 75vw);
  height: auto;
}

.modal {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal h1 {
  color: red;
}

label {
  color: red;
}

input,
textarea,
button {
  width: 100%;
  color: red;
  background-color: black;
  border-color: red;
  border-radius: 10px;
  filter: none;
  outline: none;
  padding: 20px;
}

button:hover {
  color: black;
  background-color: red;
}

.confirm {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.confirm > button {
  margin: 10px;
}
