@font-face {
    font-family: 'justsans_exlight';
    src: url('../fonts/just-sans-exlight-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-exlight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'justsans_exlight_alt';
    src: url('../fonts/just-sans-exlight-alt-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-exlight-alt-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'justsans_light';
    src: url('../fonts/just-sans-light-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'justsans_regular';
    src: url('../fonts/just-sans-regular-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'justsans_regular_alt';
    src: url('../fonts/just-sans-regular-alt-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-regular-alt-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'justsans_medium';
    src: url('../fonts/just-sans-medium-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'justsans_semibold';
    src: url('../fonts/just-sans-semibold-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'justsans_bold';
    src: url('../fonts/just-sans-bold-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'justsans_exbold';
    src: url('../fonts/just-sans-exbold-webfont.woff2') format('woff2'),
    url('../fonts/just-sans-exbold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --cg-color-background: #2086a0;
    --cg-color-foreground: #fefff6;

    --cg-color-box: #fefff644;
    --cg-color-placeholder: #fefff688;
}

body {
    overflow-x: hidden;
    width: 100%;
    font-family: justsans_light, sans-serif;
    color: var(--cg-color-foreground);
    background-color: var(--cg-color-background);
}

main {
    flex: 1;
}

h1 {
    margin-top: min(30vw, 15vh);
    background-image: url(../images/logo.svg);
}
h1:focus {
    outline: none;
}

h2 {
    border-top: 8px solid var(--cg-color-foreground);
    border-bottom: 1px solid var(--cg-color-foreground);
    padding-top: 7px;
    padding-bottom: 10px;
    font-family: justsans_medium, sans-serif;
    letter-spacing: -1px;
}

h3 {
    margin: 0;
    font-family: justsans_light, sans-serif;
    font-size: clamp(1rem, 5vw, 1.6rem);
    letter-spacing: -0.5px;
}

h4 {
    font-family: justsans_medium, sans-serif;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}
h4 .smaller {
    font-size: 1.1rem;
}

h5 {
    font-family: justsans_medium, sans-serif;
    font-size: 1.0rem;
    letter-spacing: -0.5px;
}

a {
    color: var(--cg-color-foreground);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

ul li
{
    margin-bottom: 10px;
}

.edge {
    width: 1px;
    height: 100%;
    margin-left: -1px;
    position: absolute;
    background-color: var(--cg-color-background);
}

.hidden {
    display: none;
}

.center-object {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-logo {
    width: 10rem;
    height: 10rem;
}

.vertical {
    background-image: url(../images/tile_negative.svg);
    background-position: center right;
    background-size: 200%;
}

.horizontal {
    width: 100%;
    height: min(20.6vw, 10.3vh);
    background-color: var(--cg-color-background);
    background-image: url(../images/tile_negative_rot.svg);
    background-position: bottom center;
    background-size: auto 200%;
    z-index: 1000;
}

.sticky {
    position: fixed;
}

.form-control {
    border: 2px solid #fefff6aa;
    border-radius: 10px;
    color: var(--cg-color-foreground);
    font-family: justsans_exlight, sans-serif;
    background-color: transparent;
}
.form-control:focus {
    border-color: var(--cg-color-foreground);
    color: var(--cg-color-foreground);
    background-color: transparent;
    outline: none;
    box-shadow: none;
}
.form-control::placeholder {
    color: var(--cg-color-placeholder);
}
button.form-control,
.form-control[type="button"],
.form-control[type="submit"] {
    font-family: justsans_medium, sans-serif;
    background-color: var(--cg-color-box);
}
button.form-control:disabled,
.form-control[type="button"]:disabled,
.form-control[type="submit"]:disabled {
    background-color: var(--cg-color-box);
}

.callout {
    border: 0;
    border-radius: 10px;
    font-family: justsans_medium, sans-serif;
    color: var(--cg-color-foreground);
    background-color: var(--cg-color-box);
}
.callout:focus {
    outline: none;
}

.error-message {
    border-radius: 10px;
    font-family: justsans_medium, sans-serif;
    color: var(--cg-color-background);
    background-color: var(--cg-color-foreground);
}

.highlight-text {
    font-family: 'justsans_medium', sans-serif;
}

.footer-row {
    margin-top: auto;
    border-top: 1px solid var(--cg-color-foreground);
}

.copy-message {
    position: fixed;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

#blazor-error-ui {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    position: fixed;
    z-index: 1000;
}
/*
#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUg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My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}
*/

.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.error-overlay .error-message {
    width: 400px;
    font-family: justsans_light, sans-serif;
}

.error-overlay .error-message a {
    color: var(--cg-color-background);
    font-family: justsans_medium, sans-serif;
}

.error-overlay .error-message a:hover {
    text-decoration: none;
}

.error-overlay .error-message .form-control {
    width: auto;
    display: inline-block;
    border-color: var(--cg-color-background);
    text-align: center;
}