*,
*::before,
*::after {
    box-sizing: border-box;
    text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-attachment: fixed;
    background-image: url('background.svg');
    background-position: right 10% bottom 20%;
    background-repeat: no-repeat;
    background-size: 20em;
    margin-bottom: 10vh;
    margin-top: 10vh;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1, h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: calc(1.375rem + 1.5vw);
}

h2 {
    font-style: italic;
    font-size: calc(1.325rem + 0.9vw);
}

.container {
    width: 100%;
    padding-right: calc(1.5rem * 0.5);
    padding-left: calc(1.5rem * 0.5);
    margin-right: auto;
    margin-left: auto;
}

.hidden {
    display: none !important;
}

#pastebin {
    opacity: 0.01;
    width: 100%;
    height: 1px;
    overflow: hidden;
}

#output {
    border: none;
    background: transparent;
    font-family: Consolas, "Liberation Mono", Courier, monospace;
    font-size: 13px;
    line-height: 19px;
    min-height: 78vh;
    overflow: auto;
    padding: 6px 10px;
    resize: none;
    width: 100%;
    color: #fff;
    border: 1px solid #ffffff17;
}

@media (min-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        max-width: 1140px;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-image: url('background-dark.svg');
        background-color: #222;
        color: white;
    }

    code {
        color: #ff7a9c;
        background-color: #0e0609;
    }

    a {
        color: #8fcbff;
    }
}