.category-title {
  background-color: rgba(127, 127, 127, 0.2);
  padding: 16px 12px 12px 12px;
  margin-top: 16px;
  border-radius: 4px 4px 0 0;
}

.category-contents {
  border: 1px solid rgba(127, 127, 127, 0.2);
  border-radius: 0 0 4px 4px;
  padding: 0 12px;
}

.category-item, .forum__thread-wrapper {
  margin: 8px 0;
}

.profile__user-wrapper {
  display: inline-flex;
  border: 1px solid rgba(127, 127, 127, 0.4);
  border-radius: 4px;
  width: 100%;
  margin-top: 8px;
}

.profile__user-photo {
  font-size: 12px;
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(127, 127, 127, 0.4);
  background-color: rgba(0, 0, 0, 0.05);
}

.profile__user-biography {
  flex-grow: 1;
  padding: 0 16px;
  overflow: hidden;
  word-break: break-word;
  display: flex;
  flex-direction: column;
}

.thread__post, .thread__post-highlighted {
  display: flex;
  border: 1px solid rgba(127, 127, 127, 0.4);
  border-radius: 4px;
}

.thread__post-highlighted {
  border-width: 4px;
  border-radius: 0 6px 6px 6px;
}

.thread__post-highlight-message {
  background-color: rgba(127, 127, 127, 0.4);
  padding: 2px 8px;
  font-size: 13px;
  display: inline-block;
  border-radius: 6px 6px 0 0;
}

.thread__post-author {
  font-size: 12px;
  max-width: 148px;
  min-width: 148px;
  text-align: center;
  padding: 32px 32px 0 32px;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  background-color: rgba(0, 0, 0, 0.05);
}

.thread__post-body {
  flex-grow: 1;
  padding: 0 16px;
  display: flex;
  flex-flow: column;
  overflow: hidden;
  word-break: break-word;
}

.thread__add-reaction-button {
  color: inherit;
  opacity: 0.3;
}

.thread__reaction-counter {
  margin-left: 4px;
  opacity: 0.6;
}

.thread__reaction, .thread__reaction-selected {
  border: 2px solid rgba(0, 0, 0, 0);
  padding: 2px 8px;
  border-radius: 5px;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.12);
  margin-right: 4px;
}

.thread__reaction-selected {
  border: 2px solid rgba(127, 127, 127, 0.6);
}

.forum__thread-author-thumbnail {
  width: 36px;
  margin-right: 16px;
  overflow: hidden;
  font-size: 14px;
}

.forum__thread-title {
  font-weight: bold;
}

.forum__thread-info {
  font-size: 12px;
  opacity: 0.5;
}

.forum__thread-preview {
  font-size: 12px;
}


* {
  box-sizing: border-box;
  transition: 0.17s;
}

body {
  margin: 0;
  padding: 0;
  background-color: rgb(34, 34, 34);
  color: white;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}

.page-content-wrapper, .body-content-wrapper {
  text-align: center;
}

.page-content, .body-content, .body-content-small, .page-content-small {
  display: inline-block;
  text-align: left;
  width: 90%;
  max-width: 1200px;
}

.page-content-small-width, .body-content-small-inner, .page-content-small {
  max-width: 600px;
}

.main-content-wrapper {
  min-height: 100vh;
}

.main-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.text {
  color: white;
}

.weak {
  opacity: 0.6;
}

.theme-color-background {
  background-color: #6c63ff;
  color: white;
}

.button {
  background-color: #6c63ff;
  color: white;
  font-size: 16px;
  font-weight: 400;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  transition: 0.17s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.button:hover {
  filter: brightness(110%);
  -webkit-filter: brightness(115%);
  cursor: hand;
  text-decoration: none;
}
.button:active {
  filter: brightness(90%);
  -webkit-filter: brightness(90%);
  border-radius: 8px;
}
.button.weak {
  opacity: 1;
  background-color: transparent;
  color: #6c63ff;
  border: 1px solid #6c63ff;
}
.button.weak:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.button.light {
  background-color: white;
  color: black;
  opacity: 1;
}
.button.light:hover {
  opacity: 1;
  background-color: #ccc;
}
.button.light:active {
  opacity: 1;
  background-color: white;
}
.button.light.weak {
  opacity: 1;
  border: 1px solid white;
  color: white;
  background-color: rgba(0, 0, 0, 0);
}
.button.light.weak:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.full-width {
  width: 100%;
  display: inline-block;
}

a.light {
  color: inherit;
  opacity: 0.63;
  text-decoration: none;
}

a.light:hover {
  opacity: 0.55;
}

a {
  color: #6c63ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 16px;
  justify-content: space-between;
}

@media (max-width: 960px) {
  #items {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 700px) {
  #items {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 410px) {
  #items {
    display: block;
    text-align: center;
  }
}
.page-title {
  margin-bottom: 24px;
}
.page-title h1 {
  margin-bottom: 0;
}
.page-title a {
  font-size: 14px;
}

.title {
  text-align: left;
  display: inline-block;
  width: 100%;
  margin-left: 2px;
  margin-top: 12px;
  font-size: 14px;
}

.input {
  font-size: 16px;
  margin-top: 0;
  border-bottom: 3px solid #dddddd;
  margin-bottom: 4px;
  text-align: left;
  background-color: inherit;
  color: #777777;
  display: inline-flex;
  width: 100%;
  transition: 0.17s;
}

.error-background {
  background-color: #e05454;
  color: white;
}

.error {
  color: #e05454;
}

.input.error {
  color: #e05454;
  border-bottom: 3px solid #e05454;
}

.input:focus-within {
  border-bottom: 3px solid #333333;
  color: #333333;
}

.input .icon {
  font-size: 18px;
  padding: 0 6px;
  vertical-align: center;
  align-self: center;
}

.input input {
  background-color: inherit;
  padding-bottom: 4px;
  color: white;
  border: none;
  font-size: 16px;
  outline: none;
  flex-grow: 1;
}

.info {
  opacity: 0.6;
  font-size: 12px;
}

.loader {
  border: 3px solid white;
  border-top: 3px solid #6c63ff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin-loader 1s linear infinite;
  display: inline-block;
}

@keyframes spin-loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.checkbox-input {
  font-size: 14px;
  transition: 0.17s;
  color: inherit;
}
.checkbox-input label input {
  visibility: hidden;
  display: block;
  height: 0;
  width: 0;
  position: absolute;
  overflow: hidden;
}
.checkbox-input label span {
  height: 16px;
  width: 16px;
  border: 1px solid #6c63ff;
  background-color: white;
  color: white;
  font-size: 12px;
  display: inline-block;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}
.checkbox-input label [type=checkbox]:checked + span {
  background-color: #6c63ff;
  color: white;
  border: 1px solid #6c63ff;
}
.checkbox-input label [type=radio]:checked + span {
  background-color: #6c63ff;
  color: white;
  border: 1px solid #6c63ff;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

select {
  display: block;
  font-size: 16px;
  color: #444;
  line-height: 1.3;
  padding: 0.6em 1.4em 0.5em 0.8em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: none;
  border-bottom: 3px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.08);
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(to bottom, #ffffff 0%, #fff 100%);
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
  font-weight: 400;
  font-family: inherit;
}
select option {
  font-weight: 400;
  font-family: inherit;
}

select::-ms-expand {
  display: none;
}

select:hover {
  border-color: #888;
}

select:focus {
  border-color: #aaa;
  box-shadow: 0 0 1px 3px #6c63ff;
  box-shadow: 0 0 0 3px -moz-mac-focusring;
  color: #222;
  outline: none;
}

.drag-sort-container {
  margin: 0;
  padding: 0;
  list-style: none;
}
.drag-sort-container .drag-sort-active {
  background: transparent;
  border: 1px solid white;
}
.drag-sort-container li {
  list-style: none;
  transition: 0s;
  cursor: move;
}

.variable-placeholder {
  border: 2px solid white;
  padding: 2px;
  border-radius: 4px;
}
.variable-placeholder::after {
  all: initial;
  font-size: 12px;
  text-decoration: none;
  padding: 0 4px;
  border-radius: 4px 0 0 0;
  margin-left: 8px;
  content: "(Replaced with variable's value)";
  background-color: rgba(255, 255, 255, 0.4);
  color: rgb(34, 34, 34);
}

.server-status-wrapper {
  background-color: rgba(24, 24, 24, 0.749);
  border-radius: 4px;
  display: inline-block;
  padding: 8px 16px;
}

.background-color {
  background-color: rgb(34, 34, 34);
}

.body-content-wrapper {
  background-color: rgb(34, 34, 34);
  flex-grow: 1;
}

.body-content, .body-content-small {
  background-color: rgb(34, 34, 34);
  height: 100%;
  padding: 0;
}

.body-content-small {
  text-align: center;
}

.body-content-small-inner {
  width: 100%;
  display: inline-block;
  text-align: left;
}

img {
  max-width: 100%;
  object-fit: contain;
}


