* {
  box-sizing: border-box;
}

body {
  font-family: ui-monospace, 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';
  font-size: 1.1rem;
  margin: 0 auto;
  padding: 0;
  padding-top: 2rem;
  width: 50%;
  line-height: 1.5;
  background-color: #ffffff;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #ffffff;
    }
}

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

h2, h3 {
  font-weight: 600;
}

p {
  margin: 0.25rem 0 0 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 0;
  width: 100%;
}

header nav {
  align-self: flex-start;
  margin-top: 0.4rem;
}

nav a {
  text-decoration: none;
  color: inherit;
  margin-left: 1rem;
}

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

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;  
  text-underline-offset: 5px;
}

img { 
    display: block; 
    height: auto; 
    margin-top: 40px; 
    margin-bottom: 40px; 
    max-width: 100%; 
}

main {
  width: 100%;
  margin-top: 2rem;
}

section {
  margin-bottom: 3rem;
}

section .date {
  font-weight: 200;
}

article {
  padding-top: 1rem;
}

article p {
   margin: 0.75rem 0;
   margin-bottom: 2rem;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
  width: 100%;
  margin-top: 3rem;
}


@media (max-width: 768px) {
  body {
    width: 95%;
  }
}

