@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500&family=Montserrat:wght@600&display=swap');

/* CSS Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0; 
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #404040;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 110%;
  width: 100%;
  margin: 20px;
}

.login-box {
  width: 25em;
  height: 25em;
  padding: 20px;
  background-color: #090c9b;
  border-radius: 1em;
  box-shadow: 0 0 5px white; 
  color: #ffffff;
}

h2 {
  font-family: "Roboto", sans-serif;;
  text-align: center;
  margin-bottom: 10%;
  font-size: 200%;
  text-shadow: 0 0 5px #cacaca; 
}

p {
  margin-top: 18px;
  font-family: "Roboto", sans-serif;
  text-align: center;
  margin-bottom: 45px;
  font-size: 70%;
  text-shadow: 0 0 5px #cacaca; 
}

.form-group {
  margin-bottom: 10px;
  margin-top: 0px;
}

label {
  display: block;
  font-weight: bold;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 15px;
  border-radius: 1em;
  border: 2px solid #b4c5e4;
}

button {
  display: block;
  width: 100%;
  min-height: 45px;
  max-height: 50px;
  margin-top: 30px;
  background-color: #fff;
  color: #b4c5e4;
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 1em;
  cursor: pointer;
  box-shadow: 0 0 5px #fff; 
}

button:hover {
  background-color: #b4c5e4;
  color: #090c9b;
  box-shadow: 0 0 5px #090c9b; 
  animation: glowing 7s infinite;
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 5px #fff;
  }
  25% {
    box-shadow: 0 0 5px #276e88;
  }
  50% {
    box-shadow: 0 0 20px #399062;
  }
  65% {
    box-shadow: 0 0 5px #8070bb;
  }
  95% {
    box-shadow: 0 0 5px #bfbfc1;
  }
  100% {
    box-shadow: 0 0 5px #ffffff;
  }
}

.username {
  margin-top: 2%;
}


.email {
  margin-top: 2%;
  margin-bottom: 6%;
}

.password {
  margin-top: 6%;
  margin-bottom: 2%;
}

footer{
    width: 100%;
    height: 20vh;
}