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

body {
  font-family: Verdana, "Times New Roman", serif;
  background: #0f2235;
  color: #b0bec5;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: #7ec8a0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header bar */
header {
  border-bottom: 1px solid #1e3a52;
  background: #0f2235;
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}

.logo {
  color: #e0e6eb;
  font-size: 1.1rem;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #b0bec5;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: #e0e6eb;
  text-decoration: none;
}

.nav-link.active {
  color: #e0e6eb;
  font-weight: bold;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

h1 {
  color: #e0e6eb;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
}

h2 {
  color: #e0e6eb;
  font-size: 1.15rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

#home p {
  margin-bottom: 1rem;
}

.post-list {
  list-style: none;
}

.post-list li + li {
  margin-top: 0.25rem;
}

.post-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  color: #b0bec5;
  gap: 1.5rem;
}

.post-list a:hover {
  text-decoration: none;
}

.post-list a:hover .post-title {
  color: #7ec8a0;
  text-decoration: underline;
}

.post-title {
  color: #e0e6eb;
}

.post-date {
  color: #607080;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.project {
  margin-bottom: 1.5rem;
}

.project h3 {
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 0.2rem;
}

.project h3 a {
  color: #e0e6eb;
}

.project h3 a:hover {
  color: #7ec8a0;
}

.project p {
  color: #8a9aaa;
}

.entry {
  margin-bottom: 1.5rem;
}

.entry h3 {
  color: #e0e6eb;
  font-size: 1rem;
  font-weight: normal;
}

.entry-detail {
  color: #7ec8a0;
}

.entry-date {
  color: #607080;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.entry p {
  color: #8a9aaa;
}

@media (max-width: 600px) {
  .header-inner {
    padding: 1rem;
  }

  nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  main {
    padding: 2rem 1rem 3rem;
  }

  .post-list a {
    flex-direction: column;
    gap: 0.15rem;
  }
}
