*,
*::before,
*::after {
    /* outline: 1px dashed green; */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: hsl(25.2, 100%, 42.5%);
    --color-bg-translucent: hsla(25.2, 100%, 42.5%, 0.7);
    --color-text: hsla(0, 0%, 94%, 1);

    --color-bg: hsl(0, 0%, 0%);
    --color-bg-translucent: hsla(0, 0%, 0%, 0.8);
    --color-text: hsla(0, 100%, 53%, 1);

    /* --color-bg: hsla(326, 69%, 72%, 1.0); */
    /* --color-bg-translucent: hsla(326, 69%, 72%, 1.0); */
    /* --color-text: hsla(9, 12%, 22%, 1.0); */
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h2 {
    font-size: 1.25rem;
}

body {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.5;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    position: relative;

    background-color: var(--color-bg);
    color: var(--color-text);
}

#root {
    /* padding: 1rem; */
    /* max-width: 80ch; */
    margin-inline: auto;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.canvas-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* border: 2px solid green; */
    z-index: -999;
    aspect-ratio: auto;
    margin: 0 !important;
    /* width: 100%; */
    /* height: 100%; */
}

.canvas-space {
    flex-grow: 1;
    width: 100%;
    /* height: 100%; */
    /* aspect-ratio: 16 / 9; */
    /* aspect-ratio: 1 / 1; */
    /* outline: 1px solid var(--color-text); */
}

.translucent {
    background-color: var(--color-bg-translucent);
    outline: 1px solid var(--color-text);
}


.outline {
    outline: 1px dashed green;
}

.no-outline {
    outline: none;
}

.italic {
    font-style: italic;
}

.stack-100>*+* {
    margin-top: 1.00rem;
}

.stack-050>*+* {
    margin-top: 0.50rem;
}

.stack-025>*+* {
    margin-top: 0.25rem;
}

.mt-100 {
    margin-top: 1.00rem;
}

.mb-100 {
    margin-bottom: 1.00rem;
}

.mb-075 {
    margin-bottom: 0.75rem;
}

.mb-050 {
    margin-bottom: 0.50rem;
}

.p-050 {
    padding: 0.50rem;
}

.flex-01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-01>* {
    flex-grow: 1;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

/* max width */

.max-width-1200,
.max-width-1400,
.max-width-1600,
.max-width-1800,
.max-width-max-content {
    --max-width: 1200px;

    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
}

.max-width-1400 {
    --max-width: 1400px;
}

.max-width-1600 {
    --max-width: 1600px;
}

.max-width-1800 {
    --max-width: 1800px;
}

.max-width-max-content {
    --max-width: max-content;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}