body {
  background: black !important;
  color: #eee;
  display: flex;
  margin: 0;
  white-space: unset !important;
}

nav {
}

.post-wrapper {
  margin: auto;
  padding: 3rem 1rem;
  flex: 1;
  box-sizing: border-box;

  margin-left: 220px;    /* same as sidebar width */
}

article{
  margin-left: 0px;
}

p{
  color: white;
  font-size: 22px;
  line-height: 28px;
}

article .page-body p {
  margin-bottom: 30px !important;
}

.notion-paragraph {
  margin: 1.2em 0;
}

.notion-paragraph > .notion-paragraph {
  margin-left: 24px;
}

.page-body a {
  color: #f8bdd0;
}

.notion-p{
  margin: 3px 0;
}

summary{
  color: white;
}

h3{
  color: white;
  font-size: 28px !important;
}

h2{
  color: white;
}

li{
  color: white;
}

.block-color-gray_background {
  background-color: rgba(128, 128, 128, 0.397) !important;
}

.page-title-text {
  color: white;
}

.notion-static-icon  {
    filter: brightness(0) invert(1);
}

.checkbox-off{
filter: brightness(0) invert(1);
}

hr {
  background-color: gray !important;
}

.notion-divider, hr{
  background-color: gray;
}
.page-icon-img {
    filter: brightness(0) invert(1);
}

.page-title{
  color: white;
  line-height: 40px;
  margin-bottom: -5px !important;

}

.page-description{
  margin-bottom: 0px !important;
  margin: 0;
}

time{
    opacity: 1;
    font-size: 18px;
    font-weight: 900px;
    color: white;
}

.postDate{
    margin-bottom: 2em;
    font-size: 16px;
}

@media only screen and (max-width: 980px) {
  #sidebar{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color:black;
    z-index: 500;
    display: none;

    width: 100% !important;
    justify-content: center;
  }

  #sidebar div{
    margin: auto;
    max-width: 600px;
  }

  #sidebar a h1{
    width: 100% !important;
    margin-left: 10px !important;
    line-height: 35px !important;
    font-size: 2em !important;
  }

  #sidebar a p{
    font-size: 24px !important;
    margin-top: 15px !important;
  }

  #sidebar a img{
    width: 50px !important;
  }

  #sidebar.reveal {
    display: unset;
  }
  
  .bottombar{
    background-color:rgb(55, 53, 47);
    box-shadow: black;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    gap: 1rem;
    z-index: 500;
    height: 4rem;
    justify-content:center;
    align-items:center;


    margin-bottom: 0px !important;
    display: flex;
  }

  .bottombar a{
    text-decoration: none;
    font-size: 2.5em;
  }

 .post-wrapper{
    margin-left: 0px;    /* same as sidebar width */

 } 
}
@media only screen and (min-width: 981px) {
  .bottombar{
    display: none;
  }
}
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;          /* fixed width */
  height: 100vh;         /* full viewport height */
  overflow-y: auto;      /* sidebar scrolls independently */
  padding: 20px;
  box-sizing: border-box;
}

#sidebar a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  padding: 3px;
  padding-left: 0px;
  color: white;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", "Noto Sans Arabic", "Noto Sans Hebrew", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

#sidebar a p{
  font-size: 12px;
  margin-top: -10px;
  margin-bottom: 0px;
  margin-left: 28px;
  opacity: .75;
}

#sidebar a h1{
  font-size: 16px;
  margin: 0;
  margin-left: -10px;
  display: inline-block;
  width: 180px;
  line-height: 18px;
}

#sidebar h2 {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", "Noto Sans Arabic", "Noto Sans Hebrew", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
  margin-bottom: 20px;
  color: white;

  font-weight: 800 !important;
  font-size: 22px !important;
  margin-top: 0 !important;
}

#index{
  padding-bottom: 90px !important;
  padding-top: 15px !important;
}
#sidebar a img{
  display: inline-block;
  margin: auto;
  position: relative;
  width: 25px;
}

.notionIcon{
  filter: brightness(0) invert(1);

}

#sidebar div{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}