@import url("https://use.typekit.net/qbr4bxb.css");


:root{
    /* components */
    --top-height: 100px ; /*header bar size mobile. Based on min logo size that is const. for mobile menu (logo sizes 100x100 sizing parent)*/ 
    --margin-width:0 5vw;
    --margin-width-relative:0 5%;
    --brdrs:1px solid var(--border);


    /* color styling */
    --txt-dark:#000;
    --txt-light:#707070;
    --white:#fff;
    --black:#000;
    --border:#acacac; 
    

    /* Text styling */
    --hd-dp:5rem; /* equiv 80px dp unchanged */
    
    --hd-lg:2rem; /* equiv 32px */
    --hd-md:1.5rem; /* equiv 24px */
    --hd-sm:1.125rem; /* equiv 18px */

    --txt-lg:1rem; /* equiv 16px */
    --txt-md:1rem; /* equiv 16px */
    --txt-sm:0.875rem; /* equiv 14px */

    --font-disp:neue-haas-grotesk-display, sans-serif;
    --font-pg:neue-haas-grotesk-text, sans-serif;

     /* top & bottom spacers */
     --sp-1:1rem 0;
     --sp-2:3rem 0;
     --sp-3:5rem 0;
     --sp-4:10rem 0;
}

html{
    background-color: var(--white);
    font-family:var(--font-disp);
}

body {
    margin: 0;
    
    display: flex;
    flex-direction: column;

    min-height: 100vh;
    max-width: 1800px;
    margin: 0 auto; /* Center the body horizontally */
    
    font-family:var(--font-disp);
    border-right: 0.5px solid var(--border);
    border-left: 0.5px solid var(--border);
}





/* base site styles */
ul{ /* All ULS padding and bullets removed*/
    text-decoration: none;
    list-style-type: none;
    padding-left:0;
    margin:0;
}

a{ /* Link-prm now defualt a */
    color: inherit;
    display: inline-block;
}

a:hover{
    color:#fff;
    background-color: #000;
}

button{
    background-color: #fff;
    
    border: 1px solid #000000; 
    border-radius: 4px;
    
    padding:10px 16px;
    
    font-size: var(--txt-md);
    font-family: var(--font-disp);

    align-self:center; /* aligns center of flex box in header */
    width:fit-content;
}

button:hover{
    cursor: pointer;
    filter:invert(1); /* replaces color set but fcks email butt*/
}

.button{
    background-color: #fff;
    
    border: 1px solid #000000; 
    border-radius: 4px;
    
    padding:10px 16px;
    
    font-size: var(--txt-md);
    font-family: var(--font-disp);

     /* aligns center of flex box in header */
    width:fit-content;
    text-decoration: none;
}

/* custom classes that are necesary */

.lk-sd{
    text-decoration: none;
}

.lk-sd:hover{
    text-decoration: underline;
    color:inherit;
    background-color: inherit;
}

header .lk-dsbld:hover{
    background-color:initial;
    color:initial;
    cursor:initial;

}

header>nav .lk-sd:hover{
    text-decoration: none; /*Remove underline for mob menu*/
}

.bd{
    border: var(--brdrs);
}

.nav-btn{
    border:none;
    padding:0;
}

.nav-btn:hover{
    cursor:pointer;
    filter:invert(0);   
}

header .nav-btn:hover{
    transform-origin:right;
    transform: scale(1.075);
    transition: all 0.1s ease-out;
}

footer{
    margin-top: auto;
}

footer .nav-btn{
    display: flex;
    flex-direction: row;
    align-self:last baseline;
    align-items: baseline;
    margin:0 5%;
}

footer .nav-btn:hover{
    text-decoration: underline;
}

footer .nav-btn:hover img{
    transform-origin:bottom;
    transform: scale(1.075);
    transition: all 0.1s ease-out;
}



/* Global Spacer */
.sp-1{
    margin: var(--sp-1);
}

.sp-2{
    margin: var(--sp-2);
}

.sp-3{
    margin:var(--sp-3);
}

.sp-4{
    margin: var(--sp-4);
}

/* Font Styling Classes */ 
/*Size*/
.hd-dp{
    font-size: var(--hd-dp);
    margin-bottom: 0rem; 
   line-height:1;
}

.hd-lg{
    font-size: var(--hd-lg);
}

.hd-md{
    font-size: var(--hd-md);
}

.hd-sm{
    font-size: var(--hd-sm);
}

.txt-bd{
    font-family: var(--font-pg);
    font-size: var(--txt-lg);
    letter-spacing:-0.36px;
    line-height: 29px;
}

.txt-bd-lg{
    font-family: var(--font-pg);
    font-size: 20px;
    letter-spacing:-0.48px;
    line-height: 29px;   
}

.txt-lg{
    font-size: var(--txt-lg);
}

.txt-md{
    font-size: var(--txt-md);
}

.txt-sm{
    font-size:var(--txt-sm);
}

/* Weight (dont have bold atm) */
.wt-rg{
    font-weight: normal;
}

.wt-md{
    font-weight: 600;
}

.wt-lg{
    font-weight: bold;
}

/* color */
.col-b{
    color:var(--black);
}

.col-g{
    color:var(--txt-light);
}

.col-w{
    color:var(--white);
}

/* header */
header>section{
    margin:var(--margin-width-relative);
    
    display:flex;
    justify-content: space-between;
    align-items: center;

    z-index: 50;
    margin-top: 5px;
}

header > section > a>img {
    object-fit: contain;
    
    width:12vw; /* Default width based on viewport width */
    min-width: 75px; /* Minimum width */
    max-width: 170px; /* Maximum width */
    position: relative;
    z-index:75;

}

header > section > a:hover{
    cursor:pointer;
    background-color:initial;
}

header>section>nav{ /*hide desktop menu */
    display: none;
}

/*Mobile menu */

#mob-menu-btn>img{
   margin-left: 0.35em;
}

#mob-menu-btn{
    align-self: center;
  
    display: flex;
}

.mob img{
    display: none;
}

.mob span{
    font-size:42px;
}

header>nav{
    height:calc(100vh - 100px); /*to replace with header height variable calcs screent fill*/
    background-color: #fff 0.95; /* lightens opacity so slight outline content can be seen */
    
    display:none;
    flex-direction: column;
    justify-content:space-between;
}

header>nav>ul>li{
    color:var(--txt-dark);
    background-color: var(--white);
    
    border-bottom:var(--brdrs);
  
    font-weight: 600;
    font-size: var(--hd-dp);
    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}


header>nav>ul>li>a{
    padding: var(--margin-width);
    padding-top:16px; /*universal margin/padding spacing */
    
    width: 100%; /* next 3 lines fills link to all parent li */
    height: 100%;
    box-sizing: border-box;
    
    display: flex;
    justify-content: space-between;
} 

nav>p{
    text-align: center; /*copyright statement centering*/
    color: var(--txt-light);
}
/* END Mobile Menu */


/* main content section */
/*main{
     margin: var(--margin-width);  need to remove ad make specific to pages
} */

/* Footer */
footer{
    margin-top:20px;

    border-top:var(--brdrs);
    bottom: 0; /* sits it at bottom of body*/

    display:block;
    overflow:hidden;
}

footer>section{
    font-size: var(--hd-md);
    padding:2rem 5%;

    display:flex;
    flex-direction: column;
    justify-content: space-between;
    
    gap:1.5rem;
}

footer>section>button, footer>section>button:hover{
    border: none;
    border-radius: 0;
    padding:0; 
    filter:invert(0); /*removing default button styling + hover styling */ 
    
    align-self: flex-start;
    
    font-size: var(--head-txt-lg);
}

footer> nav{
    border-top:var(--brdrs);
    margin:0 5%;
    padding-top:2rem;

    display:flex;
    flex-direction: row;
    justify-content:left;
    
    gap:3rem;
}

footer>nav> ul:nth-child(2) {
    padding-left:2.5rem;
}

footer>nav>ul>p{
    margin-bottom: 18px;
    font-size: var(--txt-lg);
 }

footer>nav>ul>li{
    margin-top: 8px;
    color:var(--txt-light);
    font-size: var(--txt-md);
 }

 footer>nav>ul>li>a:hover{
    color:#000;
    background-color: var(--white);
}

footer>div{
    margin-top:8rem;


    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

footer>div>copyright{
    border-top:var(--brdrs);
    color: var(--txt-light);
    font-size: var(--txt-sm);

    display:flex;
    flex-direction: row;
    justify-content:center;
}

footer>div>div{
    align-self:flex-end;

    display:flex;
    justify-content: right;
    align-items: baseline;

    width:fit-content;
   
    box-sizing: content-box;
    height: fit-content;
}



footer>div>div:hover{
cursor: pointer
}

footer>div>div:hover p{
    text-decoration: underline;
    cursor: pointer;
}

footer>div>div:hover img{
    transform-origin: bottom;
    transition: all 0.1s ease-out;
    transform: scale(1.075);
}

footer > div > div > p:hover, footer > div > div > img:hover{
    text-decoration: underline;
    cursor: pointer;

}
/*webkit underline*/
footer>div>button {
    -webkit-tap-highlight-color:none;
    color:var(--black);    
}
/* end webkit underline */

.footer-graphics { /*=scroll container*/
    position: relative; /*positioned relative to footer container */
    
    margin: 0; 

    display: flex;
    justify-content: center;
    align-items: center;
    
}

.footer-graphics img {
    position: absolute;
}

  /* Coordinates manually set for Footer Graphics */
  .footer-graphics img:nth-child(1) {
    top: 120px; /* Adjust to positon y */
    left: 15%; /* Adjust to positon x */
    transform: translateX(-50%);  /* Adjust to rotate */
    width:100px; /*size set*/
}

.footer-graphics img:nth-child(2) {
    bottom: -118px; 
    left: 47%;  
    transform: translateX(-50%) rotate(30deg);
    width:50px;
}

.footer-graphics img:nth-child(3) {
    bottom: -30px; 
    left: 63%;
    transform: translateX(-50%) rotate(-15deg);
    width:25px;
}

@media (min-width:320px){
  /* Coordinates manually set for Footer Graphics */
  .footer-graphics img:nth-child(1) {
    top: 100px; /* Adjust to positon y */
    width:125px; /*size set*/
}

.footer-graphics img:nth-child(2) {
    bottom: -120px; 
    width:75px;
}

.footer-graphics img:nth-child(3) {
    bottom: -20px; 
    left: 61%;
    width:30px;
}

}

@media (min-width:500px){
    .mob img{
        display: block;
    }
}

@media (min-width:500px){
    /* Coordinates manually set for Footer Graphics */
    .footer-graphics img:nth-child(1) {
        top: 45px; /* Adjust to positon y */
        left: 20%; /* Adjust to positon x */
        width:200px; /*size set*/
    }

    .footer-graphics img:nth-child(2) {
        bottom: -90px; 
        left: 50%;  
        width:80px;
    }

    .footer-graphics img:nth-child(3) {
        bottom: 30px; 
        left: 65%;
        width:50px;
    }

    .mob span{
        font-size:80px;
    }
}

@media (min-width:900px){ /*was 767 This is font desktop shift */
    :root{
     /* Text sizing for Desktop */
     --hd-dp:5rem; /* equiv 80px */
    
     --hd-lg:2.625rem; /* equiv 42px */
     --hd-md:2rem; /* equiv 32px */
     --hd-sm:1.5rem; /* equiv 24px */
 
     --txt-lg:1.125rem; /* increased to equiv 18px */
     --txt-md:1rem; /* equiv 16px */
     --txt-sm:0.875rem; /* equiv 14px */
    }

    .txt-bd-lg{
        font-size: 24px;
    }

    /*Desktop menu*/
    header>section{
        flex-direction: row-reverse;
        flex-wrap: wrap;
        align-items:flex-start;    
    }

    header>section>nav{
        display: inline-block; /*unhides desk menu */
    }

    header>section>nav>ul>li{
        display:inline-block;
        
        padding-right:2.5rem; /*space between items*/
        margin-top: 2rem; /*space from top*/
    }
    
    header>nav,header>section>button{
        display:none !important; /*hide mob menu butt */
    }
    /*END desktop menu*/

    /* Footer */
    footer>section{ 
    /* contact section sizing */
        font-size: var(--hd-lg);
        padding:4rem 5%;
    
        flex-direction: row;
    }

    footer > div {
        margin-top:3rem;
        margin-bottom:1rem;

        flex-direction: row-reverse;
        justify-content: space-between;
    }

    footer>div>copyright{
        border:none;
        align-self: last baseline;
       margin: 0 5%;
        
        margin-top:5rem;/*white space above copyright*/
    }

    footer>div>div{ /*align copyright & back to top button*/
        align-items: last baseline;
    }

    /* Coordinates manually set for Footer Graphics */
    .footer-graphics img:nth-child(1) {
        top: -240px;
        left: 45%;
        width:225px;
    }
    
    .footer-graphics img:nth-child(2) {
        bottom: -90px; 
        left: 55%;
        width:125px;
    }
    
    .footer-graphics img:nth-child(3) {
        top: 110px; 
        left: 60%;
        width:50px;
    }
    /*END FOOTER*/
}

@media (min-width:1259px){
    /* Coordinates manually set for Footer Graphics */
    .footer-graphics img:nth-child(1) {
        top: -325px;
        left: 40%;
        width:300px;
    }

    .footer-graphics img:nth-child(2) {
        bottom: -90px; 
        left: 53%;
        width:200px;
    }

    .footer-graphics img:nth-child(3) {
        top: 110px; 
        left: 60%;
        width:50px;
    }
}


/* ANIMATIONS */

.slide-in {
    display: flex;
    color:var(--black);
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: color 0.1s, background-position 0.35s;
    background-image: linear-gradient(to right, #000 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100%;
}

header>nav>ul>li>a:hover{
    color:unset;
    background-color: unset;
}

header>nav>ul>li:hover .slide-in,
        .slide-in:focus {
            background-position: 0%;
            color: white; /* Change text color when hovered or focused */
        }

header>nav>ul>li {
    overflow: hidden;
}

/* Mobile menu slide Not working */
header>nav {
    /* Existing styles */
    /* Add new styles for sliding animation */
    transition: transform 0.3s ease-out;
    transform: translateY(100%); /* Start menu off-screen */
}

/* Add this class to show the menu */
.open {
    transform: translateY(0); /* Slide the menu into view */
}


/* PROJECT GRID (Used in latest project and project page) */
#projects {
    margin: 0 5%;
    margin-bottom: 5rem;
}

#projects .grid-wrap {
    display: grid;

    grid-template-rows: auto;
    row-gap: 2rem;
    column-gap: 2.5%;
}

#projects .grid-wrap :first-child{
    display: block;
    height:fit-content;
}

/* section title */
#projects .title{
    margin-bottom:3rem;
}

#projects .title>p{
    margin-bottom:0.75rem;
}

/* Project tiles */

#projects .grid-wrap .tile > p {
    margin:0;
}

#projects .grid-wrap .tile > p:first-of-type {
    margin-top: 0.5em;
}

#projects .grid-wrap .tile {
    text-decoration: none;
    width: 100%;
}

#projects .grid-wrap .tile:hover {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: black;
    background-color: initial;
}

#projects .grid-wrap .tile .thumb {
    cursor: pointer;
    object-fit: cover;
    width: 100%;
    height: 100%; /* Ensure the image fills the container */
    opacity:0;

    transition: transform 0.3s ease-in-out, opacity 0.5s ease-in-out;;
}

#projects .grid-wrap .tile .thumb.loaded {
    opacity: 1;
}

#projects .grid-wrap .tile:hover .thumb {
    transform: scale(105%);
    transform-origin: center;
}

#projects .grid-wrap .tile .image-container {
    width: 100%; /* Ensures the container takes full width of its parent */
    aspect-ratio: 0.8;
    overflow: hidden; /* Ensures that the image does not overflow the container */
    position: relative; /* Necessary for positioning the image inside */
}


@media (min-width: 714px) {
    #projects .grid-wrap .tile .image-container{
        aspect-ratio: 0.75;
    }

    #projects .grid-wrap {
        grid-template-columns: 1.75fr 1fr 1fr 1fr;
        grid-template-rows:auto;
    }

    #projects .grid-wrap :first-child{
        height:initial;
    }

    #projects .grid-wrap .tile .thumb {
        height: 100%; /* Ensure the image fills the container */
    }

    #projects .grid-wrap .tile {
        height: fit-content;
    }
}

/* End proj grid */

img {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
    user-select: none;         /* Standard */
    -webkit-user-drag: none;   /* Disable dragging in Safari and Chrome */
    -webkit-user-drag: none;
}

main img{
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
   
img.loaded {
    opacity: 1;
}


/* Lazy Load animation legacy (only in copy peechdreams) */
.lazy-wrap {
    position: relative;
    width: 100%;

    display:inline-block;

    height:fit-content;
    overflow: hidden;
    background-color: #f0f0f0; /* Background color for skeleton */

    overflow: hidden;
}

.skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    /*animation: skeleton-loading 1.5s infinite;*/
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}



.fade-in {
    opacity: 0;
    transition: opacity 0.5s;
}

.fade-in.show {
    opacity: 1;
}

img.lazyload {
    opacity: 0;
    transition: opacity 0.5s;
}

img.lazyload.loaded {
    opacity: 1;
}

/* Current Lazy Load*/

.placeholder{
    background-color: #f0f0f0;
    
    background-size: 200% 100%;
   /* 
   background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
   animation: skeleton-loading 1.8s  ease-in-out infinite;*/
}

/* END Lazy load */


/*coming soon tile*/
.coming-soon, .coming-soon * {
    cursor:not-allowed !important;
    text-decoration: none !important;
}

.coming-soon img{
    opacity: .5 !important;
}

.coming-soon p:nth-child(2)::after{
    content:" (Coming Soon)";
}

/* captions */
.caption{
    font-size: var(--txt-sm);
    color: var(--txt-light);
    text-align: center;
    margin-bottom: 0;
}

.no-fade{
    transition:none;
    opacity: 1 !important;
}
