/* 
    Elements 
*/

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

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.25em;
    font-weight: 600;
    letter-spacing: -0.04em;
}

main {
    min-height: 75vh;
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

a {
    color: blue;
}

menu.no-style,
ul.no-style {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul {
    padding-inline-start: 1.5rem;
    margin-block-start: 0.5em;
    margin-block-end: 2em;
}

img {
    max-width: 100%;
    height: auto;
    object-position: 50% 50%;
    image-rendering: pixelated;
}

a.expand-target::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration-skip-ink: auto;
}

label {
    pointer-events: auto;
}

/* 
    Typography 
*/

.text-mono {
    font-family: monospace;
}

.text-micro {
    font-size: 12px;
}

.text-small {
    font-size: 16px;
}

.text-medium {
    font-size: 20px;
}

.text-large {
    font-size: 24px;
}

.text-uppercase {
    text-transform: uppercase;
}

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

.text-end {
    text-align: end;
}

.line-height-xs {
    line-height: 1rem;
}

.kt p {
    margin-bottom: 1em;
}

/* Utilities */
.align-items-center {
    align-items: center;
}

.flex {
    display: flex;
}

.hide-mobile {
    display: none;
}

/* Tablet (> 768px) */
@media screen and (min-width: 48rem) {
    .hide-mobile {
        display: block;
    }
}

/* Desktop (> 1024px) */
@media screen and (min-width: 64rem) {
    .hide-desktop {
        display: none;
    }
}

/* Margin */
.margin-bottom-xs {
    margin-bottom: 0.25rem;
}

.margin-bottom-s {
    margin-bottom: 0.5rem;
}

.margin-bottom-m {
    margin-bottom: 1rem;
}

.margin-bottom-l {
    margin-bottom: 2rem;
}

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

.margin-top-m {
    margin-top: 1rem;
}

/* Gap */
.gap-xs {
    gap: 0.25rem;
}

.gap-s {
    gap: 0.5rem;
}

.gap-m {
    gap: 1rem;
}

/* 
    Grid
*/

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

/* Span */
.span-7 {
    grid-column: span 7;
}

.span-2 {
    grid-column: span 2;
}

.span-1 {
    grid-column: span 1;
}

/* 
    Components 
*/

.slider {
    width: calc(100% - 0.5rem);
}

.transparency-selecter-container {
    display: none;
}

/* 
    Header 
*/

.header {
    position: fixed;
    z-index: 10;
    width: 100%;
    top: 0;
    left: 0;
    padding: 0.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    background: linear-gradient(180deg, #FFF 34.78%, rgba(255, 255, 255, 0.00) 100%);
    grid-auto-rows: auto 1fr auto auto;
}

/* Desktop (> 1024px) */
@media screen and (min-width: 64rem) {
    .header {
        width: auto;
        right: 68%;
    }
}

.header a {
    color: inherit;
    text-decoration: none;
}

.header a:hover,
.header a:focus-visible {
    text-decoration: underline;
}

.header-title {
    display: flex;
    height: fit-content;
}

.header-title .logo-small {
    display: flex;
    margin-right: 0.5rem;
}

/* 
    Page
*/

.main {
    padding-top: 3rem;
}

.parameters {
    display: none;
}

.parameters.active {
    display: block;
}

.page-aside,
.page-aside-cover-image {
    display: none;
}

/* Desktop (> 1024px) */
@media screen and (min-width: 64rem) {
    .main {
        width: calc(32% - 0.5rem);
    }

    .page-aside{
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 32%;
        right: 0;
        bottom: 0;
        padding: 0.5rem;
        justify-content: center;
        align-items: center;
        border-left: 1.5px solid transparent;
        border-image: linear-gradient(to right, dimgray 0, lightgray 0.75px) 1;
        overflow: hidden;
    }
}

/* 
    Footer
*/

.footer {
    margin-top: 8rem;
}

/* Desktop (> 1024px) */
@media only screen and (min-width: 64rem) {
    .footer {
        width: calc(40% - 0.5rem);
    }
}

/* 
    Canvas 
*/  

canvas {
    display: block;
}