@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Permanent+Marker&display=swap");

:root {
    --bg-color-1: #334052;
    --bg-color-2: #FDF5F1;
    --bg-color-3: #D0E0D1;
    --highlight-color: #E47C4B;
    --text-header-color-1: #FBF5F3;
    --text-header-color-2: #334052;
    --text-banner-color: #FBF5F3;
    --text-date-color: #334052;
    --text-color-1: #334052; /* 162528 */
    --text-color-2: #FBF5F3;
    --border-color: #FEFCFA;

    --inner-height-center: 50vh;
}

* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    /*font-size: 4vw;*/
    font-weight: 300;
    color: var(--text-color-1);
    width: 100vw;
    background-color: var(--bg-color-1);
}

h1 {
    font-family: "Permanent Marker", cursive;
    color: var(--text-banner-color);
    font-size: 11vw;
    text-align: center;
    line-height: 95%;
    width: 70vw;
}
.one-name {
    font-size: 10vw;
    transform: rotate(-4.6deg) translateY(-11px);
}
.two-names {
    font-size: 9vw;
    transform: rotate(-4.6deg) translateY(-5px);
}
.three-names {
    font-size: 8.5vw;
    transform: rotate(-4.6deg) translateY(-7px);
}
.four-names {
    font-size: 8vw;
    transform: rotate(-4.6deg) translateY(-7px);
    width: 72vw;
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 6vw;
    font-weight: 700;
    color: var(--text-header-color-2);
    margin-bottom: 30px;
}

h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 4.5vw;
    font-weight: 500;
    color: var(--text-header-color-2);
    margin-bottom: 20px;
}

h4 {
    font-family: "Permanent Marker", cursive;
    font-weight: 100;
    font-size: 15vw;
    color: var(--text-date-color);
    line-height: 90%;
    margin-bottom: 8px;
}

h5 {
    font-family: "Permanent Marker", cursive;
    font-weight: 100;
    font-size: 6.4vw;
    color: var(--text-header-color-2);
    line-height: 90%;
    margin-bottom: 15px;
    text-align: center;
}

#uhrzeit {
    font-size: 14vw;
    margin-bottom: 20px;
}

p {
    font-size: 4vw;
    font-weight: 300;
    color: var(--text-color-1);
    margin-bottom: 15px;
}

a {
    color: var(--highlight-color);
}

a:visited {
    color: var(--highlight-color);
}

strong {
    font-weight: 600;
    color: var(--highlight-color);
}

.hide {
    display: none !important;
}

.warning-red {
    color: #9F2F24;
    font-size: 8vw;
}

emoji {
    font-size: 4vw;
    font-weight: 700;
    background-image: url(img/paint_header_bg.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 100;
    padding: 5px 15px 5px 15px;
    margin: -5px -15px -5px -5px;
}

.hinweis-text {
    margin-top: 7px;
    margin-bottom: 20px;
    color: var(--bg-color-3);
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

.margin-bottom-2 {
    margin-bottom: 2px;
}

.small-text {
    font-size: 3.5vw;
}

hr {
    border: 1px solid var(--border-color);
    width: 50%;
    margin: 13px auto 20px auto;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    input[type="checkbox"],
    input[type="radio"] {
        --active: var(--highlight-color);
        --active-inner: #faf1ee;
        --focus: 2px rgba(39, 94, 254, 0.3);
        --border: var(--highlight-color);
        --border-hover: var(--highlight-color);
        --background: var(--highlight-color);
        --disabled: #f6f8ff;
        --disabled-inner: #e1e6f9;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 20px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid var(--bc, var(--border));
        background: var(--b, var(--background));
        -webkit-transition: background 0.3s, border-color 0.3s, -webkit-box-shadow 0.2s;
        transition: background 0.3s, border-color 0.3s, -webkit-box-shadow 0.2s;
        -o-transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
        transition: background 0.3s, border-color 0.3s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
    }
    input[type="checkbox"]:after,
    input[type="radio"]:after {
        content: "";
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        -webkit-transition: opacity var(--d-o, 0.2s),
            -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
        transition: opacity var(--d-o, 0.2s),
            -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
        -o-transition: transform var(--d-t, 0.3s) var(--d-t-e, ease),
            opacity var(--d-o, 0.2s);
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease),
            opacity var(--d-o, 0.2s);
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease),
            opacity var(--d-o, 0.2s),
            -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
    }
    input[type="checkbox"]:checked,
    input[type="radio"]:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: 0.3s;
        --d-t: 0.6s;
        --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
    }
    input[type="checkbox"]:disabled,
    input[type="radio"]:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: 0.9;
    }
    input[type="checkbox"]:disabled:checked,
    input[type="radio"]:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }
    input[type="checkbox"]:disabled + label,
    input[type="radio"]:disabled + label {
        cursor: not-allowed;
    }
    input[type="checkbox"]:hover:not(:checked):not(:disabled),
    input[type="radio"]:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }
    input[type="checkbox"]:focus,
    input[type="radio"]:focus {
        -webkit-box-shadow: none;
                box-shadow: none;
    }
    input[type="checkbox"]:not(.switch),
    input[type="radio"]:not(.switch) {
        width: 20px;
    }
    input[type="checkbox"]:not(.switch):after,
    input[type="radio"]:not(.switch):after {
        opacity: var(--o, 0);
    }
    input[type="checkbox"]:not(.switch):checked,
    input[type="radio"]:not(.switch):checked {
        --o: 1;
    }
    input[type="checkbox"] + label,
    input[type="radio"] + label {
        font-size: 3.8vw;
        line-height: 20px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        margin-bottom: 12px;
        margin-left: 2px;
    }

    input[type="checkbox"]:not(.switch) {
        border-radius: 3px;
        margin-right: 4px;
    }
    input[type="checkbox"]:not(.switch):after {
        width: 5px;
        height: 10px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 5px;
        top: 2px;
        -webkit-transform: rotate(var(--r, 20deg));
            -ms-transform: rotate(var(--r, 20deg));
                transform: rotate(var(--r, 20deg));
    }
    input[type="checkbox"]:not(.switch):checked {
        --r: 43deg;
    }
    input[type="checkbox"].switch {
        width: 38px;
        border-radius: 11px;
    }
    input[type="checkbox"].switch:after {
        left: 2px;
        top: 2px;
        border-radius: 50%;
        width: 15px;
        height: 15px;
        background: var(--ab, var(--border));
        -webkit-transform: translateX(var(--x, 0));
            -ms-transform: translateX(var(--x, 0));
                transform: translateX(var(--x, 0));
    }
    input[type="checkbox"].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }
    input[type="checkbox"].switch:disabled:not(:checked):after {
        opacity: 0.6;
    }

    input[type="radio"] {
        border-radius: 50%;
    }
    input[type="radio"]:after {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--active-inner);
        opacity: 0;
        -webkit-transform: scale(var(--s, 0.7));
            -ms-transform: scale(var(--s, 0.7));
                transform: scale(var(--s, 0.7));
    }
    input[type="radio"]:checked {
        --s: 0.5;
    }
}

button {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 4vw;
    color: var(--text-color-2);
    padding: 10px 15px 10px 15px;
    background-color: var(--highlight-color);
    cursor: pointer;
    text-align: center;
    border: none;
}

#atcb {
    background-color: var(--bg-color-1);
    font-size: 9pt;
    font-weight: 300;
    margin-bottom: 20px;
}

#calendar-icon {
    margin-right: 5px;
}

#loading-window {
    height: 100vh;
    width: 100vw;
    background-color: var(--bg-color-1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

#loader {
    width: 25vw;
}

#loading-text {
    color: var(--highlight-color);
    font-weight: 400;
}

#label-zusage {
    margin-right: 5.3vw;
}

#wegbeschreibung-link {
    color: #c59680;
}

#einladung-section {
    background-color: var(--bg-color-1);
    width: 100%;
    padding: 0px 5px 10px 5px;
    border-bottom: 11px solid var(--border-color);
}

#begruessung {
    height: 200px;
    background-image: url(img/paint_bg.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: relative;
    z-index: 100;
}

#text-box {
    background-color: var(--bg-color-2);
    margin: -60px 7px 20px 7px;
    padding: 40px 15px 30px 15px;
    text-align: center;
    border: 11px solid var(--border-color);
    position: relative;
    z-index: 10;
}

#rueckmeldung {
    text-align: left;
}

#response-done-text {
    margin-top: 5px;
    margin-bottom: -15px;
    color: var(--highlight-color);
}

#unterschrift {
    width: 110px;
}

#info-section {
    background-color: var(--bg-color-1);
    position: relative;
    border-bottom: 11px solid var(--border-color);
    padding: 45px 25px 30px 25px;
}

#info-section h2 {
    color: var(--bg-color-3);
}

#impressum-section, #datenschutz-section {
    background-color: var(--bg-color-2);
    position: relative;
    border-bottom: 11px solid var(--border-color);
    padding: 45px 25px 30px 25px;
    word-wrap: break-word;
}

.url-header {
    color: var(--text-header-color-2);
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 9vw;
    text-align: left;
    width: initial;
}

#balloons-image {
    position: fixed;
    bottom: 0px;
    right: -18vw;
    /*height: 40vh;*/
    height: 75vw;
    z-index: 999;
    -webkit-transition: right 0.1s;
    -o-transition: right 0.1s;
    transition: right 0.1s;
}

.lightbox-background {
    height: 100%;
    width: 100vw;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top:0;
    left:0;
    z-index: 1500;
}

.lightbox-window {
    position: fixed;
    width: 94vw;
    max-width: 450px;
    left: 50%;
    top: 50vh; /* Fallback for browsers that do not support Custom Properties */
    top: var(--inner-height-center);
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    background-color: var(--bg-color-3);
    border: 7px solid var(--border-color);
}

.lightbox-content {
    margin: 25px 15px 0px 15px;
    position: relative;
}

.lightbox-close {
    position: absolute;
    width: 10%;
    padding: 2% 2% 4% 4%;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 50;
}

.wrapper-lightbox {
    display: flex;
}

.lightbox-img {
    align-self: flex-end;
}

.lightbox-text {
    align-self: center;
    margin-bottom: 0px;
}

#daumen-hoch {
    width: 40vw;
    margin: -5px 25px 0px -8vw;
    float: left;
}

#traurig {
    width: 40vw;
    margin: -5px 12px 0px -10px;
    float: left;
}

#text-absage {
    margin-bottom: 12px;
}

.float-right {
    float: right;
}

#map {
    height: 200px;
    border-top: 7px solid var(--border-color);
    border-bottom: 7px solid var(--border-color);
}

#map-section {
    background-color: var(--bg-color-3);
    padding-bottom: 35px;
    border-bottom: 11px solid var(--border-color);
}

#map-header {
    padding: 45px 25px 0px 25px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-header-color-2);
}

.text-map-sub {
    text-align: center;
    margin: 10px 10px 15px 10px;
    font-weight: 400;
    color: var(--text-color-1);
}

.text-map-att {
    color: #9F2F24;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

#countdown-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 0px 1fr 0px 1fr 0px 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    text-align: center;
    padding: 20px 35px 20px 35px;
    background-image: url(img/bg_countdown.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0px 5px 20px 5px;
}

#countdown-section {
    background-color: var(--bg-color-3);
    padding: 0px 0px 25px 0px;
    border-bottom: 11px solid var(--border-color);
    text-align: center;
}

.countdown-fullsize {
    height: 93vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding-bottom: 0px !important;
}

#countdown-alt-text {
    padding: 0px 20px 0px 20px;
    text-align: center;
    font-size: 3vw;
    color: var(--text-color-1);
    margin-bottom: 0px;
    font-weight: 400;
}

.atcb-list-item {
    background-color: var(--bg-color-2);
    border: 1px solid var(--border-color);
}

.atcb-list {
    color: var(--text-color-1);
    font-family: "Montserrat", sans-serif;
}

#countdown-header {
    padding: 45px 25px 0px 25px;
    margin-bottom: 15px;
    text-align: center;
}

.count-num {
    font-family: "Permanent Marker", cursive;
    font-weight: 100;
    font-size: 11vw;
    color: var(--text-header-color-1);
    margin-bottom: 0px;
    line-height: 100%;
}

.count-text {
    color: var(--text-color-2);
}

footer {
    background-color: var(--bg-color-1);
    padding: 10px;
    height: 50px;
    display: flex;
    align-items:center;
    justify-content:center;
}

#footer-text {
    /*
    text-align: center;
    margin: 0px;
    */
    font-size: 3.5vw;
    color: #fff;
    font-weight: 400;
    margin-bottom: 0px;
}

#footer-text a{
    text-decoration: none;
    color: var(--bg-color-3);
}

@media screen and (min-width: 429px) {
    .body-wrapper {
        max-width: 425px;
        display: block;
        margin: 2vh auto 2vh auto;
        height: 96vh;
        overflow-y: scroll;
        -webkit-box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.3); 
        box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.3);
    }

    body {
        background-color: initial;
    }

    h1 {
        font-size: 48px;
        width: 320px;
    }
    .one-name {
        font-size: 48px;
        width: 320px;
    }
    .two-names {
        font-size: 36px;
        width: 320px;
    }
    .three-names {
        font-size: 36px;
        width: 320px;
    }
    .four-names {
        font-size: 34px;
        width: 320px;
    }

    h2 {
        font-size: 20pt;
    }

    h3 {
        font-size: 16pt;
    }

    p {
        font-size: 12pt;
    }

    #datum {
        font-size: 55pt;
    }

    #uhrzeit {
        font-size: 48pt;
    }

    .small-text {
        font-size: 10pt;
    }

    input[type="checkbox"] + label, input[type="radio"] + label {
        font-size: 12pt;
    }

    #label-zusage {
        margin-right: 20px;
    }

    button {
        font-size: 14pt;
    }

    .count-num {
        font-size: 42pt;
    }

    .addeventatc {
        font-size: 12pt !important;
    }

    emoji {
        font-size: 14pt;
    }

    #footer-text {
        font-size: 10pt;
    }

    .lightbox-window {
        width: 400px;
    }

    #daumen-hoch {
        width: 180px;
        margin: -8px 25px 0px -33px;
    }

    h5 {
        font-size: 20pt;
    }

    #traurig {
        width: 180px;
        margin: -8px 19px 0px -9px;
    }

    #countdown-alt-text {
        font-size: 10pt;
    }

    #loading-window {
        width: 425px;
    }
    
    #loader {
        width: 100px;
    }

    .url-header {
        font-size: 28pt;
    }

    #balloons-image {
        right: 0 !important;
        height: 400px !important;
        bottom: 0 !important;
        top: auto;
    }

    .warning-red {
        font-size: 25pt;
    }
}