:root {
    --dunkelblau: 0, 55, 129;
    --title-color: rgb(var(--dunkelblau));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f4f6ff 0%, #e8f0ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

.content {
    background-color: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    font-family: Baskerville, Georgia, serif;
    font-size: 3rem;
    color: var(--title-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

input[type="text"],
input[type="password"] {
    padding: 0.875rem 1rem;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    text-align: center;
    letter-spacing: 0.05em;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: var(--title-color);
}

button {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--title-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

button:hover {
    opacity: 0.9;
}

button:active {
    transform: translateY(1px);
}

.error {
    color: #d32f2f;
    font-size: 0.95rem;
    min-height: 1.2rem;
    margin-top: -0.5rem;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }
}
