body {
    font-family: 'Jura', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    background: url('/imgs/screensaver.jpg') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.container {
    width: 350px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    position: absolute;
    transition: transform 0.6s ease-in-out, opacity 0.5s ease-in-out;
}

h2 {
    text-align: center;
}

#login {
    left: 10%;
    z-index: 2;
}

#createAcct {
    right: 10%;
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.7);
}

button {
    width: 96%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.link, .back2login {
    margin-top: 10px;
    cursor: pointer;
    color: #007bff;
    text-decoration: underline;
}

.link:hover {
    color: #002f62;
}

.active #login {
    transform: translateX(-100%);
    opacity: 0;
}

.active #createAcct {
    transform: translateX(0);
    opacity: 1;
}

.error-message {
  color: red;
  font-size: 0.875em;
  display: block;
  width: 90%;
  text-align: left;
}