@import url("https://fonts.googleapis.com/css?family=Roboto:300,500,700");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*:focus {
  outline: 0;
}

html, body {
  height: 100%;
  background: #121416;
  color: #FFF;
  font-size: 16px;
  font-family: "Roboto";
}

.container {
  height: 100%;
  display: flex;
}

.vert-container {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.servers {
  height: 100%;
  background: #1E2124;
  flex: 0 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding: 18px 0 18px 0;
  -ms-overflow-style: none;
}
.servers::-webkit-scrollbar {
  display: none;
}

.channels {
  background: #2E3136;
  display: flex;
  flex-direction: column;
  flex: 0 0 240px;
}
.channels .channels-header {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex: 0 0 56px;
  padding: 28px 24px;
  box-shadow: 0 1px 0 #24272b, inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: background 0.15s ease;
}
.channels .channels-header .channels-header-dropdown {
  width: 18px;
  height: 18px;
  margin-left: auto;
  pointer-events: none;
}
.channels .channels-header .channels-header-dropdown use {
  stroke-dasharray: 7;
  transform-origin: 50%;
  transition: stroke-dasharray 0.2s ease, transform 0.2s ease;
}
.channels .channels-header:hover, .channels .channels-header:focus {
  background: #282b2f;
}
.channels .channels-header:focus use {
  stroke-dasharray: 14;
  transform: rotate(-90deg);
}
.channels .channels-list-text, .channels .channels-list-voice {
  margin: 0 -20px 0 -20px;
}
.channels .channels-header-name {
  font-size: 1rem;
  font-weight: 500;
}
.channels .channel {
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 8px 20px 10px 20px;
  opacity: 0.3;
  width: 100%;
}
.channels .channel .button {
  display: none;
  opacity: 0.2;
}
.channels .channel .button:hover, .channels .channel .button:focus {
  opacity: 1;
}
.channels .channel.active, .channels .channel:hover, .channels .channel:focus {
  opacity: 1;
}
.channels .channel.active .button, .channels .channel:hover .button, .channels .channel:focus .button {
  display: block;
}
.channels .channel .channel-name {
  font-size: 0.9rem;
  font-weight: 300;
}
.channels .channel .button:first-of-type {
  margin-left: auto;
  margin-right: 8px;
}
.channels .channel .button {
  width: 16px;
  height: 16px;
}
.channels .channel-text {
  position: relative;
}
.channels .channel-text.active, .channels .channel-text:hover, .channels .channel-text:focus {
  background: linear-gradient(to right, #282b30 85%, #2e3136);
}
.channels .channel-text.active::before, .channels .channel-text:hover::before, .channels .channel-text:focus::before {
  content: " ";
  width: 2px;
  height: 100%;
  position: absolute;
  left: 0;
  background: #7289DA;
}
.channels .channel-text:not(.active):focus::before, .channels .channel-text:not(.active):hover::before {
  opacity: 0.25;
}
.channels .channel-text .channel-name::before {
  font-weight: 400 !important;
}
.channels .channels-list {
  flex: 1 1;
  overflow-y: auto;
  padding: 0 20px;
}
.channels .channels-list ul {
  list-style: none;
}
.channels .channels-list .channels-list-header {
  cursor: pointer;
  margin-top: 20px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.87rem;
  letter-spacing: 0.04rem;
  transition: color 0.2s linear;
  line-height: 30px;
  position: relative;
}
.channels .channels-list .channels-list-header:hover, .channels .channels-list .channels-list-header:focus {
  color: #FFF;
}
.channels .channels-list .channels-list-header:hover::after, .channels .channels-list .channels-list-header:focus::after {
  opacity: 1;
}
.channels .channels-list .channels-list-header::after {
  position: absolute;
  top: 10px;
  right: 0;
  content: " ";
  width: 10px;
  height: 10px;
  opacity: 0.3;
  transition: opacity 0.2s linear;
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCAxMCI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTguOTksMy45OUg2LjAxVjEuMDFDNi4wMSwwLjQ1Miw1LjU1OCwwLDUsMFMzLjk5LDAuNDUyLDMuOTksMS4wMVYzLjk5SDEuMDFDMC40NTIsMy45OSwwLDQuNDQyLDAsNWMwLDAuNTU4LDAuNDUyLDEuMDEsMS4wMSwxLjAxSDMuOTlWOC45OUMzLjk5LDkuNTQ4LDQuNDQyLDEwLDUsMTBzMS4wMS0wLjQ1MiwxLjAxLTEuMDFWNi4wMUg4Ljk5QzkuNTQ4LDYuMDEsMTAsNS41NTgsMTAsNUMxMCw0LjQ0Miw5LjU0OCwzLjk5LDguOTksMy45OXoiLz48L3N2Zz4=) no-repeat 50%;
}
.channels .channels-footer {
  display: flex;
  align-items: center;
  flex: 0 0 70px;
  margin-top: auto;
  background: #282b30;
  border-top: 1px solid #1c1e21;
  padding: 0 10px;
}
.channels .channels-footer .channels-footer-details {
  margin-left: 10px;
}
.channels .channels-footer .channels-footer-controls {
  margin-left: auto;
  border: 1px solid #1c1e21;
  border-radius: 4px;
  display: flex;
}
.channels .channels-footer .channels-footer-controls .button {
  display: block;
  width: 32px;
  height: 32px;
}
.channels .channels-footer .channels-footer-controls .button svg {
  width: 16px;
}
.channels .channels-footer .channels-footer-controls .button:hover svg, .channels .channels-footer .channels-footer-controls .button:focus svg {
  filter: brightness(200%);
}
.channels .channels-footer .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.channels .channels-footer .username, .channels .channels-footer .tag {
  display: block;
  font-weight: 300;
}
.channels .channels-footer .username {
  font-size: 0.9rem;
}
.channels .channels-footer .tag {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
}

.menu {
  flex: 0 0 57px;
  padding: 0 20px 0 20px;
  background: #36393E;
  border-bottom: 1px solid #303337;
  display: flex;
  align-items: center;
}
.menu .menu-name {
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 0.05rem;
}

.hash-before::before, .channels .channel-text .channel-name::before, .menu .menu-name::before {
  content: "#";
  margin-right: 2px;
  font-weight: 300;
  color: #8A8E94;
}

.chat {
  background: #36393E;
  flex: 1;
}

.server {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background-color: #2E3136;
  background-repeat: no-repeat;
  margin-bottom: 8px;
  cursor: pointer;
  position: relative;
}
.server:not(.active) {
  -webkit-animation: server-hover-out 0.6s ease;
          animation: server-hover-out 0.6s ease;
}
.server:not(.active):hover, .server:not(.active):focus {
  -webkit-animation: server-hover-in 0.8s ease forwards;
          animation: server-hover-in 0.8s ease forwards;
}
.server .server-icon {
  border-radius: inherit;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.server .server-icon > img {
  border-radius: inherit;
  max-width: 100%;
}
.server.server-friends {
  margin-bottom: 46px;
  text-align: center;
}
.server.server-friends svg {
  max-width: 60%;
  max-height: 60%;
}
.server.server-friends.active::before {
  display: none;
}
.server.server-friends::after {
  content: "2 ONLINE";
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  font-weight: 300;
  font-size: 0.65rem;
  position: absolute;
  bottom: -35px;
  left: 3px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2a2e32;
}
.server::before {
  position: absolute;
  top: 20px;
  left: -15px;
  content: " ";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 25px;
}
.server.active {
  border-radius: 15px;
  background-color: #7289DA;
}
.server.unread::before {
  background: #8A8E94;
}
.server.active::before {
  background: #FFF;
  height: 40px;
  top: 5px;
}
.server.active.unread::before {
  transition: all 0.2s ease-in-out;
}

.button {
  background: #2E3136;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: normal;
  overflow: visible;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.button > svg, .button > img {
  max-width: 100%;
  max-height: 100%;
}

.button-group .button:focus, .button-group .button:active {
  background: #3a3d44;
}
.button-group .button:not(:last-of-type) {
  border-right: 1px solid #1c1e21;
}
.button-group .button + .button {
  box-shadow: inset 1px 0 0 #393c41;
}

svg[id] {
  width: 0;
  position: absolute;
}

@-webkit-keyframes server-hover-in {
  0% {
    border-radius: 25px;
    background-color: #2E3136;
  }
  40% {
    border-radius: 12px;
  }
  70% {
    border-radius: 16.7px;
  }
  80% {
    background-color: #7289DA;
  }
  100% {
    border-radius: 15px;
    background-color: #7289DA;
  }
}

@keyframes server-hover-in {
  0% {
    border-radius: 25px;
    background-color: #2E3136;
  }
  40% {
    border-radius: 12px;
  }
  70% {
    border-radius: 16.7px;
  }
  80% {
    background-color: #7289DA;
  }
  100% {
    border-radius: 15px;
    background-color: #7289DA;
  }
}
@-webkit-keyframes server-hover-out {
  0% {
    border-radius: 15px;
    background-color: #7289DA;
  }
  45% {
    border-radius: 25px;
    background-color: #2E3136;
  }
  65% {
    border-radius: 25px;
  }
  75% {
    border-radius: 23.5px;
  }
  100% {
    border-radius: 25px;
  }
}
@keyframes server-hover-out {
  0% {
    border-radius: 15px;
    background-color: #7289DA;
  }
  45% {
    border-radius: 25px;
    background-color: #2E3136;
  }
  65% {
    border-radius: 25px;
  }
  75% {
    border-radius: 23.5px;
  }
  100% {
    border-radius: 25px;
  }
}