/* Mobile-first responsive design */ body { font-family: Arial, sans-serif; line-height: 1.6; margin: 0; padding: 0; background-color: #f4f4f4; color: #333; } header { background-color: #007bff; color: white; padding: 1rem; text-align: center; } .header-content { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; } .anycoder-link { color: #fff; text-decoration: underline; } .top-graphic img { max-width: 100%; height: auto; } main { max-width: 1200px; margin: 0 auto; padding: 1rem; } section { margin-bottom: 2rem; background: white; padding: 1rem; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); } h1, h2, h3 { margin-top: 0; } form { display: flex; flex-direction: column; } textarea { height: 100px; margin-bottom: 1rem; padding: 0.5rem; } button { padding: 0.75rem; background-color: #28a745; color: white; border: none; border-radius: 4px; cursor: pointer; } button:hover { background-color: #218838; } #output { margin-top: 1rem; } pre { background: #f8f8f8; padding: 1rem; border-radius: 4px; overflow-x: auto; } footer { text-align: center; padding: 1rem; background-color: #333; color: white; } /* Responsive adjustments */ @media (min-width: 768px) { .header-content { flex-direction: row; justify-content: space-between; } form { flex-direction: row; align-items: flex-end; } textarea { flex: 1; margin-right: 1rem; margin-bottom: 0; } }