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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  padding: 1.5rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

header h2 {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1rem;
}

section {
  margin-top: 2rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #222;
}

ul {
  list-style: disc;
  padding-left: 1.2rem;
}

ul.skills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: 0;
}

ul.skills li {
  background: #e0e0e0;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
}

.button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: #444;
}

/* Responsive desktop */
@media (min-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }
  header h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  ul.skills li {
    font-size: 1rem;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  body {
    background: #1e1e1e;
    color: #f2f2f2;
  }
  header h2 {
    color: #aaa;
  }
  h3 {
    color: #eee;
  }
  ul.skills li {
    background: #333;
    color: #eee;
  }
  .button {
    background-color: #fff;
    color: #000;
  }
  .button:hover {
    background-color: #ddd;
  }
}
