.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

body {
  min-height: 100vh;
  width: 100vw;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.stage {
  height: 300px;
  width: 70vw;
}

.left-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 200px;
  width: 200px;
  justify-content: center;
  align-items: center;
  padding: 40px 30px;
  background: #ebf5fc;
  border-radius: 40px;
  /* box-shadow: -6px -6px 20px rgb(214, 211, 211), 6px 6px 20px rgba(0, 0, 0, 0.1); */
  border: 5px solid rgba(9, 9, 121, 1);
  transition: all 0.2s ease-in-out;
}

.left-sidebar:hover {
  /* box-shadow: inset -6px -6px 20px rgba(255, 255, 255, 0.5), inset 6px 6px 20px rgba(0, 0, 0, 0.05); */
  box-shadow: 0 0 20px rgb(214, 211, 211), 6px 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.stage {
  height: 200px;
  background: #ebf5fc;
  box-shadow: 0 0 20px rgb(154, 173, 201), 6px 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 5px;
  gap: 10px;
  padding: 10px;
  transition: all 0.2s ease-in-out;
  border: 5px solid rgba(9, 9, 121, 1);
}

.stage:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 4px 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.tower {
  width: 100px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.stem {
  width: 7px;
  height: 140px;
  background: #000;
  position: absolute;
  border-radius: 5px;
}

.plate {
  width: 120%;
  height: 10px;
  background: brown;
  border-radius: 40px;
  z-index: 1;
}

.disc {
  height: 18px;
  border-radius: 40px;
  z-index: 1;
}

.new-game {
  border: 1px solid #FFF;
  border-radius: 10px;
  padding: 10px;
  margin: 10px;
  gap: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ebf5fc;
  box-shadow: -4px -4px 15px rgba(255, 255, 255, 1), 4px 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.new-game:hover {
  box-shadow: inset -4px -4px 10px rgba(255, 255, 255, 0.5), inset 4px 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.new-game select {
  background: #5db2dd;
  color: #FFF;
  padding: 2px;
  border: none;
  outline: none;
  border-radius: 5px;
}

#speedRange {
  width: 100%;
  height: 3px;
}

button:hover {
  box-shadow: inset -4px -4px 10px rgba(255, 255, 255, 0.5), inset 4px 4px 10px rgba(0, 0, 0, 0.1);
  transform: scale(0.98);
}

.is-dragging {
  opacity: 0.3;
}

.ans {
  font-size: 18px;
  font-weight: bold;
  overflow-x: hidden;
  overflow-y: scroll;
}

.ans::-webkit-scrollbar {
  display: none;
}

.ans:hover {
  box-shadow: 0 0 20px rgb(154, 173, 201), 6px 6px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 20px rgb(154, 173, 201), 6px 6px 20px rgba(0, 0, 0, 0.1);
  transform: scale(0.999999);
  transition: all 0.2s ease-in-out;
}

h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  text-align: center;
}

body {
  margin: 0;
  background-image: url("../assets/bg.webp");
}

.head {
  /* box-shadow: -6px -6px 20px rgba(255, 255, 255, 1), 6px 6px 20px rgba(0, 0, 0, 0.1); */
  background-image: url("../assets/bg.webp");
  margin-top: -10px;
  padding-top: 5px;
  color: white;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  /* flex-wrap: wrap; */
}

.ans {
  Min-height: 260px;
  width: 500px;
  text-align: center;
  border-radius: 40px;
  /* box-shadow: -6px -6px 20px rgb(154, 173, 201), 6px 6px 20px rgba(0, 0, 0, 0.1); */
  /* border: 2px solid red; */
  border: 5px solid rgba(9, 9, 121, 1);
  background: #ebf5fc;
  transition: all 0.2s ease-in-out;
}


section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

#back {
  cursor: pointer;
  padding: 10px;
  font-size: 20px;
  border-radius: 5px;
  background:linear-gradient(to right, #0f0c29, #302b63, #24243e);
  color: white;
  margin-top: 5px;
  transition: all 0.2s ease-in-out;
}

#back:hover{
  transform: scale(1.02);
  box-shadow: 0 0 20px rgb(154, 173, 201), 6px 6px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 20px rgb(154, 173, 201), 6px 6px 20px rgba(0, 0, 0, 0.1);
}

textarea {
  padding-top: 15px;
}

@media (max-width:719px) {
  .ans {
    width: 290px;
  }
}

#btnSolve,
#newGameBtn {
  padding: 5px;
  font-size: 20px;
  border-radius: 5px;
  background:linear-gradient(to right, #0f0c29, #302b63, #24243e);
  color: white;
  margin-top: 5px;
  cursor: pointer;
}
.navbar{
  /* margin-top: 25px; */
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  height: 67px;
  width: 100%;
  background:linear-gradient(#1e2b59 , #0f1d34 );
  border-bottom:1px solid #ffb780;
}
.image img{
  height: 55px;
  width: 55px;
}
.left-nav ul{
  display: flex;
  justify-content: center;
  align-items: center;
}
.left-nav ul li{
  list-style: none;
}
.left-nav ul li a{
  text-decoration: none;
  color: #ffb780;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 1.3rem;
}
.left-nav ul li a:hover{
  text-decoration: underline;
}
.footer-container{
  border-top: 1px solid #ffb780;
  width: 100%;
  background:linear-gradient(#1e2b59 , #0f1d34 );
  padding: 20px;
  /* background: url(Image.png); */
   background-position: center;
   line-height: 2.5rem;
}
.foot-head h2{
  text-align: center;
  color: aqua;
  font-weight: 600;
}
.foot-head p{
  color: #ffb780;
  text-align: center;
  font-size: 1.20rem;
}
.foot-navlinks h3{
  text-align: center;
  color: aqua;
  font-weight: 600;
}
.foot-navlinks {
  text-align: center;
}
.foot-navlinks a{
  color: #ffb780;
  font-size: 18px;
  padding: 10px;
}
.foot-social {
  text-align: center;
}
.foot-social h3{
  color: aqua;
  font-weight: 600;
}
.foot-social a{
  font-size: 30px;
  color: #ffb780;
}
html{
  overflow-x: hidden;
}
.head1{
  margin-top: 30px;
  margin-bottom: 20px;
}
.backHome{
  margin-bottom: 30px;
}
@media screen and (max-width:525px) {
  body{
      width: 100%;
  }
  html{
      overflow-x: hidden;
  }

  .navbar{
      width: 100%;
  }
  .left-nav ul li a{
      padding: 0px 9px;
  }
  
}
@media screen and (max-width:380px) {
  body{
      width: 100%;
  }
  html{
      overflow-x: hidden;
  }

  .navbar{
      width: 100%;
  }
  .left-nav ul li a{
      padding: 0px 9px;
  }
  
}