body {
  background-color: #fff1f0;
  margin: 0;
  padding: 0;
}
/* CSnippet to remove the up and down arrows in the Disc input */
.no_disc::-webkit-outer-spin-button,
.no_disc::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* .no_disc[type="number"] {
  -moz-appearance: textfield;
} */

.navbar {
  background-color: #7740b1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px; /* Add padding for spacing */
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}
.navbar a i {
  font-size: 28px;
  margin-right: 10px;
}
.navbar .home-icon {
  margin-right: 10px;
  padding-left: 50px;
}

.navbar h1 {
  margin: 0;
}

.navbar-icons {
  display: flex;
  align-items: center;
  padding-right: 50px;
}

.icon-link {
  margin-left: 14px;
  color: white;
  font-size: 20px;
}

.poetsen-one-regular {
  font-family: "Poetsen One", sans-serif;

  font-style: normal;
}
/* change */
#canvas {
  width: 100%;
  height: 100%;
  margin: auto;
  display: grid;
  align-content: center;
}

#title {
  padding-top: 50px;
  text-align: center;
  font-family: "Poetsen One", sans-serif;
}

h1 {
  text-align: center;
  width: 100%;
  position: relative;
  color: white;
  font-size: 30px;
}

h2 {
  text-align: center;
  width: 100%;
  position: relative;
  color: #160f29;
  font-size: 24px;
}

h5 {
  text-align: center;
  font-size: 20px;
  color: rgb(66, 66, 66);
  padding: 0px;
  margin: 0px;
}

.moves-container {
  width: 100px;
  height: 30px;
  margin: 0 auto;
  text-align: center;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 20px;
}

.moves {
  font-size: 23px;
  color: #160f29;
  font-family: "Poetsen One", sans-serif;
  font-weight: 200;
}

#towers {
  color: #735d78;
  width: 90%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  padding-left: 20px;
}
.base {
  position: relative;
  width: 180px;
  height: 200px;
  margin: auto;
  border-bottom: 20px #735d78 solid;
  border-radius: 10px;
  margin-left: 110px;
}
.tower1,
.tower2,
.tower3 {
  padding: 2px;
  width: 5px;
  height: 160px;
  background: #735d78;
  border-radius: 300px;
  padding-top: 50px;
  margin: 10px 0 0 65px;
  position: relative;
  align-items: center;
}
#towers li {
  position: relative;
  display: block;
  height: 20px;
  border-radius: 10px;
  top: 170px;
}
#disk7 {
  background-color: #001219;
  width: 175px;
  margin: -40px 0 0 -86px;
}
#disk6 {
  background-color: #0a9396;
  width: 150px;
  margin: -40px 0 0 -73px;
}
#disk5 {
  background-color: #005f73;
  width: 125px;
  margin: -40px 0 0 -58px;
}
#disk4 {
  background-color: #9b2226;
  width: 100px;
  margin: -40px 0 0 -46px;
}
#disk3 {
  background-color: #ffb3c8;
  width: 75px;
  margin: -40px 0 0 -34px;
}
#disk2 {
  background-color: #ff5e3d;
  width: 50px;
  margin: -40px 0 0 -22px;
}
#disk1 {
  background-color: #ffed99;
  width: 25px;
  margin: -40px 0 0 -10px;
}

#again {
  padding-top: 20px;
}

.buttons {
  font-size: 20px;
  height: 60px;
  width: 130px;
  border-radius: 5px;
  background-color: #7740b1;
  color: #ffffff;
  align-items: center;
  font-family: "Poetsen One", sans-serif;
}

#diskno {
  font-family: Comic Sans MS;
  font-size: 20px;
  color: #160f29;
  margin: auto;
  /* change  */
  padding-bottom: 20px;
}
/* New CSS for number input */
.number-input {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #f0f0f0;
}

.number-input input {
  text-align: center;
  width: 50px;
  height: 30px;
  border: 1px solid #ccc;
}

.number-input button {
  background-color: #8458b3;
  border: none;
  cursor: pointer;
  transition: #7740b1 0.3s ease;
}

.number-input button:hover {
  background-color: #e0e0e0;
}

.number-input .arrow {
  width: 30px;
  height: 32px;
}

.number-input .decrease {
  border-radius: 5px 0 0 5px;
  color: #ccc;
  font-size: 20px;
  font-weight: 500;
}

.number-input .increase {
  border-radius: 0 5px 5px 0;
  color: #ccc;
  font-size: 20px;
}

#again {
  margin: auto;
}

.buttons:hover {
  margin: auto;
  font-family: "Poetsen One", sans-serif;
  background-color: #8458b3;
}
