body {
  align-items: center;
  width: 100vw;
  height: 100vh;
  padding: 0%;
  margin: 0%;
}

.header {
  display: flex;
  font-family: inherit;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 9%;
  box-sizing: border-box;
  background-color: #f8f8f8;
}

span {
  position: absolute;
  top: 10%;
  left: 40%;
  z-index: 10;
  padding: 1rem;
  font-size: 1.2rem;
  border-radius: 10px;
  border: 2px solid black;
  background-color: white;
  display: none;
}

.header span {
  all: unset;
  font-size: 1.4rem;
  color: white;
  text-align: center;
}

.container {
  box-sizing: border-box;
  padding: 0%;
  margin: 0%;
  width: 80%;
  height: 91%;
  position: relative;
  background: radial-gradient(circle, #f0f8ff 0%, #f8f8f8 100%);
  bottom: 82%;
  left: 20%;
}

.disk1 {
  box-sizing: border-box;
  border: 1px solid black;
  border-radius: 20px;
  margin: 0%;
  width: 25%;
  height: 8%;
  padding: 20px;
  position: absolute;
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

#disk1 {
  background: linear-gradient(to right, #eea668, #ed7e1d, #e67e22);
}

#disk2 {
  background: linear-gradient(to right, #8ac4ea, #0f9fff, #3498db);
}

#disk3 {
  background: linear-gradient(to right, #f0d775, #fc0, #e6bd19);
}

#disk4 {
  background: linear-gradient(to right, #666, #fff, #333);
}

#disk5 {
  background: linear-gradient(to right, #7ee2a8, #09f16a, #2ecc71);
}

#disk6 {
  background: linear-gradient(to right, #f2a097, #ff3a24, #e74c3c);
}

#disk7 {
  background-color: #ffa07a;
}

#disk8 {
  background-color: #0f0;
}

#disk9 {
  background-color: #d43;
}

#disk10 {
  background-color: #add1ff;
}

#disk1:hover,
#disk2:hover,
#disk3:hover,
#disk4:hover,
#disk5:hover,
#disk6:hover,
#disk7:hover,
#disk8:hover,
#disk9:hover,
#disk10:hover {
  background-color: rgb(59, 29, 228);
  color: white;
  font-size: 2rem;
  cursor: grab;
}

.side-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  margin: 0%;
  width: 20%;
  height: 91%;
  position: relative;
  left: 0%;
  top: 9%;
  background-color: #f8f8f8;
  padding: 5px;
  font-size: 1.4rem;
  color: #ee0000;
  row-gap: 1rem;
  border: 1px solid #000000;
  border-radius: 6px;
}

.levels {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1rem;
}

.side-bar .current-level {
  font-size: 1.5rem;
  font-weight: 700;
}

.side-bar .following-level {
  opacity: 0.5;
}

.bottons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 1rem;
}

.bottons * {
  width: 100%;
  font-size: 12px;
}

.move {
  all: unset;
}

.warning {
  padding: 2rem;
  row-gap: 1rem;
  width: 50%;
  display: none;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 20%;
  left: 25%;
  background-color: white;
  border: 2px solid red;
  z-index: 10;
}

.warning span {
  all: unset;
  font-size: 1.5rem;
  color: red;
}

.confirm-reset {
  padding: 1rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: red;
  width: 10rem;
}

.confirm-reset:hover {
  background-color: red;
  color: white;
}

.win {
  background-color: white;
  border-radius: 20px;
  position: absolute;
  z-index: 10;
  max-width: 50%;
  top: 25%;
  left: 25%;
  display: none;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1rem;
}

.win h1 {
  text-align: center;
  color: #0080ff;
}

.win button {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: #0080ff;
}

.base,
.b1 {
  border-radius: 0.5vmin;
  width: 2%;
  height: 90%;
  z-index: 8;
  background: linear-gradient(to right, #d7b889, #b27315, #966f33);
  position: absolute;
  top: calc(10%);
  left: 14%;
}

.b2 {
  left: 49%;
}

.b3 {
  left: 84%;
}