/* Reset-ish */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: Helvetica Neue;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content{
  flex: 1;
}

/* h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; } */


/* Navbar */
/* Sticky header wrapper */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid #eee;
}

/* Container for name + nav */
.site-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 40px;

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

/* Site name */
.site-name {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: #111;
}

/* Navbar container */
.navbar {
  margin-left: auto;
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 500;
}



/* Toggle button hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(211, 207, 199, 0.25);
  color: rgba(242, 242, 242, 0.9);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}

/* Mobile: collapse into menu */
@media (max-width: 700px) {

  .nav-toggle {
    display: inline-flex;        
    align-items: center;         
    justify-content: center;     
    margin-left: auto;           
    color: #111;                
    border: 1px solid #111;     
    background: transparent;
    font-size: 1.5rem;           
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1001;              
  }
  
  .nav-links {
    display: none;               
    position: absolute;          
    top: 100%;                   
    left: 0;
    width: 100%;
    background: #fff;            
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1000;
  }
  
  .nav-links.is-open {
    display: flex;
  }
  

  .nav-links a {
    color: #111;                
    text-decoration: none;
    padding: 0.75rem 1.5rem;     
  }
  
  .nav-links a:hover {
    background: rgba(0,0,0,0.05);
    text-decoration: none;
  }
}


/* link to Projects */
html {
  scroll-behavior: smooth;
}

::selection {
  background: black;
  color: white;
}

::-moz-selection { /* for firefox */
  background: black;
  color: white;
}
