@font-face {
    font-family: 'Fira Code';
    font-style: light;
    font-weight: 400;
    src: url('./fonts/FiraCode-Light.ttf') format('woff');
}

p {
    font-family: 'Fira Code', monospace;
    font-size:xx-small;
}

.card-fulltext {
    font-family: 'Fira Code', monospace;
    font-size:xx-small;
    color: gray;
}


body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;
    background: var(--black);
}

html{
    scroll-behavior: smooth;
}

.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: #00000038;
}
/* add 38 to end of bg color above if want to use back-vid again */


.back-vid{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode:overlay;
}


header{
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    height: 70px;
    background-color: rgba(2, 2, 2, 0.121);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px #72a1dea2;
    z-index: 999;
}

.left{
    display: flex;
    align-items: center;
    height: fit-content;
}



.left img{
    width: 40px;
    margin: 0 15px;
}


header ul{
    display: flex;
    justify-content: space-between;
    width: 35%;
    gap: 1rem;
    padding: 2rem;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.326);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #041d3e63;
}

header ul li{
    list-style: none;
}

header ul a{
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: 0.3s;
    margin: 0 0px;
}

header ul a:hover{
    text-shadow: 0 0 15px black;
}

.box-icons {
  display: flex;
  gap: 40px;
}

.box-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid #72a1de;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.5s;
  color: lightgray;
  text-decoration: none;
}

.box-icons a:hover {
  background-color: #72a1de;
  color: black;
  box-shadow: 0 0 15px #72a1de;
}


.bx.icon {
    width: 5rem;   
    height: 3rem;
    object-fit: contain;
    filter: drop-shadow(0 0 2px white);
}

.orcid-logo {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.blackhole-box{
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: -1;
    mix-blend-mode: lighten;
  }
  
.blackhole-box video{
    width: 100%;
    margin-top: -23.5%;
}

.hero{
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
}

.btn {
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #10111381;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
}

.hero-info{
    position: absolute;
    left: 5%;
}

.hero-info .hero-info-title{
    color: #72a1de;
    padding: 8px 5px;
    border-radius: 50px;
    border: 1px solid #00020594;
    width: 240px;
    background-color: #2200493d;
    box-shadow: 0 0 5px #00060f84;
}

.hero-info h1{
    font-size: 60px;
    max-width: 600px;
    font-weight: 700;
    line-height: 70px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.hero-info p{
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
    font-size: 20px;
}



.hero-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #10111381;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
}

.hero-info button:hover{
    box-shadow: 0 0 15px #72a1de81;
}

/* Gradient Animation */
.gradient{
    background: linear-gradient(to right,#00aaa7, #7e42a7, #6600c5, #6070fd,#2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}
@keyframes animate-gradient {
    to{
        background-position: 200%;
    }
}

.skills-video-box{
    position: absolute;
    right: 3%;
    filter: brightness(0.8);
    opacity: 0.35;
}

.skills-video{
    height: 900px;
    mix-blend-mode:lighten;
}


.scroll-down {
    height: 50px;
    width: 30px;
    border: 2px solid lightgray;
    position: absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.626);
  }
  .scroll-down::before,
  .scroll-down::after {
    content: "";
    position: absolute;
    top: 20%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid lightgray;
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
  }
  .scroll-down::before {
    top: 30%;
    animation-delay: 0.5s;
    /* animation: scroll-down 1s ease-in-out infinite; */
  }
  
  @keyframes scroll-down {
    0% {
      /* top:20%; */
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      opacity: 1;
    }
    100% {
      top: 90%;
      opacity: 0;
    }
  }




.info-section{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 3rem;
}

.section-title{
    font-size: 40px;
    font-weight: 700;
}


.card{
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 2rem;
    border: 1px solid gray;
    background-color: #080020b7;
    border-radius: 20px;
    transition: 0.5s;
    gap: 1rem;
}



.read-more {
    align-self: center; 
    margin-top: auto;   
}


.card h1 {
    font-size: 2.2rem;
    color: lightgray;
}

.card p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: gray;
    position: static;     /* collapsed height */
    overflow: hidden;       /* hide overflow */
    transition: max-height 0.4s ease;
}




.card video{
    object-fit: cover;
    mix-blend-mode: lighten;
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.card button{
    padding: 10px 25px;
    border: 1px solid gray;
    background-color: #0f1217;
    color: gray;
    border-radius: 20px;
    box-shadow: 0 0 5px lightgray;
    cursor: pointer;
    transition: 0.3s;
}

.card button:hover{
    box-shadow: 0 0 15px lightgray;
    opacity: 0.7;
}

.card:hover{
    box-shadow: 0 0 15px rgb(211, 211, 211);
}


.card-fulltext {
    display: none;
}

.card.expanded .card-fulltext {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.card.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vh;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #080020f0;
    border-radius: 20px;
    padding: 30px;
    overflow-y: auto;
}

.card.expanded > p {
    display: none;
}

.card-overlay {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(12px);
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 900;
}

.card-overlay.active {
    opacity: 1;
    pointer-events: all;
}

body.no-scroll {
    overflow: hidden;
}



/*
.card:nth-child(1){
    grid-row:span 4;
    grid-column: span 1;
}


.card:nth-child(2){
    grid-column: span 2;
    height: 83vh;
}

.card:nth-child(2) p{
    bottom: 12%;
}

.card:nth-child(2) h1{
    bottom: 21%;
}

.card:nth-child(3){
    grid-row: span 5;
}

.card:nth-child(4){
    grid-row: span 5;
}

*/











.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(min-content, auto);
    gap: 2rem;  
}



/* Card 1: full-width top row */
.card:nth-child(1) {
    grid-column: 1 / 3;   /* span both columns */
    grid-row: 1 / 2;
    align-items: center;
    align-self: center;
    align-content: center;
}





/* Card 2: right column, row 1 (overlay-ish image card) */
.card:nth-child(2) {
    grid-column: 3/5;
    grid-row: 1 / 2;
    background-color: #000000;
    color: #000000; 
    overflow: hidden;
    padding: 0rem;
}




/* Card 3: full-width row 2 */
.card:nth-child(3) {
    grid-column: 1 / 5;
}

.card:nth-child(3).expanded{
    width: 75%;
}




/* Card 4: left column, row 3 */
/* Card 4 layout */
.card:nth-child(4) {
    grid-column: 1/3;
    grid-row: 3/4;
    overflow: hidden;
    color: white;
}



.card.card:nth-child(4).expanded h1{
    margin-top: 1rem;
}


.card .whale-video {
    position: absolute;
    inset: 0;                 /* fills the entire card */
    width: 100%;
    height: 100%;
    object-fit: cover;        /* behaves like a background image */
    opacity: 0.3;            /* transparency */
    z-index: 0;               /* behind content */
    pointer-events: none;     /* prevents clicks blocking the card */
    mix-blend-mode: lighten;  /* optional: gives your “brain video” vibe */
}









/* Card 5 container */
.card:nth-child(5) {
    grid-column: 3 / 5;
    grid-row: 3/4;
    font-size: 5rem;
    align-self: center;
}

.card:nth-child(5) .read-more{
    display:none;
}

.card5-content {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ← THIS centers the icon horizontally */
    width: 100%;
}


/* IMAGE — grows to fill space */
.card:nth-child(5) .card5-icon {
    font-size: 8rem;   
    color: lightgray;
    cursor: pointer;
}

.card:nth-child(5).expanded .card5-icon {
    transform: scale(0.9);
    transition: transform 0.15s ease;
}

.card:nth-child(5) .card5-icon {
    transition: transform 0.15s ease;
}

.card:nth-child(5) .card5-icon {
    transition: transform 0.15s ease, filter 0.15s ease;
    transform-origin: center;
    cursor: pointer;
}

.card:nth-child(5).expanded .card5-icon {
    transform: scale(0.95);
    filter: brightness(0.7);
}

.card:nth-child(5) .card5-icon {
    font-size: 10rem;   
    color: lightgray;
}

.card:nth-child(5):not(expanded) .card5-icon:hover {
    transform: scale(0.95);
    filter: brightness(0.7);
}


/* Pressed state AFTER expansion */
.card:nth-child(5).expanded .card5-icon {
    visibility: hidden;
}



.card:nth-child(5).expanded p {
    display: none;       
}




/* FULLTEXT — hidden until expanded */
.card:nth-child(5) .card-fulltext {
    display: none;
}

.card.expanded .card-fulltext {
    display: block;
}




.card .read-more {
    background-color: lightgray;
    color: #080020;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}


.card.expanded .read-more {
    display: none;
}








.my-project{
    display: flex;
    flex-direction: column;
    gap: 10%;
    align-items: center;
    position: relative;
    width: 90%;
    height: auto;
    margin-top: 50rem;
    margin-bottom: 100rem;
}

.project-card {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    gap: 5%;
    justify-content: center;
}

.project-vidbox{
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 3;
    mix-blend-mode:exclusion;
    position: relative;
    cursor: pointer;
    transition: 0.5s;
    padding-left: 10%;
    padding-right: 5%;

}




.project-vidbox video{
    object-fit: cover;
    width: 100%;
    height: auto;
    box-shadow: 0 0 10px lightgray;
    border-radius: 20px;
    transition: 0.5s;
}

#projectVideo2{
    width: 125%;
}

.project-card video:hover{
    box-shadow: 0 0 25px rgb(255, 255, 255);
}

.project-info{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    flex:1;
    padding-left: 10%;
    gap: 2rem;
}

.project-info h1{
    width: 90%;
    font-size: 25px;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.project-info p{
    width: 90%;
    max-width: 400px;
    min-width: 300px;
    margin-bottom: 50px;
    margin-top: 0;
    font-size: 20px;
}



.project-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #72a1de81;
    background-color: #2200493d;
    box-shadow: 0 0 5px #72a1de81;
    cursor: pointer;
    transition: 0.3s;
}

.pdf-border{
    padding-bottom: 7rem;
}

.project-info button:hover{
    opacity: 0.8;
    box-shadow: 0 0 15px #72a1de81;
}

.project-vidbox .hover-sign{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 100px;
}

.hover-sign::before,
.hover-sign::after {
    content: "👆";
    text-align: center;
    position: absolute;
    font-size: 50px;
    top: 20%;
    left: 40%;
    border-radius: 40px;
    animation: hover-animation 4s ease-in-out infinite;

}

.hover-sign.active{
    display: none;
}

@keyframes hover-animation {
  0% {
    /* top:20%; */
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translate(100%, 50%) rotate(30deg);
  }

  100% {
    box-shadow: 0 0 5px rgb(255, 255, 255);
    transform: translateX(80%, 80%) rotate(20deg);
  }
}




/* Skills section */
.skills-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}






.skills-box{
    width: 100%;
    height: 100rem;
    position: relative;
    display: flex;
    align-items: start;
    justify-content: center;
    mix-blend-mode:lighten;
    opacity: 0.7;
}

.skills-image{
    width: 70%;
    mix-blend-mode:difference;
    margin-top: 6rem;
}

.OpenScience{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 0;
    margin-top: 35rem;
    max-width: 19rem;
    text-align: center;
}

.OpenScience h1{
    font-size: 2.6rem;
    display: flex;
    align-items: center;
}

.OpenScience p{
    line-height: 23px;
}




.coder{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin: 0;
    margin-top: 17%;
    right: 5%;
    max-width: 18rem;
    text-align: right;
}

.coder h1{
    font-size: 2.6rem;
    display: flex;
    align-content: right;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.coder p{
    line-height: 23px;
}



.coder-text{
    text-align: right;
    font-size: 2.6rem;
}






.dataAnalysis{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 20rem;
    margin: 0;
    margin-top: 15%;
    left: 5%;
    max-width: 19rem;
}

.dataAnalysis h1{
    font-size: 2.6rem;
    display: flex;
    align-items: center;
}

.dataAnalysis p{
    line-height: 23px;
}



.dataAnalysis-text{

    font-size: 2.6rem;
}

.techMedia{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 20rem;
    margin: 0;
    margin-top: 45%;
    left: 5%;
    max-width: 19rem;
}

.techMedia h1{
    font-size: 2.6rem;
    display: flex;
    align-items: center;
}

.techMedia p{
    line-height: 23px;
}



.techMedia-text{

    font-size: 50px;
}

.expArchitecture{
    position: absolute;
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-top: 45%;
    right: 5%;
    max-width: 19rem;
    text-align: right;
}

.expArchitecture h1{
    font-size: 2.6rem;
    display: flex;
    text-align: right;
}



.expArchitecture h1{
    font-size: 2.6rem;
    display: flex;
    align-content: right;
    justify-content: flex-end;
}


.expArchitecture h1.gradient {
    display: block;
}


.expArchitecture p{
    line-height: 23px;
}



.expArchitecture-text{
    text-align: right;
    font-size: 2.6rem;
}


.readmore {
    background: linear-gradient(90deg, #ff7ae0, #7ab8ff);
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
}


/* icons for skills */
.coder h1.gradient{
    display: block;
    align-self: flex-end;
}

.coder h1.gradient .bx-code-block {
    align-self: flex-start !important; 
    justify-self: flex-start;
}

.dataAnalysis h1.gradient{
    display: block;
    align-self: center;
}

.dataAnalysis h1.gradient .bx-chart-bar-columns {
    align-self: flex-start !important; 
    justify-self: flex-start;
}

.OpenScience h1.gradient{
    display: block;
    align-self: center;
}

.OpenScience h1.gradient .bx-science {
    align-self: flex-start !important; 
    justify-self: flex-start;
}

.techMedia h1.gradient{
    display: block;
    align-self: center;
}

.techMedia h1.gradient .bx-film {
    align-self: flex-start !important; 
    justify-self: flex-start;
}

.expArchitecture h1.gradient{
    display: block;
    align-self: center;
}

.expArchitecture h1.gradient .bx-timeline {
    align-self: flex-start !important; 
    justify-self: flex-start;
}


/* SLIDER  */

.slider{
    position: absolute;
    bottom: 5%;
    right: 20%;
    width: 60%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
    mix-blend-mode:difference;
    opacity: 0.7;
}
.slider .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
    margin: 0;
    align-self: center;
}
.slider .list .item {
    width: var(--width);
    height: auto;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%, -50%);
    animation: autoRun 10s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s) !important;
}

.slider .list .item img{
    width: 100%;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}
.slider:hover .item{
    animation-play-state: paused!important;
    filter: grayscale(1);
}
.slider .item:hover{
    filter: grayscale(0);
}


  /* CONTACT SECTION */
.contact-section{
    width: 80%;
    height: 50vh;
    display: flex;
    justify-content: center;
    gap: 10%;
    align-items: center;
    position: relative;
}

.contact-section h1{
    left: 40%;
    margin-top: 15rem;
    margin-bottom: 25rem;
}

.social-box {
    display: flex;
    flex-direction: column;
    margin-top: 5rem;
    margin-bottom: 25rem;
}

.social-box a{
    color: lightgray;
    text-decoration: none;
    font-size: 20px;
    text-wrap: nowrap;
}

.social-box i{
    color: #7668ff;
    font-size: 30px;
    margin-right: 10px;
    width: 22px;
    height: 50px;
}

.social-icons a i{
    color: white;
}

.social-box a {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* space between logo + text */
    white-space: nowrap; /* prevent wrapping */
}

.orcid-logo {
    width: 24px;   /* match icon size */
    height: 50px;
    object-fit: contain;
    align-content: flex-end;
    margin-left: 3px;
}
.social-box a:nth-child(3) {
    gap: 10px; /* ORCID row only */
}

.social-box .bx-bluesky {
    position: relative;
    top: 10px;   /* nudge DOWN */
}



.scroll-up {
    position: absolute;
    left: 50%;
    bottom: 20%;
    transform: translateX(-50%);
    height: 50px;
    width: 30px;
    border: 2px solid lightgray;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.626);
}

/* Arrow shapes */
.scroll-up::before,
.scroll-up::after {
    content: "";
    position: absolute;
    bottom: 80%;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -100%) rotate(45deg);
    border: 2px solid lightgray;
    border-bottom: transparent;
    border-right: transparent;
    animation: scroll-up 2s ease-in-out infinite;
}

.scroll-up::before {
    animation-delay: 0.5s;
}

/* Animation */
@keyframes scroll-up {
    0% {
        opacity: 0;
        top: 90%;
    }
    30% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 10%;
    }
}


.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.121);
    z-index: 999;
    padding: 0 1rem;
}

.footer p a {
        color: lightgray;
        text-decoration: none;
        font-size: 11px;
        opacity: 0.4;
        transition: 0.3s ease;
    }

    .footer p a:hover {
        opacity: 1;
        text-shadow: 0 0 8px #72a1de;
    }


/* BLUR EFFECT ANIMAION */

.autoBlur{
    animation: autoBlurAnimation linear both;
    animation-timeline: view();

}
@keyframes autoBlurAnimation{
    0%{
        filter: blur(40px);
    }
    35%,65%{
        filter: blur(0);
        opacity: 1;
    }
    100%{
        filter: blur(40px);
        opacity: 0;
    }
}


/* AUTO DISPLAY ANIMAION */
.autoDisplay{
    animation: autoDisplayAnimation both;
    animation-timeline: view();

}

@keyframes autoDisplayAnimation{
    from{
        filter: blur(10px);
        transform: translateY(-20vh) scale(0);
    } 50%{
        opacity: 1;
        filter: blur(0px);
        transform: translateX(0) scale(1);
    }
}


/* FADEIN_LEFT */

.fadein-left{
    animation: fadeInLeftAnimation both;
    animation-timeline: view();
}

@keyframes fadeInLeftAnimation{
    0%{
        opacity: 0;
        transform: translateX(-500px) scale(0.2);
        filter: blur(10px);
    } 35%,65%{
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0px);
    }100%{
        filter: blur(10px);
    }
}

/* Sidebar */

.menu-icon{
    font-size: 35px;
    cursor: pointer;
    display: none;
}


.sidebar{
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background-color: #000000b8;
    z-index: 10000;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.479);
    backdrop-filter: blur(10px);
    opacity: 0;
    border-bottom-left-radius: 100%;
    
}

.close-icon{
    font-size: 50px;
    color: lightgray;
    padding-left: 10px;
    cursor: pointer;
}

.sidebar ul{
    padding-left: 20px;
}


#cv{
    color: turquoise;

}

.sidebar ul li{
    list-style: none;
    margin-bottom: 30px;
}

.sidebar ul li a{
    text-decoration: none;
    color: lightgray;
    font-size: 20px;
    font-weight: 700;
    text-shadow:0 0 15px #4c4c4c;
}

.social-sidebar{
    padding-left: 20px;
    margin-top: 60px;
    text-wrap: nowrap;
}

.social-sidebar a {
  display: flex;
  align-content: center;
  gap: 12px;
  font-size: 25px;
  padding: 5px 5px;
  cursor: pointer;
  transition: 0.5s;
  color: lightgray;
  text-decoration: none;
  white-space: nowrap;
}

.social-sidebar .orcid-link {
  display: flex;
  font-size: 18px;
  color: lightgray;
  text-decoration: none;
  white-space: nowrap;
}

.social-sidebar .orcid-logo {
  width: auto;
  height: 40px;
  margin: 0;
  margin-left: -6.5px;
  margin-top: -8px;
}

/* Sidebar Open ANimation */
.sidebar.open-sidebar{
    animation: openSideBarAnimation 1.5s forwards;
}

@keyframes openSideBarAnimation {
    to{
        width: 50%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
}

/* Sidebar close ANimation */

.sidebar.close-sidebar{
    animation: closeSideBarAnimation 1.5s forwards;
}

@keyframes closeSideBarAnimation {
    from{
        width: 80%;
        opacity: 1;
        bottom: 0;
        border-radius: 0;
    }
    to{
        width: 0;
        opacity: 0;
        bottom: 70%;
        border-bottom-left-radius: 50%;
    }
}



@media (max-aspect-ratio: 16/9){
    .back-vid{
        width: auto;
        height: 100%;
    }
}

@media (min-aspect-ratio: 16/9){
    .back-vid{
        width: 100%;
        height: auto;
    }
}


@media screen and (max-width: 1200px){
    .left h2{
    font-size: 1.3rem;
    }
    
    .hero-info h1{
        font-size: 40px;
        max-width: 400px;
        line-height: 40px;
    }

    .hero-info P{
        max-width: 300px;
    }

    .skills-video-box{
        right: 0%;
        mix-blend-mode:lighten;
    }

    .skills-video-box video{
        height: 500px;
        mix-blend-mode:lighten;
    }

    .skills-video-box{
    position: absolute;
    right: 3%;
    filter: brightness(0.8);
    opacity: 0.35;
    }



    .info-cards{
        grid-template-columns: auto;
    }


    .info-cards .card h1{
        font-size: 20px;
    }

   

    .my-project{
        margin-bottom: 200px;
        scale: 0.8;
    }

    

    .contact-section {   
    position: relative;  
    flex-direction: column; 
    height: 55vh;
    justify-content: flex-start;
    gap: 1.5rem;
    padding-top: 4rem;
    }


    .contact-section .section-title {
        margin:0;
    }

    .social-box {
        margin-top: 0;
        margin-bottom: 0;


    }
    
    .footer{
        height: 5%;
    }
}

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


    header {
        position: fixed;
        height: 50px;
    }

    header ul{
        display: none;
    }

    header .box-icons{
        display: none;
    }

    .menu-icon{
        display: inline;
    }

    .autoBlur{
        animation: none;
    }
    
    .hero{
        flex-direction: column;
        top:0;
        bottom: 0;
        left: 0;
        right:0;
        
    }
    .hero-info{
        bottom: 5%;
    }

    .scroll-down{
        bottom: 5%;
    }

    .hero .skills-video-box{
        height: 200px;
        top: 5%;
    }



    .info-cards{
        grid-template-columns: auto;
    }

   

    .container{
        height: 100%;
    }

    .project-vidbox video{
        width: 250px;
        margin-left: -100px;
    }

    .project-info{
        overflow: hidden;
        padding-left: 0;
        margin-left: -50px;
    }

    .project-info h1{
        font-size: 20px;
        max-width: 200px;
        text-wrap: wrap;
    }

    .project-info p{
        font-size: 10px;
        text-wrap: wrap;
        max-width: 200px;
        min-width: 0;
    }

    .project-info button{
        padding: 5px 10px;
    }

    .my-project{
        margin-bottom: 600px;
    }

    .project-card{
        flex-direction: column;
        margin-left: 15%;
        gap: 30px;
    }
    
    .project-vidbox{
        min-width: 200px;
    }

    .project-info{
        width: 85%;
    }

    .project-info h1{
        text-wrap: nowrap;
    }

    .project-info p{
        max-width: 300px;
    }

    .OpenScience{
        top: 15%;
        left: 18%;
    }

    .OpenScience h1{
        margin-bottom: 0;
        margin-top: 70px;
    }

    .coder{
        top: 50%;
        left: 18%;
    }

    .coder h1{
        margin-bottom: 0;
    }


    .dataAnalysis{
        top: 65%;
        left: 18%;
    }

    .dataAnalysis h1{
        margin-bottom: 0;
        margin-top: 70px;
    }

    .techMedia{
        top: 15%;
        left: 18%;
    }

    .techMedia h1{
        margin-bottom: 0;
        margin-top: 70px;
    }

    .expArchitecture{
        top: 15%;
        left: 18%;
    }

    .expArchitecture h1{
        margin-bottom: 0;
        margin-top: 70px;
    }

    .slider .list .item img{
        width: 70%;
    }

    .contact-section{
        flex-direction: column;
        margin-top: 100px;
        margin-bottom: 50px;
    }

    
    .social-box{
        margin-left: -90px;
    }
}


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

    .hero .skills-video-box {
        display: none;
        
    }


    .info-cards{
        width: 45vh;
    }
    

    .left {
        scale: 0.9;
        margin-left: -30px;
    }

    .left h2 {
        font-size: 20px;
    }

    .hero {
        scale: 0.9;
    }

    .hero-info{
        bottom: 15%;
    }

    .hero-info h1{
        font-size: 35px;
    }

    .scroll-down{
        bottom: 15%;
        left: 60%;
    }

    .section-title {
        font-size: 25px;
    }

    .info-cards{
        display: flex;
        flex-direction: column;
    }

    


    .project-card {
        height: 50%;
    }

    .project-info p{
        margin-bottom: 15px;
    }

    .project-info{
        margin-left: -80px;
    }

    .skills-box{
        height: 120vh;
    }

    .slider{
        bottom: 0%;
    }


    .contact-section .section-title {
        margin: 0;
    }

    .contact-section {     
    flex-direction: column; 
    height: 55vh;
    justify-content: flex-start;
    gap: 1.5rem;
    padding-top: 4rem;
    scale: 0.9;
    }



    .social-box {
        margin-top: 0;
        margin-bottom: 0;


    }
    

    .footer {
        padding: 0.75rem;
        height: 4%;
    }

    .footer p {
        margin-top: 0;
        padding-top: 2rem;
        font-size: 13px;
        font-color: gray;
    
    }

    .footer h1{
        max-width: 150px;
        font-size: 10 px;
        margin: 0;
    }


    

    


}

@media (max-width: 1100px) {

    /* STACK ALL SKILL BLOCKS */
    .OpenScience,
    .coder,
    .dataAnalysis,
    .techMedia,
    .expArchitecture {
        position: static;        /* stop absolute positioning */
        width: 90%;              /* full width */
        max-width: 30rem;        /* readable width */
        margin: 2rem auto;       /* spacing between blocks */
        text-align: center;      /* optional but looks good */
        align-items: center;     /* centre content */
        align-self: center;
    }

    .OpenScience h1.gradient,
    .coder h1.gradient,
    .dataAnalysis h1.gradient,
    .techMedia h1.gradient,
    .expArchitecture h1.gradient {
        align-self: center;
        text-align: center;
        justify-content: center;
    }

    /* LET THE SKILLS BOX GROW NATURALLY */
    .skills-box {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 5rem;
    }

    /* STACK THE SLIDER TOO */
    .slider {
        position: static;        /* remove absolute positioning */
        width: 90%;
        margin: 3rem auto 0 auto;
        height: auto;            /* let it size itself */
        mask-image: none;        /* optional: remove fade mask on mobile */
    }

    .slider .list {
        position: static;
        width: 100%;
        min-width: unset;
        justify-content: center;
    }

    .slider .list .item {
        position: static;
        transform: none;     /* stop auto-run on small screens */
        width: 30%;              /* 3 logos per row */
        margin: 1rem;
    }

    .slider .list .item img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}







