:root {
    --white: #f7f7f7;
    --sky-blue: #e3f2ff;
    --spectra-yellow: #ffc14d;
}

.stripes {
    background: repeating-linear-gradient(
        45deg,
        var(--white),
        var(--white) 20px,
        var(--sky-blue) 20px,
        var(--sky-blue) 40px
    );
    background-size: 56px 56px;
}

.footnote {
    font-size: 1rem;
    color: darkgrey;
}

.error {
    color: red;
}

body, input {
    font-family: "Playpen Sans", "Comic Sans MS", sans-serif;
}

body {
    padding: 1ex;
    cursor: url("/static/clown-birthday-cat.cur"), auto;
}

main {
    max-width: 80ex;
    /* Centre on page */
    margin-left: auto;
    margin-right: auto;

    background: white;
    border: 4px solid var(--spectra-yellow);
    box-shadow: 4px 4px 2px grey;

    padding: 1em;
}

img {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

h1 {
    text-align: center;
}

h2 {
    text-align: center;
    letter-spacing: 0.3em;
    font-weight: normal;
}

figure > img {
    display: block;
}

figure > figcaption {
    text-align: center;
    margin-top: 1ex;
}

/*
 * Font loading code, generated by Mario Ranftl's Google Fonts Helper.
 */

/* playpen-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playpen Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/static/playpen-sans-v22-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/static/playpen-sans-v22-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* playpen-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playpen Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/static/playpen-sans-v22-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('/static/playpen-sans-v22-latin-600.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
