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

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f7f7f7;
}

header {
    background-color: #333;
    padding: 1rem;
}

header h1 {
    color: #fff;
    font-size: 2rem;
    text-align: center;
}

main {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
}

input[type="text"] {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
}

input[type="password"] {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
}

button {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    font-size: 1rem;
    width: 100%;
    cursor: pointer;
    border: none;
}

button:hover {
    background-color: #444;
}

section {
    margin-top: 3rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

#warning-div{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100; /* Above the overlay */
    border: 2px solid #d40101;
    padding: 20px;
    text-align: center;
    background-color: #ccc;
}

#error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 99; /* Above everything but the error message*/
}