body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f9fc;
  color: #333;
  line-height: 1.6;
}

header {
  text-align: center;
  background: #01a1b7;
  color: white;
  padding: 20px 10px;
}

header img.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

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

main {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

h1,
h2 {
  color: #01a1b7;
}

ul {
  padding-left: 20px;
}

#name {
  color: white;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

footer a {
  color: #01a1b7;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

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

footer p {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-items: center;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  main {
    padding: 0 10px;
  }
}

#code pre {
  background: #1e1e1e;
  color: #dcdcdc;
  padding: 15px;
  border-radius: 10px;
  font-family: "Fira Code", monospace;
  font-size: 14px;
  overflow-x: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #333;
}

#code .keyword {
  color: #569cd6;
}
#code .string {
  color: #ce9178;
}
#code .number {
  color: #b5cea8;
}
#code .func {
  color: #dcdcaa;
}
