@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Quicksand:wght@300..700&family=Silkscreen:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&display=swap');
@font-face {
font-family: 'ICA Rubrik Bold';
font-style: normal;
font-weight: normal;
src: local('ICA Rubrik Bold'), url('ICARubrikBold.woff') format('woff');
}
*{
    margin: 0;
    padding: 0;
}
*, html {

    scroll-behavior: smooth !important;
}
html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

html::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari, Edge */
}
body{
    height: 100%;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 1%;
    overflow-y: scroll;
    
}
.header{
    position: fixed;
    width: 100%;
    height: 8.15%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: 
    rgba(7, 7, 7, 0.634);
    backdrop-filter: blur(10px);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.595);
    border-bottom: 1px solid;
    border-color: #00958d;
    z-index: 2;
}
.techback:before {
    content:"";
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    z-index:1;
    background:linear-gradient( to right,rgba(0, 89, 255, 0.176),rgba(255, 0, 119, 0.179));
    overflow: hidden;
}
.techback{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: fit-content;
    z-index: -1;
}
.techback video{
    width: 100%;
    height: 100vh;
    filter: hue-rotate(135deg);
    object-fit: cover;
    aspect-ratio: 16/9;
}
.logo-img{
    width: 2.7rem;
    height: 2.7rem;
}
.title-content{
    width: clamp();
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.webtitle{
    color: white;
    font-family:Quicksand;
    font-weight: 600;
    text-decoration: none;
    font-size: clamp(1.6em,2vw,2em);
    margin-bottom: 1px;
    margin-left: 4%;
    /* margin-right: auto; */
    text-wrap: nowrap;
}
nav ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;

}
nav li{
    display: flex;
    align-items: center;
    padding: 0 5px;
}
nav a{
    display: flex;
    text-decoration: none;
    font-family: Quicksand;
    color: white;
    align-items: center;
    fill: white;
}
nav a > i{  
    padding: 7px;
}
nav a > img{
    height: 20px;
    width: 20px;
    padding: 7px;
    margin-top: 2px;
    margin-right: 50px;
    color: white;
}
nav a:hover{

    color: #00958d;
    fill: #00958d;  
}
.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 150;
    background-color: 
    rgba(7, 7, 7, 0.94);
    /* backdrop-filter: blur(1000px); */
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.595);
    border-left: 1px solid;
    border-color: #00958d;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    /* gp: 20px; */
    padding-inline: 5px;
}
.sidebar li{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 5px;
    margin-top: 20px;
}
.thm-btn{
    padding-left: 2%;
}
.sidebar a{
    width: 100%;
    display: flex;
    align-items: center;
}
.menu-btn{
    display: none;
}
@media(max-width:800px){
    .hideOnMobile{
        display: none;
    }
    .menu-btn{
        display: block;
    }
}
@media(max-width:400px){
    .sidebar{
        width: 100%;
    }
}
.main{
  position: relative;
  /* scroll-snap-type: y mandatory; */
}
.hero-content{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 2%;
    transform: none;
    scroll-snap-align:start;
    scroll-snap-stop: always;
}

.hero-content img{
    max-width: 25%;
    max-height: 40%;
    position: relative;
    /* align-self: baseline; */
    margin-right: 2%;
    opacity: 0;
}
.text-content h1{
    max-height: fit-content;
    font-family: 'ICA Rubrik Bold';
    font-size: clamp(3em,6vw, 4.5em);
    line-height: 1em;
    color: #f3f3f3;
    align-self: flex-start;
    overflow: hidden;

}
.text-content{
    user-select: none; /* Standard syntax */
    /* margin-top: 35%; */
    margin-left: 2%;
    display: flex;
    flex-direction: column;
    width: 100%;
    /* margin-right: auto; */
}
.descrip-content{
    font-family: 'Silkscreen';
    font-size: clamp(1.4em,1.4vw,2em);
    padding-top: 1.5%;
    line-height: 1.3em;
    color: rgb(226, 226, 226);
    /* text-align: justify; */
    font-weight: 400;
    align-self: baseline;
}
.current-subtext{
    font-family: 'Roboto';
    font-size: 1.4em;
    padding-top: 1.5%;
    line-height: 1.3em;
    color: rgb(161, 197, 159);
    align-self: baseline;
}
/* .hero-content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 1px #00958d;
    color: transparent;
} */

.page2{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.700);
    backdrop-filter: blur(2px);
    transform: none;
    scroll-snap-align:start;
    scroll-snap-stop: always;
    padding-bottom: 20vh;
}
.page-title{
    /* padding: 5px; */
    color: white;
    font-size: 2.5em;
    font-family: Quicksand;
    margin-top: 5.8%;
}
.proj-scroller{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 50%;
    /* max-height: 100%; */
    /* background-color: red; */
    margin-top: 4%;
    /* padding: 5px; */
    justify-content: center;
    flex-wrap: wrap;
    gap: 1%;
    /* overflow-y: scroll; */
    flex-basis: 50%;
}
.proj-card{
    --color: #000000d9;
    width: clamp(15em,16vw,17em);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    background-color: var(--color);
    padding: 1%;
    /* margin: 7px; */
    border-width:0px;
    border-radius: 2%;
    position: relative;
}
.proj-card:hover{
    transition: ease 0.2s ;
    border-style: solid;
    border-width: 1px;
    border-color: #00958d;
    /* box-shadow:  3px 3px 5px #00958d; */
}
.proj-card .card-descrip {
    font-family: Orbitron;
    text-align: center;
    color: white;
    margin-top: 2%;
    font-size: 0.9em;
    opacity: 1;
    /* scale: 0.8; */

}
.proj-card:hover .card-descrip{
    transition: ease-in 0.1s;
    opacity: 1;
    scale: 1;
}
.proj-card .card-title{
    font-family: Orbitron;
    text-align: center;
    color: white;
    margin-top: 5%;
}
.card-img-space{
    height: 70%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-top: auto;
    align-items: center;
    /* background-color: blue; */
    z-index: 1;
}
.proj-card img{
    /* background-color: black; */
    align-self:center;
    object-fit: contain;    
    width: 60%;
    height: 50%;

}
.card-text-space{
    width: 100%;
    height: 30%;
    position: sticky;
    z-index: 3;
    /* background-color: red; */
    align-self: baseline;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
}
.card-details{
    margin-top: auto;
    font-family: Quicksand;
    text-align: center;
    color: #ffffff;
    font-size: clamp(0.7em, 0.85vw, 1em);
}
.backblur{
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-in-out, visibility 0.15s;
    position: relative; /* Positioning to overlay the background */ 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    padding: 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 100;
    overflow: hidden;
}
.proj-details{
    width: 80%;
    height: fit-content;
    padding: 5%;
    background-color: rgb(28, 28, 28);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
    z-index: 101;
    /* margin-top: 3%; */
}
.proj-detail-header{
    flex-direction: row;
    display: flex;
    width: 100%;
    height: 25%;
    justify-content: center;
    align-items: center;
    margin-bottom: 2%;

}
.proj-detail-name{
    margin-left: 4%;
    font-family: Orbitron;
    font-size: clamp(0.8em,2.5vw,5em);
}
.proj-details img{
    width: clamp(4em,6vw,5em);
    height: clamp(4em,6vw,5em);
}
.proj-details button{
    position: absolute;
    font-size: clamp(2em, 3.5vw, 5em);
    align-self: flex-end;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border: none;
}
.proj-details button:hover{
    transition: 0.2s;
    color: #00958d;
}
.proj-details button:after{
    transition: 0.2s;
    color: #00958d;
}
.proj-details button:active{
    transition: 0.1s;
    color: #619895;
}
.proj-detail-text{
    font-size: clamp(0.9em,2vw, 1.5em);
    font-family: Quicksand;
}
.tech-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 4%;
    width: 100%;
    height: fit-content;

}
.tech-container p{
    font-size: clamp(0.9em,2.5vw, 2em);
    font-family: Quicksand;
}

@media screen and (max-width: 800px) {
    .tech-p{
        align-self: baseline;
    }
    
}
.detail-tech-container{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    flex-wrap: wrap;
}
.technology{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-inline:0.8em;
}
.technology img{
    width: 2em;
    height: 2em;
    margin-right:0.5em;
}
.page3{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    scroll-snap-align:start;
    scroll-snap-stop: always;
    scroll-margin-top: 3.7em;
}

/* .page3:before {
    content:"";
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    z-index:1;
    background:#101010b5;
    backdrop-filter: blur(8px);
    overflow: hidden;
} */
/* .page3:after {
    content:"";
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    background:linear-gradient( to right,rgba(0, 89, 255, 0.376),rgba(255, 0, 119, 0.379));
    overflow: hidden;
    z-index: -1;
} */

.overlay{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background:#101010b5;
    backdrop-filter: blur(2px);
}
.prev-page{
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.700);
    backdrop-filter: blur(2px);
}

.my-name{
    font-family: Orbitron;
    color: #ffffff;
}
.my-pic{
    width: 20%;
    height: 100%;
    border: 1px solid;
    border-color: #00958d;
}

.term-bar{
    /* margin-top: 4.5%; */
    border-bottom:1px solid #00958d;
    width: 100%;
    height: 2.5em;
    background-color: #101010b5;
    backdrop-filter: blur(2px);
    z-index: 2;
    display: flex;
}
.term-dot{
    height: 100%;
    width: 5%;
    z-index: 2;
    font-size: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.term-dot p{
    --color: #ffffff;
    color: var(--color);
    cursor: default;
}
.about-heading{
    margin-top: 1%;
    font-family: Doto;
    color: white;
    font-size: 3em;
    z-index: 2;
}
.terminal-content{
    width: 100%;
    height: 100%;
    color:white;
    font-family: monospace;
    font-size: clamp(1em, 1.4vw, 2em);
    padding-left: clamp(1em,4vw,4em);
    padding-top: 0.7em;
}
.terminal-content ul{
    margin-left: 1rem;
    padding-left: 1rem;
    list-style-type: none;
}
.skill-li {
    max-width: 100%;
    white-space: nowrap;
    width: fit-content;
    border-right: 15px solid #00958d;
    padding-right: 5px;
    opacity: 0;
    overflow: hidden;
}
.about-section{
    /* margin-top: 2%; */
    margin-bottom: 1%;
}
.section-heads{
    display: flex;
}
.section-heads p {
    margin-right: 5px;
    font-size: 1.3em;
    font-family: doto;
    font-weight: 600;
}


/* Add this class dynamically when in view */
.start-typing {
    opacity: 1;
    animation: typing 2s forwards, blink 1s infinite;
}

.hide-cursor {
    animation: cursorDisappear 0.5s forwards;
}
/* Typing effect */
@keyframes typing {
    from {
        max-width: 0;
    }
    to {
        max-width: 100%;
        border-right: none;
    }
}

/* Cursor blinking effect */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.proj-link{
    margin-top: 2rem;
    display: none;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 1%;
}

.proj-view-btn{
    font-family: Quicksand;
    color: white;
    background-color: red;
    font-weight: bold;
    padding: 1%;
    border-radius: 0.3rem;
    text-decoration: none;
}
.proj-view-btn:hover{
    border-style: solid;
    border-width: 1px;
    border-color: #00958d;
}


@media (max-width:674px){

    .proj-scroller{
        min-height: 100%;
        overflow-y: scroll;
    }
    .proj-card{

        height: 35%;
        width: 21em;
    }
    .text-content{
        height: 40%;
    }
    .proj-details{
        height: 50%;
    }
    .proj-detail-text{
        font-size: 1.2em;
    }
    .tech-container{
        margin-top: 12%;
    }
    .proj-detail-icon{
        height: 6em;
        width: 6em;
    }
    .descrip-content{
        font-size: 1.3em;
    }
    
}
@media(max-width:1078px){

    .proj-card{
        width: 20em;
    }

}

@media (min-width:551px){
    .mobile-term{
        display: none;
    }
}
@media(max-width:550px){
    .desk-term{
        display: none;
    }
    
}
@media(max-width:420px){
    .terminal-content{
        font-size: 0.98em;
    }
}