body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    background-color: #f8f8f8;
}

h2 {
    color: #333;
}

form {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
}

input {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    margin-top: 10px;
    padding: 10px;
    background-color: #aad036;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

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

p {
    margin-top: 15px;
}

a {
    margin-left: 0%;
    margin-top: 0px;
    color: #ff5722;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Media Queries for responsiveness */

/* For devices smaller than 768px */
@media (max-width: 768px) {
    body {
        justify-content: flex-start;
        /* Align content to the top on smaller screens */
    }

    form {
        width: 80%;
        /* Take up more width on smaller screens */
        padding: 15px;
    }

    h2 {
        font-size: 24px;
    }

    input {
        font-size: 14px;
    }

    button {
        font-size: 14px;
        padding: 8px;
    }

    a {
        margin-top: 20px;
    }
}

/* For devices smaller than 480px */
@media (max-width: 480px) {
    form {
        margin: auto;
        width: 90%;
        /* Make form take almost full width on very small screens */
        padding: 10px;
    }

    h2 {
        text-align: center;
        font-size: 20px;
    }

    input {
        font-size: 14px;
        padding: 8px;
    }

    button {
        font-size: 14px;
        padding: 8px;
    }

    a {
        margin-top: 10px;
    }

    p {
        text-align: center;
    }
}