:root {
    --background-color: inherit;
    --text-color: inherit;
    --link-color: inherit;
    --link-hover-color: inherit;
}

@font-face {
    font-family: 'Indie Flower';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/indieflower/v21/m8JVjfNVeKWVnh3QMuKkFcZVaUuH99GUDg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Roboto Condensed', sans-serif;
    src: url(https://penumbra.blob.core.windows.net/fonts/RobotoCondensed-VariableFont_wght.ttf) format('truetype');
}

/* latin-ext */
@font-face {
    font-family: 'Archivo Narrow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/archivonarrow/v30/tss5ApVBdCYD5Q7hcxTE1ArZ0Zz8oY2KRmwvKhhvLFG6rXmsNiEr6DaY7JU.woff2) format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Archivo Narrow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/archivonarrow/v30/tss5ApVBdCYD5Q7hcxTE1ArZ0Zz8oY2KRmwvKhhvLFG6o3msNiEr6DaY.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    height: 100vh;
    min-height: 100vh;
    background-color: var(--background-color);
    color: var(--text-color);

    /* inner shadow */
    box-shadow: inset 0 0 8vw 1vh var(--background-color-faded, #00000055);
    position: fixed;
}

.text-shadow {
    text-shadow: 0 2px 12px black;
}

.app-render:empty {
    display: none;
}


input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"] {
    padding: 6px;
    font-size: 1em;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: #CCC;
}

.form .form-group {
    display: flex;
    margin-top: 0.5em;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    gap: 24px;
}

.form .form-group > input[type="text"],
.form .form-group > input[type="password"],
.form .form-group > input[type="email"],
.form .form-group > input[type="tel"],
.form .form-group > input[type="url"],
.form .form-group > input[type="search"],
.form .form-group > input[type="number"],
.form .form-group > input[type="date"],
.form .form-group > input[type="datetime"],
.form .form-group > input[type="datetime-local"] {
    margin-left: auto;
    width: 240px;
}

.form .form-group > label { 
    display: inline-block;
    white-space: nowrap;
    width: 140px;
}

.form-error { 
    color: maroon;
    padding-top: 6px;
    display: block;
}

.form-error.general-error { 
    padding-top: 12px;
    padding-bottom: 12px;
}

.form-error:empty { 
    display: none!important;
}

div.qr-body,
body.qr-body {
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    
    margin: 0;
    z-index: 0;
    width: 100vw;
    max-width: 100vw;
}

div.qr-body { 
    /*z-index: 1;*/
}

* {
    box-sizing: border-box;
}

a { 
    cursor: pointer;
}

body > video {
    display: none;
}

body > canvas {
    z-index: 1;
    position: fixed;
}

body > span#canvas-container { 
    
}

body > #landing-page-settings {
    display:  none;
}

::-webkit-scrollbar {
    display: none;
    -webkit-appearance: none;
}

div.active-background {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;

    position: fixed;
}

div.active-background > .image-container {
    width: 100%;
    max-width: 100vw;
    position: relative;
    text-align: center;
    overflow: visible;
    display: block;
    padding: 0;
    margin: 0;
    opacity: 1.0;
}

#debug-area {
    color: white;
    display: none;
    font-size: 12px;
    position: fixed;
    z-index: 12;
    left: 0;
    top: 0;
    line-height: 1.3;
    background-color: #FF000022;
}

#debug-area > .warn {
    color: yellow;
}


#error-container {
    position: fixed;
    display: block;
    left: 0;
    right: 0;
    bottom: -100%;
    opacity: 1.0;
    background-color: transparent;
    z-index: 10000;
    padding: 12px;

    transition-duration: 1s;
    transition-timing-function: linear;
    transition-property: opacity, bottom;
}

#error-container.show {
    bottom: 0;
    opacity: 1.0;
}

#error-container > div#error-message-div {
    text-align: start;
    display: block;
    width: 100%;
    max-height: 100%;
    border-radius: 12px;

    background-color: #99000088;
    color: pink;
    font-size: 14px;
    padding: 24px 48px;
}

@media (max-width: 768px) {
    .form-error {
        color: maroon;
        padding-top: 0px;
        padding-bottom: 12px;
        display: block;
    }
}
