body {
    --c_blue_dark: rgb(19, 38, 60);
    --c_blue_light: rgb(0, 56, 91);
    --c_yellow: rgb(255, 226, 0);
    --c_grey: rgb(207, 207, 207);
    --c_grey_dark: rgb(51, 51, 51);
    --c_white: rgb(255,255,255);
    font-family: 'Kanit', sans-serif;
    background-color: black;
    color: var(--c_white);
    font-size: 16px;
    line-height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    padding: 0;
    margin: 0;
    background-image: url('/img/booking_bg.jpg');
}
body:before {
    content: '';
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(3px);
    background-color: rgba(0,0,0,0.35);
    pointer-events: none;
}
.center {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    pointer-events: none;
}
.logo {
    width: 10rem;
    height: auto;
    margin-bottom: 2rem;
}
main {
    background-color: white;
    border-radius: 0.25rem;
    box-sizing: border-box;
    padding: 1.5rem;
    color: var(--c_grey_dark);
    width: calc(100vw - 100px);
    max-width: 400px;
    box-shadow: 4px 4px 8px rgba(0,0,0,0.5), 0 0 64px rgba(0,0,0,0.5);
    margin-bottom: 3rem;
    pointer-events: all;
}

.button {
    width: 100%;
    background-color: var(--c_blue_dark);
    color: white;;
    line-height: 36px;
    text-align: center;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}

button:disabled {
    filter: saturate(0);
    opacity: 0.5;
    cursor: default;
}

[for="bookingcode"],[for="ticketcode"] {
    font-size: 14px;
    line-height: 1em;
}

h1 {
    width: calc(100% + 4rem);
    margin: 0 -2rem;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    background-image: url('/img/h1_yellow_center.png');
    background-size: 100% 100%;
    background-position: top center;
    background-repeat: no-repeat;
    transform: rotate(-1deg);
    position: relative;
}
h1:before {
    content: '';
    position: absolute;
    top: 0;
    left: -1rem;
    height: 100%;
    width: calc(1rem + 1px);
    background-image: url('/img/h1_yellow_left.png');
    background-size: 100% 100%;
    background-position: top center;
    background-repeat: no-repeat;
}
h1:after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(-2rem + 1px);
    height: 100%;
    width: 2rem;
    background-image: url('/img/h1_yellow_right.png');
    background-size: 100% 100%;
    background-position: top center;
    background-repeat: no-repeat;
}

#bookingcode {
    width: 100%;
    line-height: 1.75rem;
    font-size: 1rem;
    padding: 0 0.25rem;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

#bookingcode::placeholder {
    opacity: 0.5;
}

#ticketcode {
    width: 100%;
    line-height: 1.75rem;
    font-size: 1rem;
    padding: 0 0.25rem;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

#ticketcode::placeholder {
    opacity: 0.5;
}

.button:hover {
    background-color: var(--c_blue_light);
}

.hook {
    width: 3.5rem;
    height: 0.65rem;
    border-radius: 100px;
    background-color: var(--c_blue_light);
    box-shadow: 0 0 0.2px black inset;
    margin: -0.5rem auto 0.5rem auto;
}

a {
    color: black;
}

nav {
    position: fixed;
    bottom: 0.65rem;
    right: 0.5rem;
    left: 0.5rem;
    line-height: 1.5rem;
    display: flex;
    justify-content: center;
}
nav a {
    color: white;
    display: block;
    margin: 0 0.25rem;
    opacity: 0.65;
    text-decoration: none;
}
nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.h2 strong {
    letter-spacing: 1px;
    text-transform: uppercase;
}
.h2 {
    font-size: 1rem;
    line-height: 2rem;
    color: white;
    background-image: url('/img/h2_middle.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    display: inline-block;
    font-weight: normal;
    margin-left: -2rem;
    margin-bottom: 0;
    margin-top: 2rem;
    position: relative;
    padding-left: 1.5rem;
}
.h2:after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(-3rem + 1px);
    display: block;
    width: 3rem;
    height: 100%;
    background-image: url('/img/h2_right.png');
    background-size: 100% 100%;
}
.h2:before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(-0.5rem + 1px);
    width: 0.5rem;
    height: 100%;
    background-image: url('/img/h2_left.png');
    background-size: 100% 100%;
}

.ticket_button {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.15rem 0.5rem 0.15rem 1.5rem;
    background-color: var(--c_blue_dark);
    color: white;
    text-decoration: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23e8eaed'%3E%3Cpath d='M480-320 280-520l56-58 104 104v-326h80v326l104-104 56 58-200 200ZM240-160q-33 0-56.5-23.5T160-240v-120h80v120h480v-120h80v120q0 33-23.5 56.5T720-160H240Z'/%3E%3C/svg%3E");
    background-size: 1rem 1rem;
    background-position: 0.35rem 0.35rem;
    background-repeat: no-repeat;
}
.ticket_button:hover {
    background-color: var(--c_blue_light);
}
.ticket_button.ticket_button--disabled {
    opacity: 0.75;
    pointer-events: none;
}

@keyframes BLINK {
    0% {
        opacity: 1;
    }

    20% {
        opacity: 0.75;
    }

    40% {
        opacity: 1;
    }

    60% {
        opacity: 0.75;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0.75;
    }
}

@keyframes FADE_OUT {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.ticket_button.ticket_button--loading {
    animation: BLINK 2s ease-out;
}

.sharelink {
    color: black;
    text-decoration: underline;
    position: relative;
}

.sharelink--show-copied:before {
    content: 'Share-Link kopiert';
    position: absolute;
    top: -1.5rem;
    left: -5px;
    height: 1.5rem;
    line-height: 1.5rem;
    border-radius: 0.25rem;
    background-color: var(--c_blue_dark);
    padding: 0 0.25rem;
    color: white;
    pointer-events: none;
    opacity: 0;
    animation: FADE_OUT 2s ease-out;
}
.sharelink--show-copied:after {
    content: '';
    position: absolute;
    top: -0.2rem;
    left: -5px;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0.75rem 0.75rem 0 0;
    border-color: var(--c_blue_dark) transparent transparent transparent;
    pointer-events: none;
    opacity: 0;
    animation: FADE_OUT 2s ease-out;
}

.copy_share_link {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0.15rem 0.5rem 0.15rem 1.5rem;
    background-color: var(--c_blue_dark);
    color: white;
    text-decoration: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23e8eaed'%3E%3Cpath d='M440-280H280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h160v80H280q-50 0-85 35t-35 85q0 50 35 85t85 35h160v80ZM320-440v-80h320v80H320Zm200 160v-80h160q50 0 85-35t35-85q0-50-35-85t-85-35H520v-80h160q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H520Z'/%3E%3C/svg%3E");
    background-size: 1rem 1rem;
    background-position: 0.35rem 0.35rem;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
}
.copy_share_link:hover {
    background-color: var(--c_blue_light);
}

.ticketHeaderBox {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1rem;
}
.ticketHeaderBox > *:last-child {
    width: calc(100% - 120px);
    padding-bottom: 1rem;
}
.ticketHeaderBox > *:first-child {
    width: 100px;
    min-height: 150px;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='36' height='36' fill='%23eee' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_9y7u%7Banimation:spinner_fUkk 2.4s linear infinite;animation-delay:-2.4s%7D.spinner_DF2s%7Banimation-delay:-1.6s%7D.spinner_q27e%7Banimation-delay:-.8s%7D@keyframes spinner_fUkk%7B8.33%25%7Bx:13px;y:1px%7D25%25%7Bx:13px;y:1px%7D33.3%25%7Bx:13px;y:13px%7D50%25%7Bx:13px;y:13px%7D58.33%25%7Bx:1px;y:13px%7D75%25%7Bx:1px;y:13px%7D83.33%25%7Bx:1px;y:1px%7D%7D%3C/style%3E%3Crect class='spinner_9y7u' x='1' y='1' rx='1' width='10' height='10'/%3E%3Crect class='spinner_9y7u spinner_DF2s' x='1' y='1' rx='1' width='10' height='10'/%3E%3Crect class='spinner_9y7u spinner_q27e' x='1' y='1' rx='1' width='10' height='10'/%3E%3C/svg%3E");
    background-position: center center;
    background-repeat: no-repeat;
}

.ticketBox--maximize {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: auto !important;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}
.ticketBox--maximize img {
    width: 400px !important;
    max-width: calc(100% - 60px);
    height: auto;
}