/* Base: modern-normalize, CSS variables, fonts, global utilities, layout, preloader */

/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */

*,
:before,
:after {
    box-sizing: border-box
}

html {
    font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    -webkit-font-smoothing: antialiased
}

body {
    margin: 0
}

hr {
    height: 0;
    color: inherit
}

abbr[title] {
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

table {
    text-indent: 0;
    border-color: inherit
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
select {
    text-transform: none
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
    border: none;
    background: transparent
}

::-moz-focus-inner {
    border-style: none;
    padding: 0
}

:-moz-focusring {
    outline: 1px dotted ButtonText
}

:-moz-ui-invalid {
    box-shadow: none
}

legend {
    padding: 0
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

a {
    text-decoration: none
}

a,
a:active,
a:hover,
a:visited {
    color: currentColor;
    outline: 0
}

:root {
    --color-error: #e90000;
    --color-off-white: #f0f1fa;
    --color-white: #fff;
    --color-dark-white: #e4e6ef;
    --color-off-white-semi: rgba(240, 241, 250, .7);
    --color-black: #000000;
    --color-green: #c1ff00;
    --color-blue: #0a3d8f;
    --color-gold: #c5a44e;
    --color-red: #ff4c41;
    --color-grey-blue: #2b2e3a;
    --color-dark-blue: #071bdf;
    --color-purple: #8832f7;
    --color-project-details-logo-color: #f0f;
    --grid-space: calc((100% - 11 * var(--grid-gap)) / 12);
    --grid-gap: 2vw;
    --global-border-radius: 20px;
    --base-padding-x: max(5vw, 40px);
    --base-padding-y: clamp(30px, 4vw, 50px);
    --header-color: #0a3d8f;
    --header-text-color: #000000;
    --project-details-bg: #000;
    --project-details-highlight: #000;
    --project-details-btn-bg: #000;
    --project-details-btn-text: #000;
    --project-details-icon-bg: #000;
    --project-details-icon-color: #000;
    --project-details-text: #000;
    --project-details-btn-bg-hover: #000;
    --project-details-btn-text-hover: #fff;
    --header-size: clamp(1rem, 1vw, 2rem);
    --cross-size: clamp(.875rem, 1vw, 2rem)
}

@media (max-width: 812px) {
    :root {
        --grid-gap: 4vw;
        --global-border-radius: 15px
    }
}

@media (min-aspect-ratio: 21/9) {
    :root {
        --base-padding-x: max(6vw, 60px)
    }
}

@media (max-width: 380px) {
    :root {
        --header-size: clamp(.75rem, 1vw, 2rem)
    }
}

@media (max-width: 812px) {
    :root {
        --global-border-radius: 10px
    }
}

@media (max-width: 812px) {
    :root {
        --base-padding-x: 25px;
        --base-padding-y: 25px
    }
}

@media (max-width: 400px) {
    :root {
        --base-padding-x: 15px;
        --base-padding-y: 15px
    }
}

.template--no-select {
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

.template--no-select:focus {
    outline: none
}

.template--fixed-full-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none
}

.text-xs {
    font-size: .75em
}

.text-base {
    font-size: clamp(1rem, 1.5vw, 2rem)
}

@media (max-width: 812px) {
    .text-base {
        font-size: .875em
    }
}

.text-lg {
    font-size: 1.75em
}

@media (max-width: 812px) {
    .text-lg {
        font-size: 1.5em
    }
}

.text-4xl {
    font-size: clamp(7em, 8vw, 20em)
}

@media (max-width: 812px) {
    .text-4xl {
        font-size: 13vw
    }
}

@font-face {
    font-family: Aeonik;
    src: url(/assets/fonts/Aeonik-Regular.woff2) format("woff2"), url(/assets/fonts/Aeonik-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: Aeonik;
    src: url(/assets/fonts/Aeonik-Medium.woff2) format("woff2"), url(/assets/fonts/Aeonik-Medium.woff) format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: Aeonik;
    src: url(/assets/fonts/Aeonik-RegularItalic.woff2) format("woff2"), url(/assets/fonts/Aeonik-RegularItalic.woff) format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: block
}

@font-face {
    font-family: IBMPlexMono;
    src: url(/assets/fonts/IBMPlexMono-Regular.woff2) format("woff2"), url(/assets/fonts/IBMPlexMono-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: IBMPlexMono;
    src: url(/assets/fonts/IBMPlexMono-Medium.woff2) format("woff2"), url(/assets/fonts/IBMPlexMono-Medium.woff) format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: CustomMono;
    src: url(/assets/fonts/CustomMono.woff2) format("woff2"), url(/assets/fonts/CustomMono.woff) format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block
}

html,
body,
h1,
h2,
h3,
h4,
button,
input {
    font-family: Aeonik;
    font-weight: 400;
    font-style: normal
}

.dg .dg.main {
    margin-right: 0;
    margin-left: 10px
}

.dg.main .property-name {
    padding-right: 5px
}

.dg.main li.title {
    background-image: none;
    position: relative
}

.dg.main li.title:before {
    position: absolute;
    content: "-";
    left: 5px
}

.dg.main .closed li.title {
    background-image: none
}

.dg.main .closed li.title:before {
    content: "+"
}

.dg.main .c .slider {
    position: relative;
    background: transparent
}

.dg.main .c .slider:hover {
    background: transparent
}

.dg.main .c .slider:hover .slider-fg {
    background: #0ff
}

.dg.main .c .slider:before {
    position: absolute;
    content: "";
    display: block;
    top: 25%;
    height: 50%;
    width: 100%;
    background-color: #111
}

.dg.main .c .slider-fg {
    background: #0cc;
    position: absolute;
    top: 25%;
    height: 50%
}

.dg.main .cr.number {
    border-left: 3px solid #0ff
}

.dg.main .cr.number input[type=text] {
    color: #0ff
}

.dg.ac {
    z-index: 999 !important
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--color-white);
    color: var(--color-off-white);
    overflow: hidden;
    overscroll-behavior: none
}

@media (min-aspect-ratio: 21/9) {
    html,
    body {
        font-size: .6em
    }
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none
}

#canvas {
    pointer-events: auto;
    display: none
}

.is-ready #canvas {
    display: block
}

#ui {
    position: fixed;
    width: 100%;
    color: var(--color-black);
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

#ui:focus {
    outline: none
}

a,
btn,
button,
input {
    pointer-events: auto
}

a {
    user-select: none;
    -webkit-user-drag: none
}

#sections-container {
    position: absolute;
    width: 100%
}

.section {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gap);
    padding: var(--base-padding-y) var(--base-padding-x)
}

@media (max-width: 812px) {
    .section {
        grid-template-columns: repeat(6, minmax(0, 1fr))
    }
}

#input-blocker {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    opacity: 0;
    z-index: 1000
}

#transition-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    pointer-events: auto
}

button:focus {
    outline: 0
}

*:focus {
    outline: 0
}

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    background-color: var(--color-black)
}

html.is-ready #preloader {
    background-color: transparent
}

#preloader-percent-digits {
    position: absolute;
    justify-content: center;
    bottom: 0;
    left: 0;
    font-size: clamp(7em, 8vw, 20em);
    height: .75em;
    line-height: .75em;
    color: var(--color-white);
    overflow: hidden
}

@media (max-width: 812px) {
    #preloader-percent-digits {
        font-size: 13vw
    }
}

.preloader-percent-digit {
    position: relative;
    float: left;
    width: 1ch;
    text-align: center;
    transform: translateY(-.05em)
}

#about-hero-title .word,
#projects-main-title .word,
#submit-title .word,
#contact-title .word,
#insights-main-title .word {
    overflow: hidden;
    display: inline-block;
    vertical-align: top
}

#about-hero-title .char,
#projects-main-title .char,
#submit-title .char,
#contact-title .char,
#insights-main-title .char {
    display: inline-block;
    will-change: transform
}
