/*///// Something for main.js ////*/
/* TODO: add to main.js */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  src: url(https://api.webyouth.de/files/000000000t) format("woff");
  font-display: block;
}

:root {
  --main-background: #fff;
  --second-background: #333;
  --header-background: #202023;
}

*:not(script, style, head, head > *) {
  border: none;
  outline: none;
  padding: 0;
  margin: 0;

  scrollbar-width: none;
  -ms-overflow-style: none;

  box-sizing: border-box;
  --o-box-sizing: border-box;
  --moz-box-sizing: border-box;
  --webkit-box-sizing: border-box;

  font-family: "Quicksand", sans-serif;
  line-height: 1;
}

body,
html,
body *:not(script, style, table, table tbody, table tr, table td, ) {
  display: block;
}

*::-webkit-scrollbar {
  display: none;
}

section {
  min-height: 100svh;
}

body {
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.load *:not(#loadingAssistent, #loadingAssistent *) {
  visibility: hidden;
  pointer-events: none;
}
body:not(.load) > #loadingAssistent {
  display: none;
}

div#MainDocument {
  min-height: calc(100svh - 50px);
  width: 100vw;
  display: inline-block;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

span.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

i.serverData {
  display: none !important;
}

/* body.hr#System_Header_Placeholder.scroll ~ body.div#MainDoncument */
@media (prefers-color-scheme: dark) {
  html {
    background-color: #202023;
  }

  body.load {
    background-color: #202023;
  }
}

.clearfix {
  overflow: auto;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

input[type="radio"] {
  background-repeat: no-repeat;
  background-color: transparent !important;
  background-image: url(https://api.webyouth.de/files/0000000010) !important;
  background-size: contain !important;
  appearance: none;
  border: none !important;
  aspect-ratio: 1 !important;
}

input[type="radio"]:checked {
  background-image: url(https://api.webyouth.de/files/000000000Z) !important;
}

.spinner {
  display: block;
  margin: auto;
  border: 5px solid #000;
  height: 50px;
  width: 50px;
  background: transparent;
  border-radius: 50%;
  border-top: 5px solid #ddd;
  -webkit-animation: spin 1s
    linear(
      0 0%,
      0 1.8%,
      0.01 3.6%,
      0.03 6.35%,
      0.07 9.1%,
      0.13 11.4%,
      0.19 13.4%,
      0.27 15%,
      0.34 16.1%,
      0.54 18.35%,
      0.66 20.6%,
      0.72 22.4%,
      0.77 24.6%,
      0.81 27.3%,
      0.85 30.4%,
      0.88 35.1%,
      0.92 40.6%,
      0.94 47.2%,
      0.96 55%,
      0.98 64%,
      0.99 74.4%,
      1 86.4%,
      1 100%
    )
    infinite;
  animation: spin 1s
    linear(
      0 0%,
      0 1.8%,
      0.01 3.6%,
      0.03 6.35%,
      0.07 9.1%,
      0.13 11.4%,
      0.19 13.4%,
      0.27 15%,
      0.34 16.1%,
      0.54 18.35%,
      0.66 20.6%,
      0.72 22.4%,
      0.77 24.6%,
      0.81 27.3%,
      0.85 30.4%,
      0.88 35.1%,
      0.92 40.6%,
      0.94 47.2%,
      0.96 55%,
      0.98 64%,
      0.99 74.4%,
      1 86.4%,
      1 100%
    )
    infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*///// Header ////*/
header#System_Header {
  width: 100vw;
  background-color: #333;
  position: fixed;
  left: 0;
  top: 0;
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  color: #fff;
  z-index: 1000;
  padding: 5px;
}

header#System_Header > img {
  /* width: 30px; */
  height: 30px;
  float: left;
}

header#System_Header:not(.load) > img {
  transition: all 500ms ease 0ms;
}

header#System_Header > h1 {
  float: left;
  font-weight: 400;
  font-size: 30px;
  line-height: 30px;
  margin-left: 5px;
}

header#System_Header:not(.load) > h1 {
  transition: all 500ms;
}

header#System_Header > h1 > a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

header#System_Header > nav {
  float: right;
}

header#System_Header > img.scroll {
  /* width: 40px; */
  height: 40px;
  margin: 0;
}

header#System_Header > h1.scroll {
  margin-bottom: 5px;
  margin-top: 5px;
}

hr#System_Header_Placeholder {
  height: 38px;
  border: none;
}

hr#System_Header_Placeholder:not(.load) {
  transition: all 500ms;
}

hr#System_Header_Placeholder.scroll {
  height: 50px;
}

/* Large-devices */
header#System_Header.scroll:not(.mobile) > nav > ul {
  margin-right: 5px;
}

header#System_Header:not(.load):not(.mobile) > nav > ul {
  transition: margin-right 500ms;
}

header#System_Header:not(.mobile) > nav > ul > li {
  float: left;
  list-style: none;
  font-size: 20px;
  font-weight: 300;
  line-height: 20px;
  padding: 5px;
  font-family: "Signika Negative", sans-serif;
  min-width: 60px;
  text-align: center;
  z-index: 1000;
  transition: all 500ms;
}

header#System_Header:not(.mobile) > nav > ul > li:last-child:hover > img {
  filter: invert(1);
}

header#System_Header:not(.mobile) > nav > ul > li > img {
  filter: invert(80%);
  width: 30px;
  height: 30px;
  transition: filter 200ms;
}

header#System_Header:not(.mobile) > nav > ul > li.scroll {
  font-size: 25px;
  line-height: 25px;
  margin-top: 2.5px;
  min-width: 90px;
}

header#System_Header:not(.mobile) > nav > ul > li > a > img {
  display: none;
}

header#System_Header:not(.mobile) > nav > ul > li.scroll:last-child {
  margin-top: 5px;
}

header#System_Header:not(.mobile) > nav > ul > li.userData#userDataDesk.unsubscribed.scroll:last-child {
  margin-top: 4px;
}

header#System_Header:not(.mobile) > nav > ul > li:hover > a {
  color: #fff !important;
}

header#System_Header:not(.mobile) > nav > ul > li > a {
  text-decoration: none;
  color: #ddd;
  transition: color 200ms;
}

header#System_Header:not(.mobile) > nav > ul > li:last-child:hover {
  background-color: transparent;
}

header#System_Header:not(.mobile) > nav > ul > li:last-child {
  display: inline-flex;
  padding: 0;
  min-width: fit-content;
  margin-left: 5px;
}

header#System_Header:not(.mobile) > nav > ul > li > div {
  position: absolute;
  background-color: #333;
  width: max-content;
  top: 100%;
  z-index: 900;
  visibility: hidden;
  max-height: 0;
  padding: 0 5px;
  overflow: hidden;
  margin-left: -10px;
}

header#System_Header:not(.load, .mobile) > nav > ul > li > div {
  transition: all 500ms;
}

header#System_header:not(.mobile) > nav > ul > li:hover > div {
  display: block;
}

header#System_Header:not(.mobile) > nav > ul > li:hover > div {
  visibility: visible;
  padding: 5px;
  overflow: auto;
  max-height: calc(100vh - 40px);
}

header#System_Header:not(.mobile) > nav > ul > li:last-child > div {
  right: 0;
}

header#System_Header:not(.mobile) > nav > ul > li > div::-webkit-scrollbar {
  display: none;
}

header#System_Header:not(.mobile) > nav > ul > li.scroll:hover > div {
  max-height: calc(100vh - 50px);
}

header#System_Header:not(.mobile) > nav > ul > li > div > ul > li {
  list-style: none;
}

header#System_Header:not(.mobile) > nav > ul > li > div > ul > li > a {
  text-decoration: none;
  color: #fff;
  font-size: 25px;
  line-height: 25px;
  padding: 2px 0;
  display: block;
  text-align: left;
  margin-top: 2px;
}

header#System_Header:not(.mobile) > nav > ul > li > div > ul > li > a > img {
  filter: invert(1);
  height: 25px;
  display: inline-block;
  padding: 0px;
  margin-bottom: -4px;
}

header#System_Header:not(.mobile) > nav > ul > li > div > ul > li.fixRight {
  right: 0;
}

header#System_Header:not(.mobile) > nav > ul > li.userData#userDataDesk.unsubscribed {
  /* margin-top: 10px; */
  border: 2px solid #bbb !important;
  border-radius: 20px;
  background-color: #512020;
  /* margin-bottom: 15px; */
  /*   width: 144px; */
  transition: all 500ms;
}

header#System_Header:not(.mobile) > nav > ul > li.userData#userDataDesk.unsubscribed > img {
  filter: invert(1);
  width: 30px;
}

header#System_Header:not(.mobile) > nav > ul > li.userData#userDataDesk.unsubscribed > a {
  font-size: 18px;
  line-height: 30px;
  text-decoration: none;
  color: #fff;
  margin-right: 5px;
}

/* Small-devices */
header#System_Header.mobile > nav {
  display: none;
}

header#System_Header:not(.mobile) > img#menuIconMobil {
  display: none;
}

header#System_Header.mobile > img#menuIconMobil {
  float: right;
  filter: invert(1);
}

header#System_Header:not(.mobile) > nav > ul > li.userData#userDataMobil {
  display: none;
}

/* ### LIVE IM BROWSER ### */
header#System_Header.mobile > nav.show {
  display: block;
}

header#System_Header.mobile > nav {
  position: fixed;
  background-color: #2c2c2c;
  right: 0;
  top: 50px;
  height: calc(100vh - 50px);
  width: 90vw;
  width: clamp(50px, 90vw, 250px);
  padding: 0 10px;
  padding-top: 5px;
  transition: all 500ms;
  overflow-y: auto;
}

header#System_Header.mobile:not(.scroll) > nav {
  top: 40px;
  height: calc(100vh - 40px);
}

header#System_Header.mobile > nav > ul > li > div {
  display: none;
}

header#System_Header.mobile > nav > ul > li {
  display: block;
}

header#System_Header.mobile > nav > ul > li.userData#userDataMobil.unsubscribed {
  margin-top: 10px;
  border: 2px solid #bbb;
  border-radius: 20px;
  background-color: #512020;
  margin-bottom: 15px;
}

header#System_Header.mobile > nav > ul > li.userData#userDataMobil.unsubscribed > img {
  filter: invert(1);
  width: 35px;
}

header#System_Header.mobile > nav > ul > li.userData#userDataMobil.unsubscribed > a {
  font-size: 23px;
  line-height: 35px;
  margin-left: calc(50% - 72px);
  text-decoration: none;
  color: #fff;
}

header#System_Header.mobile > nav > ul > li.userData > img {
  float: left;
}

header#System_Header.mobile > nav > ul > li > a,
header#System_Header.mobile > nav > ul > li > div > ul > li > a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  line-height: 30px;
  display: inline-flex;
  text-overflow: ellipsis;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 400;
}

header#System_Header.mobile > nav > ul > li > a[icon]::before,
header#System_Header.mobile > nav > ul > li > div > ul > li > a[icon]::before {
  content: attr(icon);
  font-family: "Material Symbols Outlined" !important;
  font-size: 30px;
  margin-right: 5px;
  height: 30px;
  overflow: hidden;
  aspect-ratio: 1;
}

header#System_Header.mobile > nav > ul > li:last-child > img,
header#System_Header.mobile > nav > ul > li:last-child > a {
  display: none;
}

header#System_Header.mobile > nav > ul > li:last-child > div {
  display: block;
  margin-top: 10px;
  border-top: 1px solid #545454;
  padding-top: 10px;
}

header#System_Header.mobile > nav > ul > li:last-child > div > ul > li.userData {
  display: none;
}

header#System_Header.mobile > nav > ul > li > div > ul > li > a > img,
header#System_Header.mobile > nav > ul > li > a > img {
  filter: invert(1);
  height: 30px;
  display: inline-block;
  padding: 0px;
  margin-bottom: -4px;
  margin-right: 5px;
}

header#System_Header.mobile > nav > ul > li > div > ul > li,
header#System_Header.mobile > nav > ul > li {
  margin-bottom: 5px;
}

/* Footer */
body > div.Footer {
  background-color: #3e3e3e;
  padding: 10px;
  padding-top: 15px;
}

body > div.Footer > h1 {
  color: #d8caad;
  font-family: "Quicksand", sans-serif;
  margin-bottom: 10px;
  font-size: 25px;
}

body > div.Footer > hr {
  border: 0.5px solid #ffffff4d;
}

body > div.Footer > div {
  margin-top: 10px;
}

body > div.Footer > div > ul > li {
  list-style: none;
  text-align: center;
}

body > div.Footer > div > ul > li > a {
  text-decoration: none;
  font-family: "Quicksand", sans-serif;
  color: #e0e0e0;
}
