.collapse-btn[collapsed=true]+.collapse-body {
    opacity: 0;
    font-size: 0;
    transition: opacity .4s, font-size .3s .4s
}

.collapse-btn[collapsed=true]+.collapse-body p {
    padding: 0 !important;
    transition: padding .3s .3s
}

.collapse-btn[collapsed=false]+.collapse-body {
    font-size: inherit;
    opacity: 1;
    transition: opacity .3s .3s, font-size .3s
}

.collapse-btn[collapsed=false]+.collapse-body p {
    transition: padding .3s
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #faebd7;
    width: 0px;
    z-index: 5
}

.menu-btn {
    position: fixed;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 0px;
    transition: all .7s;
    z-index: 1;
    justify-content: space-between;
    pointer-events: none
}

nav .btn {
    opacity: 0;
    pointer-events: none;
    padding: 8px 16px;
    fill: #f6d4b1
}

.menu-btn>.btn:first-child {
    padding: 8px 24px;
    margin-right: 16px
}

nav svg {
    transition: all .2s
}

html[data-scroll=true] nav .btn {
    opacity: 1;
    pointer-events: all
}

.active .btn {
    box-shadow: 6px 6px #f6d4b1b3;
    background-color: #f6d4b1;
    color: #525252;
    fill: #525252;
    border-color: #525252;
    opacity: 1 !important;
    pointer-events: all !important
}

.active .btn:hover {
    box-shadow: 8px 8px 6px #f6d4b180
}

.active .btn:active {
    box-shadow: 4px 4px #f6d4b1b3
}

.menu-body {
    background-color: #525252;
    color: #f6d4b1;
    font-size: 2em;
    font-family: public-pixel, monospace;
    text-decoration: none !important;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -100px;
    right: 100vw;
    z-index: 0;
    transition: all .7s;
    display: inline-flex;
    gap: 16px;
    flex-direction: column;
    padding-top: 70px;
    padding-left: 20px;
    overflow: hidden;
    box-sizing: border-box;
    opacity: 0
}

.menu-body a {
    text-decoration: none !important
}

.menu-body a:hover {
    transform: none
}

.active .menu-body {
    left: 0;
    right: 0;
    opacity: 1
}

#tip-scroll {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translate(-50%);
    font-family: chill, sans-serif;
    font-size: 14px;
    box-shadow: 6px 6px #000000bf;
    background-color: #525252;
    color: #f6d4b1;
    transition: all .3s;
    padding: 4px 24px;
    border: #f6d4b1 solid 1px;
    pointer-events: none;
    display: none;
    opacity: 1
}

html[data-scroll=true] #tip-scroll {
    opacity: 0
}

.active #tip-scroll {
    opacity: 0 !important
}

@media (min-width: 540px) {
    .menu-btn {
        justify-content: left
    }

    .active .menu-btn {
        translate: 28px
    }

    .menu-body {
        padding-left: 50px
    }
}

@media (orientation: portrait) {
    #tip-scroll {
        display: block
    }
}

:root {
    --color: #525252;
    --secondary-color: rgba(82, 82, 82, .25)
}

@font-face {
    font-family: public-pixel;
    src: url(/fonts/public-pixel.woff)
}

@font-face {
    font-family: chill;
    src: url(/fonts/chill.woff)
}

.typewriter {
    overflow: hidden;
    animation: typewriter 4s steps(40) 1s 1 normal both;
    white-space: nowrap;
    border-right: .15em solid orange;
    font-size: 1.5em
}

@keyframes typewriter {
    0% {
        width: 0
    }

    to {
        width: 100%
    }
}

* {
    margin: 0;
    padding: 0
}

::-webkit-scrollbar {
    width: 20px
}

::-webkit-scrollbar-track {
    background: #f6d4b1
}

::-webkit-scrollbar-thumb {
    background: #f6d4b1
}

::-webkit-scrollbar-thumb:hover {
    background: #85c7d5
}

html,
body {
    scrollbar-width: thin;
    scrollbar-color: #f6d4b1 #f6d4b1;
    overflow-x: hidden;
    background-color: #f6d4b1;
    font-family: chill, sans-serif;
    font-size: 18px;
    -webkit-text-size-adjust: 100%
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    outline: none;
    z-index: 1
}

#hero-backup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: clamp(0px, 95vw, 580px);
    margin: auto;
    color: #3B2B25;
    z-index: 0
}

#hero-backup h1,
#hero-backup h3 {
    margin: 0;
    text-align: left
}

#hero-backup ul {
    margin-left: 32px
}

.webgl:active {
    cursor: grabbing
}

#textarea {
    position: fixed;
    top: 0;
    right: 0;
    outline: none;
    z-index: -1;
    opacity: 0
}

#loading {
    color: #f6d4b1;
    background-color: #3B2B25;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10vw;
    z-index: 6;
    transition: opacity .3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px
}

#loading h2 {
    text-align: left;
    margin: 0;
    padding: 0
}

#loading-items {
    height: 64px;
    overflow: hidden;
    text-overflow: ellipsis
}

#loading-bar {
    position: relative;
    width: 100%;
    height: 64px;
    border: dashed 2px #f6d4b1;
    box-shadow: 2px 2px 0 #3B2B25, 6px 6px #f6d4b1b3
}

#loading-bar-progress {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    right: 2px;
    background-color: #f6d4b1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s
}

h1,
h2,
h3 {
    display: inline-block;
    color: #f6d4b1;
    background-color: #3B2B25;
    font-family: public-pixel, monospace;
    padding: 4px 16px 8px;
    margin: 0 auto .3em
}

hr {
    width: 100px;
    height: 2px;
    background-color: none;
    margin: 40px auto;
    border: none;
    border-bottom: dashed 2px #3B2B25
}

.skills,
p {
    padding: 16px;
    text-align: left;
    line-height: 1.5;
    width: clamp(0px, 95vw, 680px);
    margin: auto;
    box-sizing: border-box
}

.skills {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-align: center;
    list-style-type: none;
    transition: all .3s
}

.skills li {
    display: inline-block;
    padding: 4px 8px;
    border: dashed 1px #3B2B25;
    box-shadow: 1px 1px #f6d4b1, 4px 4px #52525240
}

.image {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: auto
}

.image * {
    box-sizing: border-box;
    width: clamp(0px, 95vw, 1200px);
    box-shadow: 1px 1px #f6d4b1, 6px 6px #52525240
}

main {
    color: #3B2B25;
    margin-top: 200vh;
    text-align: center;
    position: relative;
    z-index: 2
}

section {
    padding-bottom: 64px;
    margin-bottom: 80px;
    position: relative
}

section:after {
    content: "";
    border-bottom: dashed 2px #3B2B25;
    position: absolute;
    bottom: 0;
    transform: translate(-50%);
    width: clamp(0px, 95vw, 680px)
}

section:last-of-type {
    border-bottom: none;
    margin-bottom: 0
}

footer {
    display: flex;
    gap: 32px;
    flex-direction: column;
    font-size: 12px;
    width: clamp(0px, 95vw, 680px);
    margin: auto;
    padding: 32px 0;
    text-align: center;
    color: #3B2B25;
    z-index: 2;
    position: relative
}

a {
    display: inline-block;
    color: inherit;
    text-decoration-style: solid;
    text-decoration-thickness: 2px;
    transition: all .3s
}

a:hover {
    transform: scale(1.1);
    box-shadow: 1px 1px #f6d4b1, 4px 4px #52525240
}

a:active {
    transform: scale(1);
    box-shadow: 1px 1px #f6d4b1, 3px 3px #52525266
}

.btn {
    position: relative;
    font-family: chill, sans-serif;
    font-size: 18px;
    display: inline-flex;
    gap: .25rem;
    box-shadow: 6px 6px #52525240;
    background-color: #3B2B25;
    color: #f6d4b1;
    cursor: pointer;
    transition: all .3s;
    padding: 4px 24px;
    border: #f6d4b1 solid 1px;
    text-decoration: none
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 8px 8px 6px #52525240
}

.btn:active {
    transform: scale(.95);
    box-shadow: 4px 4px #52525266
}

.portrait {
    position: relative;
    width: clamp(0px, 95vw, 780px);
    padding: 0;
    height: 400px;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px #f6d4b1, 6px 6px #52525240
}

.portrait-tag {
    position: absolute;
    color: #fff;
    left: calc(50% + 120px);
    top: 30px;
    transform: translate(-50%) rotate(20deg)
}

.project-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin: auto;
    max-width: 1200px;
    width: 100%;
    padding: 16px
}

.description {
    flex: 1;
    padding: 16px
}

.image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 4px
}

.image-container img,
.image-container video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer
}

.project-container-2 {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    margin: auto;
    max-width: 1200px;
    width: 100%;
    padding: 16px
}

.description2 {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.image-container2 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 4px
}

.image-container2 img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer
}

.skills2 {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px
}

.skills2 li {
    padding: 4px 8px;
    border: dashed 1px #3B2B25;
    box-shadow: 1px 1px #f6d4b1, 4px 4px #52525240
}

@media (max-width: 768px) {

    .project-container,
    .project-container-2 {
        flex-direction: column
    }

    .image-container img,
    .image-container video,
    .image-container2 img {
        width: 100%;
        max-width: 100%;
        height: auto
    }
}

.column-1,
.column-2 {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
    padding: 16px;
    box-sizing: border-box;
    text-align: center
}

.column-1 {
    margin-right: 8px
}

.column-2 {
    margin-left: 8px
}

.column-1 h2,
.column-1 h3,
.column-2 h2,
.column-2 h3 {
    text-align: center
}

.skills3 {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px
}

.skills3 li {
    padding: 4px 8px;
    border: dashed 1px #3B2B25;
    box-shadow: 1px 1px #f6d4b1, 4px 4px #52525240
}

.image-container3 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px
}

.para {
    width: 480px;
    max-height: auto;
    overflow: auto;
    margin-left: 80px;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center
}

.image-container3 img {
    width: 320px;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 8px
}

@media (max-width: 667px) {
    .project-wrapper {
        flex-direction: column
    }

    .column-1,
    .column-2 {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0;
        padding: 16px;
        text-align: center
    }

    .para {
        width: calc(100% - 20px);
        max-height: auto;
        overflow: auto;
        margin: 10px;
        padding: 16px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center
    }
}

.column-one,
.column-two,
.column-three {
    flex: 1 1 calc(33.33% - 10px);
    max-width: calc(33.33% - 10px);
    padding: 16px;
    box-sizing: border-box;
    text-align: center
}

.column-one {
    margin-right: 8px
}

.column-two {
    margin: 0 8px
}

.column-three {
    margin-left: 8px
}

.column-one h2,
.column-two h2 {
    text-align: center;
    font-size: 18px
}

.column-one h3,
.column-three h3,
.column-two h3 {
    text-align: center;
    font-size: 12px
}

.column-three h2 {
    margin-top: 20px;
    text-align: center;
    font-size: 16px
}

.skills-one,
.skills-two,
.skills-three {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 18px
}

.skills-one li,
.skills-two li,
.skills-three li {
    padding: 4px 8px;
    border: dashed 1px #3B2B25;
    box-shadow: 1px 1px #f6d4b1, 4px 4px #52525240
}

.image-container-one img,
.image-container-two img,
.image-container-three img {
    width: 100px;
    height: auto;
    max-width: 100%;
    cursor: pointer;
    border-radius: 8px
}

@media (max-width: 767px) {
    .project-wrapper {
        flex-direction: column
    }

    .column-one,
    .column-two,
    .column-three {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0;
        padding: 16px;
        text-align: center
    }
}

.project-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0 16px
}

.column-4,
.column-5 {
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% + 100px);
    padding-top: 30px;
    box-sizing: border-box;
    text-align: center
}

.column-4 {
    padding-left: 200px
}

.column-5 {
    margin-right: 250px;
    margin-left: -20px
}

.column-4 h2,
.column-5 h2 {
    font-size: 16px;
    text-align: center
}

.column-4 h3,
.column-5 h3 {
    font-size: 14px;
    text-align: center
}

.skills4,
.skills5 {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    font-size: 18px
}

.skills4 li,
.skills5 li {
    padding: 4px 8px;
    border: dashed 1px #3B2B25;
    box-shadow: 1px 1px #f6d4b1, 4px 4px #52525240
}

.image-container4 img,
.image-container5 img {
    width: 100px;
    height: auto;
    max-width: 100%;
    cursor: pointer;
    border-radius: 8px
}

@media (max-width: 600px) {
    .project-wrapper {
        flex-direction: column
    }

    .column-4,
    .column-5 h3 {
        font-size: 12px
    }

    .column-4,
    .column-5 {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0;
        padding: 16px;
        text-align: center
    }
}

.portrait:after {
    z-index: -1;
    position: absolute;
    top: -30px;
    bottom: -30px;
    left: -30px;
    right: -30px;
    display: block;
    content: " ";
    box-shadow: 6px 6px #52525240;
    background-color: #040d21;
    background-image: url(img/bg.png);
    background-size: contain;
    filter: blur(30px);
    color: #f6d4b1;
    border: #f6d4b1 solid 1px
}

.nl-form {
    width: 100%;
    margin: .3em auto 0;
    font-size: 20px;
    line-height: 1.5
}

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

.nl-form input,
.nl-form select,
.nl-form button {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 20px;
    color: inherit;
    font-weight: inherit;
    line-height: inherit;
    display: inline-block;
    padding: 0;
    margin: 0
}

.nl-form input:focus {
    outline: none
}

.nl-field {
    display: inline-block;
    position: relative
}

.nl-field.nl-field-open {
    z-index: 10000
}

.nl-field-toggle,
.nl-form input,
.nl-form select {
    line-height: inherit;
    display: inline-block;
    color: #b14943;
    cursor: pointer;
    border-bottom: 1px dashed #b14943
}

.nl-field ul {
    position: absolute;
    visibility: hidden;
    background: #76c3bd;
    left: -.5em;
    top: 50%;
    font-size: 20px;
    opacity: 0;
    transform: translateY(-40%) scale(.9);
    transition: visibility 0s .3s, opacity .3s, transform .3s
}

.nl-field.nl-field-open ul {
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%) scale(1);
    transition: visibility 0s 0s, opacity .3s, transform .3s
}

.nl-field ul li {
    color: #fff;
    position: relative
}

.nl-dd ul li {
    padding: 0 1.5em 0 .5em;
    cursor: pointer;
    white-space: nowrap
}

.nl-dd ul li.nl-dd-checked {
    color: #478982
}

.no-touch .nl-dd ul li:hover {
    background: #0000000d
}

.no-touch .nl-dd ul li:hover:active {
    color: #478982
}

.nl-dd ul li.nl-dd-checked:before,
.nl-submit:before,
.nl-field-go:before {
    font-family: nlicons;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased
}

.nl-dd ul li.nl-dd-checked:before {
    content: "";
    position: absolute;
    right: 1em;
    font-size: 20px;
    line-height: 3
}

.nl-ti-text ul {
    min-width: 8em
}

.nl-ti-text ul li.nl-ti-input input {
    width: 100%;
    padding: .2em 2em .2em .5em;
    border-bottom: none;
    color: #fff
}

.nl-form .nl-field-go {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    cursor: pointer;
    background: #0000001a;
    width: 1.8em;
    text-align: center;
    color: transparent
}

.nl-field-go:before {
    content: "";
    font-size: 20px;
    color: #fff;
    width: 100%;
    line-height: 2.5;
    display: block
}

input::-webkit-input-placeholder {
    color: #fffc
}

input:active::-webkit-input-placeholder,
input:focus::-webkit-input-placeholder {
    color: #fff3
}

input::-moz-placeholder {
    color: #fffc
}

input:active::-moz-placeholder,
input:focus::-moz-placeholder {
    color: #fff3
}

input:-ms-input-placeholder {
    color: #fffc
}

input:active::-ms-input-placeholder,
input:focus::-ms-input-placeholder {
    color: #fff3
}

.nl-ti-text ul li.nl-ti-example {
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    padding: .4em 1em;
    color: #0003;
    border-top: 1px dashed rgba(255, 255, 255, .7)
}

.nl-ti-text ul li.nl-ti-example em {
    color: #fff
}

.nl-submit-wrap {
    margin-top: .4em
}

.nl-form .nl-submit {
    line-height: 3;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    background: #76c3bd;
    color: #fff;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px
}

.nl-submit:before {
    content: "";
    color: #fff;
    float: left;
    padding: 0 .7em;
    margin: 0 .8em 0 0;
    background: #69b1a9
}

.no-touch .nl-form .nl-submit:hover,
.no-touch .nl-form .nl-submit:active {
    background: #69b1a9
}

.no-touch .nl-form .nl-submit:hover:before {
    background: #58a199
}

.nl-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    opacity: 0;
    z-index: 9999;
    visibility: hidden;
    transition: visibility 0s .3s, opacity .3s
}

.nl-field.nl-field-open~.nl-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s
}

@media (min-width: 600px) {
    .nl-form {
        font-size: 16px
    }
}