body {
  margin: 0;
  font-family: 'Poppins', serif;
  text-align: center;
}
#loginrequired {
  width: 80vw;
  min-width: 300px;
  height: 80vh;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid black;
  display: none;
}
#login-body {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button {
  width: 150px;
  height: 50px;
  border: 2px solid black;
  background-color: white;
  font-family: 'Poppins', serif;
  font-size: 18px;
  cursor: pointer;
}
#login-loader {
  width: 75px;
  aspect-ratio: 1;
  color: #f03355;
  --_c:no-repeat radial-gradient(farthest-side,currentColor 92%,#0000);
  background: 
    var(--_c) 50% 0   /12px 12px,
    var(--_c) 50% 100%/12px 12px,
    var(--_c) 100% 50%/12px 12px,
    var(--_c) 0    50%/12px 12px,
    var(--_c) 50%  50%/12px 12px,
    conic-gradient(from 90deg at 4px 4px,#0000 90deg,currentColor 0)
    -4px -4px/calc(50% + 2px) calc(50% + 2px);
  animation: l8 1s infinite linear;
}
@keyframes l8 {to{transform: rotate(.5turn)}}

#animation-disable {
  position: fixed;
  right: 0;
  bottom: 0;
  margin: 5px;
  font-size: 12px;
  cursor: pointer;
}
#chat-main {
  width: 85vw;
  background-color: #424549;
  height: 100vh;
  position: fixed;
  right: 0;
}
#chat-message {
  font-family: 'Poppins', serif;
  outline: none;
  width: 100%;
  height: 30px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 15px;
  color: white;
  font-size: 16px;
  line-height: 30px;
  padding: 10px;
  padding-right: 50px;
}
#chat-messagebox {
  width: 90%;
  display: flex;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
#chat-send {
  width: 100%;
  position: absolute;
  bottom: 0;
  margin-bottom: 20px;
}
.chat-sendbutton {
  position: absolute  ;
  background-color: #033F63;
  width: 40px;
  height: 40px;
  /* border-radius: 50%; */
  border-radius: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  right: 0;
  margin-right: 7px;
  z-index: 9999999 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.button-img {
  width: 30px;
  height: 30px;
}
#chat-content {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-flow: column nowrap;
  /* justify-content: flex-end; */
  overflow-wrap: break-word;
  height: calc(100vh - 90px);
  width: 100%;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

.message-box {
  width: 90%;
  padding-left: calc(10% / 2);
  padding-right: calc(10% / 2);
  cursor: default;
  padding-top: 5px;
  padding-bottom: 5px;
  overflow-wrap: break-word;
}
.message-box:hover {
  background-color: #353536;
}
.author {
  display: inline-block;
  text-decoration: underline;
  margin: 0;
  margin-right: 10px;
  cursor: pointer;
}
.ts {
  display: inline-block;  
  font-size: 10px;
  margin: 0;
}
.message-content {
  text-align: left;
  margin: 0;
  margin-top: 5px;
}
.message-top {
  display: flex;
  align-items: flex-end;
}
.message-sending {
  color: lightgrey;
}
.message-error {
  color: red;
  font-style: italic;
}
#chat-side {
  background-color: lightblue;
  height: 100vh;
  width: 15vw;
  position: fixed;
  left: 0;
}
#logout {
  cursor: pointer;
}
#chat-main-active {
  display: none;
  flex: 1 1 auto;
  flex-direction: column-reverse;
  overflow-y: scroll;
}
#chat-main-notactive {
  color: white;
}
#newchat-usernameinput {
  width: 60vw;
  height: 50px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 15px;
  color: white;
  text-align: center;
  font-family: 'Poppins';
  font-size: 18px;
}
#newchat-username-inputwrap {
  width: max-content;
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: max-content;
  position: relative;
}
#newchat-statusmsg {
  /* color: green; */
  margin: 0;
  margin-top: 5px;
  /* display: none; */
}
#newuser-overlay-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0,0,0,.5);
  z-index: 9999999999999 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
#newuser-overlay-content {
  border: 2px solid black;
  border-radius: 10px;
  width: 50vw;
  min-width: 300px;
  min-height: 700px;
  height: 70vh;
  background-color: white;
  color: black;
  padding: 10px;
}
#setup-content {
  border: 2px solid black;
  border-radius: 10px;
  width: 50vw;
  min-width: 300px;
  min-height: 700px;
  height: 70vh;
  background-color: white;
  color: black;
  padding: 10px;
  display: none;
}
@keyframes alert {
  0% {
      transform: scale(1)
  }
  50% {
      transform: scale(1.05)
  }
  100% {
      transform: scale(1)
  }
}
.alert-animate {
  animation: alert 0.5s ease-in-out
}
.setupstep {
  width: 90%;
  border: 2px solid black;
  margin: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
}
.setupstep-complete {
  background-color: rgb(0, 184, 18, .7);
  pointer-events: none;
}
.setupstep-header {
  text-decoration: underline;
  text-align: left;
  margin: 0;
}
.setupstep-desc {
  text-align: left;
  margin: 0;
  margin-top: 10px;
}
#usernamepick-inputbox {
  width: 100%;
  height: 50px;
  border: 2px solid black;
  border-radius: 10px;
  color: black;
  font-family: 'Poppins';
  font-size: 18px;
  text-align: left;
  padding-left: calc(15px + 1ch);
}
#usernamepick-inputbox::placeholder {
  text-align: center;
}
#usernamepick-submit {
  width: 70%;
  max-width: 500px;
  height: 50px;
  border: 2px solid black;
  background-color: green;
  border-radius: 10px;
  color: white;
  font-family: 'Poppins';
  font-size: 18px;
  text-align: center;
  margin: 5px;
  cursor: pointer;
}
#usernamepick-wrapper {
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 80%;
}
#tagsymbol {
  font-size: 18px;
  font-weight: 700;
  color: gray;
  position: absolute;
  height: 54px;
  margin: 0;
  margin-left: 5px;
  display: flex;
  align-items: center;
  left: 0;
  z-index: 99999999999999999 !important;
}
#username-error {
  color: red;
}
#setup-usernamepick {
  display: none;
}
#tos-review-content {
  border: 2px solid black;
  padding: 20px;
  display: none;
}
a {
  color: blue;
}
.boldhr {
  border: 1px solid black;
  margin-top: 36px;
  margin-bottom: 36px;
}
#terms-accept {
  width: 80%;
  height: 50px;
  border: 2px solid black;
  border-radius: 10px;
  background-color: #7EC8E3;
  font-family: 'Poppins';
  font-size: 16px;
  cursor: pointer;
}
#displayname-inputbox {
  width: 80%;
  height: 50px;
  border: 2px solid black;
  border-radius: 10px;
  color: black;
  font-family: 'Poppins';
  font-size: 18px;
  text-align: center;
}
#displayname-submit {
  width: 70%;
  max-width: 500px;
  height: 50px;
  border: 2px solid black;
  background-color: green;
  border-radius: 10px;
  color: white;
  font-family: 'Poppins';
  font-size: 18px;
  text-align: center;
  margin: 5px;
  cursor: pointer;
}
#displayname-error {
  color: red;
}
.invited {
  width: 80%;
  border: 2px solid white;
  margin: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  border-radius: 10px;
}
.invited-header {
  margin: 0;
}
.invited-accept {
  width: 150px;
  height: 50px;
  font-family: 'Poppins';
  background-color: green;
  color: white;
  border-radius: 10px;
  border: transparent;
  margin-top: 10px;
  cursor: pointer;
}

.invited-ignore {
  width: 150px;
  height: 50px;
  font-family: 'Poppins';
  background-color: red;
  color: white;
  border-radius: 10px;
  border: transparent;
  margin-top: 10px;
  cursor: pointer;
}

#setup-displayname {
  display: none;
}
.side-chat {
  cursor: pointer;
  background-color: #478eff;
  position: fixed;
  left: 0;
  padding: 5px;
  width: calc(15vw - 10px);
  height: 35px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  font-size: 14px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
.sidebar-a {
  color: white;
  height: 47px;
}
.home-sidebar {
  width: 50px;
  margin: 5px;
  margin-bottom: 10px;
  cursor: pointer;
}
#notificationoff {
  display: none;
}
.side-chat:first-of-type {
  border-top: 2px solid black;
}
.side-chat:last-of-type {
  border-bottom: 2px solid black;
}
#mobile-homebutton {
  position: fixed;
  left: 0;
  bottom: 0;
  margin-bottom: 100px;
  z-index: 9999999999999 !important;
  background-color: #ADD8E6;
  border: 2px solid black;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 7px 7px 0;
  display: none;
}
#mobile-homebuttonimg {
  width: 35px;
}

@media only screen and (max-width: 1075px) { /* Tablet-ish Screen */
  #chat-side {
    display: none;
  }
  #chat-main {
    width: 100vw;
  }
  #mobile-homebutton {
    display: flex;
  }
}
#sidebarchats {
  display: flex;
  flex-direction: column;
}
#scrollBottom {
  width: 200px;
  background-color: #478DFF;
  border-radius: 50px;
  cursor: pointer;
  position: fixed;
  bottom: 100px;
  right: calc(100% / 2);
}
.bold {
  font-weight: 800;

}
.italics {
  font-style: italic;
}
.chat-link {
  color: #ADD8E6;
}