/*загрузка*/
.code-loader {
  color: #fff;
  font-family: Consolas, Menlo, Monaco, monospace;
  font-weight: bold;
  font-size: 100px;
  opacity: 0.8;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.code-loader span {
  display: inline-block;
  animation: pulse_414 0.4s alternate infinite ease-in-out;
  color: rgba(241, 68, 68, 0.5);
}

.code-loader span:nth-child(odd) {
  animation-delay: 0.4s;
}

@keyframes pulse_414 {
  to {
    transform: scale(0.8);
    opacity: 0.5;
  }
}

/*конец загрузка*/



.main_container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: auto;
  z-index: 99;
}


.container_block {
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
  min-height: 100vh;
}


@media screen and (min-width: 768px) {
  .container_block {
    margin-top: 50px;
  }
}

.container_title {
  display: flex;
  flex-direction: column;
  padding: 0px 0px 50px 0px;
}

.container_title h1 {
  font-size: 2.5em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.1em;
  margin: 0;
  padding: 0;
}
.container_title h2 {
  font-size: 1.25em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
}


.container_content {
  display: flex;
  flex-direction: column;
  height: auto;
  margin-bottom: 150px;
}




/* пользователи */
.content_1_block {
  display: flex;
  flex-direction: column;
}

.content_1_block .title {
  padding: 0px 5px 15px 5px;
}

.content_1_block .title h2 {
  font-size: 1.3em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  padding: 0;
}



@media (min-width: 1366px) {
  .content_list_users {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    gap: 10px;
  }
}
@media (max-width: 1366px) {
  .content_list_users {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
  }
}
@media (max-width: 1200px) {
  .content_list_users {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .content_list_users {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


.item-user-account:nth-child(1) {
  background-color: rgba(114, 137, 218, 0.35);
}
.item-user-account:nth-child(2) {
  background-color: rgba(114, 137, 218, 0.35);
}
.item-user-account:nth-child(3) {
  background-color: rgba(114, 137, 218, 0.35);
}
.item-user-account:nth-child(n+4):nth-child(-n+10) {
  background-color: rgba(114, 137, 218, 0.25);
}


.item-user-account:nth-child(n+1):nth-child(-n+10) {counter-increment: n;}
.item-user-account:nth-child(n+1):nth-child(-n+10)::before {
  content: "Топ " counter(n);
  display: block;
  position: absolute;
  top: -15px;
  right: -10px;
  padding: 3px 5px;
  border-radius: 4px;
  background-color: rgba(245, 84, 89, 1);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9em;
}


.item-user-account {
  display: flex;
  flex-direction: column;
  padding: 0px 5px;
  border-radius: 18px;
  height: 72px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  background-color: rgba(114, 137, 218, 0.1);
  text-decoration: none;
}



.item-user-account-content {
  display: flex;
  flex-direction: row;
  max-width: 210px;
  align-items: center;
}
.item-user-account-content img {
  border-radius: 100%;
  width: 45px;
  height: 45px;
  user-select: none;
}
.item-user-account-text {
  display: flex;
  flex-direction: column;
  padding: 5px;
  overflow: hidden;
}

.item-user-account-content small {
  font-size: 1em;
  font-weight: 400;
  font-family: var(--font-regular);
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}
.item-user-account-content #nickname {
  font-size: 1.1em;
  font-weight: 400;
  font-family: var(--font-regular);
  color: rgba(255,255,255, 0.65);
  text-overflow: ellipsis;
  overflow: hidden;
}
.item-user-account-content #donate_Sakura {color: #ef6c6c;}
.item-user-account-content #donate_Kawaii {color: #607FF2;}
.item-user-account-content #donate_Senpai {color: #42c697;}





/* администрация */
.content_2_block {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 5px 5px 30px 5px;
}


.content_2_block .title {
  padding: 0px 5px 15px 5px;
}

.content_2_block .title h2 {
  font-size: 1.3em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  padding: 0;
}

.content_list_moderations {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.item-moder-account {
  display: flex;
  flex-direction: column;
  max-width: 210px;
  width: 100%;
  margin: 0px 10px 10px 0px;
  padding: 0px 5px;
  border-radius: 18px;
  height: max-content;
  position: relative;
  background-color: rgba(114, 137, 218, 0.1);
  text-decoration: none;
}


@media (max-width: 1366px) {
  .item-moder-account {
    max-width: 190px;
  }
}
@media (max-width: 1200px) {
  .item-moder-account {
    max-width: 180px;
  }
}

@media (max-width: 768px) {
  .item-moder-account {
    width: 100%;
    max-width: 100%;
  }
}

.item-moder-account-content {
  display: flex;
  flex-direction: row;
  max-width: 210px;
  align-items: center;
}
.item-moder-account-content img {
  border-radius: 100%;
  width: 45px;
  height: 45px;
  user-select: none;
}
.item-user-account-text {
  display: flex;
  flex-direction: column;
  padding: 5px;
}

.item-moder-account-content small {
  font-size: 1em;
  font-weight: 400;
  font-family: var(--font-regular);
  color: rgba(255, 255, 255, 0.45);
}
.item-moder-account-content #nickname {
  font-size: 1.1em;
  font-weight: 400;
  font-family: var(--font-regular);
  color: rgba(255,255,255, 0.65);
  text-overflow: ellipsis;
  overflow: hidden;
}
