* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  height: 100svh;
  display: grid;
  place-items: center;
}
label {
  font-size: 2.1875rem;
  position: relative;
}
label::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 550px;
  background-color: #eee;
  height: 1px;
}
.container {
  width: 650px; /* 650px converted to rem */
  height: 400px; /* 400px converted to rem */
  background-color: black;
  color: white;
  padding: 20px; /* 20px converted to rem */
  border-radius: 20px; /* 20px converted to rem */
}
.container form > input {
  display: block;
  padding: 20px; /* 20px converted to rem */
  border: none;
  border-radius: 20px; /* 20px converted to rem */
  width: 90%;
  margin: 0 auto 5px; /* 5px converted to rem */
}
.container form .settings {
  margin-top: 10px; /* 10px converted to rem */
  display: flex;
  flex-direction: column;
  color: green;
}
.container form .settings div {
  display: flex;
  padding: 10px; /* 10px converted to rem */
  margin-bottom: 10px; /* 10px converted to rem */
  font-size: 1.25rem; /* x-large converted to rem */
  font-weight: bold;
  flex-direction: row-reverse;
  align-items: flex-end;
  justify-content: space-between;
}
.container form .settings input {
  width: 1.875rem; /* 30px converted to rem */
  aspect-ratio: 1;
}
.slider-container {
  display: flex;
  align-items: center;
}
.rangeValue {
  font-size: 30px;
}
.length {
  width: 70%; /* 70% converted to rem */
  margin: 15px; /* 15px converted to rem */
  margin-left: 40px; /* 40px converted to rem */
 /* Light grey color for the slider track */
}
.length::-webkit-slider-runnable-track {
  background-color: #ddd;
  border-radius: 10px;}
.submit {
  width: 100%; /* 100% converted to rem */
  padding: 10px; /* 10px converted to rem */
  border: none;
  border-radius: 20px; /* 20px converted to rem */
  font-size: 20px; /* 20px converted to rem */
  transition: 0.5s;
  color: green;
}
.submit:hover {
  background-color: green;
  color: white;
}
@media (max-width: 991px) {
  html {
    font-size: 60%;
  }
  .container {
    width: 300px;
  }
  label::before {
    width: 220px;
  }
}
