* {
  box-sizing: border-box;
}


body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1rem 1rem 0;
  font: system-ui, sans-serif;
  background-color: #ccc;
}

a {
  color: var(--link);
  text-decoration: none;
  font-size: 1rem;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1,
h2,
h3 {
  color: var(--accent);
}

.site-header,
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-header {
  width: 100%;
  max-width: 700px;
  justify-content: space-between;
  margin: 0 auto;
}

nav {
  justify-content: flex-end;
}

nav a{
  color:blue;
}


.site-title {
  color: inherit;
  font-weight: 300;
}

.theme-toggle {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}

.theme-toggle svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sun-icon {
  display: none !important;
}

.theme-toggle.is-dark .moon-icon {
  display: none !important;
}

.theme-toggle.is-dark .sun-icon {
  display: block !important;
}

main {
  flex: 1;
  width: 100%;
  max-width: 700px;
  margin: 2rem auto;
}

.profile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
}

.profile-photo {
  width: 180px;
  height: auto;
}

.profile h1,
.profile h3 {
  margin-top: 0;
}

.profile h1 {
  margin-bottom: 0;
}

.year-heading {
  margin-top: 1rem;
  font-size: 1.2rem;
}

footer {
  width: calc(100% + 2rem);
  margin-left: -1rem;
  padding: 0.75rem 1rem;
  text-align: center;
}

footer p {
  max-width: 700px;
  margin: 0 auto;
}

.meta,
footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.prose img {
  max-width: 100%;
}

.prose pre {
  overflow-x: auto;
  padding: 1rem;
  background: var(--code-background);
}

@media (max-width: 480px) {
  .profile {
    flex-direction: column;
  }
}
