:root {
    --main-bg-color: #fff;
    --alt-bg-color: #f4f4f4;
    --main-text-color: #444;
    --alt-text-color: #222;
    --full-text-color: #000;

    --invalid-color: #f44336;

    --rgba-240-100: rgba(240, 240, 240, 1);
    --rgba-240-025: rgba(240, 240, 240, .25);

    --rgba-245-100: rgba(245, 245, 245, 1);
    --rgba-245-075: rgba(245, 245, 245, .75);

    --rgba-250-050: rgba(250, 250, 250, .5);
    
    --rgba-255-050: rgba(255, 255, 255, .5);
    --rgba-255-075: rgba(255, 255, 255, .75);
    --rgba-255-100: rgba(255, 255, 255, 1);

    --rgba-000-005: rgba(0, 0, 0, .05);
    --rgba-000-010: rgba(0, 0, 0, .1);
    --rgba-000-020: rgba(0, 0, 0, .2);
    --rgba-000-025: rgba(0, 0, 0, .25);
    --rgba-000-035: rgba(0, 0, 0, .35);
    --rgba-000-050: rgba(0, 0, 0, .5);
    --rgba-000-065: rgba(0, 0, 0, .65);
}

body {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    width: 100vw;
    position: relative;
    margin: 0;
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
}

body.with-footer-color {
    background-color: var(--alt-bg-color);
}

body:before, body:after {
    content: "";
    position: fixed;
    background-color: var(--alt-bg-color);
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    z-index: 0;
}

body:before {
    transform: translateX(calc(-1040px / 2));
}

body:after {
    transform: translateX(calc(1040px / 2));
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

::selection {
    background-color: rgba(0, 139, 255, .15);
    color: #008bff;
}

h2, h3, .contact-btn.opened > div span, #settings-btn.opened > ul li:not(.separator), div.skills ul li, div.skills ul + span {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@keyframes intro-loading-playing {
    0% { background-color: var(--rgba-255-100); backdrop-filter: blur(30px); display: block; opacity: 1; }
    45% { background-color: var(--rgba-255-050); opacity: 1; }
    99% { background-color: var(--rgba-255-050); backdrop-filter: blur(0); display: block; opacity: 0; }
    100% { background-color: var(--rgba-255-050); backdrop-filter: blur(0); display: none; opacity: 0; }
}

@keyframes intro-loading-logo-appearing {
    0% { height: 10000px; }
    85% { height: 90px; }
    90% { height: 110px; }
    100% { height: 100px; }
}

@keyframes intro-loading-logo-splashing {
    0% { width: 0; height: 0; opacity: 1; }
    25% { width: 600px; height: 600px; opacity: 1; }
    100% { width: 700px; height: 700px; opacity: 0; }
}

#intro-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--main-bg-color);
    z-index: 9999;
    backdrop-filter: blur(30px);
    animation: intro-loading-playing 3s ease forwards 3s;
    display: block;
}

#intro-loading:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--rgba-000-010);
    animation: intro-loading-logo-splashing 1.5s ease forwards 2s;
}

#intro-loading svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 10000px;
    animation: intro-loading-logo-appearing 2.35s ease-out forwards;
}

@keyframes mask-appearing {
    0% { display: none; }
    1% { display: block; backdrop-filter: blur(0); }
    100% { display: block; backdrop-filter: blur(5px); }
}

@keyframes mask-disappearing {
    0% { display: block; backdrop-filter: blur(5px); }
    99% { display: block; backdrop-filter: blur(0); }
    100% { display: none; }
}

#mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 998;
    backdrop-filter: blur(0);
    display: none;
    animation: mask-disappearing 1s ease forwards;
}

#mask.visible {
    display: block;
    animation: mask-appearing 1s ease forwards;
}

u#scrollbar {
    text-decoration: none;
    display: block;
    position: fixed;
    top: 5px;
    right: 5px;
    width: 3px;
    min-height: 25px;
    max-height: 100vh;
    border-radius: 5px;
    background: linear-gradient(180deg, var(--alt-text-color), rgba(0, 0, 0, .35));
    background-color: rgba(0, 0, 0, 0);
    z-index: 997;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    transition: all .3s ease, background-color .1s ease;
    transform: translateX(50%);
}

u#scrollbar.active {
    background-color: rgba(0, 0, 0, .35);
    width: 4px;
    box-shadow: 0 0 25px rgba(0, 0, 0, .35);
}

u#scrollbar:before {
    content: "";
    position: absolute;
    width: 2px;
    height: calc(100vh - 30px);
    background-color: var(--rgba-000-020);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

u#scrollbar:after {
    content: attr(data-section);
    position: absolute;
    bottom: 0;
    right: 10px;
    width: 200px;
    text-align: right;
    font-family: Oswald;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--rgba-000-050);
    z-index: -1;
    transition: all .3s ease;
}

u#scrollbar.active:after {
    color: var(--rgba-000-065);
    transform: scale(1.1);
    transform-origin: right bottom;
    right: 11px;
}

h1 {
    color: var(--alt-text-color);
    font-size: 45px;
    line-height: 45px;
    font-family: Oswald;
    margin: 0 auto;
    width: 600px;
    text-align: center;
    max-width: calc(100% - 40px);
    letter-spacing: 15px;
    font-weight: 200;
}

header svg {
    width: 500px;
    max-width: calc(100vw - 40px);
    height: auto;
    display: block;
    margin: 20px auto;
    fill: var(--alt-text-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 997;
    max-width: 100vw;
    background: linear-gradient(var(--rgba-255-100) 0, rgba(255, 255, 255, 0) 5px);
}

header:before {
    content: "";
    position: fixed;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background-color: var(--main-bg-color);
    box-shadow: 0 15px 70px 55px var(--main-bg-color);
    z-index: -1;
}

main {
    padding: 75px 0 0;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--main-bg-color);
}

h2 {
    font-family: Oswald;
    font-weight: 400;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 10px;
    width: 1000px;
    max-width: calc(100% - 20px);
    margin: 50px auto 10px;
    color: var(--alt-text-color);
}

h3 {
    white-space: normal;
    font-size: 20px;
    display: block;
    position: relative;
    z-index: 1;
    font-weight: 500;
    color: var(--alt-text-color);
    letter-spacing: 1px;
}

p a {
    color: #008bff;
    text-decoration: none;
    font-weight: 500;
    transition: all .25s ease;
}

p a.unavailable:active {
    color: #e53935;
    cursor: not-allowed;
    filter: none;
}

p a:hover {
    text-decoration: underline;
    filter: brightness(.75);
}

p a:active {
    filter: brightness(.5);
}

p.intro {
    font-size: 13px;
    width: 420px;
    max-width: 100%;
    margin: 150px auto;
    padding: 10px;
    text-align: center;
    font-weight: 400;
    color: var(--main-text-color);
}

p.intro:after {
    content: "— Y.L";
    font-size: 10px;
    opacity: .5;
    margin-left: 5px;
    font-style: italic;
    white-space: nowrap;
}

.projects-desc {
    padding: 0;
    margin: 0 auto;
    width: 1000px;
    max-width: 100%;
}

.projects-desc p {
    font-size: 13px;
    padding: 20px 10px;
    text-align: left;
    font-weight: 400;
    color: var(--main-text-color);
    margin: 0;
    width: 500px;
    max-width: 100%;
}

div.projects, div.experiences {
    margin: 0;
    padding: 15px 0 30px calc(100vw / 2 - 1000px / 2);
    font-size: 0;
    overflow-y: visible;
    overflow-x: scroll;
    white-space: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

div.projects::-webkit-scrollbar, div.experiences::-webkit-scrollbar {
    display: none;
}

div.projects > div {
    display: inline-block;
    padding: 5px;
    margin: 0 5px;
    border: 3px solid transparent;
    border-radius: 20px;
    height: 200px;
    width: 350px;
    position: relative;
    z-index: 1;
}

@keyframes project-active-blinking {
    0%, 25%, 75%, 100% { border-color: #008cff; }
    50% { border-color: rgba(0, 140, 255, .75); }
}

@keyframes project-active-light-appearing {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

div.projects > div:focus {
    animation: project-active-blinking 3s infinite;
    outline: 0;
}

div.projects > div.active:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: radial-gradient(circle at 50px 0, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 45%);
    width: 100%;
    height: 100%;
    z-index: 11;
    border-radius: 14px;
    opacity: 0;
    animation: project-active-light-appearing .5s ease forwards;
}

div.projects > div > div {
    height: 165px;
    width: 315px;
    border-radius: 15px;
    background-color: #555;
    font-size: 15px;
    margin: 0;
    padding: 20px;
    border: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    vertical-align: top;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .15s ease, box-shadow .3s ease, opacity .2s ease, width .25s ease, height .25s ease;
    cursor: pointer;
}

div.projects > div:last-child {
    margin-right: calc(100vw - 100vw / 2 + 1000px / 2 - 100px);
}

div.projects > div > div:hover {
    opacity: .85 !important;
}

div.projects > div:not(.active) > div:active {
    height: 160px;
    width: 310px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}

div.projects > div.active > div {
    box-shadow: 0 6px 15px 5px rgba(0, 0, 0, .35);
    opacity: 1 !important;
    z-index: 10;
    cursor: default;
    height: 185px;
    width: 335px;
}

div.projects > div > div:not(.active) {
    opacity: .95;
}

div.projects > div > div:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 25%);
    cursor: inherit;
}

div.projects > div > div:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, .15);
    z-index: 0;
    border: 1px solid rgba(0, 0, 0, .25);
    cursor: inherit;
    transition: border-width .3s ease;
}

div.projects > div.active > div:before {
    border-width: 2px;
}

div.projects > div > div > * {
    position: relative;
    z-index: 1;
    color: #fff;
    cursor: inherit;
}

div.projects > div > div > svg {
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.95);
    fill: #fff;
    margin: 0;
    transition: height .3s ease, transform .15s ease;
}

div.projects > div:nth-child(1) > div {
    background: linear-gradient(225deg, rgb(130, 65, 32) 0%, rgb(165, 103, 61) 16.667%, rgb(185, 126, 81) 33.333%, rgb(185, 120, 76) 50%, rgb(165, 89, 49) 66.667%, rgb(129, 52, 24) 83.333%, rgb(88, 34, 22) 100%);
}

div.projects > div:nth-child(1) > div > svg {
    height: 30%;
}

div.projects > div:nth-child(2) > div {
    background: linear-gradient(225deg, rgb(54, 13, 126) 0%, rgb(41, 34, 165) 25%, rgb(28, 74, 205) 50%, rgb(14, 132, 245) 75%, rgb(1, 205, 255) 100%);
}

div.projects > div:nth-child(2) > div > svg {
    height: 30%;
}

div.projects > div:nth-child(3) > div {
    background: linear-gradient(90deg, rgb(206, 198, 186) 0%, rgb(195, 182, 170) 16.667%, rgb(184, 166, 154) 33.333%, rgb(174, 150, 140) 50%, rgb(164, 136, 127) 66.667%, rgb(154, 123, 116) 83.333%, rgb(145, 112, 108) 100%);
}

div.projects > div:nth-child(3) > div > svg {
    height: 45%;
}

div.projects > div:nth-child(4) > div {
    background: linear-gradient(315deg, rgb(38, 0, 0) 0%, rgb(48, 0, 0) 20%, rgb(106, 45, 59) 40%, rgb(184, 115, 134) 60%, rgb(244, 169, 184) 80%, rgb(255, 204, 207) 100%);
}

div.projects > div:nth-child(4) > div > svg {
    height: 30%;
}

div.projects > div:nth-child(5) > div {
    background: linear-gradient(90deg, rgb(205, 0, 0) 0%, rgb(243, 26, 0) 20%, rgb(255, 94, 0) 40%, rgb(255, 168, 48) 60%, rgb(247, 228, 123) 80%, rgb(212, 255, 225) 100%);
}

div.projects > div:nth-child(5) > div > svg {
    height: 25%;
}

div.projects > div:nth-child(6) > div {
    background: radial-gradient(at 84% 70%, hsla(78,0%,66%,1) 0px, transparent 50%), radial-gradient(at 9% 86%, hsla(204,100%,37%,1) 0px, transparent 50%), hsla(196,99%,47%,1);
}

div.projects > div:nth-child(6) > div > svg {
    height: 25%;
}

div.projects > div:nth-child(7) > div {
    background: linear-gradient(90deg, rgb(0, 255, 196) 0%, rgb(0, 255, 188) 16.667%, rgb(0, 255, 179) 33.333%, rgb(0, 246, 170) 50%, rgb(0, 229, 161) 66.667%, rgb(0, 211, 152) 83.333%, rgb(0, 192, 143) 100%);
}

div.projects > div:nth-child(7) > div > svg {
    height: 25%;
}

div.projects > div:nth-child(8) > div {
    background: linear-gradient(120deg, rgb(255, 104, 77) 0%, rgb(255, 92, 81) 11.111%, rgb(255, 81, 84) 22.222%, rgb(255, 72, 87) 33.333%, rgb(255, 64, 91) 44.444%, rgb(255, 58, 94) 55.556%, rgb(251, 54, 98) 66.667%, rgb(220, 51, 101) 77.778%, rgb(188, 51, 105) 88.889%, rgb(157, 53, 108) 100%);
}

div.projects > div:nth-child(8) > div > svg {
    height: 35%;
}

div.projects > div:nth-child(9) > div {
    background: linear-gradient(225deg, rgb(118, 182, 237) 0%, rgb(93, 152, 231) 20%, rgb(71, 127, 197) 40%, rgb(54, 107, 155) 60%, rgb(43, 93, 130) 80%, rgb(36, 84, 135) 100%);
}

div.projects > div:nth-child(9) > div > svg {
    height: 30%;
}

div.projects > div:nth-child(10) > div {
    background: linear-gradient(315deg, rgb(20, 14, 12) 0%, rgb(51, 39, 93) 20%, rgb(89, 81, 173) 40%, rgb(133, 116, 234) 60%, rgb(182, 124, 255) 80%, rgb(237, 99, 247) 100%);
}

div.projects > div:nth-child(10) > div > svg {
    height: 30%;
}

div.projects-details {
    margin: 0 auto;
    width: 1000px;
    max-width: 100%;
}

@keyframes projects-details-appearing {
    0% { opacity: 0; margin-top: 30px; }
    100% { opacity: 1; margin-top: 0; }
}

div.projects-details > div {
    width: 500px;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
}

div.projects-details > div:not(.active) {
    display: none;
}

div.projects-details > div.active {
    opacity: 0;
    margin-top: 30px;
    animation: projects-details-appearing .15s ease forwards;
}

div.projects-details > div svg {
    height: 35px;
    fill: var(--main-text-color);
    margin: 10px 10px 15px;
}

div.projects-details > div:nth-child(3) svg, div.projects-details > div:nth-child(4) svg .svg-color-2, div.projects-details > div:nth-child(5) svg .svg-color-3 {
    fill: var(--main-text-color);
}

div.projects-details > div:nth-child(1) svg {
    fill: #7c4b3b;
}

div.projects-details > div:nth-child(2) svg {
    fill: #1482ff;
}

div.projects-details > div:nth-child(4) svg .svg-color-1 {
    fill: #e2007a;
}

div.projects-details > div:nth-child(5) svg .svg-color-1 {
    fill: #009888;
}

div.projects-details > div:nth-child(5) svg .svg-color-2 {
    fill: #ff4500;
}

div.projects-details > div:nth-child(6) svg .svg-color-1 {
    fill: #aaa;
}

div.projects-details > div:nth-child(6) svg .svg-color-2 {
    fill: #01afef;
}

div.projects-details > div:nth-child(6) svg .svg-color-3 {
    fill: #0070bf;
}

div.projects-details > div:nth-child(7) svg .svg-color-1 {
    fill: #1ce9b5;
}

div.projects-details > div:nth-child(7) svg .svg-color-2 {
    fill: #aaa;
}

div.projects-details > div:nth-child(8) svg .svg-color-1 {
    fill: #fe1b48;
}

div.projects-details > div:nth-child(9) svg .svg-color-1 {
    fill: #2e81b8;
}

div.projects-details > div:nth-child(10) svg .svg-color-1 {
    fill: #aa00ff;
}

div.projects-details > div p {
    font-size: 13px;
    padding: 10px;
    text-align: left;
    font-weight: 400;
    color: var(--main-text-color);
    margin: 0;
    position: relative;
}

div.projects-details > div > p {
    font-style: italic;
}

div.projects-details > div strong {
    font-weight: 500;
    color: var(--alt-text-color);
}

div.projects-details > div > div {
    position: relative;
    margin: 20px 10px 0;
    padding: 0 0 0 10px;
}

div.projects-details > div > div > p:first-child {
    padding-top: 30px;
}

div.projects-details > div > div > p:last-child {
    padding-bottom: 0;
}

div.projects-details > div > div:after {
    content: attr(data-title);
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 10px;
    transform: translateX(-1px);
    color: var(--rgba-000-020);
    white-space: nowrap;
    font-family: Oswald;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
    z-index: 3;
    transition: all .3s ease;
}

div.projects-details > div > div:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--rgba-000-020) 0%, rgba(0, 0, 0, .05) 100%);
    border-radius: 5px;
}

div.skills {
    margin: 15px auto;
    padding: 0;
    width: 1000px;
    max-width: 100%;
    font-size: 0;
    height: 70px;
    position: relative;
    overflow: hidden;
}

div.skills:last-child {
    margin-bottom: 50px;
}

div.skills:nth-child(2) {
    margin-top: 30px;
}

div.skills:before, div.skills:after {
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 2;
    width: 75px;
}

div.skills:before {
    left: 0;
    background: linear-gradient(90deg, var(--main-bg-color) 0%, rgba(255, 255, 255, 0) 100%);
}

div.skills:after {
    right: 0;
    background: linear-gradient(270deg, var(--main-bg-color) 0%, rgba(255, 255, 255, 0) 100%);
}

div.skills ul {
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    animation: skills-move 42s linear infinite;
    width: fit-content;
    position: relative;
    z-index: 1;
}

div.skills:nth-child(3) ul {
    animation: skills-move 30s linear infinite reverse;
}

div.skills:nth-child(4) ul {
    animation: skills-move 18s linear infinite;
}

@keyframes skills-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

div.skills ul.paused {
    animation-play-state: paused;
}

div.skills ul li {
    display: inline-block;
    vertical-align: top;
    color: var(--alt-text-color);
    padding: 30px 0 30px 60px;
    font-size: 20px;
    line-height: 25px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
    position: relative;
}

div.skills ul + span {
    position: absolute;
    top: 0;
    left: 10px;
    padding: 0 10px 45px;
    transform: translateX(-1px);
    color: var(--rgba-000-020);
    white-space: nowrap;
    font-family: Oswald;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
    z-index: 3;
    transition: all .3s ease;
}

div.skills ul + span.changed {
    color: rgba(0, 0, 0, 0);
    padding-top: 10px;
}

div.skills ul + span:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--rgba-000-020) 0%, rgba(0, 0, 0, .05) 100%);
    border-radius: 5px;
}

div.experiences > div {
    display: inline-block;
    min-height: 200px;
    width: 250px;
    border-radius: 12px;
    background-color: var(--alt-bg-color);
    margin: 40px 10px 70px;
    padding: 20px 20px 30px;
    border: 0;
    color: var(--main-text-color);
    vertical-align: top;
    position: relative;
    box-shadow: 0 0 10px var(--main-bg-color);
}

div.experiences > div:before {
    content: attr(data-year);
    position: absolute;
    top: -38px;
    left: 0;
    font-size: 40px;
    background: linear-gradient( var(--rgba-000-035), var(--alt-bg-color) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 42px;
    font-family: Oswald;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

div.experiences > div > strong {
    white-space: normal;
    font-size: 15px;
    display: block;
    position: relative;
    z-index: 1;
    font-weight: 500;
    color: var(--alt-text-color);
    letter-spacing: 1px;
}

div.experiences > div > span {
    white-space: normal;
    font-size: 13px;
    display: block;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

div.experiences > div > svg {
    width: auto;
    fill: var(--main-text-color);
    position: absolute;
    z-index: 0;
    opacity: .15;
    left: 50%;
    transform: translateX(-50%);
}

div.experiences > div:nth-child(1) > svg {
    height: 35px;
    bottom: -50px;
}

div.experiences > div:nth-child(2) > svg, div.experiences > div:nth-child(3) > svg {
    height: 50px;
    bottom: -60px;
}

div.experiences > div:nth-child(4) > svg {
    height: 35px;
    bottom: -50px;
}

div.about-me {
    margin: 100px auto 150px;
    padding: 0 0 0 180px;
    width: 600px;
    max-width: calc(100% - 20px);
    position: relative;
}

div.about-me:before {
    content: "";
    width: 150px;
    height: 150px;
    background: url(../img/pp.jpg) center/cover no-repeat;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

div.about-me p {
    font-size: 13px;
    padding: 0;
    margin: 0;
    text-align: left;
    font-weight: 400;
    color: var(--main-text-color);
}

div.contact-me {
    margin: 100px auto 50px;
    padding: 0;
    width: 600px;
    max-width: 100%;
    position: relative;
    text-align: center;
}

nav {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    font-size: 0;
    min-width: 252px;
    max-width: calc(100vw - 20px);
    text-align: center;
    opacity: 1;
}

nav.static {
    position: relative;
    transform: translateX(0);
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    left: 0;
}

@keyframes nav-items-appearing {
    0% { padding: 0; margin: 0; max-width: 0; }
    40% { padding: 3px; margin: 0 0 0 10px; max-width: 125px; }
    51% { opacity: 0; transform: translateY(20px) scale(.5); }
    60% { opacity: 1; transform: translateY(-10px) scale(1.1); }
    100% { padding: 3px; margin: 0 0 0 10px; max-width: 125px; opacity: 1; transform: translateY(0px) scale(1); }
}

nav > *, #settings-btn {
    box-shadow: 0 5px 25px rgba(0, 0, 0, .2);
    backdrop-filter: blur(7px);
    height: 60px;
    display: inline-block;
    vertical-align: bottom;
}

ul.secondary-btn-list, #settings-btn {
    list-style: none;
    background: linear-gradient(0deg, var(--rgba-240-100) 0%, var(--rgba-240-025) 100%);
    border-radius: 150px;
    border: 1px solid var(--rgba-250-050);
    line-height: 52px;
    opacity: 0;
    transform: translateY(20px) scale(.5);
    max-width: 0;
    padding: 0;
    margin: 0;
    animation: nav-items-appearing 1s ease .3s forwards;
    transition: all .3s ease;
}

#settings-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 998;
    font-size: 0;
    overflow: hidden;
    max-width: none;
    transform: none;
    transition: opacity .0s;
}

@keyframes settings-btn-openning {
    0% { transform: scale(.95); height: 60px; width: 60px; border-radius: 150px; box-shadow: 0 5px 25px rgba(0, 0, 0, .2); }
    35% { transform: scale(1.25); height: 229px; width: 220px; border-radius: 30px; box-shadow: 0 5px 35px rgba(0, 0, 0, .45); }
    100% { transform: scale(1); height: 229px; width: 220px; border-radius: 30px; box-shadow: 0 5px 30px rgba(0, 0, 0, .35); }
}

#settings-btn.opened {
    animation: settings-btn-openning .35s ease-out forwards;
    opacity: 1;
    transition: opacity 0;
    z-index: 999;
}

#settings-btn:not(.opened) > ul, #settings-btn.opened > div {
    display: none;
}

#settings-btn.opened > ul {
    display: block;
    list-style: none;
    padding: 4px;
    margin: 0;
    width: 100%;
}

#settings-btn.opened > ul li:not(.separator) {
    border-radius: 50px;
    cursor: pointer;
    line-height: 14px;
    min-height: 14px;
    padding: 18px 10px 18px 40px;
    font-size: 14px;
    position: relative;
    color: var(--alt-text-color);
}

#settings-btn.opened > ul li:first-child > svg {
    animation: darkmode-svg-blink 2s infinite .2s;
}

#settings-btn.opened > ul li:first-child > strong {
    font-weight: inherit;
    font-family: Oswald;
    letter-spacing: 1px;
    font-size: 13px;
    margin-left: 1px;
    text-transform: uppercase;
    animation: darkmode-text-blink 2s infinite .2s;
}

#settings-btn.opened > ul li:first-child:hover > svg, #settings-btn.opened > ul li:first-child:hover > strong {
    animation: none;
}

#settings-btn.opened > ul li:not(.separator).disabled {
    opacity: .5;
    cursor: not-allowed;
    filter: grayscale(1);
}

#settings-btn.opened > ul li:not(.separator) > svg {
    fill: var(--alt-text-color);
    width: 18px;
    position: absolute;
    top: calc(50% - 1px);
    left: 12px;
    transform: translateY(-50%);
}

#settings-btn.opened > ul li.separator {
    width: calc(100% - 20px);
    height: 1px;
    background-color: rgba(0, 0, 0, .1);
    margin: 4px 10px;
}

@keyframes darkmode-svg-blink {
    0%, 100%, 17%, 21%, 25%, 70%, 74%, 94% { left: 12px; fill: var(--alt-text-color); }
    19%, 23%, 72%{ left: 7px; fill: rgba(0, 0, 0, .25); }
    97% { left: 17px; fill: #e53935; }
}

@keyframes darkmode-text-blink {
    0%, 100%, 17%, 21%, 25%, 70%, 74%, 94% { margin-left: 1px; color: var(--alt-text-color); }
    19%, 23%, 72% { margin-left: -2px; color: rgba(0, 0, 0, .25); }
    97% { margin-left: 6px; color: #e53935; }
}

nav.static > ul.secondary-btn-list {
    background: none;
    border-color: rgba(0, 0, 0, 0);
    box-shadow: none;
}

@keyframes nav-items-desappearing {
    0% { padding: 3px; margin: 0 0 0 10px; max-width: 125px; opacity: 1; transform: translateY(0px) scale(1); }
    40% { opacity: 1; transform: translateY(-10px) scale(1.1); }
    49% { opacity: 0; transform: translateY(20px) scale(.5); }
    60% { padding: 3px; margin: 0 0 0 10px; max-width: 125px; }
    90% { padding: 0; margin: 0; max-width: 0; }
    100% { display: none; }
}

ul.secondary-btn-list.hidden {
    display: inline-block;
    animation: nav-items-desappearing 1s ease forwards;
}

ul.secondary-btn-list.hidden.without-animation {
    animation: none;
}

ul.secondary-btn-list li, #settings-btn > div {
    display: inline-block;
    vertical-align: middle;
    color: var(--main-text-color);
    padding: 10px 15px;
    border-radius: 150px;
    font-size: 14px;
    line-height: 34px;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 1px;
    margin: 0;
    height: 52px;
    min-width: 52px;
    text-align: center;
    position: relative;
}

ul.secondary-btn-list li:hover, #settings-btn > div:hover, #settings-btn.opened > ul li:not(.separator):hover {
    background-color: rgba(200, 200, 200, .35);
}

ul.secondary-btn-list li:active, #settings-btn > div:active, #settings-btn.opened > ul li:not(.separator):active {
    background-color: rgba(200, 200, 200, .75);
}

ul.secondary-btn-list li svg, #settings-btn > div svg {
    height: 27px;
    fill: var(--alt-text-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-btn {
    background-color: rgba(0, 140, 255, .7);
    color: rgba(255, 255, 255, .85);
    padding: 15px 25px;
    border-radius: 150px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s ease, box-shadow .3s ease, background-color .3s ease;
    border: 1px solid rgba(116, 226, 255, .75);
    letter-spacing: 1px;
    width: 60px;
    position: relative;
    overflow: hidden;
}

.contact-btn:not(.opened):hover {
    background-color: rgba(0, 140, 255, .85);
    box-shadow: 0 3px 15px rgba(0, 140, 255, .5), 0 8px 25px rgba(0, 0, 0, .2);
    transform: scale(1.15);
    margin-right: 5px;
}

.contact-btn:not(.opened):active {
    transform: scale(0.95);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    margin-right: 5px;
    filter: brightness(.75);
}

.contact-btn > svg {
    height: 33px;
    fill: rgba(255, 255, 255, .9);
    position: absolute;
    top: 50%;
    left: calc(50% - 3px);
    transform: translate(-50%, -50%);
}

.contact-btn.opened > svg, .contact-btn:not(.opened) > div {
    display: none;
}

@keyframes msg-appearing {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.contact-btn.opened > div {
    display: block;
    opacity: 0;
    animation: msg-appearing .75s ease .25s forwards;
    color: #000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 5px;
    width: 100%;
    height: 100%;
    max-height: 100%;
    font-size: 0;
}

.contact-btn.opened > div:after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    background: linear-gradient(0deg, var(--rgba-245-100), rgba(0, 0, 0, 0));
    height: 30px;
    z-index: 1;
}

.contact-btn.opened > div > * {
    display: block;
}

.contact-btn.opened > div > i {
    font-size: 0;
    text-align: center;
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 25px;
    background-color: var(--rgba-000-005);
    font-style: normal;
    cursor: pointer;
    transform: rotate(45deg);
    font-weight: 400;
    color: var(--rgba-000-035);
    opacity: .75;
    transition: transform .3s ease;
}

.contact-btn.opened > div i:after {
    content: "+";
    font-size: 30px;
    color: inherit;
}

.contact-btn.opened > div i:hover {
    opacity: 1;
    transform: scale(1.25) rotate(45deg);
}

.contact-btn.opened > div i:active {
    background-color: var(--rgba-000-010);
}

.contact-btn.opened > div h2 {
    margin: 0;
    padding: 8px 30px 12px 10px;
    letter-spacing: 5px;
    font-size: 23px;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.contact-btn.opened > div > div:nth-child(3) {
    position: relative;
    max-height: 54px;
    display: inline-block;
    width: 48%;
    margin-right: 2%;
}

.contact-btn.opened > div > div:nth-child(4) {
    position: relative;
    max-height: 54px;
    display: inline-block;
    width: 49%;
}

.contact-btn.opened > div > div:nth-child(5) {
    position: relative;
    max-height: 54px;
}

.contact-btn.opened > div > div:nth-child(6) {
    position: relative;
    max-height: 185px;
}

/*.contact-btn.opened > div > div:not(:nth-child(6)):focus-within:before {
    content: "";
    position: absolute;
    width: calc(100% - 2px);
    height: calc(100% - 20px);
    border: 2px solid transparent;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    animation: project-active-blinking 3s infinite;
    outline: 0;
    cursor: text;
    z-index: -1;
}*/

.contact-btn.opened > div input, .contact-btn.opened > div textarea, .prevent-autofill {
    background-color: rgba(0, 0, 0, 0);
    border: 0;
    width: calc(100% - 20px);
    padding: 15px 10px;
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    color: var(--main-text-color);
    outline: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    z-index: 1;
    position: relative;
    text-align: left;
    letter-spacing: normal;
}

.contact-btn.opened > div input::placeholder, .contact-btn.opened > div textarea::placeholder {
    color: var(--main-text-color);
    opacity: .35;
}

.contact-btn.opened > div input:focus::placeholder, .contact-btn.opened > div textarea:focus::placeholder {
    color: rgba(0, 140, 255, .75);
    opacity: 1;
}

.contact-btn.opened > div input:focus, .contact-btn.opened > div textarea:focus {
    color: var(--full-text-color);
}

.contact-btn.opened > div input:not(:focus).invalid, .contact-btn.opened > div textarea:not(:focus).invalid {
    color: var(--invalid-color);
}

.contact-btn.opened > div input::-webkit-contacts-auto-fill-button,.contact-btn.opened > div input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    height: 0;
    width: 0;
    margin: 0;
}

.contact-btn.opened > div label {
    display: none;
}

input:-webkit-autofill, input:-webkit-autofill:is(:hover, :focus, :active) {
    transition: background-color 5000s ease-in-out 0s;
}

input {
    all: unset;
}

input:is(:-webkit-autofill, :autofill) {
    font-style: italic !important;
    text-shadow: 0 0 10px #ffea00 !important;
}

.contact-btn.opened > div textarea {
    border: 0;
    resize: none;
    height: 185px;
    max-height: 185px;
    padding-bottom: 40px;
    width: 100%;
}

.contact-btn.opened > div button, body.msg-sent.done #mask button {
    border: 1px solid rgba(116, 226, 255, .75);
    background-color: #008bff;
    font-size: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    transition: all .25s ease;
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 2;
}

body:not(.msg-sent.done) #mask button {
    display: none;
}

body.msg-sent.done #mask button {
    position: fixed;
    bottom: 10vh;
    left: 50%;
    transform: translate(-50%, 100%);
    right: auto;
}

.contact-btn.opened > div button svg, body.msg-sent.done #mask button svg {
    height: 20px;
    fill: #fff;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contact-btn.opened > div button:not(:disabled):hover, body.msg-sent.done #mask button:hover {
    opacity: .85;
    transform: scale(1.1);
}

body.msg-sent.done #mask button:hover {
    transform: translate(-50%, 100%) scale(1.1);
}

.contact-btn.opened > div button:not(:disabled):active, body.msg-sent.done #mask button:active {
    transform: scale(.95);
    filter: brightness(.75);
}

body.msg-sent.done #mask button:active {
    transform: translate(-50%, 100%) scale(.95);
}

.contact-btn.opened > div button:disabled {
    cursor: not-allowed;
    opacity: .3;
}

.contact-btn.opened > div button:disabled svg {
    opacity: .75;
}

.contact-btn.opened > div input + span, .contact-btn.opened > div textarea + span {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 12px;
    padding: 3px;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: normal;
    text-align: center;
    color: #888;
    background-color: #eee;
    border-radius: 5px;
    transition: all .2s ease;
}

.contact-btn.opened > div textarea + span {
    top: 26.5px;
}

.contact-btn.opened > div input:not(:focus) + span, .contact-btn.opened > div textarea:not(:focus) + span {
    font-size: 0;
    line-height: 0;
}

.contact-btn.opened > div input:focus + span:empty, .contact-btn.opened > div textarea:focus + span:empty {
    font-size: 0;
    line-height: 0;
    padding: 0;
}

.contact-btn.opened > div input + span.error, .contact-btn.opened > div textarea + span.error {
    color: var(--invalid-color);
    background-color: #f1d6d4;
}

.contact-btn.opened > div input + span.required, .contact-btn.opened > div textarea + span.required {
    color: #ff9800;
    background-color: rgba(241, 214, 212, .35);
}

.contact-btn.opened > div input:not(:focus) + span.error, .contact-btn.opened > div textarea:not(:focus) + span.error {
    background-color: var(--invalid-color);
    opacity: .5;
}

.contact-btn.opened > div input:not(:focus) + span.required, .contact-btn.opened > div textarea:not(:focus) + span.required {
    background-color: #ff9800;
    opacity: .5;
}

.contact-btn.opened > div input:not(:focus) + span:not(.error):not(.required), .contact-btn.opened > div textarea:not(:focus) + span:not(.error):not(.required) {
    background-color: #00e676;
    opacity: .5;
}

.contact-btn.opened > div u {
    text-decoration: none;
    position: absolute;
    bottom: 10px;
    right: 50px;
    font-size: 10px;
    line-height: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    letter-spacing: normal;
    color: #008bff;
    z-index: 2;
    text-align: right;
    cursor: default;
}

.contact-btn.opened > div u.error {
    color: var(--invalid-color);
}

@keyframes contact-btn-openning {
    35% { transform: scale(1.15); margin-right: 20px; }
    100% { transform: scale(1); margin-right: 0px; }
}

.contact-btn.opened {
    animation: contact-btn-openning .5s ease-out forwards;
    width: 300px;
    height: 340px;
    cursor: initial;
    border-radius: 25px;
    background-color: var(--rgba-245-075);
    border: 1px solid var(--rgba-250-050);
    box-shadow: 0 10px 30px 2px rgba(0, 0, 0, .35);
    backdrop-filter: blur(20px);
}

@keyframes contact-btn-sending {
    50% { transform: scale(.75); margin-bottom: -20px; opacity: 1; }
    75% { opacity: 1; }
    100% { transform: scale(1.5); margin-bottom: calc(100vh + 300px); opacity: 0; }
}

@keyframes mask-contact-appearing {
    50% { display: block; opacity: 0; backdrop-filter: blur(0); }
    100% { display: block; opacity: 1; backdrop-filter: blur(5px); }
}

body.msg-sending .contact-btn.opened, body.msg-sent .contact-btn.opened {
    animation: contact-btn-sending .5s ease-out forwards;
}

body:not(.msg-sending) #mask > *, body:not(.msg-sent) #mask > * {
    opacity: 0;
    transition: all .5s ease .5s;
}

body.msg-sending #mask > *, body.msg-sent #mask > * {
    opacity: 1;
    transition: all .5s ease .5s;
}

body.msg-sending #mask, body.msg-sent #mask {
    opacity: 0;
    background-image: linear-gradient(var(--rgba-255-075), rgba(0, 0, 0, 0) 50vw);
    animation: mask-contact-appearing .5s ease-out forwards;
}

body.msg-sending #mask {
    background-color: rgba(0, 140, 255, .85);
    transition: background-color .5s ease .5s;
}

body.msg-sending #mask h2, body.msg-sent #mask h2 {
    color: rgba(0, 0, 0, .25);
    border-bottom: 2px solid rgba(0, 0, 0, .15);
}

body.msg-sending #mask h2 u, body.msg-sent #mask h2 u {
    background-color: rgba(0, 0, 0, .25);
}

body.msg-sent #mask {
    background-color: rgba(28, 233, 182, .85);
    transition: background-color .5s ease;
}

body.msg-sent.done #mask {
    background-color: var(--rgba-255-075);
    z-index: 999;
}

body.msg-sent.done #mask h2 {
    color: var(--main-text-color);
}

body.msg-sent.done #mask u {
    opacity: 0;
}

body.msg-sending #mask h2 b, body.msg-sent #mask h2 b {
    font-weight: inherit;
    display: inline-block;
}

#mask h2 {
    display: block;
    margin: 0;
    padding: 0;
    position: fixed;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    letter-spacing: 5px;
    cursor: default;
    padding-bottom: 10px;
    margin-bottom: 10px;
    width: 250px;
    font-size: 25px;
}

#mask h2 u {
    font-size: 0;
    text-decoration: none;
    display: block;
    position: absolute;
    left: 0;
    width: 0;
    height: 4px;
    bottom: -5px;
    transform: translateY(-50%);
    border-radius: 5px;
    transition: all .3s ease, width .1s ease;
}

#mask h2 span {
    width: 95px;
    text-align: right;
    letter-spacing: 3px;
    float: right;
}


footer:before {
    content: "";
    width: 100%;
    height: 250px;
    background-color: var(--main-bg-color);
    position: absolute;
    top: -250px;
    left: 0;
    z-index: -1;
}

footer {
    background-color: var(--alt-bg-color);
    padding: 50px 20px;
    text-align: left;
    color: #b4b4b4;
    font-size: 13px;
    position: relative;
    margin: 175px 0 0;
}

footer div {
    display: block;
    margin: 0 auto;
    width: 1000px;
    max-width: 100%;
    column-count: 3;
    column-gap: 40px;
    hyphens: auto;
}

footer h2 {
    background: linear-gradient( var(--rgba-000-025), var(--alt-bg-color) 75%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    left: 50%;
    transform: translateX(-500px);
    top: -59px;
    text-align: left;
    font-size: 50px;
    font-weight: 400;
    position: absolute;
    z-index: -1;
    transition: all .3s ease;
}

footer p {
    font-size: 10px;
    line-height: 15px;
    text-align: justify;
    margin: 0 0 10px;
}

footer p a {
    color: #999;
}

footer strong {
    font-size: 11px;
    line-height: 15px;
    text-align: left;
    margin: 20px 0 10px;
    font-weight: 600;
    display: block;
}

footer ul {
    list-style: "—";
    padding: 0;
    margin: 0 0 10px;
}

footer ul li {
    margin: 0 0 5px 10px;
    padding-left: 5px;
    font-size: 10px;
    line-height: 15px;
    text-align: justify;
}

section {
    margin: 100px 0;
}

@media only screen and (max-width: 1200px) {

    footer {
        padding-bottom: 80px;
    }

}

@media only screen and (max-width: 1040px) {

    footer h2 {
        left: 20px;
        transform: none;
    }

}

@media only screen and (max-width: 850px) {

    footer div {
        column-count: 2;
    }

}

@media only screen and (max-width: 800px) {

    /*div.projects > div {
        height: calc(200px / 4 * 3);
        width: calc(350px / 4 * 3);
    }*/

    nav:not(.static).hidden {
        left: 0;
        transform: translateX(-100%);
    }

    nav {
        transition: all .3s ease-out;
    }

}

@media only screen and (max-width: 750px) {

    footer h2 {
        font-size: 30px;
        top: -36px;
    }

}

@media only screen and (max-width: 600px) {

    div.about-me {
        margin-bottom: 75px;
        padding: 175px 0 0;
    }

    div.about-me:before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    div.about-me h3 {
        text-align: center;
    }

}

@media only screen and (max-width: 550px) {

    footer div {
        column-count: 1;
    }

    footer h2 {
        font-size: 20px;
        top: -24px;
        letter-spacing: 5px;
    }

    footer {
        padding-top: 30px;
    }

}

@media only screen and (max-width: 500px) {
    
    nav:not(.static) {
        left: 15px;
        transform: translateX(0);
        text-align: left;
    }

    u#scrollbar {
        right: 4px;
        opacity: .5;
    }

    u#scrollbar.active {
        width: 3px;
    }

    u#scrollbar:after {
        display: none;
    }

    @keyframes contact-btn-openning-small-screen {
        35% { transform: scale(1.05); margin-right: 0; }
        100% { transform: scale(1); margin-right: 0; }
    }

    .contact-btn.opened {
        animation: contact-btn-openning-small-screen .5s ease-out forwards;
        width: calc(100vw - 20px);
        height: calc(340px + 54px);
        margin-left: -5px;
        margin-bottom: calc(100vh - 340px + 54px - 200px);
    }

    .contact-btn.opened > div > div:is(:nth-child(3), :nth-child(4)) {
        display: block;
        width: 100%;
        margin-right: 0;
    }

}