html, body { padding: 0; margin: 0; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; } a { color: inherit; text-decoration: none; } * { box-sizing: border-box; } .container { padding: 0 2rem; } .main { padding: 2rem 0; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; } .title { line-height: 1.15; font-size: 2rem; } .title, .description { text-align: center; } .description { margin: 4rem 0; line-height: 1.5; font-size: 1.5rem; } .grid { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 800px; } .card { margin: 1rem; padding: 1.5rem; text-align: left; color: inherit; text-decoration: none; border: 1px solid #eaeaea; border-radius: 10px; transition: color 0.15s ease, border-color 0.15s ease; max-width: 300px; } .card:hover, .card:focus, .card:active { color: #0070f3; border-color: #0070f3; } .card h2 { margin: 0 0 1rem 0; font-size: 1.5rem; } .card p { margin: 0; font-size: 1.25rem; line-height: 1.5; } .beian { display: flex; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; } .beian img { width: 14px; height: 14px; transform: translateY(2px); } .beian a { text-decoration: none; font-size: 14px; } @media (max-width: 600px) { .grid { width: 100%; flex-direction: column; } } @media (prefers-color-scheme: dark) { html { color-scheme: dark; } body { color: white; background: black; } .card { border-color: #222; } }