/* Default styling for larger screens (desktops/tablets) */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

label {
    display: block;
    font-size: 1.2rem;
}

input {
    border: 1px solid #ccc;
    font-size: 2rem;
    border-radius: 5px;
    padding: .9rem .9rem;
    background: rgba(30, 143, 255, 0.1);
}

::placeholder {
    font-size: 1rem;
}

.form-group {
    margin-bottom: 2rem;
}

button {
    font-size: 2rem;
    padding: 1rem 4rem;
    background: rgba(30, 143, 255, 0.174);
    border-radius: 10px;
}

.error-message {
    padding-bottom: 2rem;
}

/* Media Query for smaller screens (mobiles, tablets) */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        padding: 20px;
    }

    .form-group {
        width: 100%;
    }

    label {
        font-size: 1.5rem;
    }

    input {
        font-size: 2rem;
        padding: 1rem;
    }

    button {
        font-size: 1.8rem;
        padding: 1rem 2.5rem;
        
    }
}

/* Media Query for extra small screens (mobile phones) */
@media (max-width: 480px) {
    label {
        font-size: 1.3rem;
    }

    input {
        font-size: 1.8rem;
        padding: 0.8rem;
    }

    button {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }
}
