/* Reset default margins and paddings for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #00194a, #006622);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    overflow: hidden;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-form {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 15px;
    width: 90%; /* Maximize width for smaller screens */
    max-width: 320px; /* Limit width for larger screens */
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-top: 10px;
    font-size: 1em;
    text-align: left;
}

input[type="text"], input[type="email"] {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background-color: #eee;
    font-size: 1em;
}

input[type="text"]:focus, input[type="email"]:focus {
    outline: none;
    background-color: #ddd;
}

button {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 10px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: white;
    color: black;
    transition: 0.3s;
}
