* {
    box-sizing: border-box;
}
/*
@font-face {font-family: "ITCKabelW01-Demi";
    src: url("c343168184015f3e462c8f0b76b5bcd2.eot"); /* IE9*/
/*   src: url("c343168184015f3e462c8f0b76b5bcd2.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
/*   url("c343168184015f3e462c8f0b76b5bcd2.woff2") format("woff2"), /* chrome firefox */
/*    url("c343168184015f3e462c8f0b76b5bcd2.woff") format("woff"), /* chrome firefox */
/*    url("c343168184015f3e462c8f0b76b5bcd2.ttf") format("truetype"), /* chrome firefox opera Safari, Android, iOS 4.2+*/
/*    url("c343168184015f3e462c8f0b76b5bcd2.svg#ITCKabelW01-Demi") format("svg"); /* iOS 4.1- */
/*}*/

:root {
    font-size: 16px;
    /*font-family: "Roboto", Helvetica, sans-serif*/;
    /*font-family: "ITCKabelW01-Demi";*/
    --header-font: 'Anzeigen Grotesk T';
    font-family: 'ITC Avant Garde Gothic', sans-serif;
    --header-height: 100px;
    --gradient-start: #f52820;
    --gradient-end: #f45126;
    --yellow: #f9dd09;
    --gradient: linear-gradient(90deg,#f52820, #f45126);
}

body {
    background-color: #b6b3b3;
    min-height: 100svh;
    height: auto;
    width: 100vw;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--header-font);
    text-transform: uppercase;
    font-weight: 400;
}

h1.large {
    font-size: 42pt;
    letter-spacing: -1px;
}


h2.large {
    font-size: 30pt;
    letter-spacing: -1px;
}

a:hover {
    animation: bounce 400ms
}

header, footer {
    height: auto;
    width: 100%;
    background: var(--gradient);
    z-index: 2;
    max-width: 1280px;
    margin-inline: auto;
    position: relative;
    color: #000;
    display: flex;
    align-items: center;
    padding-inline: 10pt;
    font-size: 1.2rem;
}

header > div {
    justify-content: space-between;
}

footer {
    min-height: 65px;
    padding: 10px 20px;
    flex-wrap: wrap;
}

#schnullkapp {
    max-width: 300px;
    width: 40%;
    left: 7.5%;
    bottom: 3%;
    position: absolute;
}

#titlelogo {
    width: 80%;
    max-width: 400px;
    color: inherit;
    text-decoration: none;
}

#show-mainmenu {
    width: auto;
    cursor: pointer;
    background-color: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    position: relative;
    float: right;
}

#show-mainmenu div {
    width: 35px;
    height: 5px;
    background-color: #000;
    border-radius: 3px;
    margin: 6px 0;
}

nav {
    display: none;
    position: absolute;
    right: 0;
    height: auto;
    width: auto;
    bottom: 0;
    transform: translateY(100%);
    background-color: var(--gradient-end);
    color: #000;
    padding: 0 10px 10px;
}

#day-selector {
    margin-left: auto;
}

nav ul {
    margin: 0;
    padding: 10px;
}

nav li {
    list-style: none;
    margin: 4px 0;
}

nav li a {
    color: inherit;
}

nav li:not(.active) a:not(:hover) {
    text-decoration: none;
}

main {
    flex: 1;
    width: 100%;
    position: relative;
    display: flex;
}

#banner {
    width: 750px;
    max-width: 95%;
    margin-bottom: 8%;
}

#timer {
    font-size: 2.5rem;
    text-align: center;
}

aside, aside > div {
    display: none;
}

aside.show {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    background-color: rgba(255,255,255,0.9);
    font-size: larger;
}

aside > div {
    padding: 10px;
    width: 80%;
    background-color: rgba(220,220,220,0.8);
}

aside > div:not(:last-child) {
    margin-bottom: 20px;
}

#legend {
    list-style: none;
    padding: 0;
}

#legend li {
    margin: 3px 0;
}

#legend input {
    display: none;
}

#legend label {
    display: flex;
    align-items: center;
    hyphens: auto;
}

#legend label > span {
    display: block;
    background-color: #fff;
    border: 2px solid var(--color);
    border-radius: 3px;
    height: 20px;
    width: 20px;
    margin-right: 5px;
}

#legend input:checked + label > span {
    box-shadow: inset 0 0 0 3px #fff;
    background-color: var(--color);
}

#choose-overview > div {
    display: none;
    margin-top: 15px;
}

#choose-overview ul {
    margin: 0;
    font-size: 0.8rem;
    padding-left: 1rem;
}

#choose-overview li {
    word-break: keep-all;
}

#service-form-dialog {
    background-color: #f0f0f0;
    padding: 0;
    max-width: 600px;
    width: 90%;
}

#service-form-dialog::backdrop {
    background: rgba(0, 0, 0, 0.4);
}

#service-form-dialog p {
    margin: 1rem;
}

#service-form-dialog .service-overview h2 {
    margin: 0.5rem 1rem;
}

#service-form-dialog .service-overview ul {
    margin: 0;
}

#service-form-dialog .service-overview b {
    font-weight: 400;
}

.service-overview li {
    list-style: none;
}

#service-form-dialog input[type=email] {
    font-size: 1rem;
}

#service-form-dialog small {
    font-size: 0.625em;
    font-style: italic;
}

#email {
    width: 100%;
}

button {
    display: block;
    width: auto;
    font-family: inherit;
    font-size: 1.3rem;
    line-height: 1.3;
    margin-block: 8px;
    margin-inline: auto 0;
    background-color: var(--yellow);
    color: #000;
    font-weight: bold;
    border: 3px solid currentColor;
    border-right: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

button.main-button {
    padding: 0 10pt;
    height: 3rem;
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    font-size: 1.2em;
    cursor: pointer;
}

#choose-overview button {
    margin-right: -10px;
}

#flyer-preview {
    flex-wrap: wrap;
    padding-inline: 15px;
}

#flyer-preview section {
    flex: 1;
    max-width: 50%;
    min-width: 300px;
}

#flyer-preview section img {
    width: 80%;
}



/*#choose-overview ul {
    padding: 0;
}*/

article {
    height: auto;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-image: url("../img/bg.svg");
    padding-block: 15px;
}

article.index {
    /*align-items: center;*/
    flex-wrap: nowrap;
    flex-direction: column;
    position: relative;
}

article.planner-sheet {
    column-gap: 40px;
}

#welcome {
    margin-left: 25px;
    margin-bottom: 2rem;
    background-color: transparent;
}

#welcome span {
    font-size: 1rem;
}

#welcome .date-range {
    font-size: 1.2rem;
}

#current-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: min-content;
    padding: 0 15px;
    margin-bottom: 15px;
}

#current-day .fa-question {
    float: right;
    border-radius: 50%;
    height: 20px;
    aspect-ratio: 1/1;
    padding: 3px;
    text-align: center;
    background-color: var(--gradient-end);
    color: #000;
    cursor: pointer;
}

#current-day > span {
    font-family: var(--header-font);
    font-size: 2rem;
    text-transform: uppercase;
}

section {
    height: auto;
    width: auto;
}

.plan-section {
    background-color: rgba(220,220,220,0.9);
    margin-bottom: 20px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.plan-section .shift-duration {
    display: block;
    width: 100%;
    line-height: 40px;
    height: auto;
    background-color: var(--yellow);
    font-family: var(--header-font);
    font-weight: 400;
    font-size: 2rem;
    /*background-color: rgba(200,33,40,0.8);;*/
    color: #000;
    padding-left: 10px;
    z-index: 1;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    border: 3px solid #000;
}

.plan-section > details {
    width: auto;
    margin: 15px;
    padding: 7px;
    height: auto;
    color: #fff;
    border-radius: 3px;
    box-shadow: 5px 5px 10px #615e5d;
}

.plan-section summary > div {
    user-select: none;
    display: inline-flex;
    align-items: center;
    width: 240px;
}

.plan-section summary small {
    margin-left: auto;
}

.service-data {
    height: auto;
    width: auto;
    padding: 0;
    margin-top: 8px;
    transition: all 200ms ease-in-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-data span {
    display: flex;
    align-items: center;
    margin: 3px;
    width: 270px;
    max-width: 80vw;
    text-align: center;
    justify-content: center;
}

input[type='text'], input[type=email] {
    border: 2px solid #000;
    border-radius: 3px;
    line-height: 1.25em;
    padding: 2px 4px;
    font-family: inherit;
    font-weight: 400;
    font-size: 1em;
}

.plan-section input[type=text] {
    border: none;
}

.service-data input {
    width: 100%;
}

.service-data svg {
    margin-left: 5px;
}

section > div:not(.show) .service-data {
    height: 0;
    margin-top: 0;
}

footer a {
    text-decoration: none;
    color: inherit;
}

footer a:hover {
    color: #fff;
}

footer a:not(:last-child) {
    margin-right: 1rem;
}

@keyframes bounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.1); }
    50%  { transform: scale(0.95); }
    70%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media only screen and (min-width: 875px) {
    body {
        height: 0;
    }

    h1.large {
        font-size: 72pt;
        letter-spacing: -2px;
    }

    h2.large {
        font-size: 40pt;
        letter-spacing: -1px;
        margin-left: 15px;
    }

    #welcome span {
        font-size: 1.3rem;
    }

    #welcome .date-range {
        font-size: 24pt;
    }

    button.main-button {
        padding: 0 21pt;
        height: 5rem;
        border-top-left-radius: 30px;
        border-bottom-left-radius: 30px;
        font-size: 2em;
    }

    #logo {
        margin-left: 45px;
    }

    article {
        overflow-y: auto;
    }

    article, header, footer {
        border-left: 3px solid #000;
        border-right: 3px solid #000;
    }
    
    header {
        height: 90px;
    }

    #show-mainmenu {
        display: none;
    }

    nav {
        display: block;
        position: static;
        transform: none;
        background-color: transparent;
        padding: 0;
    }

    #day-selector, #day-selector > ul {
        height: 100%;
    }

    #day-selector > ul {
        display: inline-flex;
        padding: 0;
        column-gap: 10px;
    }

    #day-selector li {
        display: flex;
        font-family: var(--header-font);
        text-transform: uppercase;
        font-weight: 400;
        font-size: 1.5rem;
        margin: 0;
        height: 70%;
        min-width: 50px;
        padding: 10px;
        background-color: var(--yellow);
        color: #000;
        border: 3px solid currentColor;
        text-align: center;
    }

    #day-selector li:nth-child(odd) {
        align-self: flex-start;
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
        border-top: none;
        align-items: flex-end;
    }

    #day-selector li:nth-child(even) {
        align-self: flex-end;
        border-top-left-radius: 14px;
        border-top-right-radius: 14px;
        border-bottom: none;
        align-items: flex-start;
    }

    aside {
        display: block;
        height: min-content;
        margin: 10px 20px;
        position: absolute;
        max-width: 300px;
        width: 15%;
    }

    aside > div {
        display: block;
        width: 100%;
        border: 3px solid #000;
    }

    #choose-overview {
        max-height: 350px;
        overflow-y: auto;
    }

    article.planner-sheet {
        padding-block: 32px;
        overflow-y: auto;
        grid-area: content;
    }

    main {
        overflow-y: auto;
    }

    #current-day {
        display: none;
    }

    input[type=text], input[type=email] {
        font-size: 0.83em;
    }

    .service-data span {
        width: 220px;
    }

    footer .make-entry {
        display: none;
    }

    #schnullkapp {
        left: 17.5%;
    }
}