@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Space+Grotesk:wght@300..700&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-image: url("../static/background.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: rgb(255, 255, 255);
    background-blend-mode: color;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

.main-content {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 20px 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgb(29, 29, 29);
    max-width: 400px;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 30px;
}

a:link, a:visited {
    text-decoration: underline;
    color: limegreen;
}

.lime {
    color: limegreen;
}

.error {
    color: salmon;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

form > span {
    position: relative;
    display: inline-block;
}

form > span i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgb(161, 161, 161);
}

input[type="submit"] {
    padding: 10px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    background-color: rgb(50, 205, 109);
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: rgb(39, 173, 79);
}

input, textarea {
    font-size: 16px;
    width: 300px;
    padding: 0.8rem;
    padding-left: 2.5rem;
    margin: 10px 0;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: 1px solid rgb(88, 88, 88);
    transition: outline 0.1s ease-in-out;
    outline: 2px solid transparent;
}
  
input:focus {
    outline: 2px solid rgb(64, 204, 125);
}

.footer {
    margin-top: 1rem;
    width: 100%;
    font-weight: bold;
}

.login-divider {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    width: 100%;
}

.login-divider span:first-child, .login-divider span:last-child {
    display: block;
    flex: 1;
    height: 2px;
    border-radius: 50%;
    background-color: rgb(95, 95, 95);
    width: 20px;
}

.login-divider span {
    padding: 0 20px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #fff !important;
}