
body {
    background-color: #e0e0e0;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    color: #333;
    margin-top: 20px;
}

main {
    display: flex;
    justify-content: center;
}

form {
    background-color: #ffffff;
    width: 70%;
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    text-align: left;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

fieldset {
    background-color: #f5f5f5;
    border: 1px solid #999;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
}

legend {
    font-weight: bold;
}

label {
    display: block;
    margin: 8px 0;
}

.age-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.genre-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.genre-box label {
    display: inline-block;
    margin: 0;
    font-size: 0.95em;
}


input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 95%;
    padding: 5px;
    margin-top: 3px;
    border: 1px solid #aaa;
    border-radius: 3px;
}

textarea {
    height: 100px;
}

#submit,
#reset {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #888;
    background-color: #f2f2f2;
    cursor: pointer;
}

#submit:hover,
#reset:hover {
    background-color: #ddd;
}

#validation {
    margin: 20px 0;
    text-align: center;
}
a {
    text-decoration: none;
    color: blue;
}
a:hover {
    text-decoration: underline;
}
