body {
  background-color: white;
  color: black;
  font-family: sans-serif;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

.microblogcontent {
  display: flex;
  flex-flow: column nowrap;
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
  width: 600px;
  margin: 0 auto;
  min-height: 100vh;
}

.banner {
  background-image: url("/media/graybgscroll.gif");
  width: 600px;
  height: 150px;
  /*display: grid;
  place-items: center;*/
  user-select: none;
}

.icon {
  width: 90px;
  height: 90px;
  margin-top: -55px;
  margin-bottom: -10px;
  border-radius: 50%;
  border: 3px solid white;
  box-sizing: border-box;
  background-color: white;
  user-select: none;
}

.bannerguy {
  position: absolute;
  top: 90px;
  right: calc(((100vw - 600px) / 2) + 100px);
  user-select: none;
  pointer-events: none;
}

.follow {
  display: block;
  float: right;
  color: white;
  background-color: gray;
  padding: 6px 12px;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom-left-radius: 999px;
  border-bottom-right-radius: 999px;
  user-select: none;
  font-size: 14px;
}

.follow:hover {
  background-color: #717171;
  cursor: pointer;
}

.header {
  padding: 15px;
  padding-bottom: 0;
}

.description {
  margin-top: 10px;
  margin-bottom: 10px;
}

.underline:hover {
  text-decoration: underline;
  cursor: pointer;
}

.buttongrid {
  display: grid;
  grid-template-columns: auto /*auto auto*/;
  border-bottom: 1px solid lightgray;
}

.button {
  padding-top: 12px;
  padding-bottom: 0;
  text-align: center;
  background-color: white;
}

.buttontext {
  color: gray;
  display: inline-block;
  font-weight: bold;
  padding-bottom: 10px;
  user-select: none;
}

.buttontext2 {
  display: inline-block;
  font-weight: bold;
  border-bottom: 4px solid gray;
  padding-bottom: 8px;
  user-select: none;
}

.button:hover {
  background-color: #f8f8f8;
  cursor: pointer;
}

.postcontent {
  margin-top: -1px;
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
  padding: 15px;
  display: flex;
  flex-flow: row nowrap;
  background-color: white;
}

.postcontent:hover {
  background-color: #f8f8f8;
  cursor: pointer;
}

.post {
  width: 100%;
}

.postdata {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.postimg {
  border-radius: 12px;
  border: 1px solid lightgray;
  box-sizing: border-box;
  margin-top: 10px;
  display: block;
  width: 100%;
}

audio {
  border-radius: 12px;
  border: 1px solid lightgray;
  box-sizing: border-box;
  margin-top: 10px;
  padding: 15px;
  display: block;
  width: 100%;
  height: 80px;
  background-color: gray;
}

.smallicon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: white;
  user-select: none;
  display: block;
}

.othercontent {
  margin-top: -1px;
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
  padding: 15px;
  background-color: white;
}

#lightbox {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

#lightboximg {
  max-width: 90%;
  max-height: 90%;
  cursor: pointer;
}

#userbox {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

#userboxtext {
  width: 550px;
  height: calc(100vh - 50px);
  overflow-x: hidden;
  overflow-y: auto;
  background-color: white;
  border: 1px solid lightgray;
  box-sizing: border-box;
}

.usertop {
  margin-top: -1px;
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
  padding: 15px;
  background-color: white;
  position: sticky;
  top: 0;
}

.usericon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: white;
  user-select: none;
  display: block;
}

.userlist {
  margin-top: -1px;
  border-top: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
  padding: 15px;
  background-color: white;
  display: flex;
  flex-flow: row nowrap;
}

.userlist:hover {
  background-color: #f8f8f8;
  cursor: pointer;
}

a {
  color: blue;
  background-color: transparent;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
}

a:visited {
  color: blue;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: blue;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: purple;
  background-color: transparent;
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  
  .microblogcontent {
    width: 100%;
    border: 0;
  }
  
  .banner {
    width: 100%;
    background-image: url("/media/graystripebgscroll.gif");
  }
  
  .bannerguy {
    width: 90px;
    height: 90px;
    top: 105px;
    right: 100px;
  }
  
  #lightboximg {
    max-width: 100%;
    max-height: 100%;
  }
  
  #userboxtext {
    width: calc(100% - 25px);
    height: calc(100% - 25px);
  }
  
}