main {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: lightgray;
}

form {
    max-width: 600px;
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form h2 {
    text-align: center;
    color: #333;
}

form section {
    margin-top: 20px;
}

form section h3 {
    font-size: 1.2em;
    color: #555;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

form div {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    color: #333;
}

form button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    color: #fff;
    background-color: #a5e24a;
    margin-right: 4%;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #7bbd35;
}

form button:last-child {
    background-color: #d9534f;
}

form button:last-child:hover {
    background-color: #e0433e;
}

/* Responsive Styles */
@media (max-width: 1140px) {

    form {
        padding: 15px;
    }

    form h2 {
        font-size: 1.2em;
    }

    form section h3 {
        font-size: 1em;
    }

    form input,
    form select,
    form textarea {
        font-size: 1em;
        padding: 8px;
    }

    form button {
        padding: 8px;
        font-size: 0.9em;
    }
}

