*, *::before, *::after { margin: 0; padding: 0; }

:root {
  --bg: #03050b;
  --ink: #f0eede;
  --accent1: #CC421D;
  --accent2: #4A7FA5;
  --accent3: #073852;
  --accent4: #4ca4df3c;
  --soft: #E8E3D9;
  --muted: #8A847A;
  --heroFont: "Work Sans", sans-serif;
  --mainFont: 'DM Sans', sans-serif;
  --secondFont: 'Syne', sans-serif;
  --mainFontSize: normal;
}


html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--heroFont);
  font-weight: 300;
  overflow-x: hidden;
  height:100%;
  min-height: 100vh;
  /* width: 100%; */
}
img{
    margin: 0 2rem;
}
/* Nav */
nav {
  background-color: var(--bg);
  left: 0; right: 0;
  z-index: 100;
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  padding: 1.5rem 3rem;
  position: fixed;
  bottom: 0;
}
.nav-logo {
  font-family: var(--heroFont);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--accent2);
  text-decoration: none;
}
.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    /* flex: 1; */
}
.nav-links li {
    
    margin: 1rem;
}
.nav-links a {
    font-family: var(--mainFont);
    text-decoration: none;
    color: var(--ink);

}

.section {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    justify-content: center;
}

.hero.section {
    align-items: center;
    min-height: 100vh;
}

.hero-name {
    text-align: center;
    color:var(--accent1);
}

.work.section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.work .section-label {
    text-align: center;
}

.footer {
  background-color: var(--accent1);
  color: var(--ink);
  width: 100%;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 40px;
  padding-bottom: 120px;
  font-family: 'NATS', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.footer-upper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 100px;
  white-space: nowrap;
  line-height: 1;
}

.footer-socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: 100px;
  white-space: nowrap;
}

.footer-socials a {
  color: #f0eede;
  text-decoration: none;
  line-height: 1;
}

.footer-socials a:hover {
  text-decoration: underline;
}

.footer-madeby {
  text-align: center;
  width: 100%;
  line-height: 1;
}

.footer-initials {
    padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 200px;
  letter-spacing: -4px;
  line-height: 0.6;
  overflow: hidden;
  color: #f0eede;
  text-decoration: none;
}

.footer-initials span:nth-child(1) { text-align: left; flex: 1; }
.footer-initials span:nth-child(2) { text-align: center; flex: 1; }
.footer-initials span:nth-child(3) { text-align: right; flex: 1; }

/* ================================================
    RESPONSIVE
    ================================================ */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .section          { 
    justify-content: center;
    padding: 70px 40px 60px; 
    gap: 40px; 
  }
  .connect       { padding: 80px 40px; }
  .footer        { padding: 40px 40px 28px; }

} 

/* Tablet — 820px */
@media (max-width: 800px) {
  .section          { 
    padding: 70px 40px 60px; 
    gap: 40px; 
    flex-direction: column;
  }
  .projects-grid {
    flex-direction: column;
  }
  .btn-secondary {
    font-size: 0.9rem;
    color: var(--accent2);
  }

}

/*phone*/
@media (max-width: 550px){
  /* Nav */
  nav {
    padding: 2rem 2rem;
  }
  .nav-links { 
    display: flex; 
    gap: 1rem; 
    list-style: none; 
  }
  .nav-links a {
    font-size: 0.8rem;

  }

}
/* small phone*/
@media (max-width: 450px){
  /* Nav */
  nav {
    padding: 2rem 1rem;
  }
  .nav-links { 
    display: flex; 
    gap: 1rem; 
    list-style: none; 
  }
  .nav-links a {
    font-size: 0.8rem;

  }
}
