*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
.form_box{
  width: 380px;
  height: 580px;
  position: relative;
  margin: 6% auto;
  background: #fff;
  padding: 5px;
  border-radius: 10px;
  overflow: hidden;
}
.button_box{
  width: 220px;
  margin: 35px auto;
  position: relative;
  box-shadow: 0 0 15px 1px #808080;
  border-radius: 30px;
}
.toggle_btn{
  padding: 10px 30px;
  cursor: pointer;
  background: transparent;
  border: 0;
  outline: none;
  position: relative;
}
#btn{
  top: 0;
  left: 0;
  position: absolute;
  width: 110px;
  height: 100%;
  background: #7293db;
  border-radius: 30px;
  transition: .5s;
}
.input_group{
  top: 150px;
  position: absolute;
  width: 280px;
  transition: .5s;
}
.input_field{
  width: 100%;
  padding: 10px 0;
  margin: 5px 0;
  border-left: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 1px solid #999;
  background: transparent;
}
.submit_btn{
  width: 85%;
  padding: 10px 30px;
  cursor: pointer;
  margin: 20px;
  background: #7293db;
  border: 0;
  outline: none;
  border-radius: 30px;
  top: 68px;
  font-size: 15px;
}
.check_box{
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
}
.spanText{
  color: #777;
  font-size: 12px;
  bottom: 0px;
  position: relative;
  margin-left: 15px;
}
#login{
  left: 50px;
}
#register{
  left: 450px;
}
.login_error{
  color: black;
  position: absolute;
}
#forgottenPass{
  display: block;
  margin: auto;
  text-align: center;
  padding-top: 7px;
  font-size: 15px;
}
#error_box{
  width: 80%;
  padding: 10px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  border-radius: 10px;
  background-color: rgba(241,114,122,100);
  z-index: 10;
  visibility: hidden;
  animation: fadeOut 4s;
  -webkit-animation: fadeOut 4s;
  -moz-animation: fadeOut 4s;
  -o-animation: fadeOut 4s;
  -ms-animation: fadeOut 4s;
}
.error_msg{
  color: white;
  font-size: 15px;
  padding: 5px;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-moz-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-o-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  40% {
      opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-ms-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
