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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: #cccccc;
}

h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: #dddddd;
}

ul {
  list-style: none;
}

a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #cccccc;
}

/* Header/Hero */
#hero {
  text-align: center;
  padding: 100px 0 80px;
  border-bottom: 1px solid #333333;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 3px solid #ffffff;
}

#hero .positioning {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #bbbbbb;
}

#hero .subtext {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #999999;
}

nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  padding: 10px 20px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: #ffffff;
  color: #000000;
}

.btn.primary:hover {
  background-color: #cccccc;
  color: #000000;
}

.btn.secondary {
  background-color: transparent;
  color: #ffffff;
}

.btn.secondary:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Sections */
section {
  padding: 80px 0;
  border-bottom: 1px solid #333333;
}

section:last-of-type {
  border-bottom: none;
}

/* About */
#about p {
  text-align: left;
}

/* Projects */
.project-category {
  margin-bottom: 3rem;
}

.project-category:last-child {
  margin-bottom: 0;
}

.project {
  margin-bottom: 2rem;
  padding: 20px;
  background-color: #111111;
  border-radius: 8px;
}

.project p {
  margin-bottom: 0.5rem;
}

.experiment {
  margin-bottom: 1rem;
  padding: 15px;
  background-color: #111111;
  border-radius: 8px;
}

/* Skills */
.skill-group {
  margin-bottom: 2rem;
}

.skill-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-group li {
  background-color: #222222;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Contact */
#contact ul {
  display: flex;
  justify-content: center;
  gap: 30px;
}

#contact li {
  font-size: 1.1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  color: #666666;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  body {
    padding: 0 10px;
  }

  h1 {
    font-size: 2.5rem;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  #contact ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
