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

body {
  font-family: 'Roboto Mono', 'Courier New', monospace;
  color: #000;
  background-color: #fff;
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

header {
  margin-bottom: 60px;
  border-bottom: 1px solid #000;
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content {
  flex: 1;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #000;
  flex-shrink: 0;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 400;
  letter-spacing: -0.5px;
}

nav {
  margin-top: 20px;
}

nav a {
  margin-right: 20px;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.2s;
  font-size: 0.9rem;
}

nav a:hover {
  border-bottom: 1px solid black;
}

section {
  margin-bottom: 80px;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  font-weight: 400;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 400;
}

h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 400;
}

p {
  margin-bottom: 15px;
}

ul {
  line-height: 1.8;
}

a {
  color: #000;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

.project {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.project:last-child {
  border-bottom: none;
}

.project h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project p {
  margin-bottom: 10px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid black;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.button:hover {
  background-color: black;
  color: white;
}

.gallery {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.gallery > div {
  flex: 1;
  min-width: 250px;
}

.gallery img {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border: 1px solid black;
  display: block;
  margin-bottom: 10px;
}

.gallery p {
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
}

.contact-link {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-link i {
  font-size: 1.3rem;
  margin-right: 12px;
  width: 25px;
}

footer {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #000;
  color: #666;
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 20px 15px;
    font-size: 0.9rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .profile-pic {
    align-self: center;
    order: -1;
    width: 80px;
    height: 80px;
  }

  .header-content {
    width: 100%;
    text-align: center;
  }

  header h1 {
    font-size: 1.6rem;
  }

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

  nav a {
    margin-right: 0;
    font-size: 0.85rem;
  }

  .gallery {
    flex-direction: column;
  }

  .gallery img {
    height: 250px;
  }

  .button {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .welcome-text {
    font-size: 1.8rem;
  }

  .intro-text {
    font-size: 1rem;
  }
}