html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    font-family: Arial, sans-serif;
}
.container {
    width: 100%;
    height: 100%;
    max-width: 50%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.top-bar {
    width: 100%;
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border-bottom: #3b3b3b 0.1rem inset;
}
header{
    text-align: left;
    padding-left: 0.8rem;
    margin-bottom: 1rem;
    color: #3b3b3b;
    color: inherit;
}
header a {
    color: inherit;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}
nav {
    margin-bottom: 0;
    display: flex;
    gap: 1rem;
    padding-right: 1rem;
}
nav a {
    text-decoration: none;
    color: #3b3b3b;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s;
}
nav a:hover {
    background: #f0f0f0;
}
main {
    width: 80%;
    text-align: left;
    /* margin-bottom: 1rem; */
    flex-grow: 1; /* Ensures main takes up available space so that the footer gets pushed down to the bottom of the page */
    flex-shrink: 0;
    flex-basis: auto;
    padding-left: 1rem;
}
main h1 {
    color: #3b3b3b;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
}
main h3 {
    padding-left: 1rem;
}
main ul {
    line-height: 1.6; /* Space between lines */
    word-spacing: 0.1rem;
    padding-left: 4rem;
    padding-right: 1rem;
    font-size: 1.2rem;
    color: #3b3b3b;
}
footer {
    width: 100%;
    text-align: center;
    color: #3b3b3b;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
}
footer a {
    color: inherit;
    text-decoration: none;
}
a {
    color: inherit;
    text-decoration: none;
}
a[href^="http"]::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.25em;

  background-size: 100%;
  background-image: url("/blog/misc/icons8-external-link-26.png");
}

a[href^="mailto"]::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.25em;

  background-size: 100%;
  background-image: url("/blog/misc/icons8-mail-24.png");
}
.p1 {
    line-height: 1.6; /* Space between lines */
    word-spacing: 0.1rem;
    padding: 1rem;
    font-size: 1.2rem;
    color: #3b3b3b;
}
.p2 {
    line-height: 1.2; /* Space between lines */
    font-size: 1.2rem;
    color: #3b3b3b;
    padding: 1rem;
    margin: 1rem;
    border-top: 0.1rem solid #3b3b3b;
    border-bottom: 0.1rem solid #3b3b3b;
    text-align: center;
}
.post {
    border-radius: 3px;
    margin: 1rem;
    padding: 0.5rem;
    padding-left: 1rem;
    text-align: left;
    border: 0.1rem solid #3b3b3b;
}
.post-title {
    text-align: center;
    padding-left: 1rem;
}
.post-subtitle {
    text-align: center;
    padding-left: 1rem;
    font-size: 0.9rem;
    color: #666666;
}

img {
    width:80%;
    margin:auto;
    display: block;
}

/* MOBILE SETTINGS */

@media (max-width: 600px) {
  .container {
    width: 100%;
    height: 100%;
    max-width: 95%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  nav a {
    font-size: 1rem;
    padding: 0;
  }
  header a {
    font-size: 1.2rem;
  }
  img {
    width: 100%;
  }
}