html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --interface-border-radius: 0.5rem;
    --typo-padding-bottom: 1em;
}

html, body {
    min-height: 100%;
    height: 100%;
}

body {
    font-family: "PT Sans", "Roboto";
    background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%) no-repeat fixed;
}

section {
    padding: 1em;
    height: 90%;
    width: 640px;
    margin: .5em auto;
    border-radius: var(--interface-border-radius);
    background: rgba(255, 255, 255, 0.5);
}

button {
    /* Variables */
    --button_color: #e8e8e8;
    --button_outline_color: #000000;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: var(--interface-border-radius);
    background: var(--button_outline_color);
}

hr {
    border-top: 1px dashed rgba(100, 100, 100, 0.3);
    margin-top: var(--typo-padding-bottom);
}

.button_top {
    display: block;
    box-sizing: border-box;
    border: 1px solid var(--button_outline_color);
    border-radius: var(--interface-border-radius);
    padding: .5rem 1rem;
    background: var(--button_color);
    color: var(--button_outline_color);
    transform: translateY(-0.2rem);
    transition: transform 0.1s ease;
}

button:hover .button_top {
    /* Pull the button upwards when hovered */
    transform: translateY(-0.33rem);
}

button:active .button_top {
    /* Push the button downwards when pressed */
    transform: translateY(0);
}

img {
    width: 480px;
    margin: auto;
}

h1, h2, h3, p, hr {
    margin-bottom: var(--typo-padding-bottom);
}
h1 {
    font-size: 1.6rem;
}
h2 {
    font-size: 1.3rem;
}
p {
    margin-bottom: 1vh;
}
p.img {
    text-align: center;
}
figure {
    display: inline-block;
    margin-bottom: .3em;
    border: 2px #d9e7ff solid;
    padding: 1em;
    width: 30%;
    text-align: center;
}
button {
    display: block;
    margin: auto;
}
figcaption {
    display: block;
    font-style: italic;
    text-align: center;
    margin-top: 1vh;
    font-size: .9rem;
    font-family: monospace;
}

.finish {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

.finish h1 {
    font-size: 2em;
    animation: rotation 10s infinite linear;
}