body {
  font-family: calibri, serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  height: 100vh;
  background: #ffffff;
  overflow: hidden;
}

.logo{
  width: 128px;
}

.bg-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0.1;
  transition: all 0.8s ease;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.bg-logo.animated {
  animation:
    zoomIn 1s ease-out forwards,
    slowRotate 360s linear infinite 3s;
}

@keyframes zoomIn {
  0% {
    transform: translate(-50%, -50%) scale(0.01);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 1;
  }
}

@keyframes slowRotate {
  from {
    transform: translate(-50%, -50%) scale(0.3) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) scale(0.3) rotate(360deg);
  }
}

#login-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  width: 768px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-content: center;
  text-align: center;
  gap: 12px;
  transition: all 0.4s ease;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(91,63,211,0.2);
}

#login-header {
  line-height: 1.25rem;
}

#login-header h1 {
  font-weight: 600;
  font-size: 2.5rem;
}

#login-header h2 {
  font-weight: 100;
  font-size: 1.25rem;
}

.login-input {
  text-align: left;
  flex-direction: column;
  display: flex;
}


.login-item {
  text-align: left;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.75); /* start transparent */
  backdrop-filter: blur(0px);
  z-index: 1;
  pointer-events: none;
  transition: all 0.6s ease;
}

/* Active state */
.overlay.active {
  background: rgba(0, 0, 0, 0.3);
}

#sso-login {
  border-top: rgba(0, 0, 0, 0.9) 5px;
  margin-top: 0.25em;
}

button {
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  outline: none;
  border-radius: 5px;
  margin: 0.25em 0 ;
  font-weight: 600;
  cursor: pointer;
  transition:all 0.25s ease;
  width: 100%;
  max-width: 400px;
  min-width: min-content;
  display:block;
}

.login {
  background: #0066cc;
  color: white;
}

.signup {
  background: white;
  color: black;
}

.google {
  background:black;
  color: white;
  width: 100%;
  font-weight: 600;
}

.logout {
  background: grey;
  color: white;
}

button:hover {
  background: #33ccff;
  box-shadow: 0 10px 40px rgba(91,63,211,0.2);
}

/* Inputs */
input {
  width: 100%;
  padding-left: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 5px;
  margin: 0 0 1em;
  border: 1px solid rgba(0,0,0,0.1);
  outline: none;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
  overflow: visible;
}

input:focus {
  border-color: #5B3FD3;
  box-shadow: 0 10px 40px rgba(91,63,211,0.2);
}

label {
  text-align: left;
  font-size: 1.5rem;
}

@media (max-width: 768px){
  body {
    font-size: 2rem;
  }
  #login-box {
    width: 100%;
  }
  .overlay {
  background: rgba(255, 255, 255, 0.95); /* start transparent */
  }
}

.output {
  font-size: 1rem;
  color: #e11d48 !important;
}

.input-error {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.1);
}

