/* important stuff */
@font-face {
    font-family: 'SK Modernist';
    src: url('../assets/fonts/Sk-Modernist-Regular.woff2') format('woff2'),
        url('../assets/fonts/Sk-Modernist-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SK Modernist';
    src: url('../assets/fonts/Sk-Modernist-Bold.woff2') format('woff2'),
        url('../assets/fonts/Sk-Modernist-Bold.woff') format('woff2');
    font-weight: 700;
}


.navbar-item {
    opacity: 0;
    transform: translateY(-25px);
    animation: navItemIn 0.5s ease-out forwards;
}

.navbar-item:nth-child(1) { animation-delay: 0.2s; }
.navbar-item:nth-child(2) { animation-delay: 0.35s; }
.navbar-item:nth-child(3) { animation-delay: 0.5s; }
.navbar-item:nth-child(4) { animation-delay: 0.65s; }

@keyframes navItemIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'sk-modernist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
}

:root {
    --pads: clamp(24px, 5vw, 64px);
    --innerpads: clamp(12px, 5vw, 32px);
    --max-width: 1200px;
}

/* Fonts */
@font-face {
    font-family: 'Itty Bitty Notebook';
    src: url('../assets/fonts/itty-bitty.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Neug Asia';
    src: url('../assets/fonts/neug-asia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sk-modernist';
    src: url('../assets/fonts/Sk-Modernist-Regular.woff2') format('woff2'),
         url('../assets/fonts/Sk-Modernist-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'sk-modernist';
    src: url('../assets/fonts/Sk-Modernist-Bold.woff2') format('woff2'),
         url('../assets/fonts/Sk-Modernist-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
/* text items */


h4 /* project main text */ {
    font-family: 'sk-modernist', system-ui, -apple-system, sans-serif;
    font-size: clamp(1.2rem, 1.7vw, 2rem);
    color: #fff; 
}

h5 /* project blurbs in preview */ {
    font-family: 'sk-modernist', system-ui, -apple-system, sans-serif;
    font-size: clamp(0.5rem, 3vw, 1rem);
        text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff; 
}

/* navbar items --------------------------------------------*/

.navbar-container {
    position: fixed;                 /* floats above the page */
    top: clamp(1rem, 2vw, 2rem);                       /* 2rem from top */
    left: 50%;
    transform: translateX(-50%);     /* true horizontal centering */

    padding: clamp(0.6rem, 1.2vw, 1rem) clamp(0.6rem, 1.2vw, 1rem) ;           /* inner spacing */
    border-radius: 30px;             /* pill shape */

    /* Liquid glass effect */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    
    /* Glass border effect */
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 
        0 8px 12px 0 rgba(132, 133, 150, 0.37),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    display: flex;                      /* space between nav items */
    align-items: center;

    z-index: 1000;                   /* stays above backdrop */
    
    transition: all 0.3s ease;
}

.navbar-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    gap: clamp(2rem, 4.5vw, 4.5rem);
    margin: 0 clamp(0.25rem, 1vw, 1rem);
}

.navbar-item {
    height: auto;
}

.navbar-links {
    text-decoration: none;
    height:100%;
    padding: 0 clamp;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 1.3vw, 1.5rem);
    font-family: 'sk-modernist', system-ui, -apple-system, sans-serif;
    font-weight: bold;
}

.navbar-links:hover {
    transition: all 0.3s ease;
}

.navbar-toggle {
    display: none;
}


/* extras ----------------------------------- */
.extra 

/* footer ----------------------------------- */

.footer {
    margin-top: 5rem;

}