@font-face {
    font-family: "Bricolage Grotesque";
    src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-stretch: 75% 100%;
    font-display: swap;
}

/* ==========================================================================
   1. CSS RESET & GLOBAL VARIABLES
   ========================================================================== */
:root {
    /* System Font Stacks */
    --font-sans: "Bricolage Grotesque", system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

    /* Theme Colors */
    --bg-primary: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent: #2563eb;
    --border: #e5e7eb;

    /* Spacing & Layout */
    --container-width: 1200px;
    --radius: 6px;
    --paint-header-height: 100px;
}

/* Modern reset for reliable cross-browser sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   2. BASE STYLES
   ========================================================================== */
body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    font-weight: 430;
    padding-top: var(--paint-header-height);
    padding-top: calc(var(--paint-header-height) + env(safe-area-inset-top, 0px));
    overflow-x: hidden;
    isolation: isolate;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-padding-top: calc(var(--paint-header-height) + 1rem);
    scroll-padding-top: calc(var(--paint-header-height) + 1rem + env(safe-area-inset-top, 0px));
}

body>header,
body>h1,
.site-panels,
body>footer {
    position: relative;
    z-index: 1;
}

/* Handle typography scaling */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 650;
    line-height: 1.25;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: capitalize;
}

h1 {
    margin-top: 2rem;
    padding: 0 1rem;
    letter-spacing: -0.035em;
    text-shadow: var(--heading-shadow);
}

p,
ul,
ol {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

ul li {
    list-style-type: none;
}

a:link,
a:visited {
    color: rgb(251, 0, 255);
    font-weight: 800;
    text-decoration: none;
}

a:active,
a:hover {
    color: rgb(0, 255, 42);
    font-weight: 800;
    text-decoration: none;
}

/* Apply system monospace to code elements globally */
code,
kbd,
samp,
pre {
    font-family: var(--font-mono);
    font-size: 0.9em;
    background-color: #f3f4f6;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

pre {
    padding: 1rem;
    overflow-x: auto;
}

pre code {
    background-color: transparent;
    padding: 0;
}

/* Responsive media defaults */
img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

li img {
    display: inline-block;
    vertical-align: middle;
}

/* Basic utility container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: center;
}

/* FIXED PAINT-PALETTE HEADER */
body>header.paint-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    height: var(--paint-header-height);
    height: calc(var(--paint-header-height) + env(safe-area-inset-top, 0px));
    padding: 0;
    padding: env(safe-area-inset-top, 0px) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(155,155,155, 0.5);
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    contain: layout paint;
    overflow: hidden;
}

footer {
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
}

.paint-dial {
    position: relative;
    width: 132px;
    height: 100px;
    flex: 0 0 auto;
    contain: layout;
}

.paint-knob,
.paint-option {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    font: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.paint-knob {
    --knob-angle: 0deg;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: visible;
    background: transparent;
    cursor: pointer;
    transform: translateX(-50%);
}

.paint-knob img {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 46px;
    max-width: none;
    height: 46px;
    margin: 0;
    object-fit: contain;
    transform: translate(-50%, -50%) rotate(var(--knob-angle));
    transform-origin: center;
    transition: transform 280ms cubic-bezier(0.3, 0.7, 0.3, 1);
}

.paint-option {
    position: absolute;
    z-index: 3;
    width: 14px;
    height: 14px;
    padding: 2px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 5px rgba(17, 24, 39, 0.22);
    cursor: pointer;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.paint-option::after {
    position: absolute;
    inset: -8px;
    content: "";
}

.paint-option:hover {
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.32);
}

.paint-option[aria-pressed="true"] {
    box-shadow: inset 0 0 0 2px var(--cta);
}

.paint-option-qmob {
    top: auto;
    bottom: 9px;
    left: 12px;
}

.paint-option-electric {
    top: auto;
    right: 12px;
    bottom: 9px;
}

.paint-option-full {
    right: 50%;
    bottom: 9px;
    padding: 0;
    border: 2px solid var(--text-primary);
    background: transparent;
    box-shadow: none;
    transform: translateX(50%);
}

.paint-option-full:hover {
    background: var(--cta);
    box-shadow: none;
}

.paint-option-full[aria-pressed="true"] {
    background: var(--cta);
    box-shadow: inset 0 0 0 2px var(--text-primary);
}

.paint-swatch {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.paint-swatch-quiet {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.2);
}

.paint-swatch-dark {
    background: #15171a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.paint-knob:focus-visible,
.paint-option:focus-visible {
    outline: 3px solid rgb(255, 0, 127);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#copyyear {
    display: inline;
}

.smallcap {
    text-transform: uppercase;
    font-size: 0.8rem;
}

.status-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 0;
    color: #f8fafc;
}

.status-page-thanks {
    --bg-primary: #07130d;
    background:
        radial-gradient(circle at 50% -10%, rgba(114, 245, 139, 0.34), transparent 38rem),
        #07130d;
}

.status-page-error {
    --bg-primary: #170710;
    background:
        radial-gradient(circle at 50% -10%, rgba(255, 0, 127, 0.3), transparent 38rem),
        #170710;
}

.status-page > header {
    padding: clamp(2rem, 7vh, 4.5rem) 1rem 1.25rem;
}

.status-page > header .container {
    padding: 0;
}

.status-page > header img {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    object-fit: contain;
}

.status-page .site-panels {
    flex: 1 0 auto;
    align-content: flex-start;
    margin-top: 0;
    padding-top: 1rem;
}

.status-page .panel {
    max-width: 560px;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    text-align: center;
}

.status-page h1 {
    margin: 0 0 1rem;
    padding: 0;
    font-size: clamp(2rem, 7vw, 2.75rem);
    letter-spacing: -0.025em;
}

.status-page .panel p {
    margin-bottom: 1rem;
}

.status-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.status-actions a:link,
.status-actions a:visited {
    padding: 0.65rem 0.9rem;
    border: 1px solid #22c978;
    border-radius: 7px;
    background: linear-gradient(135deg, #72f58b, #28d7e5);
    color: #071108;
    box-shadow: 0 4px 14px rgba(34, 201, 120, 0.2);
}

.status-actions a:hover,
.status-actions a:focus-visible {
    border-color: #72f58b;
    background: #0b0e0c;
    color: #72f58b;
    outline: none;
    box-shadow: 0 4px 16px rgba(114, 245, 139, 0.2);
}

.status-page footer {
    margin-top: 0;
    padding: 1.5rem;
    color: rgba(248, 250, 252, 0.7);
}

.status-page .panel-light {
    background-color: rgba(255, 255, 255, 0.96);
}

/* FORM */

.site-panels {
    width: 100%;
    max-width: var(--container-width);
    margin: 2rem auto 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.panel {
    flex: 1 1 320px;
    max-width: 520px;
    padding: 1.25rem;
    border-radius: 11px;
    page-break-inside: avoid;
    break-inside: avoid-column;
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.24), 0 4px 8px 0 rgba(0, 0, 0, 0.19);
}

.panel-wide {
    flex-basis: 100%;
    max-width: 1064px;
}

.panel h2 {
    text-align: left;
}

.panel p {
    color: inherit;
}

.panel-dark {
    color: white;
    background-color: rgba(0, 0, 0, 0.9);
}

.panel-light {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
}

#contact {
    text-align: left;
}

#contact h2 {
    display: block;
    margin: -1.25rem -1.25rem 1.15rem;
    padding: 1rem 1.25rem;
    border-radius: 11px 11px 0 0;
    background: transparent;
    transition: background 260ms ease, color 260ms ease, box-shadow 260ms ease;
}

#contact.contact-highlight h2 {
    background: var(--cta);
    color: #000000;
    box-shadow: 0 10px 24px rgba(52, 205, 178, 0.22);
}

#websites,
#apps {
    text-align: left;
}

.services-panel {
    overflow: hidden;
    text-align: left;
}

.services-panel h2,
.services-panel h3 {
    text-align: left;
}

.panel-kicker {
    margin-bottom: 0.35rem;
    color: var(--link);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-intro {
    max-width: 880px;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.service-item {
    padding: 1rem;
    border-top: 3px solid #000000;
    border-radius: var(--radius);
    background: #f3f4f6;
}

.service-item h3 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.service-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.services-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    background: #000000;
    color: #ffffff;
}

.services-footer p {
    margin-bottom: 0;
    color: #ffffff;
}

.services-cta:link,
.services-cta:visited {
    flex: 0 0 auto;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
    text-align: center;
}

.app-list {
    margin-bottom: 1.25rem;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
}

.app-link span {
    display: grid;
    gap: 0.1rem;
}

.app-link small {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-meta {
    margin-top: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.contact-meta p {
    color: inherit;
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .site-panels {
        flex-direction: column;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .panel {
        width: 100%;
        max-width: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .services-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media print {
    body {
        padding-top: 0;
    }

    .paint-header {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .paint-knob img {
        transition: none;
    }
}

/* ==========================================================================
   THEME SYSTEM
   The atmosphere is CSS-only: no canvas, timers, or continuous repaint loop.
   ========================================================================== */
:root,
:root[data-theme="quiet"] {
    color-scheme: light;
    --bg-primary: #f8fafc;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --border: #dfe4ea;
    --panel-bg: rgba(255, 255, 255, 0.96);
    --panel-soft: #f1f3f6;
    --panel-strong: #111111;
    --panel-strong-text: #ffffff;
    --header-bg: rgba(248, 250, 252, 0.88);
    --link: #111713;
    --link-hover: #071108;
    --link-line: #22c978;
    --focus: #22c978;
    --cta: #72f58b;
    --cta-hover: #45df76;
    --heading-shadow: 0 2px 16px rgba(34, 201, 120, 0.14);
    --atmosphere-opacity: 0;
    --puddle-a: rgba(34, 201, 120, 0.2);
    --puddle-b: rgba(114, 245, 139, 0.13);
    --puddle-c: rgba(255, 255, 255, 0);
}

:root[data-theme="qmob"] {
    color-scheme: dark;
    --bg-primary: #0c0d0f;
    --text-primary: #f8fafc;
    --text-secondary: #c4cad3;
    --border: #363a42;
    --panel-bg: rgba(24, 25, 29, 0.96);
    --panel-soft: #24262c;
    --panel-strong: #050505;
    --panel-strong-text: #ffffff;
    --header-bg: rgba(12, 13, 15, 0.9);
    --link: #a9f7cf;
    --link-hover: #d5ffe8;
    --link-line: #72f58b;
    --focus: #72f58b;
    --cta: #72f58b;
    --cta-hover: #9cffad;
    --heading-shadow: 0 2px 18px rgba(114, 245, 139, 0.22);
    --atmosphere-opacity: 0.72;
    --puddle-a: rgba(34, 201, 120, 0.22);
    --puddle-b: rgba(114, 245, 139, 0.12);
    --puddle-c: rgba(255, 255, 255, 0);
}

:root[data-theme="color"] {
    color-scheme: light;
    --bg-primary: #f8f7fb;
    --text-primary: #13131a;
    --text-secondary: #444653;
    --border: rgba(19, 19, 26, 0.14);
    --panel-bg: rgba(255, 255, 255, 0.9);
    --panel-soft: rgba(244, 244, 248, 0.94);
    --panel-strong: #111118;
    --panel-strong-text: #ffffff;
    --header-bg: rgba(248, 247, 251, 0.84);
    --link: #111713;
    --link-hover: #071108;
    --link-line: #22c978;
    --focus: #22c978;
    --cta: #72f58b;
    --cta-hover: #45df76;
    --heading-shadow: 0 2px 16px rgba(34, 201, 120, 0.18);
    --atmosphere-opacity: 0.72;
}

html {
    background: var(--bg-primary);
}

body {
    min-height: 100vh;
    background: var(--bg-primary);
    transition: background-color 320ms ease, color 320ms ease;
}

.theme-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: var(--atmosphere-opacity);
    background:
        radial-gradient(ellipse 46rem 36rem at -3% 18%, var(--puddle-a), transparent 66%),
        radial-gradient(ellipse 42rem 48rem at 103% 66%, var(--puddle-b), transparent 68%);
    transform: translate3d(0, 0, 0);
    transition: opacity 380ms ease, background 380ms ease;
}

:root[data-theme="color"] .theme-atmosphere {
    inset: -35vmax;
    opacity: var(--atmosphere-opacity);
    background:
        conic-gradient(
            from 12deg at 50% 50%,
            #22c978 0%,
            #72f58b 16%,
            #08734d 32%,
            #f2dd4b 48%,
            #72f58b 64%,
            #0aa66c 80%,
            #22c978 100%
        );
    mask-image: radial-gradient(circle at center, #000 0 42%, rgba(0, 0, 0, 0.78) 58%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at center, #000 0 42%, rgba(0, 0, 0, 0.78) 58%, transparent 78%);
    filter: blur(46px) saturate(1.18);
    backface-visibility: hidden;
    will-change: transform;
    animation: kaleidoscope-turn 18s ease-out 1 forwards;
}

@keyframes kaleidoscope-turn {
    from {
        transform: rotate(0deg) scale(1.02);
    }

    to {
        transform: rotate(360deg) scale(1.08);
    }
}

body > header.paint-header {
    background: var(--header-bg);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    transition: background-color 320ms ease, border-color 320ms ease;
}

a:link,
a:visited {
    color: #087a4f;
    text-decoration: none;
}

a:active,
a:hover {
    color: #045d3d;
    text-decoration: none;
}

:root[data-theme="qmob"] a:link,
:root[data-theme="qmob"] a:visited,
.panel-dark a:link,
.panel-dark a:visited,
.services-footer a:link,
.services-footer a:visited {
    color: #8cffaa;
}

:root[data-theme="qmob"] a:hover,
.panel-dark a:hover,
.services-footer a:hover {
    color: #d2ffdc;
    text-decoration: none;
}

.panel-light {
    color: var(--text-primary);
    background: var(--panel-bg);
    border-color: var(--border);
    transition: background-color 320ms ease, border-color 320ms ease, color 320ms ease;
}

.service-item {
    border-color: var(--text-primary);
    background: var(--panel-soft);
    transition: background-color 320ms ease, border-color 320ms ease;
}

.services-footer,
.panel-dark {
    color: var(--panel-strong-text);
    background: var(--panel-strong);
}

html body .services-footer a.services-cta:link,
html body .services-footer a.services-cta:visited,
html body form #subCont {
    border: 1px solid #22c978;
    border-radius: 7px;
    background: linear-gradient(135deg, #72f58b, #28d7e5);
    color: #071108;
    box-shadow: 0 4px 14px rgba(34, 201, 120, 0.22);
    text-decoration: none;
    text-shadow: none;
}

html body .services-footer a.services-cta:hover,
html body .services-footer a.services-cta:focus-visible,
html body .services-footer a.services-cta:active,
html body form #subCont:hover,
html body form #subCont:focus-visible,
html body form #subCont:active {
    border-color: #72f58b;
    background: #0b0e0c;
    color: #72f58b;
    outline: none;
    box-shadow: 0 4px 16px rgba(114, 245, 139, 0.2);
    text-shadow: 0 0 4px rgba(114, 245, 139, 0.28);
    cursor: pointer;
}

.paint-knob:focus-visible,
.paint-option:focus-visible {
    outline-color: var(--focus);
}

@media (max-width: 760px) {
    :root {
        --paint-header-height: 116px;
    }

    .paint-dial {
        width: 124px;
        height: 108px;
    }

    .paint-knob {
        top: 6px;
        width: 72px;
        height: 72px;
    }

    .paint-option {
        width: 13px;
        height: 13px;
        padding: 2px;
    }

    .paint-option-qmob,
    .paint-option-electric {
        top: auto;
        bottom: 8px;
    }

    .paint-option-qmob {
        left: 10px;
    }

    .paint-option-electric {
        right: 10px;
    }

    .paint-option-full {
        bottom: 8px;
        width: 13px;
        height: 13px;
    }

    .theme-atmosphere {
        background:
            radial-gradient(ellipse 25rem 34rem at -18% 14%, var(--puddle-a) 0%, color-mix(in srgb, var(--puddle-a) 42%, transparent) 42%, transparent 66%),
            radial-gradient(ellipse 27rem 38rem at 118% 64%, var(--puddle-b) 0%, color-mix(in srgb, var(--puddle-b) 38%, transparent) 45%, transparent 68%);
    }

    :root[data-theme="color"] .theme-atmosphere {
        inset: -45vmax;
        background:
            conic-gradient(
                from 12deg at 50% 50%,
                #22c978 0%,
                #72f58b 16%,
                #08734d 32%,
                #f2dd4b 48%,
                #72f58b 64%,
                #0aa66c 80%,
                #22c978 100%
            );
        filter: blur(34px) saturate(1.14);
        animation-duration: 18s;
    }
}

@media (prefers-reduced-motion: reduce) {
    body,
    .theme-atmosphere,
    .panel-light,
    .service-item,
    body > header.paint-header {
        transition: none;
    }

    :root[data-theme="color"] .theme-atmosphere {
        animation: none;
    }
}

form {
    display: -ms-grid;
    -ms-grid-columns: 1fr;
    gap: 0 0;
    display: grid;
    grid-template-columns: 1fr;
    margin: 0 auto;
    align-items: left;
    justify-items: center;
    justify-content: center;
}

form div input {
    font-size: 1.1rem;
    justify-self: center;
    box-sizing: border-box;
    padding: 3px;
    width: 300px;
}

form div textarea {
    resize: vertical;
    font-size: 1.1rem;
    box-sizing: border-box;
    padding: 3px;
    width: 300px;
}

form label {
    margin: 0.5rem 0 0;
    display: block;
    clear: both;
    text-transform: uppercase;
    font-weight: 600;
}

.error-message {
    font-size: 0.9rem;
    font-weight: 700;
    font-style: italic;
    color: rgb(249, 202, 36);
    margin: 0 auto 0.5rem;
    text-align: left;
}

form #subCont {
    font-size: 1.1rem;
    font-weight: 600;
    width: 120px;
    padding: 0.2em;
    margin: 1rem 0;
    transition-duration: 0.3s;
}

.g-recaptcha {
    margin: 1rem 0;
}


/* pure js dialog */
/* modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 100;
    /* Sit on top */
    padding-top: 50%;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* modal content */
.modal-content {
    position: relative;
    background-color: black;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* close button */
.close {
    color: white;
    float: right;
    font-size: 2rem;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: hotpink;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0);
    color: white;
}

.modal-header h2 {
    color: white;
    padding: 0;
}

.modal-body {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0);
    color: white;
    text-align: center;
    vertical-align: middle;
}

.modal-footer {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0);
    color: white;
    text-align: center;
    img {
        display: block;
        margin: 1rem auto;
    }
}

/* end pure js dialog */
