@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Pixelify+Sans:wght@400..700&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&family=Raleway:ital,wght@0,100..900;1,100..900&family=Spline+Sans+Mono:ital,wght@0,300..700;1,300..700&family=Tiny5&display=swap');

:root{
    
    --midnight-black: #0C0C0D;
    --charcoal: #131313;
    --dark-slate-gray: #272727;
    --dark-gray: #6F6F6F;
    --light-gray: #C8C8C8;
    --midday-white: #dadada;
    --white: #ffffff;
    --black: #000000;
    --primary-color: #5FB9B0;
    --lavender: #B292FF;

    --pixelify: "Pixelify Sans", serif;
    --doto: "Doto", serif;
    --tiny5: "Tiny5", serif;
    --poppins: "Poppins", serif;
    --raleway: "Raleway", serif;
    --nunito: "Nunito", serif;
    --spline: "Spline Sans Mono", serif;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--nunito);
}

html{
    scroll-behavior: smooth;
}

body{
    background: var(--midnight-black);
}
/* functions---------------------------------------------------------------------- */
.brokenBorder::before{
    content: "";
    position: absolute;
    border-block: 25px solid var(--midday-white);
    width: 50%;
    height: 99%;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    
}
.brokenBorder::after{
    content: "";
    position: absolute;
    border-inline: 25px solid var(--midday-white);
    width: 99%;
    height: 50%;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}

.load{
    opacity: 0;
    filter: blur(10px);
    transform: translateY(50%);
    scale: .5;
    transition: all 1s ease;
}
.show{
    opacity: 1;
    filter: blur(0);
    scale: 1;
    transform: translateY(0);
}

/* header--------------------------------------------------------------------------------------------------------- */
#header{
    /* border: 1px solid white; */
    display: grid;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--charcoal);
    overflow: visible;
    
}
#header #headerBar{
    border: 1px solid var(--midnight-black);
    width: fit-content;
    padding: 14px 8vw;

    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;

    border-radius: 5px;
    background-color: var(--charcoal);
    box-shadow: -5px -5px 10px var(--dark-slate-gray),
                5px 5px 10px var(--black);
    transition: 0.5s ease;
}
#header #headerBar:hover{
    border: 1px solid var(--dark-slate-gray);
    box-shadow: -10px -10px 20px var(--dark-slate-gray),
                10px 10px 20px var(--black);
}
#header #headerBar a{
    text-decoration: none;
    text-wrap: nowrap;
    color: var(--dark-gray);
    font-family: var(--tiny5);
    text-transform: uppercase;

    transition: all 0.25s;
}
#header #headerBar a:hover{
    color: var(--white);
    scale: 1.2;
}

#header #headerBar #hamburger{
    display: none;
}

/* hero--------------------------------------------------------------------------------------------- */
#hero{
    /* border: 1px solid white; */
    position: relative;
    max-height: calc(100svh - 96px);
    min-height: fit-content;
    /* max-height: fit-content; */

    /* display: grid;
    grid-template-rows: 1fr fit-content(10%);
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "hero-cont img-abs"
                            "hero-links hero-links"; */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--charcoal);
    /* justify-content: space-between; */

    /* border-radius: 0 0 75px 75px; */
}
#hero #hero-flex{
    /* border: 1px solid white; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-height: fit-content; */
    height: calc(100svh - 196px);
    min-height: fit-content;

    width: 100%;
    gap: 5px;
}
#hero #hero-content{
    /* border: 1px solid white; */
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    width: 50%;
}
#hero-content p{
    /* border: 1px solid white; */
    color: var(--light-gray);
    text-align: end;
    font-family: var(--tiny5);
}
#hero-content #greet{
    text-transform: uppercase;
    font-weight: 500;
    /* font-family: var(--doto); */
}
#hero-content #name{
    color: var(--white);
    font-family: var(--pixelify);
    font-weight: 700;
    font-size: 8vw;
    text-transform: capitalize;
    line-height: 100%;
    margin-bottom: 5%;
}
#hero-content #name b{
    font-family: var(--pixelify);
    font-size: 10vw;
    font-weight: 600;
}
#hero-content #profession{
    /* font-family: var(--doto); */
    line-height: 110%;
    font-size: 20px;
    font-weight: 300;
    color: var(--primary-color);
}

#hero #img-abs{
    /* border: 1px solid white; */
    width: 50%;
    display: flex;
    align-items: center;
}
#img-abs svg{
    /* border: 1px solid white; */
    width: 50%;
}
#img-abs svg image{
    border: 1px solid white;
    filter: drop-shadow(0 0 0.5rem var(--midnight-black));

}




#hero #hero-links{
    /* border: 1px solid white; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-block: 1rem;
    height: 100px;
}
#hero-links svg{
    height: 60%;
    width: initial;
    /* transform-origin: center right; */
    /* border: 1px solid white; */
    cursor: pointer;
    transition: .15s ease-in;
}
#hero-links svg rect{
    fill: var(--white);
}
#hero-links #left-hLink:hover,#hero-links #right-hLink:hover{
    scale: 1.2;
}
#hero-links #hero-btns{
    border: 1px dashed var(--dark-gray);
    padding: .5rem;
    /* border-radius: 10px; */
    
    display: flex;
    align-items: center;
    gap: 1rem;
}
#hero-btns a{
    text-decoration: none;
    padding: 10px 15px;
    /* border-radius: 10px; */
    color: var(--midday-white);
    font-family: var(--tiny5);
    transition: .5s ease;
}
#hero-btns a:hover{
    color: var(--primary-color);
}
#hero-btns a.active{
    border: 1px solid var(--midday-white);

    background: var(--white);
    color: var(--charcoal);
}
#hero-btns a.active:hover{
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--midday-white);
}

#hero #dateAbs{
    /* border: 1px solid white; */
    position: absolute;
    right: 1rem;
    writing-mode: vertical-rl;
    color: var(--dark-gray);
}
@keyframes loaddateAbs {
    from{
        transform: translateY(-100%);
    }
}
#dateAbs p{
    /* border: 1px solid white; */
    font-family: var(--doto);
    letter-spacing: .2rem;
    height: fit-content;
    animation: loaddateAbs .8s forwards cubic-bezier(.23,.1,.5,1.37);
    
}
#dateAbs p:first-child{
    font-size: 20px;
    text-transform: uppercase;
}

#hero #blobAbs{
    /* border: 1px solid white; */
    position: absolute;
    right: 10%;
    width: 50%;
    height: 90%;
    z-index: 0;
}



/* about me section--------------------------------------------- */
#aboutMe{
    /* border: 1px solid black; */
    background-color: var(--midday-white);
    padding-block: 5rem;
    /* mix-blend-mode: difference; */
}
#aboutMe #skillsCont{
    border: 1px solid var(--dark-gray);
    box-shadow: 0px -5px 10px var(--white),
                0px 5px 10px var(--dark-gray);

    display: flex;
    
    margin-block: .5rem;
    overflow: hidden;
}
#skillsCont #skillSlider{
    /* border: 1px solid black; */
    display: flex;
    padding-block: 15px;
    padding-inline: .5rem;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    animation: scroll 40s linear infinite;
}
#skillsCont:hover #skillSlider{
    animation-play-state: paused;
}
#skillsCont.reverse #skillSlider {
    animation-direction: reverse;
}
@keyframes scroll {
    from{
        translate: 0% 0;
    }
    to{
        translate: -100% 0;
    }
}
#skillsCont #skillSlider li{
    list-style: none;
    cursor: pointer;
    text-wrap: nowrap;
    font-size: 18px;
    font-family: var(--doto);
    font-weight: bolder;
    color: var(--charcoal);
    /* filter: grayscale(1);
    filter: contrast(0); */
    filter: brightness(0);

    transform-origin: center center;
    transition: .25s ease;
}
#skillsCont #skillSlider li:hover{
    scale: 1.1;
    filter: brightness(1);
}
#aboutMe #abt-cont{
    /* border: 1px solid black; */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6%;

    gap: 5rem;

}
#abt-cont #abt-img{
    width: 40%;
    mix-blend-mode:difference;
}
#abt-cont #abt-img g{
    mix-blend-mode:difference;
}

#abt-cont #abt-detail{
    position: relative;
    border: 1px solid var(--charcoal);
    width: 60%;
    padding: 3%;
    box-shadow: -5px -5px 10px var(--white),
                5px 5px 10px var(--dark-gray);
}
#abt-cont #abt-detail h2{
    font-family: var(--spline);
    margin-block: 1rem;
    color: var(--dark-slate-gray);
}
#abt-cont #abt-detail p{
    font-size: 16px;
    font-family: var(--raleway);
    line-height: 35px;
    text-indent: 35px;
    color: var(--dark-slate-gray);
}
#abt-cont #abt-detail b{
    font-family: var(--raleway);
}
#abt-cont #abt-detail p::first-letter{
    font-size: 24px;
}

/* experience section---------------------------------------------------------------------- */
#experience{
    /* border: 1px solid white; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 15%;
    gap: 1rem;
}
#experience #exp-title{
    /* border: 1px solid white; */
    color: var(--dark-gray);
    font-family: var(--doto);
    font-size: 28px;
    text-align: center;
}
#experience #exp-title b{
    color: var(--midday-white);
    font-family: var(--doto);
    font-weight: normal;
}

#experience #exp-cont{
    /* border: 1px solid white; */
    display: flex;
    flex-wrap: wrap;
    max-width: 700px;
    align-items: center;
    justify-content: center;
    padding-block: 3rem;
    gap: 1rem;
}

#exp-cont #exp-comp{
    /* border: 1px solid white; */
    display: flex;
    flex-wrap: nowrap;
    padding: .5rem;
    gap: .8rem;
}

#exp-cont #exp-comp:nth-of-type(even){
    flex-direction: row-reverse;
}
#exp-comp #comp-detail{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3e%3cdefs%3e%3clinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3e%3cstop offset='0%25' stop-color='%23272727'/%3e%3cstop offset='100%25' stop-color='%23C8C8C8'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='none' stroke='url(%23g)' stroke-width='1' stroke-dasharray='80 40 80 25' stroke-dashoffset='20' stroke-linecap='square'/%3e%3c/svg%3e");
    position: relative;
    padding-inline: .8rem;
    width: 10rem;
    height: 65px;
    color: var(--midday-white);
}
#exp-comp:nth-of-type(even) #comp-detail{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3e%3cdefs%3e%3clinearGradient id='g2' x1='100%25' y1='0%25' x2='0%25' y2='0%25'%3e%3cstop offset='0%25' stop-color='%23272727'/%3e%3cstop offset='100%25' stop-color='%23C8C8C8'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='none' stroke='url(%23g2)' stroke-width='1' stroke-dasharray='80 40 80 25' stroke-dashoffset='20' stroke-linecap='square'/%3e%3c/svg%3e");    
}



#comp-detail #comp-name{
    font-family: var(--spline);
    text-transform: capitalize;
    color: var(--primary-color);
    font-size: 14px;
}
#comp-detail #comp-position{
    font-size: 18px;
    font-family: var(--pixelify);
}

#exp-comp #comp-sym{
    border: 1px solid var(--dark-gray);
    border-radius: 5px;
    height: 65px;
    aspect-ratio: 1/1;

    text-align: center;
    line-height: 115%;

    color: var(--midday-white);
    background-color: var(--charcoal);
    font-family: var(--pixelify);
    font-size: 54px;
    text-transform: uppercase;
    box-shadow: -2.5px -2.5px 10px var(--dark-slate-gray),
                2.5px 2.5px 10px var(--black);
}

#experience #exp-abs{
    /* border: 1px solid white; */

    display: flex;
    gap: .5rem;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-inline: 2rem;
    width: 100%;
}
#exp-abs #rect{
    border: 1px solid var(--white);
    width: 20px;
    height: 50px;
    transition: .25s cubic-bezier(.23,.1,.5,1.37);
}
#exp-abs #rect:nth-of-type(even){
    background-color: var(--white);
}
#exp-abs #rect:hover{
    transform: scaleY(1.5);
}
#exp-abs #line{
    border-top: 1px solid white;
    flex-grow: 1;
    height: 1px;
}

/* works section------------------------------------------------------------------------------------ */
#works{
    /* border: 1px solid white; */
    display: flex;
    flex-direction: column;
    padding: 5rem 5%;
}
#works #work-title, #projects #proj-title{
    font-family: var(--doto);
    text-transform: uppercase;
    font-size: 64px;
    font-weight: bolder;
    color: var(--white);
    padding-block: 2%;

    display: flex;
    width: fit-content;
    align-items: center;
    gap: 1rem;
}
#works #work-title b, #projects #proj-title b{
    font-family: var(--doto);
    font-size: 48px;
    font-weight: bolder;
    
    background: linear-gradient(90deg,var(--primary-color) 30px,white 30px);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    animation: digi-loop 2.5s linear infinite;
}
@keyframes digi-loop {
    to{
        background-position: 90px;
    }
}

#works #work-cont{
    /* border: 1px solid white; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-block: 5rem;

}

#work-cont #work-info{
    border: none;
    position: relative;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3clinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3e%3cstop offset='0%25' stop-color='%236F6F6F'/%3e%3cstop offset='100%25' stop-color='%23131313'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='none' stroke='url(%23g)' stroke-width='2' stroke-dasharray='4' stroke-dashoffset='20' stroke-linecap='square'/%3e%3c/svg%3e");
    /* background-repeat: no-repeat; */
    position: relative;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    /* gap: 5vw; */
    padding-inline: 1rem;
    padding-block: 2rem 1rem;
    /* margin-bottom: 1rem; */
}
#works #work-cont:nth-of-type(odd){
    flex-direction: row-reverse;
}
#work-cont:nth-of-type(odd) #work-info{
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3clinearGradient id='g' x1='100%25' y1='0%25' x2='0%25' y2='0%25'%3e%3cstop offset='0%25' stop-color='%236F6F6F'/%3e%3cstop offset='100%25' stop-color='%23131313'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='none' stroke='url(%23g)' stroke-width='2' stroke-dasharray='4' stroke-dashoffset='20' stroke-linecap='square'/%3e%3c/svg%3e");
}

#work-cont #work-name{
    background-color: var(--midnight-black);
    margin-inline: 1.5rem;
    padding: .5rem;
    font-size: 20px;
    font-family: var(--spline);
    color: var(--dark-gray);
    /* width: fit-content; */

    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-50%);
    /* padding-inline: 0.5em; */
    /* z-index: 1; */
}
#work-cont #work-name b{
    color: var(--midday-white);
    font-weight: normal;
}

#work-info #work-tech{
    /* border: 1px solid white; */
    display: flex;
    gap: 1rem;
}
#work-info #work-tech div{
    border: 1px solid var(--primary-color);
    position: relative;
    padding: .05rem 1rem;
    font-size: 14px;
    font-family: var(--pixelify);
    text-transform: capitalize;
    color: var(--midday-white);
    text-wrap: nowrap;
}
#work-tech div::after{
    border-inline: 2px solid var(--midnight-black);
}
#work-tech div::before{
    border-block: 2px solid var(--midnight-black);
}

#work-info #work-sum{
    /* border: 1px solid white; */
    padding-top: 3rem;

    font-family: var(--spline);
    color: var(--dark-gray);
    line-height: 150%;
}
#work-cont #work-info a{
    text-decoration: none;
    align-self: self-end;
    font-family: var(--spline);
    padding-top: 1rem;
    color: var(--midday-white);
    transition: .3s ease;
}
#work-cont #work-info a:hover{
    color: var(--primary-color);
}

#work-cont #work-img{
    /* border: 1px solid var(--midday-white); */
    background-color: var(--dark-slate-gray);
    border-radius: 5px;
    height: 275px;
    aspect-ratio: 1/1;

    filter: grayscale(1);
    filter: brightness(1);

    background-size: 80%;
    background-position: center bottom;
    background-repeat: no-repeat;
}


#works #proj-btn{
    border: 1px solid var(--dark-slate-gray);
    background-color: var(--charcoal);
    position: relative;
    align-self: center;
    padding: 15px 25px;
    margin-block: 2rem;

    text-decoration: none;
    font-family: var(--doto);
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--midday-white);

    border-radius: 5px;
    box-shadow: -4px -4px 10px var(--dark-slate-gray),
                4px 4px 10px var(--black);
    transition: 0.3s ease;
}
#works #proj-btn:hover{
    color: var(--primary-color);
    border: 1px solid var(--dark-gray);
    box-shadow: -8px -8px 20px var(--dark-slate-gray),
                8px 8px 20px var(--black);
}
#works #proj-btn::after{
    content: '//other projects';
    position: absolute;
    left: 110%;
    width: calc((100vw - 180px) / 2);

    /* text-wrap: nowrap; */
    font-size: 16px;
    text-transform: capitalize;
    font-family: var(--spline);
    color: var(--dark-slate-gray);
}


/* footer and contact section----------------------------------------------------------------- */
#footer{
    background-color: var(--midday-white);
}
#footer #contact{
    /* border: 1px solid black; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding-block: 2.5rem;
}
#contact #scrollTop{
    border: 1px solid var(--midday-white);
    /* display: block; */
    width: 120px;
    height: 120px;
    border-radius: 100%;
    box-shadow: -5px -5px 10px var(--white),
                5px 5px 10px var(--dark-gray);
    
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 1s ease;
}
#contact #scrollTop:hover{
    border-color: var(--light-gray);
    box-shadow: -10px -10px 20px var(--white),
                10px 10px 20px var(--dark-gray);
}
#contact #scrollTop svg rect{
    fill: var(--dark-gray);
    stroke: var(--dark-gray);
    stroke-width: 1px;
    transition: .5s ease-in-out;
}
#contact #scrollTop:hover svg rect{
    fill: var(--white);
    stroke: var(--white);
}

#contact #barcode{
    /* border: 1px solid black; */
    width: 100%;

    display: flex;
    align-items: center;
}
#contact #barcode hr{
    border-top: 1px solid var(--charcoal);
    width: 100%;
    margin: 1rem;
}
#contact #barcode svg{
    overflow: visible;
    min-width: 150px;
    max-width: 225px;
}

#contact #barcode svg g{
    transform-origin: center center;
    transform: scaleY(1);
    transition: .2s ease;
}
#contact #barcode svg g .colorStick{
    fill: var(--dark-slate-gray);    
    transition: .3s ease .2s;
}

#contact #barcode svg g:hover{
    transform: scaleY(1.2);
}
#contact #barcode svg g:hover +  *{
transform: scaleY(1.18);
}
#contact #barcode svg g:hover + * + *{
    transform: scaleY(1.16);
}
#contact #barcode svg g:hover + * + * + *{
    transform: scaleY(1.14);
}
#contact #barcode svg g:hover + * + * + * + *{
    transform: scaleY(1.12);
}
#contact #barcode svg g:hover + * + * + * + * + *{
    transform: scaleY(1.1);
}
#contact #barcode svg g:hover + * + * + * + * + * + *{
    transform: scaleY(1.08);
}
#contact #barcode svg g:hover + * + * + * + * + * + * + *{
    transform: scaleY(1.06);
}
#contact #barcode svg g:hover + * + * + * + * + * + * + * + *{
    transform: scaleY(1.04);
}
#contact #barcode svg g:hover + * + * + * + * + * + * + * + * + *{
    transform: scaleY(1.02);
}

#contact #barcode svg g:has(+ *:hover){
    transform: scaleY(1.18);
}
#contact #barcode svg g:has(+ * + *:hover){
    transform: scaleY(1.16);
}
#contact #barcode svg g:has(+ * + * + *:hover){
    transform: scaleY(1.14);
}
#contact #barcode svg g:has(+ * + * + * + *:hover){
    transform: scaleY(1.12);
}
#contact #barcode svg g:has(+ * + * + * + *:hover){
    transform: scaleY(1.1);
}
#contact #barcode svg g:has(+ * + * + * + * + *:hover){
    transform: scaleY(1.08);
}
#contact #barcode svg g:has(+ * + * + * + * + * + *:hover){
    transform: scaleY(1.06);
}
#contact #barcode svg g:has(+ * + * + * + * + * + * + *:hover){
    transform: scaleY(1.04);
}
#contact #barcode svg g:has(+ * + * + * + * + * + * + * + *:hover){
    transform: scaleY(1.02);
}

#contact #footer-nav{
    /* border: 1px solid black; */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#footer-nav #site-nav{
    /* border: 1px solid black; */

    display: flex;
    gap: 2rem;

}
#footer-nav #site-nav a{
    text-decoration: none;
    font-family: var(--pixelify);
    text-transform: capitalize;
    color: var(--dark-slate-gray);

    transition: .25s;
}
#footer-nav #site-nav a:hover{
    color: var(--primary-color);
    scale: 1.2;
}

#footer-nav #social-links{
    display: flex;
    gap: 1rem;
    padding: .5rem;
}

#footer-nav #social-links a{
    position: relative;
    text-decoration: none;
    text-transform: capitalize;
    color: var(--dark-gray);
    font-family: var(--spline);
}
#footer-nav #social-links a::after{
    content: '';
    position: absolute;
    border-bottom: 1px solid var(--dark-gray);
    width: 100%;
    height: 100%;
    inset: 0;

    transform-origin: center bottom;
    scale: 0 1;
    transition: .5s ease;
}
#footer-nav #social-links a:hover::after{
    scale: 1 1;
}

#footer #copyright{
    border: 1px solid var(--dark-gray);
    /* border-radius: 50px 0; */
    /* background-color: var(--midnight-black); */
    text-align: center;
    padding: 1rem;
    font-family: var(--doto);
    font-weight: bold;
    font-size: 14px;
    color: var(--dark-gray);
}




/* project section ----------------------------------------------------------------------*/
#projects{
    /* border: 1px solid white; */
    background-color: var(--charcoal);
    padding: 5% 5%;
}
#projects #proj-cont{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px , calc(65vw / 4)));
    grid-auto-flow: dense;
    justify-content: center;
    gap: 1rem;
    padding-block: 3rem;
}
#proj-cont #proj-item{
    border: 1px solid var(--midday-white);
    min-width: 150px;
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--dark-slate-gray);

    display: grid;
    align-items: center;
    text-align: center;
    font-weight: 900;
    font-family: var(--doto);
    font-size: 8vw;

    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    transition: .5s ease;
}
#proj-cont #proj-item:hover{
    background-size: 120%;
}
#proj-cont #proj-item.big{
    grid-column: span 2;
    grid-row: span 2;
}


#proj-bg{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;

    padding: 5rem 10%;
    animation: projBg .2s ease forwards;
}
#proj-bg.close{
    animation: projBg-reverse .2s ease reverse;
    animation-delay: .6s;
}
@keyframes projBg {
    form{
        backdrop-filter: blur(0);
    }
    to{
        backdrop-filter: blur(5px);
    }
}


#proj-bg #proj-data{
    /* border: 1px solid white; */
    position: relative;
    height: 100%;
    width: 100%;

    animation: projData .4s ease forwards;
}
#proj-bg.close #proj-data{
    animation: projData-reverse .4s ease forwards;
    animation-delay: .4s;
}
@keyframes projData {
    from{
        filter: blur(5px);
        opacity: .5;
        scale: .8;
    }
    to{
        filter: blur(0);
        opacity: 1;
        scale: 1;
    }
}
@keyframes projData-reverse {
    from{
        filter: blur(0);
        opacity: 1;
        scale: 1;
    }
    to{
        filter: blur(5px);
        opacity: 0;
        scale: .8;
    }
}


#proj-data #proj-img {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

    position: absolute;
    left: 0;
    top: 50%;
    width: 50%;
    height: 100%;
    background-color: var(--dark-slate-gray);
    border-radius: 5px;
    border: 1px solid var(--dark-gray);
    box-shadow: 5px 0 10px var(--midnight-black);
    z-index: 1;

    transform: translateY(-50%);
    animation: proj-Iload .8s ease forwards;
}
#proj-bg.close #proj-data #proj-img {
    animation: proj-Iload-reverse .8s ease forwards;
}

@keyframes proj-Iload {
    from {
        transform: translateX(50%) translateY(-50%);
    }
    to {
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes proj-Iload-reverse {
    from {
        transform: translateX(0) translateY(-50%);
    }
    to {
        transform: translateX(50%) translateY(-50%);
    }
}

#proj-data #proj-detail{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 3%;

    position: absolute;
    right: 0;
    top: 50%;
    width: 50%;
    height: calc(100% - 20px);
    background-color: var(--charcoal);
    border-radius: 0 5px 5px 0;
    border: 1px solid var(--dark-slate-gray);
    transform: translateY(-50%);

    animation: projDload .8s ease forwards;
}

#proj-bg.close #proj-data #proj-detail {
    animation: projDload-reverse .8s ease forwards;
}

@keyframes projDload {
    from {
        transform: translateX(-50%) translateY(-50%);
    }
    to {
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes projDload-reverse {
    from {
        transform: translateX(0) translateY(-50%);
    }
    to {
        transform: translateX(-50%) translateY(-50%);
    }
}

#proj-detail #proj-date{
    font-size: 14px;
    font-family: var(--spline);
    color: var(--dark-gray);
    text-align: right;
}
#proj-detail #proj-name{
    /* margin-top: -1rem; */
    font-size: 24px;
    font-weight: bold;
    font-family: var(--spline);
    color: var(--midday-white);
}

#proj-detail #proj-tech{
    /* border: 1px solid white; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}
#proj-detail #proj-tech div{
    border: 1px solid var(--primary-color);
    position: relative;
    padding: .05rem 1rem;
    font-size: 14px;
    font-family: var(--pixelify);
    text-transform: capitalize;
    color: var(--midday-white);
    text-wrap: nowrap;
}
#proj-tech div::after{
    border-inline: 2px solid var(--charcoal);
}
#proj-tech div::before{
    border-block: 2px solid var(--charcoal);
}

#proj-detail #proj-sum{
    /* border: 1px solid white; */
    margin-top: auto;

    text-indent: 2rem;
    font-family: var(--spline);
    color: var(--dark-gray);
    line-height: 125%;
}
#proj-data #proj-detail a{
    text-decoration: none;
    /* display: flexbox; */
    align-self: flex-end;
    font-family: var(--spline);
    color: var(--midday-white);
    transition: .25s ease;
}
#proj-data #proj-detail a:hover{
    color: var(--primary-color);
}





/* responsive ----------------------------------------------------------------------*/
@media only screen and (max-aspect-ratio: 1/1) {
    #header{
        /* border: 1px solid white; */
        position: relative;
        height: 96px;
        align-items: start;
        /* justify-content: space-around; */
        z-index: 1;
    }
    #header #headerBar{
        /* border: 1px solid white; */
        position: absolute;
        
        flex-direction: column;
        align-items: end;
        /* justify-content: space-around; */
        padding: 14px;
        
        height: 55px;
        width: 55px;
        top: 20px;
        right: 14px;
        overflow: hidden;
        transition: 0.6s cubic-bezier(0.83, 0, 0.17, 1);
    }
    #header #headerBar.active{
        position: fixed;
        height: calc(100% - 40px);
        width: calc(100% - 28px);
    }
    
    #header #headerBar #hamburger{
        position: absolute;
        border: 1px solid white;
        display: block;
        margin: 14px;
        top: 0;
        right: 0;
        background-color: transparent;
        height: 25px;
        width: 25px;
        cursor: pointer;
        transition: .8s ease;
    }
    #header #headerBar.active #hamburger{
        border-color: var(--primary-color);
        background-color: var(--primary-color);
        border-radius: 100%;
        transform: rotate(90deg);
    }
    #header #headerBar a{
        display: none;
        padding-right: 1rem;
        /* padding-block: 2%; */
        font-size: 45px;
        border-bottom: 1px solid var(--dark-slate-gray);

        transform-origin: center right;
        translate: 100vw;
    }
    #header #headerBar.active a{
        display: block;
        animation: optionSlide 1s ease forwards;
    }
    #header #headerBar.active a:nth-child(5) {
        font-size: 14vw;
        animation-delay: 0.2s;
    }
    #header #headerBar.active a:nth-child(6) {
        font-size: 10vw;
        animation-delay: 0.4s;
    }
    #header #headerBar.active a:nth-child(2) {
        font-size: 12vw;
        animation-delay: 0.6s;
    }
    #header #headerBar.active a:nth-child(3) {
        font-size: 20vw;
        animation-delay: 0.8s;
    }
    #header #headerBar.active a:nth-child(4) {
        font-size: 12vw;
        animation-delay: 1s;
    }
    @keyframes optionSlide {
        to{
            translate: 0;
        }
    }


    #hero #hero-flex{
        /* border: 1px solid white; */
        flex-direction: column;
        min-height: initial;
    }
    #hero #hero-content{
        /* border: 1px solid white; */
        padding-inline: 2rem;
        height: 50%;
        width: 100%;
        align-items: start;
    }
    #hero-content p{
        text-align: start;
    }
    #hero-content #greet{
        font-size: 14px;
    }
    #hero-content #name{
        font-size: 8vh;
        margin-bottom: 2.5%;
        margin-left: -.25rem;
        padding-block: .5rem;
    }
    #hero-content #name b{
        font-size: 10vh;
    }
    #hero-content #profession{
        font-size: 18px;
    }
    #hero #img-abs{
        /* border: 1px solid white; */
        padding-inline: 2rem;
        height: 50%;
        width: 100%;
        justify-content: end;
    }
    #img-abs svg{
        /* border: 1px solid white; */
        height: 90%;
        width: initial;   
        transform: rotateY(180deg);   
    }
    #hero #hero-links{
        /* border: 1px solid white; */
        padding-block: 1.5rem .5rem;
    }
    #hero-links #hero-btns{
        text-align: center;
        font-size: 14px;
    }

    #dateAbs p{
        /* border: 1px solid white; */
        letter-spacing: .15rem;
        font-size: 14px;
    }
    #dateAbs p:first-child{
        font-size: 18px;
    }
    #hero #blobAbs{
        /* border: 1px solid white; */
        right: 0;
        top: 5%;
        width: 100%;
        height: 80%;
    }

    #aboutMe #abt-cont{
        flex-direction: column;
        gap: 2rem;
        margin-block: 1rem;
    }
    #abt-cont #abt-detail{
        width: 100%;
    }
    #abt-cont #abt-detail p{
       font-size: 14px;
    }
    #abt-cont #abt-img{
        width: 80%;
    }

    #experience #exp-title{
        font-size: 24px;
    }

    #contact #footer-nav{
        gap: 2.5rem;
    }
    #footer-nav #site-nav{
        /* border: 1px solid black; */
        flex-direction: column;
        align-items: center;
        /* gap: 1.5rem; */
    }


    #proj-bg{
        padding: 2rem 10%;
    }

    #proj-data #proj-img {
        inset: initial;
        left: 50%;
        top: 0;
        width: 100%;
        height: 50%;
        box-shadow: 0 5px 10px var(--midnight-black);
 
        transform: translateX(-50%);
    }
    @keyframes proj-Iload {
        from {
            transform: translateX(-50%) translateY(50%);
        }
        to {
            transform: translateX(-50%) translateY(0);
        }
    }
    
    @keyframes proj-Iload-reverse {
        from {
            transform: translateX(-50%) translateY(0);
        }
        to {
            transform: translateX(-50%) translateY(50%);
        }
    }

    #proj-data #proj-detail {
        inset: initial;
        left: 50%;
        bottom: 0;
        width: calc(100% - 20px);
        height: 50%;
        border-radius: 0 0 5px 5px;
       
        transform: translateX(-50%);
    }
    @keyframes projDload {
        from {
            transform: translateX(-50%) translateY(-50%);
        }
        to {
            transform: translateX(-50%) translateY(0);
        }
    }
    
    @keyframes projDload-reverse {
        from {
            transform: translateX(-50%) translateY(0);
        }
        to {
            transform: translateX(-50%) translateY(-50%);
        }
    }


}


@media only screen and (max-width: 800px) {
    #works #work-title{
        font-size: 48px;
    }
    #works #work-title b{
        font-size: 36px;
    }
    #works #work-cont, #works #work-cont:nth-of-type(odd){
        gap: 2rem;
        flex-direction: column-reverse;
    }
    
    #work-cont #work-info, #work-cont:nth-of-type(odd) #work-info{
        background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3clinearGradient id='g' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3e%3cstop offset='0%25' stop-color='%236F6F6F'/%3e%3cstop offset='100%25' stop-color='%23272727'/%3e%3c/linearGradient%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='none' stroke='url(%23g)' stroke-width='2' stroke-dasharray='4' stroke-dashoffset='20' stroke-linecap='square'/%3e%3c/svg%3e");
        /* gap: 10vw; */
    }

    #work-info #work-name{
        font-size: 18px;
    }

    #work-cont #work-img{
        width: 90%;
        height: auto;
    }





    #projects #proj-title{
        font-size: 40px;
    }
    #projects #proj-title b{
        font-size: 28px;
    }


    #proj-data #proj-detail{
        gap: .5rem;
    }
    #proj-detail #proj-date{
        /* border: 1px solid white; */
        font-size: 12px;
    }
    #proj-detail #proj-name{
        /* border: 1px solid white; */
        font-size: 20px;
    }
    #proj-detail #proj-tech{
        gap: .5rem;
    }
    #proj-detail #proj-tech div{
        /* border: 1px solid white; */
        font-size: 12px;
    }
    #proj-detail #proj-sum{
        /* border: 1px solid white; */
        font-size: 14px;
    }
}