/* Gemeinsame Stile für beide Formulare */
body {
  background-color: #2b2b2b;
  font-family: Arial, sans-serif;
  text-align: center;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.container {
  margin-top: -80px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  gap: 20px;
}


.form-container {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  width: 100%;
}

h1 {
  color: #fff;
}



a {
  display: inline-block;
  margin-top: 20px;
  color: #4682B4;
  text-decoration: none;
  font-size: 16px;
}
input {

  width: 150px; 
  padding: 10px 20px;
  background-color: #354254;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  box-shadow: 0px 0px 41px 18px rgba(49, 69, 95, 0.7);

  border-left-style: solid;
  border-left-width: 5px;
  border-top-width: 5px;
  border-top-style: solid;
  border-right-width: 5px;
  border-right-style: solid;
  border-bottom-width: 5px;
  border-bottom-style: solid;
  border-color: whitesmoke;

  animation: myAnimation 2s forwards;
}
input[type="submit"] {
  width: 200px; 
}
input:focus {
  background-color: #000000;
  border-color: white;
  animation-name: checkbox-animation;
  animation-duration: 0.5s;
  
}
input[type="submit"]:hover {
  background-color: #000000;
  border-color: white;
  animation-name: checkbox-animation;
  animation-duration: 0.5s;
  
}

/* Schwebender Effekt für Boxen */
.glow-box {
  animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    transform: scale(1);
    box-shadow: 0px 0px 20px rgba(70, 130, 180, 0.8);
  }
  to {
    transform: scale(1.02);
    box-shadow: 0px 0px 30px rgba(70, 130, 180, 1);
  }
}


@keyframes checkbox-animation {
  0% {
    transform: scale(1.1);
    box-shadow: 0px 0px 41px 18px rgba(62, 88, 122, 0.7);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0px 0px 61px 35px rgba(62, 88, 122, 0.4);
  }
  100% {
    transform: scale(1.2);
    box-shadow: 0px 0px 61px 35px rgba(62, 88, 122, 0.7);
  }
}  