.main_content {
  max-width: 1200px;
  min-width: 300px;
  width: 100%;
  background: #fff;
  border-radius: 7px;
  margin-top: 15px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.01);
}

.input-form {
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 3%;
}

.input {
  border: solid 1.9px #9e9e9e;
  border-radius: 0.5rem;
  background: none;
  font-size: 1rem;
  color: #000000;
  transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  font-size: 20px;
  padding: 10px;
  border: 2px solid #ccc;
  box-sizing: border-box;
  /* Ensure padding is included in the width */
  resize: vertical;
  /* Allow vertical resizing of textarea */
  box-shadow: 1px 1px 5px rgba(133, 133, 133, 0.523);
  outline: none;
}

.generate {
  background-color: #009961;
}

#out_put {
  margin-top: 20px;
}

/* Speed Control Styles */
.speed-control {
  margin-top: 20px;
  text-align: center;
}

.speed-control label {
  margin-right: 10px;
  font-size: 16px;
  font-weight: bold;
}

.speed-control select {
  padding: 5px;
  font-size: 14px;
  border: 2px solid #009961;
  border-radius: 5px;
  background-color: #f8f8f8;
  color: #333;
  outline: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}


.speed-control option {
  padding: 10px;
  font-size: medium;
}

/* loader */
.loader {
  display: none;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
}

.loader .stroke {
  display: block;
  position: relative;
  background: #000000;
  height: 100%;
  width: 5px;
  border-radius: 50px;
  margin: 0 5px;
  animation: animate 1.2s linear infinite;
}

@keyframes animate {
  50% {
      height: 20%;
  }

  100% {
      height: 100%;
  }
}

.stroke:nth-child(1) {
  animation-delay: 0s;
}

.stroke:nth-child(2) {
  animation-delay: 0.3s;
}

.stroke:nth-child(3) {
  animation-delay: 0.6s;
}

.stroke:nth-child(4) {
  animation-delay: 0.9s;
}

.stroke:nth-child(5) {
  animation-delay: 0.6s;
}

.stroke:nth-child(6) {
  animation-delay: 0.3s;
}

.stroke:nth-child(7) {
  animation-delay: 0s;
}

/* Media Queries */
@media only screen and (max-width: 767px) {
  .main_content {
      padding: 15px;
  }

  .input-form {
      padding-top: 1%;
  }

  .input {
      font-size: 16px;
  }

  .generate {
      margin-top: 10px;
  }

  .loader {
      margin-top: 15px;
  }

  .speed-control label {
      font-size: 14px;
  }

  .speed-control select {
      font-size: 12px;
      padding: 3px 5px;
  }
}
