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

html {
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  background-color: #fafafa;
  color: #1a1a1a;
  transition: background-color 0.3s, color 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: all 0.3s;
}
a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background-color: #1f2937;
  color: white;
}
.btn-primary:hover {
  background-color: #111827;
  opacity: 1;
}
.btn-secondary {
  background-color: transparent;
  color: #1a1a1a;
  border: 2px solid #e2e8f0;
}
.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
  opacity: 1;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #e2e8f0;
  color: #4a5568;
  border-radius: 1rem;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

::selection {
  background-color: #2563eb;
  color: #ffffff;
}

::-moz-selection {
  background-color: #2563eb;
  color: #ffffff;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.3s, border-color 0.3s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: #4a5568;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active {
  color: #1a1a1a;
}

.theme-toggle {
  background-color: #e2e8f0;
  border: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
  width: 34px;
  height: 34px;
}
.theme-toggle:hover {
  transform: scale(1.1);
}
.theme-toggle .theme-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.theme-toggle .sun-icon,
.theme-toggle .moon-icon,
.theme-toggle .auto-icon {
  display: none;
}

.home-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.home-content {
  text-align: center;
}
.home-content .avatar {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border: 4px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.home-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.home-content .tagline {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 2rem;
}
.home-content .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.page-content, .project-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.page-content h1, .project-detail h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.page-content h2, .project-detail h2 {
  font-size: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.page-content h3, .project-detail h3 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}
.page-content p, .project-detail p {
  margin-bottom: 1.5rem;
}
.page-content ul, .page-content ol, .project-detail ul, .project-detail ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}
.page-content ul li, .page-content ol li, .project-detail ul li, .project-detail ol li {
  margin-bottom: 0.5rem;
}
.page-content ul li svg, .page-content ol li svg, .project-detail ul li svg, .project-detail ol li svg {
  vertical-align: middle;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.project-card h2 a {
  color: #1a1a1a;
}
.project-card h2 a:hover {
  opacity: 0.7;
}
.project-card p {
  color: #4a5568;
  margin-bottom: 1rem;
}
.project-card .project-tags {
  margin-bottom: 1rem;
}
.project-card .read-more {
  color: #1f2937;
  font-weight: 500;
}
.project-card .read-more:hover {
  opacity: 0.7;
}

.project-detail header {
  margin-bottom: 2rem;
}
.project-detail header time {
  display: block;
  color: #4a5568;
  margin-top: 0.5rem;
}
.project-detail .project-tags {
  margin: 1rem 0;
}
.project-detail .project-image {
  width: 100%;
  border-radius: 0.5rem;
  margin: 2rem 0;
}
.project-detail .project-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}
.project-detail .back-link {
  margin-top: 2rem;
}
.project-detail .back-link a {
  color: #4a5568;
}
.project-detail .back-link a:hover {
  color: #1a1a1a;
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.875rem;
  }
  .home-content h1 {
    font-size: 2rem;
  }
  .home-content .avatar {
    width: 10rem;
    height: 10rem;
  }
  .page-container {
    padding: 6rem 1.5rem 3rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}
html.dark body {
  background-color: #111827;
  color: #f9fafb;
}
html.dark a {
  color: #60a5fa;
}
html.dark a:hover {
  color: #93c5fd;
}
html.dark .site-nav {
  background-color: rgba(17, 24, 39, 0.8);
  border-bottom-color: #374151;
}
html.dark .nav-logo {
  color: #f9fafb;
}
html.dark .nav-links a {
  color: #9ca3af;
}
html.dark .nav-links a:hover, html.dark .nav-links a.active {
  color: #f9fafb;
}
html.dark .theme-toggle {
  background-color: #374151;
  color: #fbbf24;
}
html.dark .home-content .avatar {
  border-color: #374151;
}
html.dark .home-content .tagline {
  color: #9ca3af;
}
html.dark .btn-primary {
  background-color: white;
  color: #111827;
}
html.dark .btn-primary:hover {
  background-color: #e5e7eb;
}
html.dark .btn-secondary {
  color: #f9fafb;
  border-color: #374151;
}
html.dark .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}
html.dark .tag {
  background-color: #374151;
  color: #9ca3af;
}
html.dark .project-card h2 a {
  color: #f9fafb;
}
html.dark .project-card p {
  color: #9ca3af;
}
html.dark .project-card .read-more {
  color: #93c5fd;
}
html.dark .project-detail header time {
  color: #9ca3af;
}
html.dark .project-detail .project-links {
  border-top-color: #374151;
}
html.dark .project-detail .back-link a {
  color: #9ca3af;
}
html.dark .project-detail .back-link a:hover {
  color: #f9fafb;
}
html.dark .page-content p, html.dark .page-content li, html.dark .project-detail p, html.dark .project-detail li {
  color: #9ca3af;
}
html.dark ::selection {
  background-color: #60a5fa;
  color: #1a1a1a;
}
html.dark ::-moz-selection {
  background-color: #60a5fa;
  color: #1a1a1a;
}

/*# sourceMappingURL=main.css.map */