@charset "UTF-8";

/*! normalize.css v4.2.0 | MIT License | github.com/necolas/normalize.css */

/* colors */

:root {
    --mainColor: #F3B9D9;
    --mainColorDark: #3E5C76;
    --colorFooter: #F3B9D9;
    --colorFooterDark: #2f587c;
    --colorCheckGreen: #3ace9d; /* #1a5f02 */
    --colorGrey: #999;
}

/* @font-face {
    font-family: "Signika";
    src: url(../fonts/Signika/Signika-Bold.ttf) format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: "Signika";
    src: url(../fonts/Signika/Signika-Light.ttf) format("truetype");
    font-weight: 100;
}

@font-face {
    font-family: "Signika";
    src: url(../fonts/Signika/Signika-Medium.ttf) format("truetype");
    font-weight: medium;
}

@font-face {
    font-family: "Signika";
    src: url(../fonts/Signika/Signika-Regular.ttf) format("truetype");
    font-weight: regular;
}

@font-face {
    font-family: "Signika";
    src: url(../fonts/Signika/Signika-SemiBold.ttf) format("truetype");
    font-weight: 600;
} */

/* fonts */

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-SemiBoldItalic.ttf) format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-Bold.ttf) format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-BoldItalic.ttf) format("truetype");
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-Italic.ttf) format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-Light.ttf) format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-LightItalic.ttf) format("truetype");
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-Medium.ttf) format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-MediumItalic.ttf) format("truetype");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Zilla-Slab";
    src: url(../fonts/Zilla-Slab/ZillaSlab-SemiBold.ttf) format("truetype");
    font-weight: 600;
    font-style: normal;
    font
}

/* general */

html {
    font-family: sans-serif;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

* {
    font-family: "Zilla-Slab";
    letter-spacing: 0.02em;
}

*::-moz-selection {
    /* Code for Firefox */
    color: #000;
    background: var(--mainColor);
}

*::selection {
    color: #000;
    background: var(--mainColor);
}

body {
    margin: 0;
    padding: 0;
}

header,
main,
section,
footer {
    display: block;
}

/* Link-Hover-Effekt // Quelle: https://codepen.io/geoffgraham/pen/GXoOdK */

a {
    background: linear-gradient(to bottom, var(--mainColor) 0%, var(--mainColor) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 4px 4px;
    color: #000;
    text-decoration: none;
    transition: background-size 1s;
}

a:active,
a:hover {
    background-size: 4px 50px;
}

abbr[title] {
    border-bottom: none;
    text-decoration: none;
    cursor: help;
}

b,
strong {
    font-weight: bolder;
}

code {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

svg:not(:root) {
    overflow: hidden;
}

input,
label,
button {
    margin: 0;
    border: 0;
    padding: 0;
    display: block;
    white-space: normal;
    background: none;
    line-height: 1.5;
    font-size: 1.6rem;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Roboto", sans-serif;
}

input {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

button,
input[type=reset],
input[type=button],
input[type=submit],
input[type=checkbox],
input[type=radio] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[type=checkbox] {
    width: 13px;
    height: 13px;
}

button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
    overflow: visible;
    width: auto;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

[hidden] {
    display: none;
}

/* Custom ========================================================================== */

html {
    font-size: 62.5%;
    background-color: #fff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Roboto", sans-serif;
    font-size: 1.8rem;
    line-height: 1.65;
    margin: 5.4rem auto 16rem auto;
}

header {
    max-width: 42em;
    margin: 0 auto 7.2rem auto;
    padding: 0 2rem;
}

section {
    padding: 2.5em 2em 1em;
    margin: 0;
    border-bottom: solid 2px black;
}

section + section {
    border-top: solid 0px black;
} 

.wrapper {
    max-width: 42em;
    margin: 0 auto;
    padding: 0 2rem;
}

form section:nth-child(odd) {
    /* background-color: var(--mainColor); */
    color: #000;
}

form section:nth-child(even) {
    background-color: #fff;
    color: #000;
}

#how-to {
    padding: 0;
}

.help-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    box-sizing: border-box;
    background-color: var(--mainColorDark);
    color: #FEFEFE;
    padding: 9.6rem 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    letter-spacing: 0.2em;
    font-size: 120%;
}

footer {
    max-width: 42em;
    margin: 4rem auto -3.5rem auto;
    text-align: right;
    line-height: 1.2;
    padding: 0 0 0 0;
    /* background-color: var(--colorGrey); */
}

.header-icon {
    margin: 7.2rem auto 3.6rem auto;
    width: 6.4rem;
    height: 6.4rem;
    display: block;
    opacity: 0.65;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    text-align: center;
    font-weight: 900;
    margin: 4rem 0 2rem;
    color: var(--mainColorDark);
}

h2 {
    font-size: 3rem;
    line-height: 1.2;
    text-align: left;
    margin: 0;
}

.lead {
    font-size: 2.1rem;
    line-height: 1.4;
    text-align: center;
    padding: 0 15%;
}

.secondary {
    font-size: 1.6rem;
    margin: 0;
}

.help-content p {
    text-align: left;
    margin: 2.8rem 0 0 0;
    font-weight: 600;
}

.help-content p:first-child {
    margin: 0;
}

.help-content ul {
    text-align: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

.help-content ul li {
    margin-left: 1.5em;
    text-indent: -0.65em;
}

.help-content ul li:before {
    content: "+";
    position: relative;
    left: -0.5em;
}

.details {
    display: block;
}

.hidden {
    display: none;
}

.details-para {
    font-size: 2rem;
    line-height: 1.4;
    margin: 0rem;
}

.details-para:first-of-type {
    font-size: 2rem;
    line-height: 1.4;
    margin: 0rem 0 0 0;
}

code {
    font-family: "Andale Mono", Menlo, Consolas, monospace;
}

.summary {
    display: block;
    font-weight: 900;
}

.js-enabled .summary:after {
    content: "+";
    color: #000;
    float: right;
    font-size: 3rem;
    font-weight: bold;
    margin: 0.5rem 1rem 0 0;
    padding: 0;
    line-height: 1;
}

.js-enabled .summary.open:after {
    content: "−";
}

label {
    display: block;
    margin: 3rem 0;
    cursor: pointer;
    position: relative;
    padding: 0 0 0 4rem;
    font-size: 2rem;
}

[type=checkbox] {
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    opacity: 0;
}

.checker {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 3rem;
    height: 3rem;
    border: 0.2rem solid black;
    border-radius: 0.3rem;
    transition: all 350ms;
}

input:checked+.checker {
    background-color: var(--colorCheckGreen); /* checkbox color*/
    /* border-color: #fff; */
    transition: all 350ms;
}

input:focus+.checker {
    border-color: #000;
    /* background-color: var(--colorCheckGreen); */
    /* box-shadow: 0 0 5px var(--mainColorDark); */
}

[type="reset"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #FEFEFE;
    font-weight: 600;
    border: 0.2rem solid currentColor;
    border-radius: 0.3rem;
    padding: 1rem 1.5rem;
    line-height: 1;
    margin: 0 0 0 auto;
    vertical-align: middle;
    cursor: pointer;
    transition: all 500ms;
    display: inline-block;
}

[type="reset"]:hover {
    background-color: #DF0101;
    border-color: #DF0101;
    color: #FEFEFE;
    transition: all .3s;
}

[type="reset"]:active {
    border-color: black;
    transform: translateY(3px);
    transition: all .3s;
}

.helper {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 20;
    color: inherit;
    border: 0.2rem solid currentColor;
    border-radius: 0.3rem;
    transition: all 350ms;
    cursor: pointer;
    font-weight: 500;
    line-height: 1;
    box-sizing: border-box;
    display: flex;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
}

.helper.open {
    color: #FEFEFE;
}

.checkAll {
    margin: 2rem auto;
    color: inherit;
    border: 0.2rem solid currentColor;
    border-radius: 0.3rem;
    padding: 0.3rem 1rem;
    transition: all 350ms;
    cursor: pointer;
    font-weight: 500;
}

.checkAll:active {
    color: var(--mainColorDark);
    transition: all 350ms;
}

.checkAll:disabled {
    opacity: 0.5;
    transition: all 350ms;
}

#controls {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: center;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
    height: auto;
    width: 100%;
    margin: 0;
    padding: 2rem;
    background-color: var(--colorFooterDark);
}

#progress {
    flex: 1 0 0;
    width: 100%;
    height: 4.2rem;
    background-color: #fff;
    border: 0.2rem solid #fff;
    margin-right: 2rem;
    border-radius: 0.3rem;
}

#progress-inner {
    width: 0;
    background-color: var(--colorFooterDark);
    height: 4.2rem;
    transition: all 0.7s;
}

@-ms-viewport {
    width: device-width;
}

@supports (mix-blend-mode: difference) {
    #progress-inner:after {
        font-weight: 600;
        font-size: 2.4rem;
        line-height: 1;
        color: #fff;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        left: 1rem;
        display: block;
        content: attr(data-width);
        mix-blend-mode: difference;
    }
}

@media screen and (max-width: 560px) {
    html {
        font-size: 50%;
    }
}