body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  display: flex;
  width: 100vw;
  height: 100vh;
  flex-direction: column;
}

ul {
  display: inline-block;
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
  margin: 1em 0 0 0;
}

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

img,
video,
iframe {
  margin: 0;
  width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
}

h2 {
  margin-top: 0.5em;
}

menu {
  width: 100vw;
  height: 50vh;
  flex-direction: row;
  display: none;
  margin: 0;
  padding: 0;
  border: 1px black solid;
  box-sizing: border-box;
  background-color: white;
  z-index: 998;
  position: fixed;
  bottom: 0;
  box-shadow: 0px -3px 10px -5px black;
}

menu > div {
  flex-basis: 100%;
  overflow-y: auto;
}

#gui_post_display {
  width: 100vw;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 103px;
}

#gui_subreddit {
  font-size: small;
}

#gui_sources > li:hover {
  cursor: pointer;
}
#gui_menu_toggle {
  position: fixed;
  right: 0.3em;
  bottom: 0.3em;
  font-size: 2em;
  z-index: 999;
}
#gui_menu_toggle:hover {
  cursor: pointer;
}
#gui_posts_control {
  position: fixed;
  left: 1em;
  bottom: 1em;
  background-color: rgba(255, 255, 255, 0.5);
}
#gui_posts_control > div:not(:first-child) {
  margin: 1em 0 0 0;
}
/*#gui_menu_toggle::before{
    content: "\01F525";
}*/
@media screen and (max-aspect-ratio: 13/9) {
}
@media screen and (min-aspect-ratio: 13/9) {
  body {
    flex-direction: row;
  }
  menu {
    padding-top: 50px;
    width: 30vw;
    height: 100vh;
    flex-direction: column;
    right: 0;
    box-shadow: -5px -3px 10px -5px black;
  }
}
