* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 32px;
    text-align: center;
    width: 100%;
}

ul {
    list-style: none;
    max-width: 800px;
}

li {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

li img {
    display: block;
    width: 100%;
    max-height: 50vh;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
    object-fit: cover;
}

li a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    display: block;
    margin-bottom: 3px;
}

li a:hover {
    text-decoration: underline;
    color: #0052a3;
}

li br+br {
    content: '';
    display: block;
    margin: 10px 0;
}

li p {
    margin: 10px 0;
    line-height: 1.6;
    color: #666;
    font-size: 16px;
}

form {
    width: 100%;
    max-width: 800px;
    margin: 15px 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 3px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 15px;
}

input[type="text"],
input[type="number"],
input[type="submit"] {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 15px;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    background-color: #fafafa;
}

input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    background-color: #fff;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

input[type="submit"] {
    background-color: #0066cc;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    width: auto;
    padding: 8px 20px;
    margin-top: 8px;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #0052a3;
}

form table {
    width: 100%;
    max-width: none;
    border: none;
    background-color: transparent;
    margin: 0;
}

form table tr {
    border: none;
}

form table td {
    padding: 8px 0;
    border: none;
    text-align: left;
}

form table td:first-child {
    width: 150px;
    padding-right: 20px;
}

table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
}

th,
td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #a6d2fc;
    color: #2c3e50;
    font-weight: bold;
}

tr:nth-child(even) td {
    background-color: #fafafa;
}

tr:hover td {
    background-color: #f5f9ff;
}