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

body {
  font-family: system-ui, sans-serif;
  color: #111;
  line-height: 1.6;
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.nav-list {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-list a {
  text-decoration: none;
  color: #111;
}

a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}


.nav-list a:hover {
  text-decoration: underline;
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

section {
  margin-bottom: 4rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* HERO */
.hero h2 {
  font-size: 2.5rem;
}

.hero p {
  max-width: 60ch;
  margin-bottom: 1.5rem;
}

.primary-btn {
  display: inline-block;
  background: #111;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
}

/* SKILLS */
.skills-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  list-style: none;
}

.skills-list li {
  border: 1px solid #d1d5db;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  border-radius: 8px;
}

.project-card h3 {
  margin-bottom: 0.5rem;
}

.project-links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.project-links a {
  color: #2563eb;
  text-decoration: none;
}

.project-links a:hover {
  text-decoration: underline;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #e5e7eb;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* might need improvements on Grid, Positioning, TypoGraphy and Colors */