@import url('./fonts/fonts.css');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

@font-face {
    font-family: 'Carpenter';
        src: url('../fonts/Carpenter/Carpenter.woff2') format('woff2'),
         url('../fonts/Carpenter/Carpenter.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

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

:root{
    --bg: #a0a0a0;
    --bg-dark: #202020;
    
    --text: #1a1a1a;
    --text2: #a0a0a0;
    --text-dark: #bbbaba;

    --bg-header: rgba(26, 26, 26, 0.60);

    --logo: './img/logo/mini logo a0.png';
    --logo-dark: './img/logo/mini logo 1a.png';

    --btn-bg: #282828;
    --btn-bg-hover: #3e3e3e;

    --prj-mini-bg: #b9b8b8;
    --prj-mini-bg-hover: #aeacac;

    --pMITexrMore-text: #484848;
}

*{
    padding: 0;
    margin: 0;
    list-style: none;
    text-decoration: none;
    border: none;
    font-family: sans-serif;
}

body{overflow-x: hidden;}

body.noScroll {
  overflow-y: clip;
  touch-action: none;
}

html, body{
    width: 100%;
    height: 100vh;
    max-width: 100vw;
    background-color: var(--bg);
}

::selection {
    background-color: var(--text);
    color: #f0f0f0;
}

section{padding: 0 60px;}

.dBtn{
    display: flex;
    justify-content: start;
    align-items: center;
}

.btn{
    border-radius: 100px;
    background-color: var(--btn-bg);
    padding: 15px 25px;
    color: var(--text2);
    font-weight: bold;
    z-index: 1;
    transition: all .3s ease;

    &:hover{background-color: var(--btn-bg-hover);}
}


.pre-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #a0a0a0;
    font-family: "Courier New", monospace;
}

.lWrapper{
    position: fixed;
    right: 50px;
    bottom: 50px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lWrapper .lCircle{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg,#a0a0a0,#8f8f8f);
    transform-origin: center center;
    transform: scale(0);
    will-change: transform, opacity;
    animation: loaderAnim 2s ease-in-out;
}

.lConsole{
    padding: 50px;
    inset: 0;
    position: absolute;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lConsole h1 {
    opacity: 0;
    color: #a0a0a0;
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-family: 'Fira Code', monospace;
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
}


.transition{
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 100;
    pointer-events: none;
}

.transition-row .row1{transform-origin: top;}
.transition-row .row2{transform-origin: bottom;}

.block{
    flex: 1;
    background-color: #1a1a1a;
    transform: scaleY(1);
    will-change: transform;
    height: 100px;
}


header {
    width: 40%;
    padding: 15px 18px;
    position: fixed;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 6;
    box-sizing: border-box;
    border-radius: 20px;
    background: var(--bg-header);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease-in-out;
}

.logo{
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo img{width: 45px;}

.logoPadding{display: none;}
.leftLogo{display: none; margin: -8px -3px;}
.leftLogo svg{vertical-align: middle; fill: var(--text2);}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.navbar a, .navbar p{
    cursor: pointer;
    color: var(--text2);
    transition: all 0.3s ease-in-out;
    font-size: 18px;
    font-weight: 600;
    /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
    font-family: 'Safiro', 'Codec Pro', sans-serif;
}

.navbar li{
    transition: all 0.3s ease;
    white-space: nowrap;
    &:hover{transform: scale(1.1);}
}

.pages{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 02px;
}

.pages:hover > li {transform: scale(1.2);}
.pages.active > li {transform: scale(1.2);}

.mPages{display: none;}

.pagesContent {
    position: absolute;
    top: 110%;
    transform: translateX(-28%);
    background-color: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 5px 25px;
    border-radius: 20px 5px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3;
}

.pages:hover .pagesContent {
    opacity: 1;
    visibility: visible;
}

.mPagesContent{display: none;}

.pages.active .pagesContent {
    opacity: 1;
    visibility: visible;
}

.pagesContent li {
    padding: 3px 0;
    white-space: nowrap;
}

.pagesContent li:hover {transform: scale(1.1);}
.pagesContent li a{font-size: 20px; color: var(--text2);}

.burgerContainer {
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.burgerContainer p{
    color: var(--text2);
    font-size: 18px;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-right: 10px;
}

.burgerMenu{
    padding: 7px 5px;
    /* background-color: rgba(26, 26, 26, 0.9); */
    border-radius: 10px;
}

.burgerMenu span{
    display: block;
    width: 30px;
    height: 3.5px;
    background-color: var(--bg);
    margin: 5px;
    transition: all .50s ease;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(.4,1.5,.6,1);
}

.burgerMenu.active span:nth-child(1) {transform: translateY(4px) rotate(45deg);}
.burgerMenu.active span:nth-child(2) {transform: translateY(-4px) rotate(-45deg);}


.cookie{
    position: fixed;
    bottom: 0px;
    width: 100vw;
    max-height: 150px;
    z-index: 4;
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: all .5s ease;
    animation: cookieAnim .5s ease-in;
}

.cookie.show{
    display: flex;
    animation: cookieAnim .5s ease-in-out;
}

.cookie.hide{
    transform: translateY(150%);
    opacity: 1;
    pointer-events: none;
    animation: cookieAnimHide .5s ease-in-out;
}

.cookieContent{
    padding: 10px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background-color: var(--bg-header);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    position: relative;
    width: 90%;
    max-width: 600px;
}

.cookieContent h2{
    color: var(--text2);
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-weight: 500;
    white-space: normal;
}

.cookieContent p.cookieText{
    color: var(--text2);
    font-size: clamp(0.85rem, 0.9vw, 0.9rem);
    line-height: 1.4;
    margin: 0 10px;
    width: 40%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    cursor: help;
}

.cookieTooltip {
    position: absolute;
    left: 0;
    bottom: 100%;
    background-color: var(--bg-header);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    border-radius: 20px;
    white-space: normal;
    width: 300px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    color: var(--text2);
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    line-height: 1.4;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.cookieText:hover + .cookieTooltip {
    display: block;
    opacity: 1;
}

.cookieTooltip::after {
    content: '';
    position: absolute;
    left: 20px;
    bottom: -15px;
    border-width: 7.5px;
    border-style: solid;
    border-color: rgba(26, 26, 26, 0.85) transparent transparent transparent;
    z-index: 3;
}

.cookieBtns{
    display: flex;
    gap: 8px;
}

.cookieBtns button{
    cursor: pointer;
    border: none;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: bold;
    transition: all .3s ease;
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);

    &:active{transform: scale(1);}
}

.cAccept{
    background-color: var(--bg);
    color: var(--text);

    &:hover{transform: scale(1.07); background-color: #b0b0b0;}
}

.cDecline{
    color: var(--text2);
    background-color: transparent;
    border: 1px solid var(--text2);

    &:hover{transform: scale(1.07); background-color: rgba(160, 160, 160, 0.1);}
}

.cookieClose{
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    background: none;
    transition: all .3s ease;

    &:hover{transform: scale(1.1);}
    &:active{transform: scale(1);}
}

.cCloseBtn{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: none;
}

.cCloseBtn span{
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--bg);
    border-radius: 2px;
    transition: background 0.2s;
}

.cCloseBtn span:first-child {transform: rotate(45deg);}
.cCloseBtn span:last-child {transform: rotate(-45deg);}

.changeLang {
    position: fixed;
    bottom: 0px;
    width: 100vw;
    max-height: 100px;
    z-index: 4;
    padding: 10px 0;
    overflow: hidden;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: all .5s ease;
    animation: cookieAnim .5s ease-in;
}

.changeLang.show{animation: cookieAnim .5s ease-in-out; display: flex;}
.changeLang.hidden {display: none;}

.changeLang.hide {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
    animation: cookieAnimHide .5s ease-in-out;
}

@keyframes cookieAnimHide {
    0%{opacity: 1; transform: translateY(0);}
    100%{opacity: 1; transform: translateY(150%);}
}

@keyframes cookieAnim {
    0%{opacity: 1; display: none; transform: translateY(150%);}
    100%{opacity: 1; display: flex; transform: translateY(0);}
}

.changeLangContent {
    padding: 10px 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: var(--bg-header);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    position: relative;
}

.changeLangContent h2 {
    color: var(--text2);
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
    font-weight: 500;
    white-space: normal;
}

.changeLangContent select {
    cursor: pointer;
    padding: 8px 15px;
    background-color: var(--bg);
    border-radius: 12px;
    color: var(--text) !important;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
}   

.changeLangContent select:focus {
    outline: none;
    border: none;
}

.nextCL{
    color: var(--text);
    background-color: var(--bg);
    height: 100%;
    font-weight: bold;
    cursor: pointer;
    border: none;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: bold;
    transition: all .3s ease;
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);

    &:hover{transform: scale(1.05); background-color: #b0b0b0;}
    &:active{transform: scale(1);}
}

.closeCL{
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    background: none;
    transition: all .3s ease;

    &:hover{transform: scale(1.1);}
    &:active{transform: scale(1);}
}

.closeBtnCL{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: none;
}

.closeBtnCL span{
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--bg);
    border-radius: 2px;
    transition: background 0.2s;
}

.closeBtnCL span:first-child {transform: rotate(45deg);}
.closeBtnCL span:last-child {transform: rotate(-45deg);}


#home {
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.welcome{
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transform-style: preserve-3d;
    z-index: 1;
}

.welcome h2,
.welcome h1 {
    position: relative;
    font-family: 'Carpenter', sans-serif;
    color: var(--text);
    line-height: 0.9;
    transition: transform 0.1s ease-out;
    will-change: transform;

}

.welcome h2 {font-size: 16.7vw;}
.welcome h1 {font-size: 25.5vw;}

.dev {
    overflow: visible !important;
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;

    animation: devH1Anim linear;
    animation-timeline: view();
    animation-range: cover 0% 100%;
}

.dev h1 {
    position: relative;
    overflow-x: visible;
    font-size: clamp(2rem, 14.3vw, 14.3rem);
    white-space: nowrap;
    color: var(--text);
    text-align: center;
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

    display: block;
    width: max-content;
    min-width: 150%;
}

@keyframes devH1Anim {
  0%   { transform: translateX(10%) scale(0.95); }
  100% { transform: translateX(-100%) scale(0.95); }
}

@supports not (animation-timeline: view()) {
  .dev {
    overflow: visible;
  }
}




@keyframes devH1Anim {
  0%   { transform: translateX(10%) scale(0.95); }
  100% { transform: translateX(-100%) scale(0.95); }
}

@supports not (animation-timeline: view()) {
  .dev {
    overflow-x: hidden;
  }
}


#about{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 60px;
    overflow: hidden;
}

.aScrollLine{
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 120vw;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

svg.scrollSvg{
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: 0;
}

svg.scrollSvg path{
    stroke: #3e3e3e;
    stroke-width: 30;
    fill: none;
}

.aContainer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 200px;
    /* align-items: center; */
}

.aContainer h1{
    z-index: 1;
    color: var(--text);
    font-weight: bold;
    font-size: clamp(4rem, 8vw,8rem);
    font-family: 'Codec Pro', sans-serif;
}

.aContainer .btn{
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Codec Pro', sans-serif;
}

.aContent{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
    gap: 10px;
}

.aContent p{
    color: var(--text);
    line-height: 1.6;
    font-weight: 500;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-family: 'Codec Pro', sans-serif;
}



#services{
    margin-bottom: 20%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: visible;
    scroll-margin-top: 80px;
}

#services .sTitle{
    z-index: 1;
    color: var(--text);
    margin-bottom: 5%;
    font-size: clamp(3rem, 10vw, 5rem);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.sContainer{    
    width: 100%;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.sSnakeContainer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 60px;
    position: relative;
    height: 100%;
}

@keyframes sCardIn1 {
    0%{transform: translateY(220px) rotate(-8deg);}
    45%{transform: translateX(0px) rotate(3deg);}
    100%{transform: translateY(0) rotate(2deg);}
}

@keyframes sCardIn2 {
    0%{transform: translateY(240px) rotate(12deg);}
    40%{transform: translateX(0px) rotate(-3deg);}
    100%{transform: translateY(0) rotate(-3deg);}
}

@keyframes sCardIn3 {
    0%{transform: translateY(260px) rotate(-10deg);}
    30%{transform: translateX(0px) rotate(3deg);}
    100%{transform: translateY(0) rotate(3deg);}
}

@keyframes sCardIn4 {
    0%{transform: translateY(280px) rotate(8deg);}
    25%{transform: translateX(0px) rotate(-4deg);}
    100%{transform: translateY(0) rotate(-4deg);}
}

.sCardWrapper{width: 50%;}

.sCard{
    position: relative;
    padding-top: 50px;
    z-index: 1;
    text-align: center;
    background-color: var(--text);
    color: var(--text2);
    padding: 30px;
    border-radius: 7vh;
    transition: all .5s ease;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.sCard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.3));
    border-radius: inherit;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 1;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.sCardWrapper:nth-child(odd) {
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
    transform: translateY(0);
}
.sCardWrapper:nth-child(even) {
    align-self: flex-end;
    margin-right: 0;
    margin-left: auto;
    transform: translateY(40px);
}

@media (max-width: 768px) {
    .sCardWrapper1, .sCardWrapper2, .sCardWrapper3, .sCardWrapper4 {animation: none;}

    [data-aos="fade-up"] {
        transform: translateY(100px) rotate(0);
        transition-property: transform, opacity;
        transition-duration: 0.8s;
        transition-timing-function: ease-out;
    }

    [data-aos="fade-up"].aos-animate {transform: translateY(0);}

    .sCardWrapper {
        width: 100%;
        align-self: center;
        margin: 0;
    }

    [data-aos="fade-up"].aos-animate:nth-child(1){transform: rotate(5deg)}
    [data-aos="fade-up"].aos-animate:nth-child(2){transform: rotate(-3deg)}
    [data-aos="fade-up"].aos-animate:nth-child(3){transform: rotate(7deg)}
    [data-aos="fade-up"].aos-animate:nth-child(4){transform: rotate(-6deg)}

    .sCardWrapper:nth-child(odd),
    .sCardWrapper:nth-child(even) {
        align-self: center;
        margin: 0;
        transform: translateY(300px);
    }

    .sSnakeContainer {
        gap: 40px;
        padding: 0 15px;
        overflow: visible;
    }

    .sContainer {overflow: visible;}
}

.sCardWrapper1{animation: sCardIn1 linear; animation-timeline: view();}
.sCardWrapper2{animation: sCardIn2 linear; animation-timeline: view();}
.sCardWrapper3{animation: sCardIn3 linear; animation-timeline: view();}
.sCardWrapper4{animation: sCardIn4 linear; animation-timeline: view();}

.sCard .svgWrapper svg {
    fill: var(--text);
    border-radius: 0;
}

.sCard h1{margin: 0% 0 2% 0; font-size: clamp(1.5rem, 3vw, 3rem);}
.sCard p{font-family: Verdana, Geneva, Tahoma, sans-serif; font-size: clamp(1.2rem, 2.5vw, 2.5rem);}



#projects {
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    scroll-margin-top: 50px;
}
  
/* .pWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.pTech {
    position: absolute;
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    color: #101010;
    opacity: 0.8;
}

@keyframes pTechAnimR {
    0%{transform: translate(-50%, -50%);}
    100%{transform: translate(-50%, -400%);}
}

@keyframes pTechAnimN {
    0%{transform: translate(50%, 50%);}
    100%{transform: translate(50%, -900%);}
}

@keyframes pTechAnimJs {
    0%{transform: translate(-50%, 50%);}
    100%{transform: translate(-50%, -600%);}
}

@keyframes pTechAnimTs {
    0%{transform: translate(50%, 50%);}
    100%{transform: translate(50%, -200%);}
}

@keyframes pTechAnimM {
    0%{transform: translate(-50%, -50%);}
    100%{transform: translate(-50%, -400%);}
}

@keyframes pTechAnimCss {
    0%{transform: translate(50%, 50%);}
    100%{transform: translate(50%, -700%);}
}

@keyframes pTechAnimP {
    0%{transform: translate(-50%, 50%);}
    100%{transform: translate(-50%, -500%);}
}


.pTech.react {
    top: 20vh;
    left: -34vw;
    transform: translate(-50%, -50%);
    animation: pTechAnimR linear;
    animation-timeline: view();
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pTech.node {
    top: 14vh;
    right: -38vw;
    transform: translate(50%, -50%);
    animation: pTechAnimN linear;
    animation-timeline: view();
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pTech.js {
    bottom: 12vh;
    left: -6vw;
    transform: translate(-50%, 50%);
    animation: pTechAnimJs linear;
    animation-timeline: view();
}

.pTech.ts {
    bottom: 5vh;
    right: 30vw;
    transform: translate(50%, 50%);
    animation: pTechAnimTs linear;
    animation-timeline: view();
}

.pTech.mysql {
    top: 35vh;
    left: 15vw;
    transform: translate(-50%, -50%);
    animation: pTechAnimM linear;
    animation-timeline: view();
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pTech.css {
    bottom: -45vh;
    right: 15vw;
    transform: translate(50%, 50%);
    animation: pTechAnimCss linear;
    animation-timeline: view();
}

.pTech.python{
    bottom: 0vh;
    left: 23vw;
    transform: translate(-50%, 50%);
    animation: pTechAnimP linear;
    animation-timeline: view();
} */

.pContainer {
    display: flex;
    flex-direction: column;
    justify-content: start;
    z-index: 1;
}

.pContainer h1 {
    z-index: 1;
    color: var(--text);
    font-size: clamp(4rem, 14vw, 14rem);
    font-family: "Montserrat", sans-serif;
}

.pContent{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pContentMain{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.pContentMini{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pCardMain{
    position: relative;
    display: flex;
    flex-direction: column;
}

.pTitle svg path, .pCardMain svg{transition: all .3s ease;}
.pCardMain:hover svg{background-color: var(--text);}
.pCardMain:hover svg path {transform: translateX(5px); stroke: var(--text2);}

.pCardImg {
    cursor: pointer;
    position: relative;
    width: 100%;
    aspect-ratio: 10/9;
    border-radius: 30px;
    overflow: hidden;
}

.pCardImg img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    transition:
        opacity 0.7s cubic-bezier(.4,1.5,.6,1),
        transform 0.7s cubic-bezier(.4,1.5,.6,1);
    pointer-events: none;
}

.pMainImg {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.pHoverImg {
    opacity: 0;
    z-index: 2;
    transform: scale(1.05);
}

.pCardMain:hover .pMainImg {
    opacity: 0;
    transform: scale(1.08);
}

.pCardMain:hover .pHoverImg {
    opacity: 1;
    transform: scale(1);
}

.pCardInfo{
    position: absolute;
    left: 10px;
    bottom: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.pTitle{
    cursor: pointer;
    cursor: pointer;
    width: fit-content;
    padding: 12px 12px 12px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background-color: #bcbcbc;
    border-radius: 22px;
    z-index: 3;
}

.pTitle h1{
    color: var(--text);
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pTitle svg{
    padding: 12px;
    background-color: var(--bg);
    border-radius: 15px;
}

.pInfo{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.pCardMain:hover .pInfo{display: flex;}

.pInfo h2{
    opacity: 0;
    padding: 12px 20px;
    color: var(--text2);
    border-radius: 22px;
    background-color: var(--text);
    font-size: clamp(0.7rem, 1.8vw, 1.8rem);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transform: translateX(-20px);
    transition-delay: 0s;
    transition:
        opacity 0.4s cubic-bezier(.4,1.5,.6,1),
        transform 0.4s cubic-bezier(.4,1.5,.6,1);
    z-index: 3;
}

.pCardMain:hover .pInfo h2{
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.05s;
    animation: pInfoH2Anim 0.6s cubic-bezier(.4,1.5,.6,1);
}

.pMoreInfo {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: rgba(26, 26, 26, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.pMoreInfo.show{display: flex; animation: pMoreInfoShow .5s ease;}
.pMoreInfo.hide{display: none; animation: pMoreInfoHide .5s ease;}

@keyframes pMoreInfoShow{
    0%{opacity: 0; display: none;}
    100%{opacity: 1; display: flex;}
}

@keyframes pMoreInfoHide{
    0%{opacity: 1; display: flex;}
    100%{opacity: 0; display: none;}
}

.pMoreInfoCont{
    margin: 20px;
    transform: translateY(43%);
    display: none;
    padding: 20px;
    width: 100%;
    height: auto;
    max-width: 1200px;
    position: relative;
    background-color: var(--bg);
    border-radius: 30px;
    box-sizing: border-box;
    
}

.pMoreInfoCont.show{display: block; animation: pMoreInfoContShow .5s ease-in-out;}
.pMoreInfoCont.hide{animation: pMoreInfoContHide .5s ease-in-out;}

@keyframes pMoreInfoContShow{
    0%{display: none; opacity: 0; transform: translateY(50%);}
    1%{opacity: 1;}
    100%{display: block; transform: translateY(43%);}
}

@keyframes pMoreInfoContHide{
    0%{display: block; opacity: 1; transform: translateY(43%);}
    100%{display: none; opacity: 0; transform: translateY(50%);}
}

.pMIpadding{
    width: 100px;
    height: 100px;
}

.pMIHeader{
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.pMIHeader h1{
    margin: 0;
    color: var(--text);
    font-size: clamp(2.8rem, 3vw, 3rem);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.pMIHeaderLinks{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.pMIHeaderLinks a{
    cursor: pointer;
    padding: 15px;
    color: var(--text2);
    background-color: var(--text);
    border-radius: 17px;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all .3s ease;
}

.pMIHeaderLinks a:hover{transform: scale(1.05);}
.pMIHeaderLinks a:active{transform: scale(1);}

.pMIHeaderLinksM{
    margin-top: 20px;
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.pMIHeaderLinksM a{
    width: 50%;
    text-align: center;
    padding: 15px;
    color: var(--text2);
    background-color: var(--text);
    border-radius: 17px;
    transition: all .3s ease;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pMICloseBtn{
    cursor: pointer;
    padding: 10px;
    width: 50px;
    height: 50px;
    background-color: var(--text);
    border-radius: 17px;
    transition: all .3s ease;
}

.pMICloseBtn:hover{background-color: var(--text); transform: scale(1.05);}
.pMICloseBtn:active{transform: scale(1);}
.pMICloseBtn:hover span{background-color: var(--bg);}

.pMICloseBtn span{
    display: block;
    width: 20px;
    height: 3px;
    background-color: var(--bg);
    margin: 5px;
    transition: all .50s ease;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(.4,1.5,.6,1);
}

.pMICloseBtn span:nth-child(1) {transform: translateY(4px) rotate(45deg);}
.pMICloseBtn span:nth-child(2) {transform: translateY(-4px) rotate(-45deg);}

.pMIText{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pMITexrMore{
    display: flex;
    flex-direction: column;
}

.pMITexrMore p{
    color: var(--pMITexrMore-text);
    text-align-last: left;
    white-space: nowrap;
    font-family: 'Roboto Mono', monospace;
}

.pMIText2{
    width: 60%;
    text-align: right;
    color: var(--pMITexrMore-text);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pMIImages{margin-top: 20px;}

.pMIimg1:nth-child(1){width: 100%; border-radius: 30px;}
.pMIimg{width: 100px; border-radius: 30px;}

.pMIInfo{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    margin: 20px 0 20px 0;
    gap: 10px;
}

.pMIIText{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pMIIText p{
    width: 40%;
    color: var(--pMITexrMore-text);
    font-family: 'Roboto Mono', monospace;
}

.pMITechs{
    padding: 15px;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-left: auto;
}

.pMITech{
    padding: 15px;
    white-space: nowrap;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #c0bebe;
    border-radius: 15px;
}

.pMITech h1{
    color: var(--text);
    font-size: clamp(0.9rem, 1.5vw, 1.5rem);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pMITech p{
    color: #363535;
    font-size: clamp(0.8rem, 1.2vw, 1.2rem);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pMIimgs{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pMIimgs img {
    height: clamp(100px, 40vw, 40vw);
    width: auto;
    object-fit: contain;
    display: block;
}

.pMIMoreImages {
    margin-top: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.pMIimgMore {
    width: 100%;
    cursor: pointer;
    border-radius: 22px;
}


.pCardMainMini{
    cursor: pointer;
    padding: 20px;
    background-color: var(--prj-mini-bg);
    border-radius: 30px;
    transition: all .3s ease;
}

.pCardMainMini:hover{background-color: var(--prj-mini-bg-hover);}

.pCardContainer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.pCardTitle{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.pCardTitle h3{
    color: var(--text);
    font-size: clamp(1.2rem, 1.5vw,1.5rem);
    font-family: "Quicksand", sans-serif;
}

.pCardTitle h1{
    font-size: clamp(1.3rem, 3vw,3rem);
    color: var(--text);
    font-weight: 400;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pCardContent{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.pCardImages{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.pCardImages img{
    width: 130px;
    height: 80px;
    border-radius: 15px;
}

.pCardImages .pCardImg4{transform: rotate(3deg); opacity: 0;}
.pCardImages .pCardImg3{transform: rotate(-2deg); opacity: 0;}
.pCardImages .pCardImg2{transform: rotate(4deg);}

.pCardMainMini:hover .pCardImg4{opacity: 1; animation: pCardImagesAnim1 .6s ease;}
.pCardMainMini:hover .pCardImg3{opacity: 1; animation: pCardImagesAnim2 .6s ease;}

@keyframes  pCardImagesAnim1{
    0%{opacity: 0; transform: translateX(250px) rotate(0deg);}
    1%{opacity: 0.5;}
    100%{opacity: 1; transform: translateX(0) rotate(3deg);}
}

@keyframes  pCardImagesAnim2{
    0%{opacity: 0; transform: translateX(160px) rotate(0deg);}
    1%{opacity: 0.5;}
    80%{opacity: 1; transform: translateX(0) rotate(-2deg);}
}

.pCardMainMini .pCardImg4 {opacity: 0; animation: pCardImagesAnim1Reverse .6s ease;}
.pCardMainMini .pCardImg3 {opacity: 0; animation: pCardImagesAnim2Reverse .6s ease;}

@keyframes pCardImagesAnim1Reverse {
    0%{opacity: 1; transform: translateX(0) rotate(3deg);}
    100%{opacity: 0; transform: translateX(250px) rotate(0deg);}
}

@keyframes pCardImagesAnim2Reverse {
    0%{opacity: 1; transform: translateX(0) rotate(-2deg);}
    100%{opacity: 0; transform: translateX(160px) rotate(0deg);}
}

.pCardMore{
    cursor: pointer;
    padding: 15px;
    background-color: var(--bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pMoreBtn{
    cursor: pointer;
    color: var(--text);
    padding: 20px;
    text-align: center;    
    background-color: var(--prj-mini-bg);
    border-radius: 30px;
    font-weight: 400;
    font-size: clamp(1.3rem, 1.8vw, 1.8rem);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all .3s ease;

    &:hover{background-color: var(--prj-mini-bg-hover);}
}


#education{
    margin: 150px auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eTitle{z-index: 1;}

.eTitle h1{
    text-align: right;
    color: var(--text);
    font-size: clamp(3rem, 10vw, 5rem);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.eTitle p{
    text-align: right;
    z-index: 1;
    color: #363636;
    font-weight: bold;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* .eCard{
    width: 60%;
    padding: 20px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    background-color: var(--text);
    border-radius: 20px;
    margin: 20px auto;
}

.eCardTitle{
    display: flex;
    align-items: center;
    gap: 10px;
}

.eCardTitle svg{
    width: 40px;
    height: 40px;
    color: var(--text2);
}

.eCardTitle h2{
    color: var(--text2);
    font-size: 20px;
}

.eCardTitle h3{
    color: #8b8b8b;
    font-size: 15px;
}

.eCardTitle2{
    color: #8b8b8b;
    margin-top: 30px;
    font-size: clamp(1rem, 1.3vw, 1.5rem);
}

.eBlocks{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
    gap: 7px;
}

.eBlock{
    width: 20%;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 11px;
    background-color: var(--bg);
    border-radius: 16px;
}

.eBlockTitle p {
    text-align: center;
    color: var(--text);
    font-size: 20px;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.eBlockDate p {
    text-align: center;
    color: var(--text);
    font-size: 15px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
} */

.eScrollLine{
    margin-top: 150px;
    position: absolute;
    z-index: 0;
    left: 0%;
    width: 100%;
    height: 120%;
    pointer-events: none;
    overflow: hidden;
}

.eContainer{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.eCard{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 15px;
}

.eCard:nth-child(1){transform: translateX(25%);}
.eCard:nth-child(2){transform: translateX(-35%);}
.eCard:nth-child(3){transform: translateX(28%);}
.eCard:nth-child(4){transform: translateX(-20%);} 

.eYear h1{
    width: 100%;
    color: var(--text);
    border-radius: 20px;
    font-size: clamp(1.2rem, 4vw, 4rem);
    font-weight: bold;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.eYear span{
    color: var(--text);
    font-size: clamp(0.8rem, 1.5vw, 1.5rem);
    font-weight: bold;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.eBlock{
    padding: 20px;
    color: var(--text2);
    background-color: var(--text);
    border-radius: 30px;
}

.eBlock h1{font-size: clamp(1.3rem, 1.8vw, 1.8rem);}
.eBlock p{font-size: clamp(0.9rem, 1vw, 1rem);}


#contact{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact h1, #contact h3{
    z-index: 1;
    color: var(--text);
    font-size: clamp(2rem, 5vw, 5rem);
    font-family: 'Codec Pro', sans-serif;
}

#contact h1{text-align: left;}
#contact h3{text-align: right; font-size: clamp(3rem, 5vw, 5rem);}

.cContent{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.cContainer {
    margin-top: 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
    flex-wrap: wrap;
}

.cContainer a {
    cursor: pointer;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--text);
    border-radius: 30px;
    padding: 20px;
    transition: all .3s ease;

    &:hover {transform: scale(1.05);}
}

.cIcon, .cGithub{
    padding: 10px;
    background-color: #282828;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cIcon svg{width: 35px; height: 35px; fill: var(--bg);}
.cGithub svg{width: 30px; height: 30px; color: var(--text2);}

.cContainer a h2{
    color: #848484;
    font-size: clamp(1rem, 1.3vw, 1.3rem);
    margin-top: 10px;
    font-family: 'Codec Pro', sans-serif;
}



.changeThemeBtn{
    cursor: pointer;
    background: none;
    border: none;
    font-size: 30px;
}

.changeThemeBtn .icon {
    display: none;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;

    & svg{color: var(--text2);}
}

.changeThemeBtn .icon.show {
  display: flex;
  transform: scale(1);  
  opacity: 1;
  animation: cTIconShow .3s ease;
}

@keyframes cTIconShow {
    0%{opacity: 0; display: none; transform: scale(0.8);}
    100%{opacity: 1; display: flex; transform: scale(1);}
}

.changeThemeBtn .icon.hide {
  display: none;
  opacity: 0;
  transform: scale(0.8);
  animation: cTIconHide .3s ease;
}

@keyframes cTIconHide {
    0%{opacity: 1; display: flex; transform: scale(1);}
    100%{opacity: 0; display: none; transform: scale(0.8);}
}


footer {
    color: var(--text2);
    background-color: var(--text);
    border-radius: 60px 60px 0 0;
}

.fContainer {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.fContent{
    padding: 40px 40px 0 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.fLeft{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.fLanguage{
    padding: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background-color: #bab9b9;
    border-radius: 16px;
}

.fLanguage a{
    height: 100%;
    color: var(--text);
    padding: 5px 15px;
    border-radius: 11px;
    font-weight: bold;
    font-family: 'Codec Pro', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.2rem);;
}

.fLanguage a span{margin-right: 10px;}
.fLanguage a:nth-child(1){background-color: #d5d5d5;}
.fLanguage a:nth-child(2) span{margin: 0;}

.fMenu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.fMenu a {
    padding: 5px 0;
    position: relative;
    color: var(--text2);
    font-size: 1.1rem;
    font-family: 'Codec Pro', sans-serif;
    text-decoration: none;
}

.fMenu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--bg);
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(.5,0,.2,1);
}

.fMenu a:hover::after,
.fMenu a:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.fBigText {
    width: 100vw;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fBigText h1{
    padding: 0 20px;
    display: block;
    text-align: center;
    /* font-family: 'Carpenter', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; */
    font-family: "Montserrat", sans-serif;
    font-size: clamp(6rem, 23vw, 23rem);
    font-weight: bold;
    min-width: 150%;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--text2);
    text-transform: uppercase;
    word-break: break-word;
    overflow-wrap: break-word;
    transform: translateY(20%);
}

.fBigText h1 span {
    font-size: 0.5em;
    vertical-align: super;
    letter-spacing: 0;
}

/* @media (min-width: 1500px) {
    .fBigText h1 {
        font-size: clamp(2.5rem, 10vw, 10rem);
    }
} */

/* .fLeft {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 10px;
} */

/* .fColumns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
  
.fColumn h2 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.fColumn ul li {margin-bottom: 10px;}
  
.fColumn ul li a {
    color: #4c4c4c;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.fColumn ul li a:hover {
    color: #282828;
    text-decoration: underline;
    transform: translateX(5px);
}

.fTitle p svg{display: none; fill: var(--text); transform: rotate(90deg); transition: transform .3s ease;}
  
.fRight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid #5a5a5a;
}

.fCopyright p {
    color: #5a5a5a;
    font-size: 14px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.fLanguage a{
    color: #5a5a5a;
    font-size: 16px;
    transition: all .3s ease;
    &:hover{text-decoration: underline;}
} */