* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.20em;
    letter-spacing: -0.02em;
    font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
    background-color: rgb(30, 30, 30);
    color: white;
}

main {
    min-height: 70vh;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
label,
button {
    font-weight: 500;
    line-height: 1.2em;
    margin: 0;
}


canvas {
    margin: 1rem;
    position: fixed;
    top: 0;
    right: 0;
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 1)
}

aside {
    padding: 1rem;
    max-width: 25vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a {
    color: inherit;
    cursor: pointer;
    transition: color 150ms;
}

a:hover,
button:hover {
    color: rgb(136, 136, 136);
    border-color: rgb(136, 136, 136);
}

a.t-gray:hover,
a.t-gray.active,
button.t-gray:hover,
button.t-gray.active {
    color: black;
    border-color: black;
}

a.expand-target::after {
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    width: 100%;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    background-color: rgba(230, 230, 230);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li,
ul dt,
ul dd,
dl li,
dl dt,
dl dd {
    margin: 0;
    display: block;
    height: fit-content;
}

dl dd {
    margin-bottom: 1em;
}

table th,
table tr,
table td {}


small {
    font-size: 60%;
}

strong {
    font-weight: 500;
}

address {
    font-style: normal;
}

figure {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
}

img.expand {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img.contain {
    object-fit: contain;
}

img.rounded {
    border-radius: 2px;
}

video {
    width: 100%;
    height: auto;
}

caption {
    text-align: left;
}

::selection {
    background-color: rgb(50, 50, 50);
    color: white;
}

.no-scroll {
    overflow: hidden;
}

hr {
    width: 100%;
    border: 0;
    background-color: rgb(180, 180, 180);
    height: 1.5px;
    margin: 0;
}

/* Inputs */
form {
    position: relative;
}

input[type=text],
input[type=search],
input[type=email],
input[type=url] {
    border-radius: 0;
    border: 0;
    padding: 0.4rem 0;
    border-bottom: 1.5px solid black;
    background-color: transparent;
    width: 100%;
}

input[type=text]::placeholder,
input[type=search]::placeholder,
input[type=email]::placeholder,
input[type=url]::placeholder {
    color: rgb(136, 136, 136);
}

input[type="submit"] {
    position: absolute;
    background: transparent;
    border: 0;
    right: 0;
    top: 50%;
    padding: 0;
    translate: 0 -50%;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0.75rem 0;
}

/***** Track Styles *****/
/***** Chrome, Safari, Opera, and Edge Chromium *****/
input[type="range"]::-webkit-slider-runnable-track {
    background: rgb(150, 150, 150);
    height: 1rem;
}

/******** Firefox ********/
input[type="range"]::-moz-range-track {
    background: rgb(150, 150, 150);
    height: 1rem;
}

/***** Thumb Styles *****/
/***** Chrome, Safari, Opera, and Edge Chromium *****/
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    /* Override default look */
    appearance: none;
    translate: 0;
    /* Centers thumb on the track */
    background-color: white;
    height: 1rem;
    width: 1rem;
}

input[type="color"] {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    cursor: pointer;
    height: 2rem;
    padding: 0;
    border-radius: 0.25rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    width: 2rem;
}

*:focus {
    border-radius: 0;
    outline: none;
}

::-webkit-color-swatch-wrapper {
    padding: 0;
}

::-webkit-color-swatch {
    border: 0;
    border-radius: 0;
}

::-moz-color-swatch,
::-moz-focus-inner {
    border: 0;
}

::-moz-focus-inner {
    padding: 0;
}

*:focus-visible {
    outline: 2px solid rgba(150, 150, 150, 0.2);
}


/* 
    Colors (c)
*/
.c-primary {
    color: var(--primaryColor);
}

.c-secondary {
    color: var(--secondaryColor);
}

.c-darkgray {
    color: rgb(163, 163, 163);
}

.c-gray {
    color: rgb(163, 163, 163);
}

.c-lightgray {
    color: rgb(163, 163, 163);
}

/* 
    Display 
*/

.inline {
    display: inline;
}

.block {
    display: block;
}

.flex {
    display: flex;
    gap: 0.5rem;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.align-center {
    align-items: center;
}

.justify-space-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}


/* 
    Padding 
*/

.pad-xs {
    padding: 16px 1rem;
}

.pad-s {
    padding: 16px 1rem;
}

.pad-m {
    padding: 16px 1rem;
}

.pad-l {
    padding: 32px 2rem;
}

.pad-xl {
    padding: 48px 3rem;
}

/* Desktop */
@media only screen and (min-width: 64rem) {
    .pad-xs {
        padding: 16px 1rem;
    }

    .pad-s {
        padding: 20px 1.25rem;
    }

    .pad-m {
        padding: 32px 2.5rem;
    }

    .pad-l {
        padding: 48px 3rem;
    }

    .pad-xl {
        padding: 64px 4rem;
    }
}

/* 
    Margins 
*/

.mar-xs {
    margin: 12px;
}

.mar-s {
    margin: 16px;
}

.mar-m {
    margin: 32px 1.5rem;
}

.mar-l {
    margin: 48px;
}

.mar-xl {
    margin: 64px;
}

.mar-top-xs {
    margin-top: 0.75rem;
}

.mar-top-s {
    margin-top: 1rem;
}

.mar-top-m {
    margin-top: 2rem;
}

.mar-top-l {
    margin-top: 3rem;
}

.mar-top-xl {
    margin-top: 6rem;
}

.mar-bot-xs {
    margin-bottom: 0.75rem;
}

.mar-bot-s {
    margin-bottom: 1rem;
}

.mar-bot-m {
    margin-bottom: 2rem;
}

.mar-bot-l {
    margin-bottom: 3rem;
}

.mar-bot-xl {
    margin-bottom: 4rem;
}

.mar-right-s {
    margin-right: 1rem;
}

.mar-right-m {
    margin-right: 2rem;
}

.mar-right-l {
    margin-right: 3rem;
}

.mar-right-xl {
    margin-right: 4rem;
}

/* Desktop */
@media only screen and (min-width: 64rem) {
    .mar-m {
        margin: 32px 2.5rem;
    }
}

/* 
    Animations 
*/

.fade-in {
    animation: fade-in 250ms both;
}

@keyframes fade-in {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* 
    Icons and Images 
*/
.icon {
    width: 0.75rem;
    height: 0.75rem;
    opacity: 0.5;
    transition: 300ms;
}

.bullet {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: black;
}

.bullet.lightgray {
    background-color: #D9D9D9;
}

.bullet.gray {
    background-color: #888888;
}


.t-caption {
    font-size: 0.75rem;
    line-height: 1.3em;
}

.t-body {
    font-size: 0.9rem;
    line-height: 1.3em;
}

.t-h3 {
    font-size: 1.2rem;
    line-height: 1.1em;
}

.t-bold {
    font-weight: 700;
}

.t-gray {
    color: rgb(150, 150, 150);
}

.settings {
    display: none;
}

.settings.active {
    display: block;
}
