* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.form_container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  max-width: 1000px;
  width: auto;
  max-height: 1200px;
  height: 100%;
  background-color: aquamarine;
  margin: 0 auto;
}
.heading {
  text-transform: uppercase;
  font-size: 22px;
  color: blue;
  margin: auto;
}
.heading h1 {
  text-align: center;
  font-variant: small-caps;
}
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: coral;
  max-width: 900px;
  width: auto;
  max-height: 900px;
  height: 100%;
  margin: 10px auto;
}
#text {
  border: 0;
  outline: none;
  margin: 5px;
  text-align: left;
  position: relative;
  left: 35%;
}
@media screen and (max-width: 600px) {
  #text {
    margin: 5px;
    text-align: left;
    width: auto;
    left: 17%;
    position: relative;
  }
}

input {
  width: 100%;
  margin: 10px auto;
  padding: 10px;
  border: 0;
  outline: 0;
  text-align: start;
}
#next {
  padding: 10px;
  background-color: teal;
  cursor: pointer;
  border: 0;
  outline: 0;
  margin: 5px;
  color: red;
  float: right;
}

#next:hover {
  background-color: aqua;
  color: orangered;
}
#prev {
  padding: 10px 15px;
  background-color: green;
  cursor: pointer;
  border: 0;
  outline: 0;
  position: absolute;
  color: white;
  margin-bottom: 5px;
  bottom: 26%;
  left: 42%;
  flex: 1;
}
@media screen and (max-width: 600px) {
  #prev {
    margin-bottom: 5px;
    bottom: 21%;
    left: 0%;
    position: absolute;
    flex: 1;
    width: 35%;
    position: absolute;
  }
}

#prev:hover {
  background-color: gray;
  color: blue;
}

#submit {
  padding: 10px;
  background-color: hotpink;
  cursor: pointer;
  border: 0;
  outline: 0;
  margin-bottom: 5px;
  position: absolute;
  bottom: 26%;
  right: 43%;
  flex: 1;
}
@media screen and (max-width: 600px) {
  #submit {
    margin-bottom: 5px;
    bottom: 21%;
    right: 0%;
    position: absolute;
    flex: 1;
    width: 35%;
  }
}
#submit:hover {
  background-color: crimson;
  color: white;
}
