body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
}
.container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.menu {
    position: relative;
    display: inline-block;
}

.menu-box {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.menu-box a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.menu-box a:hover {
    background-color: #f1f1f1;
}

.show-menu {
    display: block;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
fieldset {
    border: none;
    margin-bottom: 20px;
}
legend {
    font-size: 1.2em;
    color: #28a745;
    padding: 0 10px;
}
label {
    display: block;
    margin-top: 10px;
    color: #333;
}
input[type="text"], input[type="email"], input[type="date"], input[type="number"], textarea, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, input[type="number"]:focus, textarea:focus, select:focus {
    border-color: #28a745;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0 20px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}
button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #218838;
}
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 15px;
    }
    fieldset {
        padding: 10px;
    }
    legend {
        font-size: 1em;
    }
    input[type="text"], input[type="email"], input[type="date"], input[type="number"], textarea, select {
        padding: 8px;
    }
    button {
        padding: 8px;
        font-size: 14px;
    }
}
