@media screen and (max-width: 1280px) {
  .post {
    padding: 3rem;
  }
  .sidebar-wrapper {
    width: 300px;
    min-width: 300px;
  }
  .sidebar {
    width: 300px;
  }
}

@media screen and (max-width: 900px) {
  .sidebar {
    width: 340px;
    left: -340px;
  }
  .sidebar-overlay {
    position: fixed;
    background: linear-gradient(to right, #000c, #0006);
  }
  .sidebar-wrapper {
    min-width: 0;
    width: 0;
  }
  .sidebar-button {
    display: block;
  }
  .sidebar-nav {
    opacity: 1;
  }
  #sidebar_button:checked ~ .sidebar {
    left: 0px;
  }
  #sidebar_button:checked ~ .sidebar-overlay {
    width: 100%;
  }

  .post {
    max-width: 100%;
    width: 100%;
    min-height: 100dvh;
    margin: 0;
    border-radius: 0;
    padding: 40px;
  }

  .post-dir {
    font-size: 0.9rem;
  }
  .post-date {
    font-size: 0.9rem;
  }

  ::-webkit-scrollbar-track {
    background-color: var(--post-background);
  }
}

@media screen and (max-width: 550px) {
  .post {
    padding: 1rem;
    padding-top: 3rem;
  }

  html{
    font-size: 16px;
  }

  .post-title {
    font-size: 2.25rem;
    line-height: 120%;;
  }  
  .post-content > h1 {
    font-size: 2rem;
  }
  .post-content > h2 {
    font-size: 1.5rem;
  }
}
