:root {
    --bg-color: #935d8c;
    --gradient: linear-gradient(45deg, #e37682 15%, #5f4d93 60%);
    --text-color: rgba(255, 255, 255, 0.65);
    --white: #ffffff;
    --border-color: rgba(255, 255, 255, 0.35);
    --primary-color: #8cc9f0;
    --primary-hover: #9acff2;
    --primary-active: #7ec3ee;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

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 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

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;
}

body {
    -webkit-text-size-adjust: none;
}

mark {
    background-color: transparent;
    color: inherit;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input, select, textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

/* Basic */
@-ms-viewport {
    width: device-width;
}

body {
    -ms-overflow-style: scrollbar;
}

@media screen and (max-width: 480px) {
    html, body {
        min-width: 320px;
    }
}

html {
    box-sizing: border-box;
    min-height: 100vh;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    min-height: 100vh;
    background-color: var(--bg-color);
    background-image: url("images/overlay.png"), var(--gradient);
    background-attachment: fixed;
    color: var(--text-color);
}

body.is-preload *, body.is-preload *::before, body.is-preload *::after {
    animation: none !important;
    transition: none !important;
}

/* Type */
body, input, select, textarea {
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 17pt;
    font-weight: 300;
    line-height: 1.65;
}

@media screen and (max-width: 1680px) {
    body, input, select, textarea {
        font-size: 14pt;
    }
}

@media screen and (max-width: 1280px) {
    body, input, select, textarea {
        font-size: 12pt;
    }
}

@media screen and (max-width: 360px) {
    body, input, select, textarea {
        font-size: 11pt;
    }
}

a {
    transition: color 0.2s ease, border-bottom 0.2s ease;
    text-decoration: none;
    border-bottom: dotted 1px;
    color: inherit;
}

a:hover {
    border-bottom-color: transparent;
}

strong, b {
    font-weight: 400;
}

em, i {
    font-style: italic;
}

p {
    margin: 0 0 2em 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.5;
    margin: 0 0 0.7em 0;
    letter-spacing: -0.025em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-size: 2.5em;
    line-height: 1.2;
}

h2 {
    font-size: 1.25em;
}

@media screen and (max-width: 736px) {
    h1 {
        font-size: 2em;
    }
}

code {
    border-radius: 8px;
    border: solid 1px;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0.25em;
    padding: 0.25em 0.65em;
}

pre {
    -webkit-overflow-scrolling: touch;
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    margin: 0 0 2em 0;
}

pre code {
    display: block;
    line-height: 1.75;
    padding: 1em 1.5em;
    overflow-x: auto;
}

hr {
    border: 0;
    border-bottom: solid 1px;
    margin: 2em 0;
}

hr.major {
    margin: 3em 0;
}

input, select, textarea {
    color: var(--white);
}

a:hover {
    color: var(--white);
}

strong, b {
    color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--white);
}

code {
    background: rgba(255, 255, 255, 0.075);
    border-color: var(--border-color);
}

hr {
    border-bottom-color: var(--border-color);
}

/* Button */
input[type="submit"], input[type="reset"], input[type="button"], button, .button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
    display: inline-block;
    font-weight: 300;
    height: 2.75em;
    line-height: 2.75em;
    min-width: 9.25em;
    padding: 0 1.5em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

input[type="submit"].fit, input[type="reset"].fit, input[type="button"].fit, button.fit, .button.fit {
    width: 100%;
}

input[type="submit"].small, input[type="reset"].small, input[type="button"].small, button.small, .button.small {
    font-size: 0.8em;
}

input[type="submit"].large, input[type="reset"].large, input[type="button"].large, button.large, .button.large {
    font-size: 1.35em;
}

input[type="submit"].disabled, input[type="submit"]:disabled, input[type="reset"].disabled, input[type="reset"]:disabled, input[type="button"].disabled, input[type="button"]:disabled, button.disabled, button:disabled, .button.disabled, .button:disabled {
    pointer-events: none;
    opacity: 0.25;
}

@media screen and (max-width: 736px) {
    input[type="submit"], input[type="reset"], input[type="button"], button, .button {
        min-width: 0;
    }
}

input[type="submit"], input[type="reset"], input[type="button"], button, .button {
    background-color: transparent;
    box-shadow: inset 0 0 0 1px var(--border-color);
    color: var(--white) !important;
}

input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover, .button:hover {
    background-color: rgba(255, 255, 255, 0.075);
}

input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active, button:active, .button:active {
    background-color: rgba(255, 255, 255, 0.2);
}

input[type="submit"].primary, input[type="reset"].primary, input[type="button"].primary, button.primary, .button.primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    box-shadow: none;
}

input[type="submit"].primary:hover, input[type="reset"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover {
    background-color: var(--primary-hover);
}

input[type="submit"].primary:active, input[type="reset"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {
    background-color: var(--primary-active);
}

/* Actions */
ul.actions {
    display: flex;
    cursor: default;
    list-style: none;
    margin-left: -1em;
    padding-left: 0;
}

ul.actions li {
    padding: 0 0 0 1em;
    vertical-align: middle;
}

ul.actions.special {
    justify-content: center;
    width: 100%;
    margin-left: 0;
}

ul.actions.special li:first-child {
    padding-left: 0;
}

ul.actions.stacked {
    flex-direction: column;
    margin-left: 0;
}

ul.actions.stacked li {
    padding: 1.3em 0 0 0;
}

ul.actions.stacked li:first-child {
    padding-top: 0;
}

ul.actions.fit {
    width: calc(100% + 1em);
}

ul.actions.fit li {
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
}

ul.actions.fit li > * {
    width: 100%;
}

ul.actions.fit.stacked {
    width: 100%;
}

@media screen and (max-width: 480px) {
    ul.actions:not(.fixed) {
        flex-direction: column;
        margin-left: 0;
        width: 100% !important;
    }

    ul.actions:not(.fixed) li {
        flex-grow: 1;
        flex-shrink: 1;
        padding: 1em 0 0 0;
        text-align: center;
        width: 100%;
    }

    ul.actions:not(.fixed) li > * {
        width: 100%;
    }

    ul.actions:not(.fixed) li:first-child {
        padding-top: 0;
    }

    ul.actions:not(.fixed) li input[type="submit"], ul.actions:not(.fixed) li input[type="reset"], ul.actions:not(.fixed) li input[type="button"], ul.actions:not(.fixed) li button, ul.actions:not(.fixed) li .button {
        width: 100%;
    }
}

/* Header */
#header {
    padding: 5em 5em 1em 5em;
    text-align: center;
}

#header h1 {
    margin: 0 0 0.25em 0;
}

#header p {
    font-size: 1.25em;
    letter-spacing: -0.025em;
}

#header.alt {
    padding: 7em 5em 1em 5em;
}

#header.alt h1 {
    font-size: 3.25em;
}

#header.alt > * {
    transition: opacity 3s ease;
    transition-delay: 0.5s;
    opacity: 1;
}

#header.alt .logo {
    transition: opacity 1.25s ease, transform 0.5s ease;
    transition-delay: 0s;
    display: block;
    margin: 0 0 1.5em 0;
}

#header.alt .logo img {
    display: block;
    margin: 0 auto;
    max-width: 75%;
}

@media screen and (max-width: 1280px) {
    #header {
        padding: 4em 4em 0.1em 4em;
    }

    #header.alt {
        padding: 6em 4em 3em 4em;
    }
}

@media screen and (max-width: 980px) {
    #header {
        padding: 4em 3em 0.1em 3em;
    }

    #header.alt {
        padding: 5em 3em 2em 3em;
    }
}

@media screen and (max-width: 736px) {
    #header {
        padding: 3em 2em 0.1em 2em;
    }

    #header p {
        font-size: 1em;
        letter-spacing: 0;
    }

    #header.alt {
        padding: 4em 2em 1em 2em;
    }

    #header.alt h1 {
        font-size: 2.5em;
    }
}

@media screen and (max-width: 480px) {
    #header {
        padding: 3em 1.5em 0.1em 1.5em;
    }

    #header.alt {
        padding: 4em 1.5em 1em 1.5em;
    }
}

@media screen and (max-width: 360px) {
    #header {
        padding: 2.5em 1em 0.1em 1em;
    }

    #header.alt {
        padding: 3.5em 1em 0.5em 1em;
    }
}

body.is-preload #header.alt > * {
    opacity: 0;
}

body.is-preload #header.alt .logo {
    transform: scale(0.8) rotate(-30deg);
}

/* Main */
main {
    padding: 1em 5em 1em 5em;
}

main section {
    text-align: center;
}

main section h2 {
    margin-bottom: 0.5em;
}

.note {
    font-size: 0.8em;
    margin-top: 2em;
}

@media screen and (max-width: 1280px) {
    main {
        padding: 4em 4em 2em 4em;
    }
}

@media screen and (max-width: 980px) {
    main {
        padding: 4em 3em 2em 3em;
    }
}

@media screen and (max-width: 736px) {
    main {
        padding: 3em 2em 1em 2em;
    }
}

@media screen and (max-width: 480px) {
    main {
        padding: 3em 1.5em 1em 1.5em;
    }
}

@media screen and (max-width: 360px) {
    main {
        padding: 2.5em 1em 0.5em 1em;
    }
}

/* Footer */
footer {
    padding: 3em 5em;
    text-align: center;
}

.copyright {
    font-size: 0.9em;
    margin: 0;
}

@media screen and (max-width: 1280px) {
    footer {
        padding: 2em 4em;
    }
}

@media screen and (max-width: 980px) {
    footer {
        padding: 2em 3em;
    }
}

@media screen and (max-width: 736px) {
    footer {
        padding: 1em 2em;
    }
}

@media screen and (max-width: 480px) {
    footer {
        padding: 1em 1.5em;
    }
}

@media screen and (max-width: 360px) {
    footer {
        padding: 0.5em 1em;
    }
}

/* Wrapper */
#wrapper {
    width: 64em;
    max-width: calc(100% - 4em);
    margin: 0 auto;
}

@media screen and (max-width: 480px) {
    #wrapper {
        max-width: calc(100% - 2em);
    }
}

@media screen and (max-width: 360px) {
    #wrapper {
        max-width: 100%;
    }
}