body {
  background: url("../images/ame.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}
section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.main {
  width: 390px;
  height: 420px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parent {
  width: 100%;
  height: 80%;
  border: 1px solid transparent;
}
h2 {
  text-align: center;
  margin-bottom: 10px;
}
.subtext {
  margin-bottom: 40px;
  text-align: center;
  color:#595959;
}

.parent ul {
  width: 100%;
  margin: 10px 25px;
  background-color: transparent;
}
.parent ul li {
  font-size: 18px;
}
.parent ul li input {
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom: 1px solid orangered;
  padding-bottom: 10px;
  width: 85%;
  font-size: 22px;
  font-weight: 600;
}
.parent ul li:nth-child(1) {
  margin-bottom: 5px;
  color: #939cb0;
}
li {
  list-style-type: none;
}
#submit {
  border: none;
  background-color: #0798b8;
  color:#fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px 16px;
  margin-top: 20px;
  transition: .5s;
}
ul:last-child {
  margin-top: 10px;
  display: flex;
  align-items: center;
}
ul:last-child li {
  display: flex;
  align-items: center;
  background-color: transparent;
  width: 100%;
  height: 100%;
}
#submit:hover {
  opacity: 0.7;
  transition: 0.5s;
  transform: scale(0.95);
}
.alert {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translate(-50%, 0);
}
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: red;
}
.alert {
  padding: 20px;
  background-color: #9a86f1fa;
  color: white;
  opacity: 0;
  transition: opacity 0.6s;
  margin-bottom: 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.errormessage {
  color: #000;
  margin-right: 6px;
}
