/*----------------GENERAL----------------*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: "Switzer";
    src: url('/assets/fonts/Switzer-Variable.ttf');
}


:root {
    --bg-main: #101822;
    --bg-card: #131d28;
    --color-1: #25384e;
    --color-2: #394b63;
    --color-3: #4b6381;
    --color-4: #99b9e0;

    --accent-1: #5e7ca0;
    --accent-2: #b8d4f4;
    --accent-2-muted: #b8d4f498;
    --accent-bright: #ffff;
    --accent-dark: #4444448c;

    --text-main: #f5f6fa;
    --text-muted: #a6adb9;
    --text-dark: #57606d;

    --btn-shadow-1: rgb(29, 38, 48);
    --btn-shadow-2: rgb(64, 71, 80);

    /* color v2 light mode?*/
    /* 
    --bg-main: #f3f7fe;
    --bg-card: #d5dfe7;
    --text-main: #526573; */
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: "Switzer", sans-serif;
    height: 100%;
    scroll-behavior: smooth;  
    overflow-x: hidden !important;  
}

body {
    color: var(--text-main);
    background-color: var(--bg-main);
    max-width: 100%;
    overflow-x: hidden;
}

.page-wrapper {
    width: 100%;
    overflow-x: hidden;
}



/*-------------------------------TEXT---------------------------*/

p {
    font-family: Switzer, sans-serif;
    /* font-family: Noto Sans, sans-serif; */
    font-size: .875rem;
    letter-spacing: .025rem;
}

.section__text__p1 {
    font-weight: 300;
    color: var(--text-muted)
}

.section__text__p2 {
    font-size: 1.75rem;
}

.title {
    font-size: 3rem;
}

.section__text__subtitle {
    font-size: 1.5rem;
}


/*-----------------------ICONS------------------*/


.icon {
    cursor: pointer;
    height: 2rem;
}


/*-----------------------BUTTONS------------------*/


.hero-btn-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 2rem;
    grid-column: 1;
    grid-row: 3
}

.btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    background-color: var(--bg-card);
    box-shadow: .15rem .15rem 0 0 var(--btn-shadow-1), .3rem .3rem 0 0 var(--btn-shadow-1), .45rem .45rem 0 0 var(--btn-shadow-1);
    border-radius: 1.2rem;
    border: 1px solid var(--btn-shadow-1);
    width: 8rem;
    height: 3.2rem;
    font-weight: 300;
    will-change: transform, box-shadow;
    transition: color 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease,
        transform 200ms ease;
}

.btn:hover {
    color: var(--text-main);
    box-shadow: none;
    transform: translate(.45rem, .45rem);
}

.btn-color-2 {
    background-color: var(--color-1);
}

.btn:disabled {
    cursor: default;
    color: var(--text-dark);
    filter: grayscale(.4);
}

a {
    transition: color 200ms ease,
        text-decoration-color 200ms ease;
}



/* -----Switch-------- */

.switch-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.5rem;
}

.switch {
    position: absolute;
    display: inline-block;
    width: 48px;
    height: 24px;
    bottom: 2rem;
    right: 2rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-main);
    border-radius: 2rem;
    transition: 300ms;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-main);
    border-radius: 2rem;
    transition: 300ms;
}

input:checked+.slider {
    background-color: var(--accent-1);
}

input:hover+.slider:before {
    background-color: var(--text-dark);

}

input:checked+.slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

/* Pulse */

@keyframes pulse {
    0% {
        transform: scale(0.1);
        opacity: 0
    }

    8% {
        transform: scale(0.2);
        opacity: 0.3
    }

    15% {
        transform: scale(0.5);
        opacity: .8
    }

    30% {
        transform: scale(0.7);
        opacity: 1
    }

    100% {
        opacity: 0;
        transform: scale(1)
    }
}


.pulse_rays {
    cursor: pointer;
    margin: 0 auto;
    position: absolute;
    left: -8px;
    top: -8px;
    z-index: 10;
    background-color: rgba(185, 185, 185, 0.377);
    opacity: 0.1;
    width: 40px;
    height: 40px;
    border: 2px solid #bbbbbb36;
    border-radius: 50%;
    -webkit-animation: pulse 1.5s linear infinite;
    -o-animation: pulse 1.5s linear infinite;
    animation: pulse 1.5s linear infinite;
    border-image: initial;
}

.pulse_rays:hover {
    background-color: rgba(204, 204, 221, 0.527);
}

.infinity-on .pulse_rays {
    display: none;
}

/*--------------------------DESKTOP NAV-----------------------*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 8rem;
    z-index: 1000;
    /* padding: 0 5rem; */
    border-radius: 0 0 100px 0;
    overflow: hidden;
    transition:
        width 0.3s cubic-bezier(0.1, 0, 0.1, 1),
        height 0.3s cubic-bezier(0.1, 0, 0.1, 1),
        padding 0.3s cubic-bezier(0.1, 0, 0.1, 1);
    animation: headerEntrance 600ms ease 1.4s both;
}

header.shrunk {
    width: 12rem;
    height: 25rem;
    padding: 4rem 3rem 3rem 3rem;
    border-radius: 0 0 150px 0;
    transition:
        width 0.3s cubic-bezier(0.1, 0, 0.1, 1),
        height 0.3s cubic-bezier(0.1, 0, 0.1, 1),
        padding 0.3s cubic-bezier(0.1, 0, 0.1, 1),
        border-radius 0.3s cubic-bezier(0.1, 0, 0.1, 1);
}

.nav-links {
    display: block;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 15rem;
    transform: translateY(-50%);
    list-style: none;
    font-size: .85rem;
    transition: all 300ms ease;
}

.nav-links li {
    display: inline-block;
    transition: all 300ms ease-in-out;
    transform: translateY(0);
    margin-right: 4rem;
}

header.shrunk .nav-links li {

    width: 100%;
}

a {
    color: rgb(136, 136, 136);
    text-decoration: none;
    text-decoration-color: var(--accent-bright);
}

a:hover {
    color: var(--text-main);
    text-decoration: none;
    text-underline-offset: 0.8rem;
    text-decoration-color: var(--text-muted);
}

.logo {
    position: absolute;
    font-size: 2rem;
    color: var(--text-main);
    top: 2.5rem;
    left: 4rem;
    transition: all 0.3s cubic-bezier(0.1, 0, 0.1, 1);
    /* cursor: pointer; */
    z-index: 2000;
}

.nav-dot-indicator {
    position: absolute;
    left: 0;
    width: 0.4em;
    height: 0.4em;
    border-radius: 50%;
    background: var(--text-main);
    box-shadow: #fff 0 0 2px 1px;
    transition: top 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

header.shrunk .nav-dot {
    opacity: 1;
}

#desktop-nav {
    position: relative;
    color: var(--text-main);
    width: 100%;
    height: 8rem;
    transition: all 0.3s cubic-bezier(0.1, 0, 0.1, 1);
}

header.shrunk #desktop-nav {
    width: 100%;
    height: 100%;
}

header.shrunk .nav-links {
    left: 1rem;
    top: 10rem;
}

.shrunk-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 12rem;
    height: 0;
    background: var(--bg-card);
    border-radius: 0 0 150px 0;
    z-index: -1;
    pointer-events: none;
    transition: height 500ms cubic-bezier(0.1, 0, 0.1, 1);
}

header.shrunk .shrunk-bg {
    height: 100%;
}

header.shrunk .logo {
    top: 4rem;
    left: 3rem;
}

header.shrunk .logo:hover {
    cursor: pointer;
    transform: scale(1.1);
}

header.shrunk .nav-links li {
    transform: translateY(40px);
    margin-bottom: 2rem;
}

header.shrunk .nav-links li.active a {
    color: white;
}

header.shrunk .nav-links li:nth-child(1) {
    transition-delay: 0.05s;
}

header.shrunk .nav-links li:nth-child(2) {
    transition-delay: 0.15s;
}

header.shrunk .nav-links li:nth-child(3) {
    transition-delay: 0.25s;
}


header:not(.shrunk) .nav-links li:nth-child(1) {
    transition-delay: 0.05s;
}

header:not(.shrunk) .nav-links li:nth-child(2) {
    transition-delay: 0.15s;
}

header:not(.shrunk) .nav-links li:nth-child(3) {
    transition-delay: 0.25s;
}



/*--------------------------HAMBURGER MENU-----------------------*/



#hamburger-menu {
    display: none;
    flex-direction: column;
    width: 35px;
    padding-top: 2rem;
    cursor: pointer;
}

#hamburger-menu span {
    background: var(--text-main);
    border-radius: 10px;
    height: 3px;
    margin: 3px 0;
    transition: .4s ease;
}

#hamburger-menu span:nth-of-type(1) {
    width: 50%;
}

#hamburger-menu span:nth-of-type(2) {
    width: 95%;
}

#hamburger-menu span:nth-of-type(3) {
    width: 75%;
}

#hamburger-menu input[type="checkbox"] {
    display: none;
}

#hamburger-menu input[type="checkbox"]:checked~span:nth-of-type(1) {
    transform-origin: bottom;
    transform: rotatez(45deg) translate(4px, 0px)
}

#hamburger-menu input[type="checkbox"]:checked~span:nth-of-type(2) {
    transform-origin: top;
    transform: rotatez(-45deg)
}

#hamburger-menu input[type="checkbox"]:checked~span:nth-of-type(3) {
    transform-origin: bottom;
    width: 50%;
    transform: translate(14px, -4px) rotatez(45deg);
}


/*----------------------------------SECTIONS--------------------------------*/
/*--------------------------------------------------------------------------*/


section {
    height: 100vh;
    box-sizing: border-box;
    min-height: fit-content;
    width: 100%;
    align-content: center;
}

.slide-section {
    position: relative;
    opacity: 1;
    height: 100vh;
    overflow-y: visible;
    /* overflow-x: hidden; */

}

.section-container {
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 1;
}

.bg-gradient {
    opacity: 0;
    height: 200vh;
    width: 200vw;
    position: absolute;
    top: -50vh;
    left: -50vw;
    z-index: 0;
}

.section-subtitle {
    color: var(--color-4);
    background-color: var(--bg-card);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

.infinity-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: transparent;
    border: rgb(255, 255, 255) 1px solid;
    border-radius: inherit;
    box-shadow:
        inset 1px 1px 32px 0 var(--accent-2-muted),
        0 0 32px 8px var(--accent-bright);
    opacity: 0;
    perspective: 900px;
    transition:
        opacity 0.2s cubic-bezier(.25, .46, .45, .94);
}

.infinity-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.infinity-container:nth-of-type(2) {
    box-shadow: inset 0 0 32px 8px rgba(184, 212, 244, 0.363),
        0 0 10px 2px rgba(184, 212, 244, 0.363);
    border-radius: .9rem;
    border: rgba(255, 255, 255, 0.781) 1px solid;
}

.infinity-container:nth-of-type(3) {
    box-shadow: inset 0 0 32px 0 rgba(184, 212, 244, 0.288),
        0 0 10px 2px rgba(184, 212, 244, 0.288);
    border-radius: .8rem;
    border: rgba(255, 255, 255, 0.623) 1px solid;
}

.infinity-container:nth-of-type(4) {
    box-shadow: inset 0 0 32px 0 rgba(184, 212, 244, 0.192),
        0 0 10px 2px rgba(184, 212, 244, 0.192);
    border-radius: .7rem;
    border: rgba(255, 255, 255, 0.384) 1px solid;

}

.infinity-container.infinity-animate {
    opacity: 0.7;
}

.infinity-container.infinity-animate:nth-of-type(2) {
    opacity: 0.45;
}

.infinity-container.infinity-animate:nth-of-type(3) {
    opacity: 0.3;
}

.infinity-container.infinity-animate:nth-of-type(4) {
    opacity: 0.3;
}


/*--------------------PROFILE section--------------------*/



#profile-section {
    height: 50%;
    min-height: 24rem;
    background-color: #1018225e;
}

/* #profile-hero-text {
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    max-height: 350px;
    max-width: 700px;
    flex: 2;
    padding-right: 2rem;
}     */

.hero-name {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-main);
}

.hero-desc {
    font-weight: 300;
    color: var(--text-muted);
    max-width: 70%;
    font-size: 1rem;
    grid-row: 2;
    grid-column: 1
}

#profile-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    align-self: center;
    margin-right: -13%;
    z-index: 1;
    gap: 0.2rem;
}

#profile-container-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    grid-column: 2;
    grid-row: 1 / span 3;
}

#profile-content-right {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: flex-end;

}

.profile-h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

#profile-pic {
    width: 65%;
    object-fit: cover;
    display: block;
    position: relative;
    top: 1rem;
    right: -30%;
}

#profile-pic-bg-wrapper {
    background-color: #131d28;
    border-radius: 50%;
    width: 15rem;
    height: 15rem;
    position: relative;
    overflow: hidden;
    margin: auto;
}


#profile-pic-shape-wrapper {
    width: 60%;
    height: 60%;
    overflow: hidden;
}

#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}




/*----------------------- HERO BORDER------------------*/


.hero-section {
    --angle: 0deg;
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    align-items: center;

    width: 90%;
    opacity: 0;
    filter: blur(20px);
    max-width: 2000px;
    padding: 4rem 8rem;
    margin: auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 25px 40px -30px;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(100px);
    z-index: 1;
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--angle), transparent 0, #ffffff73 10%, transparent 20%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(241, 241, 241, 0.158);
    pointer-events: none;
    z-index: 2;
}


.hero-section.glow-on::before {
    opacity: 1;
}



/*----------------ABOUT SECTION---------------------------*/



#about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6rem 0 16rem;
    width: 100%;
    max-width: 2200px;
    min-height: fit-content;
    gap: 6rem;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
}

.about-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    width: 100%;
    /* transition: height 200ms ease-in-out; */

}


.about-details-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 2;
    transition: height 200ms ease-in-out;

    /* max-width: 1000px; */
}

.about-subsection {
    display: flex;
    flex-direction: column;
    min-width: 20rem;
    background-color: #77777715;
    padding: 2rem;
    gap: 1rem;
    border: solid 1px transparent;
    border-radius: 1rem;
    z-index: 2;
    transition: border-color 200ms ease-in-out,
        transform 200ms ease-in-out;
}



.about-subsection:hover {
    /* border-color: var(--accent-2-muted); */
    box-shadow: none;
    border: 1px solid var(--accent-dark);
    border-color: var(--accent-2-muted);
    transform: translateY(-3px);

}


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

.subsection-btn-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.about-expand-btn {
    display: inline-block;
    position: relative;
    color: var(--accent-2);
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color 200ms ease-in-out;
}

.about-expand-btn::after {
    content: '';
    /* display: block; */
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: rgba(255, 255, 255, 0.63);
    transition: transform 200ms ease-in-out;
    transform-origin: bottom right;
}

.arrow-icon {
    width: 0.7rem;
    height: 0.7rem;
    display: inline-block;
    transform: rotate(-135deg);
    transition: transform 200ms ease-in-out;
}

.about-subsection:not(.expanded):hover .arrow-icon {
    transform: rotate(-45deg);
}

.about-subsection.expanded .arrow-icon {
    transform: rotate(135deg);
}

.about-expand-btn:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 200ms ease-in-out, opacity 200ms ease-in-out;

}

.accordion-content.show {
    opacity: 1;
}

.skills-section {
    flex: 1;
    --gradient-angle: 45deg;
    background: linear-gradient(var(--gradient-angle), rgb(22, 33, 46), rgba(10, 16, 26, 0.719) 45%);
}

.skills-section:hover {
    border-color: var(--accent-dark);
}

.skills {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    border: solid 1px var(--accent-dark);
    border-radius: 0.5rem;
    background-color: #182029ad;
    transition: border-color 200ms ease-in-out;
}

.skills:hover {
    border-color: var(--accent-2-muted);
}

.skills:hover .skill-logo {
    filter: grayscale(0) brightness(1);
}

.skill-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
    transition: color 200ms ease-in-out;
    cursor: default;
}

.skill-container:hover .skill__title {
    color: var(--text-main);
}

.skill-container:hover .skill-logo {
    transform: scale(1.2);
}

.skills-subsection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border: solid 1px var(--accent-dark);
    border-radius: 0.5rem;
    background-color: #182029ad;
    /* background-color: var(--bg-card); */
}

.skills__subsection__title {
    font-size: .85rem;
    font-family: Switzer, sans-serif;
    color: var(--text-dark);
}

.skill__title {
    font-size: .85rem;
    color: #b0b7c2;
    font-weight: 300;
    text-transform: uppercase;
    transition: color 200ms ease-in-out;
}

.skill-logo {
    height: 1.7rem;
    width: 1.7rem;
    transition: all 200ms ease-in-out;
    filter: grayscale(1);
}


/*----------------------------PROJECTS-------------------------*/



#projects {
    display: flex;
    flex-direction: column;
    padding: 0 6rem 0 16rem;
    width: 100%;
    max-width: 2200px;
    justify-content: space-evenly;
    min-height: fit-content;
    gap: 6rem;

}

.project-section-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}


.project-display-container {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 20rem;
    width: 100%;
    max-width: 30rem;
    height: auto;
    gap: 1rem;
    max-height: fit-content;
    border: solid 1px var(--accent-dark);
    border-radius: 1rem;
    background-color: #77777715;
    transition: border-color 200ms ease-in-out,
        transform 200ms ease-in-out;
}

.project-display-container:hover {
    border-color: var(--accent-2-muted);
    transform: translateY(-3px);
}

.project-display-container:hover .project-img {
    filter: grayscale(0);
}



.project-details {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 1.5rem;
    padding: 0.5rem 1.5rem 4rem 1.5rem;
}

.proj-img-container {
    height: 16rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: 1rem;
    --gradient-angle: 45deg;
    background: linear-gradient(var(--gradient-angle), rgba(19, 29, 40, 1), rgba(10, 16, 26, 0.719) 45%);
}

.project-img {
    max-height: 100%;
    max-width: 90%;
    height: auto;
    width: auto;
    border: rgba(95, 95, 95, 0.521) 1px solid;
    border-radius: 0.5rem;
    transition: all 300ms ease;
    object-fit: contain;
    cursor: pointer;
    filter: grayscale(1) brightness(0.6);
}

.project-img:hover {
    transform: scale(1.04);
}

.project-title {
    color: white;
}

.progress-flag {
    font-size: .8rem;
    font-weight: 200;
    color: var(--text-dark);
    padding-left: 1rem;
}

.proj-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
}

.project-bb-home-img {
    z-index: 2;
}

.project-bb-over-img {
    height: 80%;
    margin: 1rem 0 0 -5rem;
    background-color: rgb(240, 240, 240);
}

.project-bb-over-img:hover {
    z-index: 2;
}

.project-logo-bar {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
}

.project-logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
}

.project-logo-container:hover .logo__title {
    color: var(--text-main);
}

.project-logo-container:hover .project-logo {
    transform: scale(1.2);
}

.project-btn {
    transform: scale(0);
    color: var(--text-main);
    background-color: var(--bg-card);
    border: solid 1px var(--accent-dark);
    box-shadow: none;
    transition: transform 200ms ease, border-color 200ms ease-in-out;
    transform-origin: center center;
}

.project-display-container:hover .project-btn {
    transform: scale(1);
}

.project-display-container:hover .project-btn:hover {
    transform: scale(0.9);
}

.project-btn:hover {
    color: var(--text-main);
    border-color: var(--accent-2-muted);
    transform: scale(0.8);
}


.project-logo {
    height: 1.5rem;
    width: 1.5rem;
    transition: transform 200ms ease-in-out;
}

.logo__title {
    font-size: 0.8rem;
    color: rgb(156, 156, 156);
    font-weight: 300;
    text-transform: uppercase;
    transition: color 200ms ease-in-out;
}



/*----------------------------CONTACT-------------------------*/



#contact {
    padding: 0 6rem 0 16rem;
    width: 100%;
    height: 80vh;
    background: linear-gradient(180deg, var(--bg-main) 0%, #0a0f16 90%);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    height: 100%;
    width: 100%;
    max-width: 2000px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-column-gap: 4rem;
    align-items: center;
}


.contact-btn-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
}

.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-info-container:hover .contact-icon {
    transform: rotate(225deg);
}

.contact-info-container p {
    font-size: 0.8rem;
    letter-spacing: normal;
}

.contact-links-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 1rem;

}


.contact-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}


.contact-icon {
    cursor: default;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    transition: ease 200ms;
}

.email-btn {
    width: 16rem;
    height: 4rem;
    justify-content: start;
    padding-left: 2rem;
}


.cv-btn {
    width: 10rem;
    height: 4rem;
    justify-content: start;
    padding-left: 2rem;
}

.arrow-wrapper {
    display: inline-block;
    transition: ease 200ms;
}

.email-arrow {
    width: 14px;
    height: 14px;
    transform: rotate(225deg);
}

.email-btn:hover .arrow-wrapper {
    transform: translateX(.7rem);
}

.cv-btn-icon {
    height: 1.2rem;
}



/*--------------------------------FOOTER-----------------------------*/


footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 5rem;
    width: 100%;

    background-color: #0a0f16;
    padding: 4rem
}

footer .section__text__p1 {
    text-align: center;
    font-size: 0.7rem;
}

footer p span {
    color: var(--text-dark);
}

.footer-stew {
    font-size: 1rem;
}


/*-------------------------------ANIMATIONS---------------------*/


@keyframes headerEntrance {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: translateY(-100px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes bgGradientEntrance {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        filter: blur(20px);

    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}


.project-display-container .project-btn:disabled:hover {
    transform: scale(1);
    border-color: var(--accent-dark);
    color: var(--text-dark);
}

.scroll-hidden {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(100px);
    transition: filter 800ms ease,
        opacity 800ms ease,
        transform 800ms ease;
}

.scroll-animate {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.project-display-container:nth-child(1).scroll-animate {
    transition-delay: 0s;
}

.project-display-container:nth-child(2).scroll-animate {
    transition-delay: 200ms;
}

.project-display-container:nth-child(3).scroll-animate {
    transition-delay: 400ms;
}


/* Lightbox */

#lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    backdrop-filter: blur(8px);
}

#lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;

}

#lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: .25rem;
}