:root {
  --primary-color: #b03;
  --primary-color-trans: #b03a;
  --first-grey: #4b4043;
  --second-grey: #272021;
  --third-grey: #201a1a;
  --success: #3d4;

  --color-link: #0096cf;
  --color-link-transparent: #0096cf22;

  --border-radius: 6px;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-color-2: rgba(255, 255, 255, 0.5);

  --back-selected: rgba(255, 255, 255, 0.2);
  --back-hover: rgba(255, 255, 255, 0.1);

  --trans-white: rgba(255, 255, 255, 0.1);
  --trans-black: rgba(0, 0, 0, 0.1);
  --trans-black-2: rgba(0, 0, 0, 0.3);
  --trans-black-3: rgba(0, 0, 0, 0.6);
  --trans-black-4: rgba(0, 0, 0, 0.8);
  --trans-grey: #201a1a66;

  --backdrop-blur: 8px;
}
html {
  position: fixed;
  width: 100%;
  height: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  color: white;

  width: 100%;
  height: 100%;
}
body::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;

  background-image: url(../assets/images/background.jpg);
  background-size: cover;
  background-position: center;
}
body::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Login */
#login {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#login input,
#login button {
  width: 180px;
  height: 40px;
  border: 1px solid white;
  border-radius: var(--border-radius);
}
#login input {
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px;
}
#login button {
  margin-bottom: 10px;
  background: white;
  color: black;
  cursor: pointer;
  background: var(--primary-color);
  color: white;
  border: none;
}
#login :nth-child(1) {
  margin-bottom: 0;
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
#login :nth-child(2) {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Identities */
#identities {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#identities-container {
  width: 600px;
  height: 300px;
  border: 1px solid var(--border-color-2);
  border-radius: var(--border-radius);
  box-sizing: content-box;
  padding: 10px;
}
#identities-wrapper {
  display: flex;
  align-content: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}
#identity-new {
  width: 100px;
}
#identity-new .identity-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
#identity-new svg {
  width: 50px;
  fill: var(--border-color-2);
}
#identity-new .identity-wrapper:hover svg {
  fill: white;
}
.identity {
  width: 200px;
  height: 100px;
  padding: 10px;
}
.identity-wrapper {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
  border: 1px solid var(--border-color-2);
  border-radius: var(--border-radius);
  cursor: pointer;
}
.identity-wrapper:hover {
  border: 1px solid white;
}
.identity-wrapper > span:last-child {
  opacity: 0.5;
  font-size: 0.8em;
}

#identities-container > form {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#identities-container > form .dmc-input-group:last-child {
  display: flex;
  justify-content: flex-end;
}

#identities[create] #identities-wrapper,
#identities:not([create]) #identity-create {
  display: none;
}
#identities[login] #identities-wrapper,
#identities:not([login]) #identity-login {
  display: none;
}
#identities[import] #identities-wrapper,
#identities:not([import]) #identity-import {
  display: none;
}
#identities[export] #identities-wrapper,
#identities:not([export]) #identity-export {
  display: none;
}
#identity-export {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
#identity-export .dmc-input-group {
  display: flex;
  flex-direction: column;
  margin: 0;
  flex-grow: 1;
  padding: 20px;
}
#identity-export .dmc-input-group > :not(:last-child) {
  margin-bottom: 10px;
}
#identity-import {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#identity-import .dmc-input-group {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: 0;
}
#identity-import .dmc-input-group > :not(:last-child) {
  margin-bottom: 10px;
}
#import-file-input {
  display: none;
}

/* Media */
#media-popup {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 5vh 5vw;
  background: var(--trans-black-4);
}
#media-popup:not(.show) {
  display: none;
}
#media-popup-container {
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-rows: max-content;
}
#media-popup-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
#media-popup #media-popup-name {
  position: absolute;
  bottom: 100%;
  left: 0;
}
#media-popup #media-popup-url {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 5px;
  color: white;
  text-decoration: underline;
}

#media-popup-wrapper > img,
#media-popup-wrapper video {
  max-height: 90vh;
}

/* Load */
#ui-load {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ui-load svg {
  width: 150px;
  height: 150px;
  fill: white;
  animation: rotate 1s infinite linear;
}

/* Global */
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background-size: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.user-name {
  color: #0ad;
  font-size: 16px;
  cursor: pointer;
}

/* Structure */
#main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 60px minmax(100px, 1fr);
}
#top {
  z-index: 20;
  display: grid;
  grid-template-columns: auto max-content;
  grid-template-rows: auto;
  border-bottom: 1px solid var(--border-color);
}
#top > * {
  max-height: 100%;
}

#hamburger {
  width: 60px;
  border-right: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  display: none;
}
#hamburger .hamburger {
  opacity: 0.6;
}
#hamburger:hover .hamburger {
  opacity: 1;
}

#server-list {
  padding: 0px 10px;
}

#options {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0px 10px;
  border-left: 1px solid var(--border-color);
}

#pins-container {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 0%;
  right: 100%;
  width: 500px;
  max-height: 100vh;
  padding-top: 60px;
  z-index: -1;
}
#pins-parent.pins-opened #pins-container {
  display: flex;
}
#pins-wrapper {
  padding: 20px;
  border-radius: var(--border-radius);
  background: var(--trans-black-3);
}
#pins-wrapper,
#pins-inner {
  width: 100%;
  height: 100%;
}
#pins-inner:empty::before {
  content: "Pin something!";
  display: block;
  font-style: italic;
  text-align: center;
}

#chat {
  max-height: 100%;
  display: grid;
  grid-template-rows: auto max-content;
  grid-template-columns: auto;
}
#main-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 70px;
  padding: 10px;
  border-top: 1px solid var(--border-color);
}
#main-input-wrapper {
  flex: 1;
  position: relative;
}
#messages-wrapper {
  width: 100%;
  padding: 15px 20px;
  box-sizing: border-box;
}
#irc-wrapper {
  position: relative;
}

/* Server */
#server {
  display: grid;
  grid-template-columns: min-content auto;
  grid-template-rows: minmax(0, 1fr);
}
#server.users-opened {
  grid-template-columns: min-content auto min-content;
}

/* Servers */
.server {
  font-size: 45px;

  position: relative;
  display: flex;
  align-items: center;
  position: relative;
  width: 1em;
  height: 100%;
  cursor: pointer;
}
.server.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  display: block;
  width: 70%;
  height: 4px;
  background: white;
  border-radius: 0px 0px 1000px 1000px;
}
.server .server-icon {
  width: 1em;
  height: 1em;
  background-size: cover;
}

/* Channels */
#channels-container {
  border-right: 1px solid var(--border-color);
}
#channels {
  width: 250px;
  padding: 10px;
  z-index: 10;
}
#channels .channel {
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.5);
  transition: all 50ms ease-in-out;
  cursor: pointer;
}
#channels .channel:hover {
  background: var(--back-hover);
}
#channels .channel:hover,
#channels .channel.selected {
  color: rgba(255, 255, 255, 1);
}
#channels .channel.selected {
  background: var(--back-selected);
}

#channels .channel-category-wrapper:not(.open) .channel-category-list {
  display: none;
}
#channels .channel-category-wrapper {
  padding: 0px 0px;
  padding-left: 10px;
}
#channels .channel-category-wrapper ~ .channel-category-wrapper {
  /*margin-top: 10px;*/
}
#channels .channel-category-wrapper .channel-category {
  position: relative;
  font-size: 14px;
  padding: 5px;
  padding-left: 0px;
  cursor: pointer;
}
#channels .channel-category-wrapper .channel-category::before {
  content: "";
  display: block;
  width: 17px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 100%;
  background: transparent;
  transform: translateX(3px) rotate(-90deg);
}

/* Users */
#users {
  width: 200px;
  border-left: 1px solid var(--border-color);
}
#server:not(.users-opened) #users {
  display: none;
}
#users-inner {
  padding: 10px;
  padding-top: 15px;
  padding-left: 15px;
}
.user {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: auto;
  grid-template-areas:
    "pic name"
    "pic name";
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}
.user .user-avatar {
  grid-area: pic;
  margin-right: 5px;
  flex-shrink: 0;
}
.user .user-name {
  grid-area: name;
}
.user .user-doing {
  grid-area: doing;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.user.has-doing {
  grid-template-areas:
    "pic name"
    "pic doing";
}
.user:not(.has-doing) .user-doing {
  display: none;
}

.role-group {
  padding-bottom: 20px;
}
.role-group > :first-child {
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  font-size: 13px;
  color: #aaa;
  font-weight: 500;
}

/* Textarea */
#file-button {
  display: flex;
  align-items: center;
  padding-left: 5px;
}
#file-button .icon-button {
  width: 24px;
  height: 24px;
}

#file-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
#file-list:empty {
  display: none;
}
#file-list .file-element {
  width: 100px;
  border-radius: var(--border-radius);
  height: 100px;
  position: relative;
  margin: 3px;
  overflow: hidden;
}
#file-list .file-element::after {
  content: attr(filename);
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--trans-black-3);
  width: 100%;
  text-align: center;
  padding: 2px 5px;
  box-sizing: border-box;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}
#file-list .file-element.file-element-no-preview {
  box-shadow: 0px 0px 25px inset var(--trans-black-3);
}
#file-list .file-element:not(.loaded) > :not(.file-element-progress) {
  filter: blur(10px);
}
#file-list .file-element .file-element-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}
#file-list .file-element.file-element-no-preview .file-element-type {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15px;
}
#file-list .file-element.file-element-no-preview .file-element-type svg {
  fill: white;
  height: 30px;
}
#file-list .file-element.file-element-no-preview .file-element-type span {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#file-list .file-element .file-element-progress {
  min-width: 5px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--success);
  opacity: 0.7;
  z-index: 1;
  transition: all 0.5s linear;
}

/* Messages */
#messages.loading #messages-inner::before,
#messages.no-more #messages-inner::before {
  content: "Loading";
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: var(--trans-black-3);
  margin-bottom: 10px;
  border-radius: var(--border-radius);
  font-style: italic;
}
#messages[mode="irc"].loading #irc-line,
#messages[mode="irc"].no-more #irc-line {
  padding-top: 45px;
}
#messages.no-more #messages-inner::before {
  content: "No more messages";
}

/* Default Messages */
.message {
  position: relative;
  min-height: 40px;
  padding-left: 50px;
}
.message:not(.message-editing).message-mentioned .message-content {
  background: #faa61a22 !important;
}
.message.message-deleted {
  color: var(--primary-color);
}
.message:not(.first-message) {
  min-height: 0;
}
.message.last-message {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 10px;
}
.message.last-message {
  padding-bottom: 15px;
}
.message .message-user {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.message .message-user .user-name:hover {
  text-decoration: underline;
}
.message:not(.first-message) .message-user {
  display: none;
}
.message .message-user .user-avatar {
  position: absolute;
  left: 0;
  top: 0;
}
.message .message-user .message-small-date {
  display: none;
}
.message .message-user .message-small-date,
.message .message-user .message-date {
  margin-left: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.message .message-markup {
  display: inline;
  font-size: 15px;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
}
.message .message-markup .emoji {
  display: inline;
  height: 1.5em;
  width: 1.5em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
}
.message.no-text .message-markup .emoji {
  height: 3em;
  width: 3em;
}
.message-markup:empty {
  display: none;
}
.message .message-flag {
  display: inline;
  font-size: 10px;
  opacity: 0.7;
  margin-left: 3px;
}
.message .message-attachments {
  display: grid;
}
#messages:not([attachment-mode="grid"]) .message .message-attachments {
  justify-items: flex-start;
}
.message .message-attachments:not(:empty) {
  margin-top: 2px;
}
.message .message-attachments > * {
  margin-bottom: 5px;
  margin-right: 5px;
}
.message .message-attachments .message-media-wrapper {
  position: relative;
  max-width: 500px;
  max-height: 400px;
}

.message .message-attachments .message-media-wrapper:not(.loaded) {
  width: 500px;
  height: 400px;
}

.message .message-attachments .message-media-wrapper > * {
  border-radius: var(--border-radius);
  max-width: 100%;
  max-height: 400px;
  overflow: hidden;
}
.message .message-attachments .message-media-wrapper.is-image > a > img {
  border-radius: var(--border-radius);
  max-height: 400px;
}
.message
  .message-attachments
  .message-media-wrapper.is-image
  > a
  > img:not(.loaded) {
  background: var(--trans-black-2);
}
.message .message-attachments .message-media-wrapper audio,
.message .message-attachments .message-media-wrapper.is-audio {
  width: 100%;
}
.message .message-attachments .attachment-container {
  width: 100%;
  max-width: 500px;
  padding: 15px 10px;
  background: var(--trans-black-3);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.message .message-attachments .attachment-container a {
  text-decoration: underline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.message .message-attachments .attachment-container .attachment-size {
  font-size: 13px;
  color: gray;
}

/* Attachments Modes */
#messages[attachment-mode="spread"] .message .message-attachments {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
#messages[attachment-mode="grid"]
  .message
  .message-attachments
  .attachment-container {
  width: auto;
}
#messages
  .message
  .message-attachments
  .message-media-wrapper.is-video
  .message-video-play {
  display: none;
}

/* Compact Messages */
#messages[mode="compact"] {
  position: relative;
}
#messages[mode="compact"] .message {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  min-height: auto;
  line-height: 15px;
  padding: 0;
  margin: 0;
  border: 0;
}
#messages[mode="compact"] .message .message-user {
  display: grid;
  grid-template-columns: max-content max-content;
  margin: 0;
  align-content: end;
  height: 16.7px;
}
#messages[mode="compact"] .message .user-avatar {
  display: none;
}
#messages[mode="compact"] .message .message-user .user-name {
  text-align: right;
  margin: 0;
  flex-grow: 1;
  flex-shrink: 0;
  max-width: 100%;
  margin-left: 5px;
  margin-right: 7px;
}
#messages[mode="compact"] .message .message-user .message-date {
  display: none;
}
#messages[mode="compact"] .message .message-user .message-small-date {
  display: block;
  width: 35px;
}
#messages[mode="compact"] .message .message-content {
  width: 100%;
}
#messages[mode="compact"] .message .message-user .user-name,
#messages[mode="compact"] .message .message-markup {
  max-width: 100%;
  font-size: 14px;
}
#messages[mode="compact"] .message.first-message {
  padding-top: 7px;
}
#messages[mode="compact"] .message.last-message {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 7px;
}
#messages[mode="compact"]
  .message:not(.first-message)
  .message-user
  .message-small-date {
  color: rgba(255, 255, 255, 0);
}
#messages[mode="compact"] .message:hover .message-user .message-small-date {
  color: rgba(255, 255, 255, 1);
}

/* IRC-like Messages */
#messages[mode="irc"] {
  position: relative;
}
#messages[mode="irc"] #irc-line {
  display: block;
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(100px);
  background: rgba(255, 255, 255, 0.5);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  background-clip: content-box;
  box-sizing: content-box;
  cursor: col-resize;
  z-index: 1;
}
#messages[mode="irc"] .message {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  column-gap: 11px;
  min-height: auto;
  line-height: 14px;
  padding: 0;
  margin: 0;
  border: 0;
}
#messages[mode="irc"] .message .message-user {
  display: flex;
  align-items: baseline;
  margin: 0;
}
#messages[mode="irc"] .message .user-avatar {
  display: none;
}
#messages[mode="irc"] .message .message-user .user-name {
  text-align: right;
  margin: 0;
  flex-grow: 1;
  flex-shrink: 0;
  max-width: 100%;
}
#messages[mode="irc"] .message .message-user .message-date {
  display: none;
}
#messages[mode="irc"] .message .message-user .message-small-date {
  display: block;
  flex-shrink: 1;
  margin: 0;
}
#messages[mode="irc"] .message .message-user .user-name,
#messages[mode="irc"] .message .message-markup {
  max-width: 100%;
  font-size: 14px;
}

@supports (backdrop-filter: blur(8px)) {
  #media-popup {
    background: var(--trans-black-2);
    backdrop-filter: blur(20px);
  }

  #pins-wrapper {
    background: var(--trans-black-3);
    backdrop-filter: blur(var(--backdrop-blur));
  }
}

@media (min-width: 768px) {
  #messages[attachment-mode="grid"] .message .message-attachments {
    grid-template-columns: repeat(2, 1fr);
  }
  #messages[attachment-mode="grid"]
    .message
    .message-attachments
    .message-media-wrapper:not(.loaded) {
    width: auto;
    height: auto;
  }
  #messages[attachment-mode="grid"]
    .message
    .message-attachments
    .message-media-wrapper::before {
    content: "";
    display: block;
    padding-top: 100%;
  }
  #messages[attachment-mode="grid"]
    .message
    .message-attachments
    .message-media-wrapper
    > *,
  #messages[attachment-mode="grid"]
    .message
    .message-attachments
    .message-media-wrapper.is-image
    > *
    > img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }
  #messages[attachment-mode="grid"]
    .message
    .message-attachments
    .message-media-wrapper.is-video
    .message-video-play {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  #messages[attachment-mode="grid"]
    .message
    .message-attachments
    .message-media-wrapper.is-video
    .message-video-play
    svg {
    fill: white;
    width: 75px;
    height: 75px;
  }
  #messages[attachment-mode="grid"]
    .message
    .message-attachments
    .message-media-wrapper.is-video
    .video-player {
    pointer-events: none;
  }
  #messages[attachment-mode="grid"]
    .message
    .message-attachments
    .message-media-wrapper.is-video
    .video-player
    .video-controls {
    display: none;
  }
}

@media (min-width: 1000px) {
  #messages[attachment-mode="grid"] .message .message-attachments {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  #identities-container {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
  }
  #identities-container .dmc-input {
    width: 100%;
  }
  #identity-new,
  .identity {
    width: 100%;
  }
  #identity-export {
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
  }
  #identity-export .dmc-input-group {
    flex-grow: 0;
  }

  #top {
    grid-template-columns: max-content auto max-content;
  }
  #hamburger {
    display: flex;
  }

  #pins-container {
    width: 100vw;
    right: 0;
  }
  #pins-wrapper {
    background: var(--second-grey);
  }

  #server,
  #server.users-opened {
    grid-template-columns: auto;
  }
  #channels-container {
    position: absolute;
    top: 0;
    right: 100%;
    height: 100%;
    background: var(--second-grey);
    transform: translate(0%);
    transition: all 100ms ease-in-out;
    border: 0;
    padding-top: 70px;
    z-index: 10;
  }
  #channels-container.open {
    transform: translate(100%);
  }
  #channels {
    width: 50vw;
  }

  #messages[attachment-mode="grid"] .message .message-attachments {
    grid-template-columns: none;
  }

  #server:not(.users-opened) #users {
    display: block;
  }
  #users {
    position: absolute;
    top: 0;
    left: 100%;
    width: 50vw;
    height: 100%;
    background: var(--second-grey);
    transform: translate(0%);
    transition: all 100ms ease-in-out;
    border: 0;
    padding-top: 70px;
    z-index: 1;
  }
  #users.open {
    transform: translate(-100%);
  }

  @supports (backdrop-filter: blur(8px)) {
    #channels .channel,
    #channels .channel-category-wrapper .channel-category {
      font-size: 16px;
    }

    #channels-container,
    #users {
      background: var(--trans-black-3);
      backdrop-filter: blur(var(--backdrop-blur));
    }
  }
}
