/* new code 
/* Variables  */
:root {
  /* Color */
  /* Основной цвет */
  --color: #4d96f7;
  --hover-color: #3b80d6;
  --text: #f2f2f2;
  --second-text: #cccccc;
  --third-text: #7e8597;
  --danger: #ff5454;
  --warning: #ff9800;
  --success: #4caf50;
  --hover-danger: #f24141;
  --hover-warning: #c9831b;
  --hover-success: #387d3b;

  --white: #ffffff;
  --black: #080707;
  --cyan: #71dff5;
  --blue: #2178d3;
  --dark: #1f2029;
  /* --dark-white-mixed: rgba(255, 255, 255, 0.1); opacity color  --dark + 255 255 255 10% */
  --dark-white-mixed: rgba(255, 255, 255, 0.05); /* opacity color  --dark + 255 255 255 5% */
  --dark-black-mixed: rgba(0, 0, 0, 0.1); /* opacity black  -dark + 0 0 0 10% */
  --dark-grey: #2f3136;
  --grey: #555555;
  --opacity-grey: #4a4b4c;
  --canary: #ffff99;
  --yellow: #ffff00;
  --markdown-text: #a5a7b7;
  --markdown-bold: #b4b6c5;
  --opacity-black: rgb(140 140 140 / 10%);
  --bg: var(--dark);
  --bg-navbar: rgb(42 44 47 / 20%);
  /* End Color */

  /* Radius */
  --radius-xs: 2px;
  --radius-base: 5px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-circle: 50%;
  /* End Radius */

  /* Font &  Size */
  --font-family-base: "DIN Pro";
  --font-size-xs: 10px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px; /* h5, h6 */
  --font-size-xl: 20px; /* h4 */
  --font-size-1xl: 22px; /* h3 */
  --font-size-2xl: 24px; /* h2 */
  --font-size-3xl: 28px; /* h1 */

  --font-weight-regular: 400;
  --font-weight-bold: 700;

  /* End Font & Size */

  /* Time */
  --default-time: 0.3s;
  /* End Time */

  /* Size  */
  --viewport-height: 100vh;
  /* End Size  */

  /* Server Custom Color */
  --color-server-name: var(--third-text);
  --color-server-name-hover: var(--color);
  --color-server-btn: var(--success);
  --color-server-btn-hover: var(--hover-success);
  /* End Server Custom Color */
}

@supports (height: 100dvh) {
  :root {
    --viewport-height: 100dvh;
  }
}

/* End Variables */

/* Reset and base styles  */

html,
body {
  overscroll-behavior: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
/* aside,
nav,
footer,
header,
.server {
  display: block;
} */

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
  color: var(--text);
}

ul,
ul li {
  list-style: none;
}

img {
  max-width: 100%;
  vertical-align: top;
  user-select: none;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
  -webkit-appearance: none;
}
select {
  background-image: url(/assets/img/icons/arrow-select.svg);
  background-repeat: no-repeat;
  background-position: right 5px top 50%;
  background-size: 20px;
  transition: transform 0.3s ease;
}

input::-ms-clear {
  display: none;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: default;
}

legend {
  display: block;
}

/* End Reset and base styles  */

@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

::view-transition-new(root) {
  animation: -ua-view-transition-fade-in 0.2s ease;
}

::view-transition-old(root) {
  animation: fade-out 0.2s ease;
}

@keyframes -ua-mix-blend-mode-plus-lighter {
  from {
    mix-blend-mode: plus-lighter;
  }
  to {
    mix-blend-mode: plus-lighter;
  }
}

@keyframes -ua-view-transition-fade-in {
  from {
    opacity: 0;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  overflow-y: scroll;
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--color);
  height: 150px;
  border-radius: var(--radius-base);
}
/* End Scrollbar */

/* Selection */
::selection {
  background: var(--cyan);
  color: var(--white);
  text-shadow: none;
}
/* End Selection */

/* Start front-end */

p {
  color: var(--text);
}
a {
  color: var(--text);
  font-size: var(--font-size-base);
  outline-style: none;
}

a:hover {
  color: var(--color);
}
.ready {
  transition: var(--default-time);
}
.ready:hover {
  transition: var(--default-time);
}
.ready::after {
  transition: var(--default-time);
}
.ready::before {
  transition: var(--default-time);
}
.ready:checked {
  transition: var(--default-time);
}

svg {
  transition: var(--default-time);
}
svg:hover {
  transition: var(--default-time);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-transform: uppercase;
}
h1 {
  font-size: var(--font-size-3xl);
}
h2 {
  font-size: var(--font-size-2xl);
}
h3 {
  font-size: var(--font-size-1xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-lg);
}

button {
  outline: 0;
  border: 0;
  color: var(--text);
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
}

button,
select {
  text-transform: none;
}

select:disabled {
  opacity: 1;
}

main {
  display: flex;
  flex-flow: column;
  position: relative;
  max-width: 1406px;
  width: calc(100% - 60px);
  margin: 0 auto;
  min-height: calc(var(--viewport-height) - 200px);
  padding-top: 80px;
}

@media screen and (max-width: 1100px) {
  main {
    max-width: 1040px;
    width: calc(100% - 50px);
  }
}
@media screen and (max-width: 992px) {
  main {
    max-width: 940px;
    width: calc(100% - 40px);
  }
}
@media screen and (max-width: 768px) {
  main {
    max-width: 720px;
    width: calc(100% - 30px);
    padding-top: 40px;
    min-height: calc(var(--viewport-height) - 300px);
  }
}
@media screen and (max-width: 576px) {
  main {
    max-width: 530px;
    width: calc(100% - 30px);
  }
}
@media screen and (max-width: 375px) {
  main {
    max-width: 330px;
    width: calc(100% - 30px);
  }
}
/* Form */
option,
select,
textarea,
input {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  padding: 10px;
  border: 0;
  outline: 0;
  background-color: var(--dark-white-mixed);
  color: var(--text);
  width: -moz-available;
  border-radius: var(--radius-base);
}
optgroup[label] {
  color: var(--third-text);
}
select {
  cursor: pointer;
  text-overflow: ellipsis;
  word-wrap: normal;
}

textarea {
  resize: vertical;
  width: 100%;
}
option {
  background-color: var(--dark-grey);
}
input::placeholder {
  color: #7e8597;
}
/* Buttons */
.btn {
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;

  min-height: 35px;
  text-align: center;
  padding: 7.5px 20px;
  border-radius: var(--radius-base);
  cursor: pointer;
}
.btn:hover {
  color: var(--text);
}
/* End Buttons */

/* Badge */
.badge {
  display: flex;
  align-items: center;
  width: max-content;
  font-size: 10px;
  height: 20px;
  padding: 0 6px;
  border-radius: 25px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge:hover {
  color: var(--text);
}
/* End Badge */

/* Class color */
.danger {
  background-color: var(--danger);
}
.danger:hover {
  background-color: var(--hover-danger);
}
.warning {
  background-color: var(--warning);
}
.warning:hover {
  background-color: var(--hover-warning);
}
.warning-revert:hover {
  background-color: var(--warning);
}
.success {
  background-color: var(--success);
}
.success:hover {
  background-color: var(--hover-success);
}
.success-dark {
  background-color: var(--hover-success);
}
.success-dark:hover {
  background-color: var(--success);
}
.already {
  background-color: var(--dark-white-mixed);
}
.already:hover {
  background-color: var(--color);
}
.primary {
  background-color: var(--color);
}
.primary:hover {
  background-color: var(--hover-color);
}
.already-without {
  background-color: var(--dark-white-mixed);
}
.opacity {
  background-color: transparent;
}
.badge.oblique {
  position: relative;
  overflow: hidden;
}
.success.oblique {
  border: 2px solid var(--success);
}
.success.oblique:hover {
  border: 2px solid var(--hover-success);
}
.badge.oblique > span {
  z-index: 1;
}
.badge.oblique::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(110deg, transparent 50%, var(--bg) 50%);
  pointer-events: none;
  z-index: 0;
}
.badge.outline {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color);
  gap: 3px;
}
.badge.outline:hover {
  border: 2px solid var(--hover-color);
}
.primary.outline {
  background-color: transparent;
}

.badge.new {
  margin-left: 5px;
  height: 15px;
  position: absolute;
  top: -4px;
  right: -10px;
  z-index: 1;
}

/* End Class color */
/* навбар */
header {
  max-height: 80px;
  min-height: 80px;
  height: 80px;
  z-index: 999;
  background-color: var(--bg-navbar);
  box-shadow: 0px 0px 20px 1px rgb(0 0 0 / 10%);
  position: relative;
}

header.sticky {
  position: sticky;
  top: 0;
}

header::after {
  top: 0;
  content: "";
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  width: 100%;
  display: flex;
  position: absolute;
  height: 80px;
  z-index: 998;
}
header > nav {
  display: flex;
  height: 80px;
  align-items: center;

  padding: 0 20px;
  gap: 20px;
  z-index: 999;
  position: relative;
}
header > nav > .right-menu {
  display: flex;
  margin-left: auto;
}

header > nav > .logo {
  display: flex;
  align-items: center;

  gap: 5px;
}
header > nav > .logo {
  font-size: var(--font-size-2xl);
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}
header > nav > .logo:hover {
  color: var(--color);
}
header > nav > .logo > .info {
  writing-mode: vertical-lr;
  font-size: 9px;
  color: var(--color);
  margin-bottom: -2px;
  transform: rotateZ(180deg);
}
header > nav > .logo > .emoji {
  font-size: 18px;
}
@keyframes rot {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

header > nav > .logo:hover > .emoji {
  animation: 1s linear 0s normal none infinite running rot;
  -webkit-animation: 1s linear 0s normal none infinite running rot;
}
header > nav > .main-menu {
  display: flex;
  align-items: center;

  width: 100%;
}
header > nav > .main-menu > .left-menu {
  display: flex;
  gap: 15px;
  align-items: center;
}
header > nav > .main-menu > .left-menu > a {
  display: flex;
  gap: 3px;
  align-items: end;

  white-space: nowrap;
}
header > nav > .main-menu > .left-menu > a > svg {
  fill: var(--text);
}

header > nav > .main-menu > .left-menu > a:hover > svg {
  fill: var(--color);
}

header > nav > .main-menu > .right-menu {
  display: flex;
  margin-left: auto;
  align-items: center;

  gap: 10px;
}
header > nav > .main-menu > .right-menu > .oauth {
  display: flex;
  gap: 3px;
  align-items: center;

  white-space: nowrap;
  width: 100%;
  justify-content: center;
  -webkit-justify-content: center;
  padding: 5px 10px;
}

header > nav > .main-menu > .right-menu > a > svg {
  fill: var(--text);
}
header > nav > .main-menu > .right-menu > .oauth > svg {
  fill: var(--text);
}

header > nav > .main-menu > .right-menu > a:hover > svg {
  fill: var(--color);
}
header > nav > .main-menu > .right-menu > .oauth:hover > svg {
  fill: var(--color);
}
header > nav > .main-menu > .right-menu > .oauth:hover {
  color: var(--color);
}

header > nav > .main-menu > .right-menu > .lang > .dropdown-name > .locale,
header > nav > .main-menu > .right-menu > .lang > .dropdown-content > .dropdown-item > .locale {
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  background-color: rgb(47 49 54 / 50%);
  padding: 5px;
  border-radius: 2px;
  font-size: var(--font-size-sm);
  color: var(--text);
}

header > nav > .main-menu > .right-menu > .lang > .dropdown-name {
  padding: 0 20px;
}
header > nav > .main-menu > .right-menu > .lang > .dropdown-content {
  width: auto;
}
header > nav > .main-menu > .right-menu > .lang > .dropdown-content > .active {
  background-color: var(--dark-white-mixed);
  color: var(--text);
  transition: background-color var(--default-time);
  cursor: default;
}

.dropdown {
  position: relative;
  cursor: pointer;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.dropdown:hover {
  color: var(--color);
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--default-time) ease-out;
}

.dropdown:hover::after {
  content: "";
  display: block;
  height: 20px;
  width: 100%;
  position: absolute;
  left: 0;
  cursor: default;
}

.dropdown > .dropdown-name {
  display: flex;
  align-items: center;

  height: 79.5px;
  gap: 10px;
}
.right-menu > .user > .dropdown-name > .avatar {
  border-radius: var(--radius-base);
}
.right-menu > .user {
  width: max-content;
  background-color: var(--bg-navbar);
  padding: 0 30px;
}
.right-menu > .user > .dropdown-name > span {
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-content {
  left: 0;
  position: absolute;
  top: 100%;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 16px 0 var(--dark-black-mixed);
  z-index: 999;
  border-radius: 0 0 var(--radius-base) var(--radius-base);
  transition: opacity var(--default-time) ease-out;
  opacity: 0;
  visibility: hidden;
  width: 100%;
}
.dropdown-content > .title {
  color: var(--text);
  padding: 10px 15px;
  font-weight: var(--font-weight-bold);
  cursor: default;
}
.dropdown-content > .dropdown-item {
  padding: 10px 20px;
  transition: background-color var(--default-time);
}
.dropdown-content > .dropdown-item {
  fill: var(--text);
  display: flex;
  gap: 10px;
  align-items: center;
}

.dropdown-content > .dropdown-item:hover {
  background-color: var(--dark-white-mixed);
  color: var(--text);
  transition: background-color var(--default-time);
}
#hamburger {
  display: none;
}

@media screen and (max-width: 1340px) {
  header > nav > .main-menu > .left-menu > a[href*="findteam"] {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  header > nav > .main-menu > .left-menu > a[href*="random"] {
    display: none;
  }
}

@media screen and (max-width: 1050px) {
  header > nav > .main-menu > .left-menu {
    display: none;
  }
  header > nav > .main-menu.open {
    display: flex;
    flex-direction: column;
    top: 100%;
    left: 0;
    padding: 20px 0;
    position: absolute;
    width: 100%;
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background-color: var(--bg-navbar);
    box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.3);
    border-radius: 0 0 var(--radius-base) var(--radius-base);
    z-index: 999;
  }
  header > nav > .main-menu.open > .left-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  header > nav > .main-menu > .left-menu > a {
    width: 100%;
    padding: 5px 10px;
    text-align: center;
    justify-content: center;
    align-items: center;

    -webkit-justify-content: center;
  }

  header > nav > .main-menu > .left-menu > a[href*="random"] {
    display: flex;
  }
  header > nav > .main-menu > .left-menu > a[href*="findteam"] {
    display: flex;
  }
  #hamburger {
    display: flex;
    align-items: center;

    flex-direction: column;
    cursor: pointer;
  }

  #hamburger > span {
    background-color: #f8f8ff;
    width: 25px;
    height: 2px;
    margin: 3px 0;
    display: block;
    transition: all var(--default-time) ease;
    transform-origin: 0 0;
  }

  .hamburger > span:nth-child(1) {
    transform: rotate(45deg) translate(1px, -1px);
  }

  .hamburger > span:nth-child(2) {
    transform: scaleX(0);
  }

  .hamburger > span:nth-child(3) {
    transform: rotate(-45deg) translate(-1px, 1px);
  }
  #hamburger {
    margin-left: auto;
  }
  header > nav > .main-menu.open > .right-menu {
    display: flex;
    margin-left: 0;
    flex-direction: column;
    gap: 15px;
    padding-top: 25px;
    width: 100%;
  }
  header > nav > .main-menu.open > div > .dropdown > .dropdown-name {
    height: auto;
    padding: 5px 10px;
    text-align: center;
    justify-content: center;
    -webkit-justify-content: center;
  }
  header > nav > .main-menu.open > div > .dropdown {
    width: 100%;
  }
  header > nav > .main-menu.open > div > .dropdown > .dropdown-content {
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: unset;
    border-radius: 0;
    align-items: center;
  }
  header > nav > .main-menu.open > .right-menu > .user {
    background-color: transparent;
  }
  header > nav > .main-menu.open > .right-menu > .user > .dropdown-name > .avatar {
    display: none;
  }
  header > nav > .main-menu.open > div > .dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--default-time) ease-out;
    position: relative;
  }
  header > nav > .main-menu.open > div > .dropdown > .dropdown-content > .dropdown-item {
    width: 100%;
    justify-content: center;
    -webkit-justify-content: center;
  }
}
@media screen and (max-width: 850px) {
  header > nav > .main-menu > .right-menu {
    display: none;
  }
}
@media screen and (max-width: 450px) {
  header > nav {
    gap: 0px;
  }
}

/* Breadcrumb */
nav[aria-label="breadcrumb"] {
  display: flex;
  padding: 25px 20px;
  max-width: fit-content;
  position: relative;
}

nav[aria-label="breadcrumb"] > .breadcrumb {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  gap: 10px;
}

nav[aria-label="breadcrumb"] > .breadcrumb > li {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav[aria-label="breadcrumb"] > .breadcrumb > li + li:before {
  color: var(--third-text);
  content: "»";
}

nav[aria-label="breadcrumb"] > .breadcrumb > li > a {
  display: flex;
  color: var(--third-text);
}

nav[aria-label="breadcrumb"] > .breadcrumb > li a:hover {
  color: var(--color);
}

/* End Breadcrumb */
/* Home Title Name  */
main > .title {
  padding-bottom: 50px;
  font-size: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}
main > .title > h1:after {
  content: "|";
  font-size: var(--font-size-xl);
  margin: 0 20px;
  color: var(--third-text);
  font-weight: var(--font-weight-regular);
}

main > .title > span {
  font-size: var(--font-size-xl);
}
main > .title > span:nth-child(3)::before {
  content: "-";
  font-size: 15px;
  margin: 0 10px;
  color: var(--third-text);
}
main > .title > span > b {
  color: var(--color);
}

@media screen and (max-width: 1200px) {
  main > .title > h1 {
    width: 100%;
    padding-bottom: 15px;
  }
  main > .title > h1:after {
    display: none;
  }
}
@media screen and (max-width: 450px) {
  main > .title > span:nth-child(3)::before {
    display: none;
  }
  main > .title {
    flex-direction: column;
  }
}
/* End Home Title Name  */

.tooltip-text {
  display: none;
}

/* Server List */
main > .list {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.list > .server {
  display: flex;
  position: relative;
  align-items: center;

  width: 100%;
  height: 100px;
  gap: 15px;
}
.list > .server > div {
  z-index: 1;
}
.list > .server::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-md);
  background-color: var(--dark-black-mixed);
  z-index: 0;
  opacity: 0;
  transition: opacity var(--default-time);
  width: calc(100% + 10px);
  height: calc(100% + 25px);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.list > .server:hover::after {
  opacity: 1;
}
.server > .language-position {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  margin: auto 0;
  user-select: none;
  max-width: 60px;
}
.language-position > .language {
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  background-color: var(--dark-white-mixed);
  padding: 5px;
  height: 30px;
  border-radius: 2px;
  font-size: var(--font-size-md);
}
.language-position > .position {
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  padding: 5px;
  border-radius: 2px;
  min-width: 50px;
  text-align: center;
}
.list > .server > .avatar {
  display: flex;
  width: 100px;
  height: 100px;
}
.list > .server > .avatar > a {
  display: flex;
  border-radius: var(--radius-base);
  width: 100px;
  height: 100px;
  overflow: hidden;
  user-select: none;
}
.server > .info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  width: 100%;
  gap: 10px;
  min-width: 0;
}
.server > .info > .title {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0 10px;
}
.server > .info > .title > h3 {
  display: flex;
  min-width: 0;
}
.server > .info > .title > h3 > a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--font-size-2xl);
  color: var(--color-server-name);
}
.server > .info > .title > h3 > a.nsfw:hover {
  color: var(--danger);
}
.server > .info > .title > h3 > a:hover {
  color: var(--color-server-name-hover);
}

.server > .info > .title > .badges {
  display: flex;
  gap: 5px;
}
.server > .info > .title > .online {
  display: flex;
  gap: 8px;
  align-items: end;
  flex-shrink: 0;
  font-size: 12px;
  user-select: none;
  height: 26px;
}
.server > .info > .title > .online > div {
  display: flex;
  gap: 4px;
}
.server > .info > .title > .online > img {
  margin-right: -4px;
}
.server > .info > .description {
  color: var(--second-text);
  max-height: 32px;
  overflow: hidden;
  line-height: 1.1;
  width: 100%;
}
.server > .info > .website {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  color: var(--third-text);
}

.server > .info > .website + .tags::before {
  content: "|";
  display: flex;
  align-items: center;

  font-size: 11px;
  margin-left: -5px;
  font-weight: 300;
  color: var(--third-text);
}
.server > .info > .tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.server > .info > .website > a,
.server > .info > .tags > a {
  color: var(--third-text);
}
.server > .info > .website > a:hover,
.server > .info > .tags > a:hover {
  color: var(--color);
}
.server > .buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;

  justify-content: center;
  -webkit-justify-content: center;
}
.server > .buttons > a {
  width: 125px;
}
.server > .buttons > .btn.success {
  background-color: var(--color-server-btn);
}
.server > .buttons > .btn.success:hover {
  background-color: var(--color-server-btn-hover);
}

@media screen and (max-width: 1150px) {
  .server > .info > .title {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1000px) {
  .server > .info > .website {
    width: 100%;
    max-width: 100%;
  }
  .server > .info > .website + .tags::before {
    display: none;
  }
  .list > .server {
    height: auto;
  }
  .server > .info {
    gap: 5px;
  }
  .server > .info > .title > .badges {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 750px) {
  .server > .info > .title {
    align-items: baseline;

    flex-direction: column;
    gap: 5px;
  }
  .server > .info > .title > .online {
    align-self: baseline;
    height: fit-content;
  }
  .server > .info > .title > h3 {
    max-width: 100%;
  }
  main > .search-buttons {
    flex-wrap: wrap;
  }
  .server > .info > .title > .badges {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 576px) {
  main > .list {
    gap: 60px;
  }
  .list > .server {
    flex-direction: column;
  }
  .list > .server {
    gap: 10px;
  }
  .list > .server > .avatar {
    order: 1;
  }
  .server > .language-position {
    order: 2;
    flex-direction: row-reverse;
    gap: 5px;
  }
  .language-position > .position {
    background-color: var(--dark-white-mixed);
    height: 30px;
    min-width: 30px;
    justify-content: center;
    font-size: var(--font-size-md);
    display: flex;
    align-items: center;
  }
  .server > .info > .title > .badges {
    justify-content: center;
  }
  .server > .info {
    order: 3;
    justify-content: center;
    -webkit-justify-content: center;
    text-align: center;
    gap: 10px;
  }
  .server > .info > .title {
    align-items: center;
  }

  .server > .info > .title > .online {
    align-self: center;
  }
  .server > .buttons {
    order: 4;
  }
  .list > .server::after {
    height: calc(100% + 30px);
    top: -15px;
  }
  .server > .info > .tags {
    justify-content: center;
    -webkit-justify-content: center;
  }
}
/* Footer */
footer {
  display: flex;
  align-items: center;

  max-width: 1406px;
  width: calc(100% - 60px);
  margin: 0 auto;
  height: 120px;
}
footer > .info {
  display: flex;
  flex-direction: column;
}
footer > .info > .logo {
  display: flex;
  align-items: baseline;

  gap: 5px;
}
footer > .info > .logo > a {
  display: flex;
  align-items: center;

  gap: 5px;
}
footer > .info > .logo > a {
  font-size: var(--font-size-2xl);
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
  color: var(--third-text);
}
footer > .info .logo > a:hover {
  color: var(--color);
}
footer > .info > .logo > a > .info {
  writing-mode: vertical-lr;
  font-size: 9px;
  color: var(--third-text);
  margin-bottom: -2px;
  transform: rotateZ(180deg);
}
footer > .info > .logo > a:hover > .info {
  color: var(--color);
}
footer > .info > .logo > .copyright {
  color: var(--third-text);
}
footer > .info > p {
  color: var(--third-text);
}
footer > .info > p > a {
  color: var(--third-text);
}
footer > .info > p > a:hover {
  color: var(--color);
}
footer > .main-menu {
  display: flex;
  margin-left: auto;
  gap: 30px;
}
footer > .main-menu > .col {
  display: flex;
  flex-direction: column;
}
footer > .main-menu > .col > a {
  color: var(--third-text);
}
footer > .main-menu > .col > a:hover {
  color: var(--color);
}

@media screen and (max-width: 1100px) {
  footer {
    max-width: 1040px;
    width: calc(100% - 50px);
  }
}
@media screen and (max-width: 992px) {
  footer {
    max-width: 940px;
    width: calc(100% - 40px);
  }
}
@media screen and (max-width: 768px) {
  footer {
    flex-direction: column;
    max-width: 720px;
    width: calc(100% - 30px);
    height: 200px;
    align-items: baseline;

    justify-content: center;
    -webkit-justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  footer > .main-menu {
    margin-left: 0;
  }
}
@media screen and (max-width: 576px) {
  footer {
    max-width: 530px;
    width: calc(100% - 30px);
  }
}
@media screen and (max-width: 375px) {
  footer {
    max-width: 330px;
    width: calc(100% - 30px);
  }
  footer > .info > .logo {
    flex-direction: column;
  }
  footer > .info > p {
    padding-top: 5px;
  }
}
/* скрол ту топ */
.scroll-to-top {
  border-radius: var(--radius-base);
  padding: 5px;
  width: 50px;
  height: 50px;
  z-index: 9999;
  opacity: 0;
  position: fixed;
}
.scroll-to-top.fixed {
  bottom: 20px;
  right: 20px;
  opacity: 1;
}
.scroll-to-top:hover {
  transform: translateY(-2px);
  background-color: var(--color);
  cursor: pointer;
}

/* Modal Window */
dialog {
  padding: 0;
  width: 80%;
  max-width: 600px;
  min-height: 200px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 16px 20px rgba(0, 0, 0, 0.2);
  overscroll-behavior: contain;
}

dialog.open {
  display: flex;
  position: relative;
  margin: auto;
}

dialog:modal {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: slidein 0.5s forwards;
  margin: auto;
}

dialog.close:modal {
  animation: slideout 0.5s forwards;
}

dialog::backdrop {
  background: rgb(0 0 0/55%);
  animation: fadein 0.5s forwards;
}

dialog.close::backdrop {
  animation: fadeout 0.5s forwards;
}

dialog > .close-modal {
  font-size: 28px;
  font-weight: 700;
  position: absolute;
  z-index: 10;
  top: -4px;
  right: 10px;
  color: var(--third-text);
  transition: color var(--default-time);
  background-color: transparent;
  cursor: pointer;
}

dialog > .close-modal:hover {
  color: var(--text);
  transition: color var(--default-time);
}

.open-modal {
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  dialog {
    height: fit-content;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes slidein {
  from {
    transform: translateY(-5px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideout {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-5px);
    opacity: 0;
  }
}
/* End Modal Window */
/* Not Authorized */

/* Not Authorized Modal Window*/
dialog[data-dialog="notOauth"],
div[data-dialog="notOauth"] {
  height: 60vh;
}

dialog[data-dialog="notOauth"] > .col,
div[data-dialog="notOauth"] > .col {
  display: flex;
  flex-direction: column;
  width: 60%;
  overflow: hidden;
  gap: 15px;
  padding: 20px 50px;
  justify-content: center;
  -webkit-justify-content: center;
  margin-left: auto;
}
dialog[data-dialog="notOauth"]::before,
div[data-dialog="notOauth"]::before {
  content: "";
  background-size: cover;
  background-position: center;
  height: 60%;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  z-index: 0;
  background-image: url(https://discord.band/cdn/stickers/cats/4.gif);
  width: 40%;
  overflow: hidden;
}
dialog[data-dialog="notOauth"] > .logo,
div[data-dialog="notOauth"] > .logo {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 125px;
}
dialog[data-dialog="notOauth"] > .logo > a,
div[data-dialog="notOauth"] > .logo > a {
  font-size: var(--font-size-2xl);
  margin: auto 0;
  text-transform: uppercase;
  font-weight: var(--font-weight-bold);
  white-space: normal;
  line-height: 1;
}
dialog[data-dialog="notOauth"] > .logo > a > span,
div[data-dialog="notOauth"] > .logo > a > span {
  writing-mode: vertical-lr;
  font-size: 8.5px;
  color: var(--color);
  margin-bottom: -1px;
  margin-left: 3px;
  transform: rotateZ(180deg);
}
dialog[data-dialog="notOauth"] > .col > p,
div[data-dialog="notOauth"] > .col > p {
  margin-top: auto;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text);
  font-size: var(--font-size-lg);
}
dialog[data-dialog="notOauth"] > .col > .support > span,
div[data-dialog="notOauth"] > .col > .support > span {
  color: var(--third-text);
}
dialog[data-dialog="notOauth"] > .col > .agreement,
div[data-dialog="notOauth"] > .col > .agreement {
  margin-top: auto;
}

@media screen and (max-width: 600px) {
  dialog[data-dialog="notOauth"],
  div[data-dialog="notOauth"] {
    height: 375px;
  }
  dialog[data-dialog="notOauth"] > .logo,
  div[data-dialog="notOauth"] > .logo {
    display: none;
  }
  dialog[data-dialog="notOauth"] > .col,
  div[data-dialog="notOauth"] > .col {
    width: 100%;
    padding: 75px 50px;
  }
  dialog[data-dialog="notOauth"] > .col > p,
  div[data-dialog="notOauth"] > .col > p {
    margin-top: 0;
  }
  dialog[data-dialog="notOauth"]::before,
  div[data-dialog="notOauth"]::before {
    width: 180px;
    position: relative;
    height: 100%;
    margin: auto;
  }
  dialog[data-dialog="notOauth"],
  div[data-dialog="notOauth"] {
    flex-direction: column-reverse;
    text-align: center;
  }
  dialog[data-dialog="notOauth"] > .col > .btn,
  div[data-dialog="notOauth"] > .col > .btn {
    margin-bottom: 15px;
  }
}

/* End Not Authorized Modal Window*/
/* Fix Not Authorized */
.not-login {
  position: relative;
  display: flex;
  height: 60vh;
  padding: 0;
  width: 80%;
  max-width: 600px;
  min-height: 200px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 16px 20px rgba(0, 0, 0, 0.2);
  overscroll-behavior-y: contain;
  margin: 0 auto;
}

/* End Not Authorized */
.alert {
  padding: 15px 30px;
  margin-bottom: 10px;
  animation: pulsing 5s infinite;
  max-width: 400px;
  display: flex;
  align-items: center;

  border-radius: 5px;
  position: relative;
  transition: top 0.5s;
  z-index: 9999999;
}

.in {
  animation: fill 5s linear 1;
  height: 100%;
  background-color: var(--opacity-black);
  position: absolute;
  bottom: 0;
  left: 0;
}

@keyframes fill {
  0% {
    width: 0%;
  }

  25% {
    width: 0%;
  }

  75% {
    width: 100%;
  }

  100% {
    width: 100%;
  }
}

@keyframes pulsing {
  0% {
    transform: translateX(125%);
  }

  25% {
    transform: translateX(0%);
  }

  75% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(125%);
  }
}

.alerts {
  position: fixed;
  top: 100px;
  right: 10px;
  color: var(--text);
  z-index: 9999999;
}

@media screen and (max-width: 700px) {
  .alerts {
    top: 85px;
  }
}

.alert.danger {
  background-color: var(--danger);
  border-left: 5px solid var(--hover-danger);
}

.alert.success {
  background-color: var(--success);
  border-left: 5px solid var(--hover-success);
}

.alert.warning {
  background-color: var(--warning);
  border-left: 5px solid var(--hover-warning);
}

/* Статические плашки  */

.alert-static {
  display: flex;
  padding: 20px;
  border-radius: var(--radius-base);
  background-color: var(--danger);
}
.alert-static > span {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

/* Табы */
.tab {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tab > .active {
  background-color: var(--color);
}
.tab-container {
  height: 375px;
}

/* Switch */
.switch {
  display: flex;
}

.switch > input[type="checkbox"] {
  display: none;
}

.switch > label {
  cursor: pointer;
  text-indent: -9999px;
  width: 52px;
  height: 26px;
  background: var(--dark-white-mixed);
  display: block;
  border-radius: 28px;
  position: relative;
}

.switch > label:after {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background: var(--color);
  border-radius: 18px;
}

.switch > input:checked + label:after {
  background: var(--text);
}

.switch > input:checked + label {
  background: var(--color);
}

.switch > input:checked + label:after {
  left: calc(100% - 4px);
  transform: translateX(-100%);
}

.switch > label:active:after {
  width: 28px;
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  gap: 5px;
}
.checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  appearance: none;
  border-radius: var(--radius-base);
  background-color: var(--dark-white-mixed);
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s;
}

.checkbox input[type="checkbox"]::after {
  content: "";
  position: absolute;
  display: block;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  top: 3px;
  left: 7px;
  opacity: 0;
  transition: opacity var(--default-time);
}

.checkbox input[type="checkbox"]:checked {
  background-color: var(--color);
}

.checkbox input[type="checkbox"]:checked::after {
  opacity: 1;
}

/* Page Error */
.page-error {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.page-error > .error {
  display: flex;
  flex-direction: column;
  width: calc(100% - 520px);
  min-width: 300px;
  gap: 20px;
}
.page-error > .error > h1 {
  font-size: 100px;
  margin-bottom: 20px;
}
.page-error > .error > h2 {
  font-size: var(--font-size-3xl);
}
.page-error > .error > .buttons {
  display: flex;
  gap: 10px;
}
.page-error > .image {
  display: flex;
  width: 500px;
}
.page-error > .image > img {
  margin: auto;
  border-radius: var(--radius-xl);
  max-height: 500px;
}
@media screen and (max-width: 900px) {
  .page-error {
    flex-direction: column-reverse;
    width: 100%;
  }
  .page-error > .error {
    align-self: center;
    text-align: center;
    width: 100%;
  }
  .page-error > .error > .buttons {
    justify-content: center;
  }
  .page-error > .image {
    width: 100%;
  }
  .page-error > .image > img {
    max-height: 200px;
  }
}
ins.adsbygoogle {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.mobile-fix {
  filter: blur(4px);
}
