aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  min-width: 150px;
  margin: 10px;
}

aside {
  position: sticky;
  top: 100px;
}

aside .user {
  box-sizing: border-box;
  padding: 20px 0;
  border-radius: 12px;
}

aside .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

aside .info .nickName {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--default-font-color);
}

aside .info .nickName img {
  width: 20px;
  margin-right: 5px;
}

aside .info .permission {
  color: var(--default-font-color);
}

aside .userMenu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 10px;
  text-align: center;
}

aside .userMenu div {
  box-sizing: border-box;
  background-color: var(--alpha-5);
  border-radius: 6px;
}

aside .userMenu div a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: var(--default-anchor-color);
}

aside .userBox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

aside .userBox .message {
  border-radius: 6px;
}

aside .alarm svg,
aside .userBox .message svg {
  width: 12px;
  margin-right: 6px;
}

aside .userBox .message .messageCount {
  margin-left: 6px;
}

aside .alarm,
aside .userBox .message,
aside .admin {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 10px 0;
  background-color: var(--alpha-5);
  border-radius: 6px;
}

aside .getAlarm,
aside .getMessage {
  background-color: yellow;
}

aside .alarm a,
aside .message a,
aside .admin a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
  color: var(--default-anchor-color);
}

aside .getAlarm a,
aside .getMessage a {
  color: var(--alpha-50);
}

aside .userMenu a:hover,
aside .userMenu a:active,
aside .alarm a:hover,
aside .alarm a:active,
aside .message a:hover,
aside .message a:active,
aside .admin a:hover,
aside .admin a:active {
  font-weight: bold;
  background-color: var(--alpha-10);
  border-radius: 6px;
}

aside .getMessage a:hover,
aside .getMessage a:active {
  background-color: yellow;
}

aside .inputsAndButtons {
}

aside .inputsAndButtons form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

aside .inputs {
  display: flex;
  flex-direction: column;
  width: 100%;
}

aside .buttons {
  width: 100%;
}

aside .inputs input {
  height: 50px;
  padding-right: 15px;
  padding-left: 15px;
  margin: 0;
  font-size: 1em;
  border: 0;
}

aside .inputs input:first-child {
  margin-bottom: 10px;
  border-radius: 8px;
}

aside .inputs input:last-child {
  border-radius: 8px;
}

aside .buttons button {
  width: 100%;
  height: 50px;
  padding: 10px 0;
  margin-top: 10px;
  font-size: 1em;
  color: var(--reverse-font-color);
  cursor: pointer;
  background-color: var(--alpha-5);
  border: 0;
  border-radius: 8px;
}

aside .buttons button:hover {
  background-color: var(--alpha-10);
}

aside .joinAndFindPassword {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  color: var(--alpha-50);
}

aside .joinAndFindPassword a {
  color: var(--alpha-50);
}

aside .joinAndFindPassword a:hover,
aside .joinAndFindPassword a:active {
  color: var(--alpha-80);
}

aside .joinAndFindPassword .join {
  margin-right: 20px;
}

aside .chatContainer {
  border-radius: 12px;
}

aside .chatBanner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  font-weight: bold;
  color: var(--default-font-color);
}

aside .chatBanner div {
  display: flex;
  align-items: center;
}

aside .userCount {
  display: flex;
  align-items: center;
}

aside .chatBox {
  box-sizing: border-box;
  height: 260px;
  padding: 0 10px;
}

aside .messageBox {
  box-sizing: border-box;
  display: flex;
}

aside .messageBox .msg {
  box-sizing: border-box;
  flex: 1;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin: 10px;
  margin-right: 0;
  font-size: 1em;
  background-color: var(--alpha-10);
  border: 0;

  /* background-color: var(--alpha-5); */
  border-radius: 6px;
}

aside .messageBox .msg:hover,
aside .messageBox .msg:active {
  /* background-color: var(--alpha-10); */
}

aside .messageBox .send {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  margin: 10px;
  font-size: 1em;
  word-break: keep-all;
  background-color: var(--default-anchor-color);
  border: 0;
  border-radius: 6px;
}

aside .messageBox .send:hover,
aside .messageBox .send:active {
  background-color: var(--alpha-20);
}

aside .chatExpand {
  display: none;
}

aside .chatWindow {
  width: 100%;
  height: 100%;
}

aside .testMode {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: yellow;
  border-radius: 12px;
}

aside .adsense,
aside .adsense img {
  width: 100%;
}

@media (max-width: 950px) {
  aside,
  aside .adsense,
  aside #adsense {
    display: none;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  aside .userBox {
    display: none;
  }

  aside .chatContainer {
    padding-bottom: 10px;
  }

  aside .chatBanner {
    /* font-size: 0.8em; */
  }

  aside .chatBox {
    height: 80px;
  }

  aside .chatExpand {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-right: 10px;
    margin-left: 10px;
    color: var(--default-font-color);
    cursor: pointer;
    border: 1px solid var(--alpha-10);
    border-radius: 6px;
  }
}