:root {
    background-color: #242424;
    color: rgb(255 255 255 / 87%);
    color-scheme: light dark;
    font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
    font-weight: 400;
    line-height: 1.5;
    text-rendering: optimizelegibility;
}

a {
    color: #646cff;
    font-weight: 500;
    text-decoration: inherit;
}

a:hover {
    color: #535bf2;
}

body {
    display: flex;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    place-items: center;
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

button {
    padding: 0.6em 1.2em;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    font-weight: 500;
    transition: border-color 0.25s;
}

button:hover {
    border-color: #646cff;
}

button:focus,
button:focus-visible {
    outline: 4px auto -webkit-focus-ring-color;
}

.card {
    padding: 2em;
}

#app {
    max-width: 1280px;
    padding: 2rem;
    margin: 0 auto;
    text-align: center;
}

@media (prefers-color-scheme: light) {
    :root {
        background-color: #fff;
        color: #213547;
    }

    a:hover {
        color: #747bff;
    }

    button {
        background-color: #f9f9f9;
    }
}
