body{
  margin: 0px;
  padding: 0px;
  background-color: #007A33;
}

#box{
  height: 250px;
  width: 1000px;
  background-color: #2D2D2D;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#main{
  height: 500px;
  width: 450px;
  background-color: white;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  z-index: 99;
  background-image: url("../images/login.gif");
}

#loginform, #signupform{
  font-family: monospace;
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  z-index: 990;
}
#signupform{
  top:45%;
  left: 75%;
  visibility: hidden;
}

#loginform h1, #signupform h1{
  font-family: monospace;;
  font-size: 25px;
  color: #007A33;
}

#loginform input, #signupform input{
  font-family: monospace;
  height: 40px;
  width: 300px;
  border: 0px;
  outline: none;
  border-bottom: 1px solid black;
  margin: 5px;
}

#loginform button,#signupform button{
  height: 35px;
  width: 130px;
  background-color: #007A33;
  font-family: monospace;
  font-size: 16px;
  color: white;
  border: none;
  outline: none;
  border-radius: 5px;
  margin-top: 30px;
  margin-left: 175px;
}

#loginform button:hover, #signupform button:hover{
  background-color: #2D2D2D;
  color: white;
  cursor: pointer;
}


#login_btn, #signup_btn{
  font-family: monospace;
  height: 35px;
  width: 120px;
  background-color: transparent;
  color: white;
  border:1px solid white;
  border-radius: 5px;
  outline: none;
  position: absolute;
  left: 75%;
  top: 65%;
  transform: translate(-50%, -50%);
  transition: all .5s;
}

#signup_btn{
  left: 25%;
}

#login_btn:hover, #signup_btn:hover{
  background-color: white;
  color: #2D2D2D;
  cursor: pointer;
}

#login_msg, #signup_msg{
  font-family: monospace;
  font-size: 18px;
  color: white;
  position: absolute;
  top: 35%;
  left: 75%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
#signup_msg{
  left: 25%;
}

.error-message {
  display: block;
  color: #ff3333;
  font-size: 12px;
  font-family: monospace;
  margin-left: 5px;
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease;
}

.error-message:not(:empty) {
  height: 16px;
  margin-top: 2px;
  margin-bottom: 5px;
}
