html,
body {
  background-color: #ffffff;
  margin: 0;
  scrollbar-base-color: #424767;
  scrollbar-face-color: #A48EA5;
  scrollbar-3dlight-color: #424767;
  scrollbar-highlight-color: #424767;
  scrollbar-track-color: #424767;
  scrollbar-arrow-color: #424767;
  scrollbar-shadow-color: #424767;
  scrollbar-dark-shadow-color: #424767;
}

#app-update {
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  display: none;
}

#app-update.active {
  display: initial;
}

#app-update p {
  font-family: "Muli", sans-serif;
  font-weight: 200;
  font-size: 1.5rem;
  margin: 1rem;
}

#app-update button {
  background: #FF8CAE;
  border-radius: 2rem;
  border: none;
  padding: 0.5rem 1rem;
  font-family: "Muli", sans-serif;
  font-size: 1rem;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 2rem;
}

/* Scrollbar styling */
/* width */
div::-webkit-scrollbar {
  width: 15px;
}

/* Track */
div::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

/* Handle */
div::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
}

/* Handle on hover */
div::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

.chat {
  background: linear-gradient(-180deg, rgba(33, 41, 79, 0.65) 0%, rgba(81, 37, 109, 0.65) 77%), url("../assets/images/background.svg"), linear-gradient(-180deg, #21294F 0%, #51456E 77%);
  background-size: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  box-sizing: border-box;
  /* Themes */
}

@media only screen and (max-width: 750px) {
  .chat {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    background: linear-gradient(-180deg, rgba(33, 41, 79, 0.65) 0%, rgba(81, 37, 109, 0.65) 77%), linear-gradient(-180deg, #21294F 0%, #51456E 77%);
  }
}

.chat.night {
  background: linear-gradient(-180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 77%), url("../assets/images/background.svg"), linear-gradient(-180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 77%);
}

.chat.crazyblue {
  background: linear-gradient(-180deg, #3F9CBC 4%, rgba(63, 129, 188, 0.74) 35%, rgba(81, 63, 188, 0.36) 100%), url("../assets/images/background.svg"), linear-gradient(-180deg, #21294F 0%, #51456E 77%);
}

.chat .chat-screen {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
}

@media only screen and (max-width: 750px) {
  .chat .chat-screen {
    width: 100%;
  }
}

.chat .chat-screen .chat-box {
  flex-grow: 1;
  flex: 0 0 1;
  margin-right: 5px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.chat .chat-screen .chat-box h2 {
  font-family: LucidaGrande-Bold, sans-serif;
  font-size: 1.75rem;
  color: #FFFFFF;
  margin: 1rem 1rem 0.5rem 1rem;
}

.chat .chat-screen .chat-box .chat-item {
  position: relative;
}

.chat .chat-screen .chat-box .chat-item .timestamp {
  transition: 0s all;
  position: absolute;
  top: -0.5rem;
  background-color: rgba(0, 0, 0, 0);
  right: 2rem;
  z-index: 1;
  padding: 0.5rem;
  font-size: 1rem;
  font-family: "Muli", sans-serif;
  font-weight: 200;
  color: rgba(0, 0, 0, 0);
}

@media only screen and (max-width: 750px) {
  .chat .chat-screen .chat-box .chat-item .timestamp.showTimeStamp {
    background-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
  }
}

.chat .chat-screen .chat-box .chat-item:hover .timestamp {
  transition-delay: 1s;
  background-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

@media only screen and (max-width: 750px) {
  .chat .chat-screen .chat-box .chat-item:hover .timestamp {
    display: none;
  }
}

.chat .chat-screen .chat-box .chat-bubble {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  margin: 1rem;
  padding: 0.5rem 2rem;
  display: flex;
  position: relative;
  overflow-y: hidden;
  max-width: max-content;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.chat .chat-screen .chat-box .chat-bubble.highlight {
  background: rgba(255, 255, 255, 0.25);
}

.chat .chat-screen .chat-box .chat-bubble.offline::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
}

.chat .chat-screen .chat-box .chat-bubble .avatar {
  position: absolute;
  bottom: -0.25rem;
  left: 0.75rem;
  font-size: 1.8rem;
}

.chat .chat-screen .chat-box .chat-bubble .chat-text div {
  display: inline-block;
}

.chat .chat-screen .chat-box .chat-bubble .chat-text .name {
  font-family: LucidaGrande-Bold, sans-serif;
  font-size: 1.15rem;
  color: #FEE28E;
}

.chat .chat-screen .chat-box .chat-bubble .chat-text .text {
  font-family: LucidaGrande, sans-serif;
  font-size: 1rem;
  color: #FFFFFF;
}

.chat .chat-screen .chat-box .chat-bubble .chat-text a {
  color: #fff;
}

.chat .chat-screen .chat-box .chat-bubble .chat-text a:hover {
  color: #fff;
}

.chat .chat-screen .chat-box .chat-bubble .chat-text.self .name {
  color: #D9686C;
}

.chat .chat-screen .chat-box .chat-bubble .chat-text.notice .name {
  display: none;
}

@media only screen and (max-width: 750px) {
  .chat .chat-screen .chat-box .chat-bubble {
    padding: 0.5rem 1.5rem;
    margin: 0.5rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.8rem;
  }
  .chat .chat-screen .chat-box .chat-bubble .chat-text .name {
    font-size: 1.2rem;
  }
  .chat .chat-screen .chat-box .chat-bubble .chat-text .text {
    font-size: 1rem;
  }
}

.chat .chat-screen .chat-input {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  width: calc(100% - 3rem);
  min-height: 3rem;
  line-height: 3rem;
  margin: 1rem;
  position: relative;
}

.chat .chat-screen .chat-input img {
  position: absolute;
  right: 1rem;
  height: 2rem;
  top: 0.5rem;
  cursor: pointer;
}

@media only screen and (max-width: 750px) {
  .chat .chat-screen .chat-input img.emoji-icon {
    display: none;
  }
}

@media only screen and (min-width: 751px) {
  .chat .chat-screen .chat-input img.send-icon {
    display: none;
  }
}

.chat .chat-screen .chat-input input {
  border: 0;
  background: none;
  width: calc(100% - 4rem);
  font-family: LucidaGrande-Bold, sans-serif;
  font-size: 1.25rem;
  color: #FFFFFF;
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  padding-left: 1rem;
  box-sizing: border-box;
  height: 100%;
}

@media only screen and (max-width: 750px) {
  .chat .chat-screen .chat-input input {
    font-size: 1rem;
  }
}

.chat .chat-screen .chat-input input:focus {
  border-radius: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  height: 100%;
  max-height: 100%;
}

.chat .chat-screen .chat-input input::placeholder {
  font-family: LucidaGrande-Bold, sans-serif;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

@media only screen and (max-width: 750px) {
  .chat .chat-screen .chat-input input::placeholder {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 750px) {
  .chat .chat-screen .chat-input {
    width: calc(100% - 3rem);
  }
}

.new-messages {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  font-family: "Muli", sans-serif;
  font-weight: 200;
  color: #ffffff;
  z-index: 1;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-align: center;
}

.youtube-link {
  display: block !important;
}

.youtube-link img {
  width: 40%;
  margin-top: 1rem;
}
