@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Anta';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/anta-font.woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/source-code-pro-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root {
    --color-bg: #191b21;
    --color-1: #00ffe3;
    --color-2: #4158d0;
    --color-3: #ff00ec;
    --color-4: #ffa400;

    --font-size-s: 12px;
    --font-size-base: 14px;
    --font-size-m: 16px;
    --font-size-l: 20px;
    --font-size-xl: 24px;
    --font-size-xxl: 40px;
}
html {
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
    background-color: var(--color-bg);
    font-family: 'Source Code Pro', 'Arial', sans-serif;
    font-size: var(--font-size-base);
    color: #fff;
}
html,
body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
a {
    background-color: white;
    font-weight: bold;
    border-radius: 3px;
    padding: 2px;
    color: #333;
    border: 0;
    outline: 0;
    display: inline;
}
.txt-gradient,
.cstm_home,
.cstm_about,
.cstm_skills,
.cstm_path,
.cstm_work {
    background: #00ffe3;
    background-color: #4158d0;
    background-image: linear-gradient(
        331deg,
        #4158d0 0%,
        #ff00ec 46%,
        #ffa400 100%
    );
    background-clip: text;
    -moz-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h1,
h2,
h3,
h4,
.title {
    font-family: 'Anta';
    padding: 0;
    margin: 0;
}
h1 {
    line-height: 1;
    padding: 0;
    margin: 0;
    font-size: max(8vw, 70px);
    text-transform: uppercase;
    font-weight: bolder;
    display: inline-block;
    position: relative;
}
h2 {
    font-size: 0;
}
h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 20px;
    margin-top: 10px;
}
section {
    width: 100%;
    position: relative;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 20vh;
    padding-bottom: 10vh;
    box-sizing: border-box;
}
section[data-id='home'],
section[data-id='work'] {
    min-height: 100vh;
    margin: 0;
}
.flyer {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: max(2.1vw, 18px);
    padding: 1vw;
    z-index: 7;
    flex-direction: column;
    backdrop-filter: blur(7px) !important;
}
.glass {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.54);
    color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-direction: row;
    color: white;
    height: auto;
    width: auto;
    position: fixed;
    z-index: 100;
    left: 10px;
    right: 10px;
    top: 10px;
}
nav label.first-menue {
    display: flex;
    width: 100%;
    max-width: 320px;
}
nav label.first-menue .glass {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
nav input {
    display: none;
}
nav label.first-menue .menue {
    display: inline-flex;
    width: calc(100% - 60px);
    font-size: var(--font-size-l);
    height: auto;
    flex-direction: column;
}
nav .knob {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
nav .knob::before {
    content: '+';
}
nav label.first-menue .menue .selected {
    display: flex;
    font-size: var(--font-size-l);
    padding: 12px;
    line-height: 1.4;
    overflow: hidden;
    height: 26px;
    text-shadow: 0 0 8px var(--color-3);
    border: var(--color-3) 1px solid;
}
nav label.first-menue .menue .drop-down {
    display: flex;
    padding: 0 10px;
    margin: 0;
    border: none;
    list-style: none;
    flex-wrap: nowrap;
    flex-direction: column;
    overflow: hidden;
    height: 0;
    transition: all 0.5s ease;
}
nav .drop-down li {
    display: flex;
    font-size: var(--font-size-m);
    padding: 10px;
}
nav .drop-down li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
nav label.first-menue:has(input:checked) .knob::before {
    content: '-';
}
nav label.first-menue:has(input:checked) .menue .drop-down {
    height: 200px;
    padding: 10px;
    border: inherit;
    box-shadow: inset 0px 0px 1px;
}

nav label.second-menue {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    height: 50px;
    position: relative;
}

nav label.second-menue .lang-knob {
    font-size: var(--font-size-l);
    padding: 12px;
    line-height: 0;
    overflow: hidden;
    text-shadow: 0 0 8px var(--color-3);
    border: var(--color-3) 1px solid;
    cursor: pointer;
}
nav label.second-menue:has(input:checked) .drop-down {
    height: 80px;
    border: inherit;
    box-shadow: inset 0px 0px 1px;
}

nav label.second-menue .drop-down {
    padding: 0;
    position: absolute;
    top: 26px;
    margin: 0;
    z-index: 12;
    width: 100%;
    overflow: hidden;
    height: 0;
    border: 0;
    transition: all 0.5s ease;
}
nav label.second-menue .drop-down li {
    justify-content: center;
}

nav label.second-menue #contact {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 4px;
    font-style: normal;
}

nav label.second-menue #contact:hover {
    cursor: pointer;
}
/*
nav #lang {
    display: flex;
    font-size: var(--font-size-m);
}
nav .lang-selector {
    font-size: var(--font-size-m);
    padding: 2px;
}
nav .lang-selector option {
    color: #414141;
    background-color: var(--color-bg);
}
*/
.box {
    padding: 20px;
}

.flex-list-wrapper {
    display: flex;
    align-items: flex-start;
    text-align: center;
    justify-content: left;
    vertical-align: inherit;
    height: 100%;
    width: 100%;
    flex-wrap: wrap;
}
.flex-list-item {
    flex: 0 15%;
    margin-top: 10px;
}
.flex-list-title {
    flex: 100%;
    padding: 20px 0;
    display: block;
    text-align: left;
}
.flex-list-title h3 {
    display: inline-block;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.flex-box {
    flex: 1;
}

.skillblock {
    width: 100px;
    height: auto;
    padding: 10px;
}

.skillblock .skill-title {
    display: block;
}

.skill-level {
    display: inline-block;
    text-align: center;
    width: 110px;
    font-size: var(--font-size-xl);
}
.skill-level span {
    filter: blur(0.3px);
    opacity: 0.3;
    font-weight: bold;
}
.skill-level span.str-lighted {
    filter: blur(0);
    opacity: 1;
    text-shadow: 1px 1px 4px var(--color-3), -1px -1px 4px var(--color-4);
}

.fa-brands {
    position: relative;
    margin: 20px 14px;
    width: 120px;
}
.fa-brands::before {
    background: #00ffe3;
    background-color: #4158d0;
    background-image: linear-gradient(
        331deg,
        #4158d0 0%,
        #ff00ec 46%,
        #ffa400 100%
    );
    background-clip: text;
    -moz-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-size: 70px;
    position: absolute;
    left: 0px;
    width: 120px;
    bottom: 44px;
}
.fa-jquery::before,
.fa-photoshop::before,
.fa-illustrator::before,
.fa-indesign::before,
.fa-aftereffects::before,
.fa-reaper::before,
.fa-visual-studio-code::before,
.fa-ts:before {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.fa-jquery::before {
    content: 'jQ';
}
.fa-photoshop::before {
    content: 'Ps';
}
.fa-illustrator::before {
    content: 'Ai';
}
.fa-indesign::before {
    content: 'Id';
}
.fa-aftereffects::before {
    content: 'Ae';
}
.fa-reaper::before {
    content: '\25BC';
}
.fa-visual-studio-code::before {
    content: 'V';
}
.fa-ts::before {
    content: 'Ts';
}

.skillblock .skill-level {
    display: inline-block;
    width: 100%;
    font-weight: bolder;
}

[data-id='about'] .flex-center,
[data-id='skills'] .flex-center,
[data-id='path'] .flex-center,
[data-id='work'] .flex-center {
    margin: 10px 10px 10px 100px;
}

[data-id='about'] .title,
[data-id='skills'] .title,
[data-id='path'] .title {
    position: absolute;
    top: -35px;
    left: -83px;
    font-size: var(--font-size-xxl);
    font-weight: bold;
    width: 226px;
}
[data-id='about'] .content,
[data-id='skills'] .content,
[data-id='work'] .content,
[data-id='path'] .content {
    max-width: 800px;
}
[data-id='path'] .flex-center {
    width: 100%;
    max-width: 830px;
}
[data-id='path'] .title {
    top: -100px;
}

.path-line {
    height: 100vh;
    width: 1px;
    background: #eee;
    margin: 0 20px;
}
.path-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 7vh;
    position: relative;
}
.path-item:last-child {
    margin-bottom: 0;
}
.path-item::before {
    font-family: 'Anta';
    content: attr(data-num);
    position: absolute;
    left: -30px;
    top: -30px;
    display: inline-block;
    background: #00ffe3;
    background-color: #4158d0;
    background-image: linear-gradient(
        331deg,
        #4158d0 0%,
        #ff00ec 46%,
        #ffa400 100%
    );
    background-clip: text;
    -moz-text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: var(--font-size-xxl);
}

.path-point {
    text-align: center;
    line-height: 1;
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

[data-id='work'] .title {
    position: absolute;
    top: -35px;
    left: -83px;
    font-size: var(--font-size-xxl);
    font-weight: bold;
    max-width: 400px;
}
[data-id='work'] .project {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    flex-wrap: wrap;
}
[data-id='work'] .project-content {
    text-align: left;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 60%;
}
[data-id='work'] .project-image {
    aspect-ratio: 1 / 1; /* or aspect-ratio: 1 */
    width: 30%; /* or any other width value */
    height: auto; /* or height: 100% */
    min-width: 100px;
    margin-right: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 5px;
    border: 1px solid #fff;
}
[data-id='work'] .project-link {
    width: 100%;
    text-align: right;
    margin-top: 10px;
}

@media screen and (max-width: 445px) {
    .flex-list-wrapper {
        justify-content: space-evenly;
    }
    [data-id='about'] .flex-center,
    [data-id='work'] .flex-center,
    [data-id='skills'] .flex-center,
    [data-id='path'] .flex-center {
        margin: 0px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    [data-id='about'] .title,
    [data-id='work'] .title,
    [data-id='skills'] .title,
    [data-id='path'] .title {
        position: relative;
        left: unset;
        top: unset;
        margin-bottom: 20px;
    }
    [data-id='path'] .title {
        top: -20px;
    }
}

.bg-ani-wrap,
.bg-ani-con {
    width: 100%;
    height: 100%;
    position: absolute;
}

.bubble-1 {
    width: 80vw;
    height: 80vw;
    border-radius: 80vw;
    background-color: var(--color-1);
    position: absolute;
    left: -10%;
    top: -80%;
    animation: bgAni 18s alternate infinite ease-in-out;
}

.bubble-2 {
    width: 80vw;
    height: 80vw;
    border-radius: 80vw;
    background-color: var(--color-3);
    position: absolute;
    right: -70%;
    bottom: -40%;
    animation: bgAni2 20s alternate infinite ease-in-out;
}

.bg-ani-con {
    top: 0;
    filter: blur(150px) contrast(150);
    background: var(--color-bg);
}

.bg-ani-wrap {
    mix-blend-mode: color;
    opacity: 0.5;
    top: 0;
    filter: blur(100px);
    z-index: -1;
    overflow-x: hidden;
}

.bg-ani-wrap::before {
    /* content: ""; */
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: linear-gradient(
        331deg,
        #4158d0 0%,
        #ff00ec 46%,
        #ffa400 100%
    );
    mix-blend-mode: hard-light;
}

@keyframes bgAni {
    0% {
        top: -80%;
    }
    100% {
        top: 80%;
    }
}
@keyframes bgAni2 {
    0% {
        right: -70%;
    }
    100% {
        right: 70%;
    }
}
