

.search_time {
  margin-top: 4px;
  color: rgb(83, 100, 113);
  font-size: 0.75em;
}
.search_text {
  display: block;
  background-image: url(/img/twitter-avatar.png);
  background-size: 2.5em;
  background-repeat: no-repeat;
  background-position: 0 0;
  margin-bottom: 1em;
  min-height: 64px;
}
.search_text::before {
    content: "Brad Bice";
    font-weight: bold;
    display: block;
    margin-bottom: 2em;
    padding-left: 3em;
}
.search_link {
  display: block;
  width: 2.5em;
  height: 2.5em;
  position: absolute;
}
.search_link:after {
    content: "@bradbice";
    color: rgb(83, 100, 113);
    position: absolute;
    top: 1.2em;
    left: calc(100% + 0.5em);
}
.search_link a {
    display: block;
    width: 2.5em;
    height: 2.5em;
    text-indent: -10000px;
}
#sorting {
  margin-top: 8px;
  line-height: 1.7em;
}
.sort-button, .sort-button-browse {
  font-size: 1.0em;
  border: 0;
  padding: 0;
  box-shadow: none;
  text-decoration: underline;
  background: none;
}
.wrapper {
  display: block;
  max-width: 600px;
  margin: 0 auto;
  word-wrap: break-word;
}
.flex-wrap {
  display: flex;
  flex-direction: column;
}
.tweet {
    max-width: 600px;
    padding: 16px;
    border: 1px solid rgb(239, 243, 244);
    border-radius: 16px;
    background-image: url(/img/twitter-avatar.png);
    background-size: 2.5em;
    background-repeat: no-repeat;
    background-position: 16px 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.tweet img {
  max-height: 100%;
  vertical-align: bottom;
  width: 100%;
  object-fit: cover;
}
.tweet video {
  max-height: 100%;
  vertical-align: bottom;
  width: 100%;
}
.tweet ul {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  gap: 8px;
  padding-left: 0px;
  margin-bottom: 0px;
}
.tweet li {
  height: 20vh;
  width: 20vh;
  flex-grow: 1;
}
.tweet .display_name {
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 3em;
  font-weight: bold;
}
.tweet .user_name {
  margin-top: 2px;
  padding-left: 3em;
}
.tweet .favorite_count {
  display: inline-block;
  margin-bottom: 0;
  color: rgb(83, 100, 113);
  font-size: 0.75em;
}
.tweet .retweet_count {
  display: inline-block;
  margin-left: 16px;
  margin-bottom: 0;
  color: rgb(83, 100, 113);
  font-size: 0.75em;
}
.tweet .created_at {
  margin-bottom: 0;
  color: rgb(83, 100, 113);
  font-size: 0.75em;
}
.tweet .permalink {
  color: rgb(83, 100, 113);
  margin-left: 16px;
  font-size: 0.75em;
}
.child {
  margin-top: 16px;
  margin-left: 64px;
  max-width: calc(600px - 64px);
  background-color: white;
}
.parent {
  margin-bottom: 16px;
  margin-right: 64px;
  max-width: calc(600px - 64px);
  background-color: white;
}
@media screen and (max-width: 599px) {
  .tweet li {
    height: 15vh;
    width: 15vh;
    flex-grow: 1;
  }
}
@media(prefers-color-scheme: dark) {
  body {
    background-color: black;
    color: white;
  }
  a {
    color: #33ff00;
    text-decoration: none;
  }
  a:hover {
    color: #33ff00;
    text-decoration: underline;
  }
  .tweet {
    background-color: black;
    border: 1px solid gray; /*#33ff00;*/
    border-radius: 5px;
  }
  .child {
    background-color: black;
  }
  .parent {
    background-color: black;
  }
  button {
    background-color: black;
    color: white;
  }
  input {
    background-color: black;
    color: white;
  }
  .tweet .favorite_count {
    color: rgb(83, 100, 113);
    font-size: 0.75em;
  }
  .tweet .retweet_count {
    color: rgb(83, 100, 113);
    font-size: 0.75em;
  }
  .tweet .created_at {
    color: rgb(83, 100, 113);
    font-size: 0.75em;
  }
}
#tabs {
  margin: -16px 0 0;
}
.tab:first-child {
  margin-left: -16px;
  border-top-left-radius: 16px;
}
.hr {
  margin: 0 -16px 16px -16px;
  color: rgb(239, 243, 244);
}
.tab {
  border: none;
  cursor: pointer;
  padding: 0.5em 1em;
  border-right: 1px solid rgb(239, 243, 244);
  box-sizing: border-box;
  font-size: 1em;
  background: none;
}
.tab.active {
  text-decoration: underline;
}
#browse-sort > button {
  font-size: 1.0em;
}
#page-num {
  font-size: 1.0em;
  width: 80px;
}
#browse-sort {
  line-height: 1.7em;
}
#paging {
  margin: 2em 0;
}
