* {
    box-sizing: border-box;
  }

body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    background-color: #f8f6f2;
    overflow-x: hidden;
    height: auto;
}

.body-wrapper {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 100dvh;
    margin: 0 auto;
    padding: 0 5vw 15px 5vw;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: top;
    padding-top: 25px;
    padding-bottom: 0px;
}

.header-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: top;
    padding-bottom: 20px;
    width: 100%;
    border-bottom: dashed 1px #929292;
}

.header-wrapper img {
    max-width: 100px;
    height: auto;

}

.header-img-menu {
    display: block;
    flex-direction: row;
    width: auto;
    margin-left: 30px;
}

main {
    display: flex;
    flex-direction: start;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
}

nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-right: 10px;
}

nav a {
    color: black;
    text-decoration: none;
}

main {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: left;
    padding-top: 25px;
    gap: 20px;
    width: auto;
    height: auto;
}

.post-main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    height: 100%;
}

.blog-wrapper {
    display: block;
    flex-direction: row;
    justify-content: left;
    align-items: top;
    width: auto;
    height: auto;
}

.post-page-wrapper {
    max-width: 600px;
}

.blog-wrapper img {
    max-width: 100%;
    
}

.notes-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    width: 0px;
    height: auto;
}

.notes-feed {
    width: 100%;
    height: auto;
    padding-top: 10px;
}

.blog-feed h2 {
    font-size: 12pt;
    font-weight: 600;
    width: 100%;
    height: auto;
    padding-top: 10px;
}

.blog-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px 30px; /* vertical / horizontal spacing */
    width: 100%;
}

.blog-header {
    border-bottom: 0px solid #929292;
}

.note {
    padding: 0px;
    margin: 0px;
    margin-top: 5px;
}

.note p {
    padding: 0px;
    margin: 0px;
}

.note-text {
    font-size: 30pt;
    border: 0px solid #929292;
    border-radius: 15px;
    padding-top: 12px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 5px;
}

.post-date {
    font-size: 10pt;
    width: 100%;
    height: 20px;
    text-align: left;
    padding-right: 10px;
    margin-top: 5px;
}

.post-date p {
    padding-right: 10px;
    margin-bottom: 0px;
    margin-top: 0px;
    padding: 0px;
}

h1 {
    font-size:calc(30px + 5vw);
    font-weight: 300;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h2 {
    font-size: 12pt;
    font-weight: 200;
    margin: 0;
    padding: 0;
    padding-bottom: 3px;
    margin-bottom: 0;
}

.nav-link {
    width: 100%;
    text-align: right;
}

.blog-post-preview {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
    width: 100%;
    max-width: 100%;
    height: auto;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt;
    font-weight: 400;
    line-height: 1.55em;
    padding: 0px 5px;
    margin-bottom: 0px;
    color: #1b1b1b;
}

.preview-content {
    height: 400px;
    max-height: 400px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 0px; /* room for fade */
    margin-bottom: 0px;
    padding: 0px;
  }
  
  .preview-content ::after {
    content: '';
    display:block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    background: linear-gradient(to bottom, transparent, #f8f6f2);
  }
  
  .preview-content.no-fade:after {
    display: none;
  }

  .read-more {
    margin-bottom: 10px;
    margin-top: 0px;
  }

  .blog-title {
    min-height: 20px;
    font-size: 11pt;
    font-weight: bold;
    margin-bottom: 0px;
    padding: 0px;
    font-family:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }

  .blog-post-preview .post-page-content {
    width: 300px;
  }

  .post-page-content img {
    max-width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
    margin-bottom: 50px;
  }

  .post-page-content embed {
    width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
  }

  #post-content {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    height: 100%;
    width: 100%;
    max-width: 100%;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14pt;
  }

  .signature-link {
    display: flex;
    flex-direction: row;
    justify-content: right;
    width: 100%;
    font-size: 10pt;
    text-align: right;
    margin-top:50px;
    padding-top: 10px;
    color: #1d1d1d;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-decoration: none;
  }
  
  footer {
    display: block;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  @media only screen and (max-width: 600px) {
    #post-content {
        font-size: 12pt;
      }
  }