/* Global styles */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.026); /* Dark background with transparency */
  background-attachment: fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Dark Overlay to improve contrast */
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Adjust opacity as needed */
  z-index: -1;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.title {
  font-size: 3.25rem;
  font-family: 'Bebas Neue', sans-serif;
  color: white;
  letter-spacing: 2.5px;
  text-shadow: 0 6px 10px rgba(0, 0, 0, 0.7);
  margin: 0;
  animation: glow 8s infinite alternate;
}

.title-link {
  text-decoration: none; /* Removes underline */
  color: inherit; /* Keeps the original text color */
  transition: color 0.3s ease-in-out;
}

.form-container {
  margin-top: 80px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px); /* Blurs the background behind the form */
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  text-align: left;
  font-size: 1rem;
  color: #fff;
  font-weight: 500;
}

input,
button {
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #333;
  color: #fff;
  box-sizing: border-box;
  width: 100%;
  margin-top: 5px;
}

input:focus,
button:focus {
  outline: none;
  box-shadow: 0 0 8px #4e77d1;
}

button {
  padding-top: 10px;
  background-color: #4e77d1;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #3d66b0;
}

button:active {
  background-color: #274989;
}

@keyframes glow {
  0% {
    text-shadow:
      0 4px 8px rgba(0, 0, 0, 0.6),
      0 0 6px rgba(252, 251, 244, 0.3);
  }
  100% {
    text-shadow:
      0 4px 8px rgba(0, 0, 0, 0.6),
      0 0 12px rgba(255, 254, 248, 0.7);
  }
}
