:root {
  --sidebar-width: 250px;
  --sidebar-inset: .9rem;
  --sidebar-transition: 0.5s ease-in-out;
  --navbar-height: 77px;
  --acrylic: blur(10px);
  --rf-blue-dark: #1d6fad;
  --rf-blue: #0098eb;
  --rf-blue-dark-transparent: #2775b4aa;
  --rf-blue-transparent: #0098ebaa;
}

html {
  overflow-x: hidden;
}

body {
  background-color: #efefef;
  width: 100vw;
}

.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(35deg, var(--rf-blue-dark), var(--rf-blue));
  top: 0;
  left: calc(-1 * var(--sidebar-width));
  bottom: 0;
  position: fixed;
  transition: left var(--sidebar-transition);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
}

.sidebar-open .sidebar {
  left: 0;
}

main {
  margin-left: 0;
  transition: margin-left var(--sidebar-transition);
}

.sidebar-open main {
  margin-left: var(--sidebar-width);
}

.sidebar-header {
  padding: 10px 15px 5px;
}

.robby-container {
  background-color: rgba(0,0,0,0.2);
  border-radius: 8px;
  display: flex;
}

.robby-logo {
  height: 50px;
  aspect-ratio: 1;
  border-radius: 8px;
  margin: 5px;
  background: rgba(255,255,255,0.1);
}

.logo-sidebar {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.robby-name {
  font-family: Poppins, sans-serif;
  color: white;
  line-height: 1.1rem;
  letter-spacing: .05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.robby-title {
  font-size: 1rem;
  font-weight: bold;
}

.robby-subtitle {
  font-size: .8rem;
}

.nav-list {
  list-style-type: none;
  padding: 0 var(--sidebar-inset);
  margin-top: 25px;
}

.nav-list-item {
  margin: 10px 0;
  flex-direction: column;
  position: relative;
}

.nav-list-item.selected {
  text-decoration: none;
}

.nav-list-item>:is(a,button) {
  background-color: rgba(0,0,0,0.2);
  border-radius: 8px;
  appearance: none;
  text-decoration: none;
  display: flex;
  border: none;
  text-align: start;
  color: white;
  font-family: Poppins, sans-serif;
  font-size: var(--bs-body-font-size);
  padding: 7px 10px;
  letter-spacing: 1px;
  min-height: 2.5rem;
  align-content: center;
  --hover-shadow: 0 0 0.4rem rgba(255,255,255,0.3);
}

.nav-list-item>:is(a,button):hover {
  box-shadow: var(--hover-shadow);
  background-color: rgba(0,0,0,0.3);
  --button-color-hover: rgba(0,0,0,0.3);
}

.nav-list-item>:is(a,button):active {
  background-color: rgba(0,0,0,0.4);
}

.nav-list-item.nav-list-item.selected>:is(a,button) {
  background-color: #a438af;
}

.nav-list-item>button {
  width: 100%;
}

.nav-icon {
  font-size: 18px;
  margin: 4px 8px 4px 0;
  width: 22px;
  align-self: center;
}
.sub-nav-icon {
  font-size: 10px;
  margin: 4px 8px 4px 0;
  align-self: center;
}

.nav-label {
  flex-grow: 1;
}

.nav-menu {
  --menu-height: 0;
}

.nav-menu>button {
  box-shadow: none !important;
  min-height: calc(2.5rem - 7px);
  border-bottom: 0 solid transparent;
  transition: border-bottom-width .2s ease-out;
  border-radius: 8px 8px 0 0;
  padding-bottom: 0;
  isolation: isolate;
}

.nav-menu>button:hover::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: var(--hover-shadow);
  pointer-events: none;
  z-index: -1;
}

.nav-menu>button::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 8px 8px;
  background: inherit;
  width: 100%;
  height: 7px;
}

.nav-menu.active>button {
  border-bottom-width: 7px;
}

.nav-menu>ul {
  border-bottom: 7px solid transparent;
  padding: 0;
  overflow: hidden;
  height: auto;
  max-height: 0;
  transition: max-height .2s ease-out;
}

.nav-menu.active>ul {
  max-height: var(--menu-height);
}

.nav-menu>ul>li {
  background: rgba(0,0,0,.1);
  min-height: 38px;
  list-style: none;
}

.nav-menu>ul a {
  text-decoration: none;
  color: white;
  display: flex;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 7px 10px 7px 30px;
  position: relative;
  align-items: center;
}

.nav-menu>ul a::before {
  content: '\f1b0';
  font-size: 10px;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  display: inline-block;
  position: absolute;
  left: 10px;
}

.nav-menu>ul a:hover {
  background-color: rgba(0,0,0,0.2);
}

.icon {
  font-size: 18px;
}

.btn_sidebarToggle:hover {
  color: #ffffff;
  background-color: rgb(42,120,186);
  border-color: rgba(0,0,0,0);
}

.sidebar-open .btn_sidebarToggle:hover {
  color: #ffffff;
  background-color: rgb(42,120,186);
  border-color: rgba(0,0,0,0);
}

.btn_sidebarToggle {
  margin: 5px 5px 5px 0;
  color: #3776b6;
  background-color: rgb(255,255,255);
  border-color: rgba(255,255,255,0);
  z-index: 200;
  border-radius: 50px;
  transition: all 0.2s ease-in-out;
}

.sidebar-open .btn_sidebarToggle {
  margin: 5px 5px 5px 0;
  color: #2775b4;
  background-color: #ffffff;
  border-color: rgba(255,255,255,0);
  border-radius: 50px;
}

/* change icons */
.btn_sidebarToggle .close-icon {
  display: none;
}

.sidebar-open .btn_sidebarToggle .menu-icon {
  display: none;
}

.sidebar-open .btn_sidebarToggle .close-icon {
  display: block;
}

.navbar {
  background: linear-gradient(215deg, var(--rf-blue-dark), var(--rf-blue));
  padding: 0;
  margin: 0;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 0 0 rgba(0,0,0,0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  transition: all var(--sidebar-transition);
  z-index: 300;
}

@supports (backdrop-filter: var(--acrylic)) {
  .navbar {
    background: linear-gradient(215deg, var(--rf-blue-dark-transparent), var(--rf-blue-transparent));
    backdrop-filter: var(--acrylic);
  }
}

.sidebar-open .navbar {
  left: var(--sidebar-width);
}

.sidebar-spacer {
  height: var(--navbar-height);
  background: linear-gradient(215deg, var(--rf-blue-dark), var(--rf-blue));
}

/* event selection */
.event-selector-label {
  display: block;
  background-color: rgba(0,0,0,0.2);
  border-radius: 8px;
  color: white;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  margin: 10px var(--sidebar-inset) 5px;
  padding: 5px;
  font-size: .8rem;
}

.event-selector {
  display: flex;
  align-content: baseline;
  background-color: white;
  color: var(--rf-blue-dark);
  margin: 0 var(--sidebar-inset);
  border-radius: 8px;
  padding: 5px;
}

.event-name {
  flex-grow: 1;
  margin-left: .5rem;
  font-family: Poppins, sans-serif;
  font-weight: bold;
  font-size: .9rem;
}

#eventChangeButton {
  display: block;
  appearance: none;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

.event-change-icon {
  display: block;
  transition: transform 0.3s ease-in-out;
  padding: 4px;
  font-size: .8rem;
  color: #2775b4;
  border: 2px solid #2775b4;
  border-radius: 50%;
}

.event-change-icon:hover {
  transform: rotate(180deg) scale(1.1);
  color: #003552;
  border-color: #003e60;
}

.content-header {
  background-color: #0098eb;
  width: 100%;
  height: 100vh;
}

.navbar-left {
  flex-basis: 25%;
  flex-grow: 1;
  min-width: 200px;
  display: flex;
  gap: 5px;
}

#logo-navbar {
  min-width: 145px;
  max-width: 30%;
  height: auto;
}

.navbar-mid {
  flex-basis: 50%;
  flex-grow: 2;
  padding: 5px 0;
}

#timer, #timer-subline {
  color: white;
  margin: 0 5px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 2px;
}

#timer {
  font-family: Poppins, sans-serif;
  font-size: 1.2rem;
}

#timer-subline {
  font-size: .9rem;
}

.navbar-right {
  flex-basis: 25%;
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
}

.content-base {
  padding: 55px 18%;
  display: flex;
  justify-content: space-between;
  gap: 35px;
}
@media (max-width: 1200px){
  .content-base {
    flex-direction: column;
    padding: 55px 10%;
  }
}

.navbar button {
  font-family: Poppins, sans-serif;
  background-color: #ffffff;
  color: #2775b4;
  border-color: rgba(0,0,0,0);
  font-weight: 600;
}

.sidebar footer {
  font-family: Poppins, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-grow: 1;
  padding: 25px 40px;
  margin-top: 35px;
  width: var(--sidebar-width);
}

.sidebar footer {
  color: white;
  font-size: 11px;
}

.btn_sidebarToggle:active {
  color: #ffffff;
  background-color: rgb(42,120,186);
  border-color: rgba(0,0,0,0);
}

.icon-sidebar-btn {
  display: block;
  margin: 5px 0 5px 0;
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: rgba(245,245,245,0.1);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: rgb(42,120,186);
}

.dev-avatars {
  display: flex;
  gap: .4rem;
}

.dev-avatars img {
  width: 2.7rem;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 0.2em rgba(255,255,255,0.7);
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

#sidebarBackdrop {
  display: none;
}

@media (max-width: 920px) {
  #timer {
    font-size: 1rem;
  }

  #timer-subline {
    font-size: .7rem;
  }
}

@media (max-width: 767px) {
  #mid-top-bar {
    display: none;
  }
}

@media (max-width: 650px) {
  .sidebar {
    top: var(--navbar-height);
  }

  @supports (backdrop-filter: var(--acrylic)) {
    .sidebar {
      background: linear-gradient(35deg, var(--rf-blue-dark-transparent), var(--rf-blue-transparent));
      backdrop-filter: var(--acrylic);
    }
  }

  #sidebarBackdrop {
    display: block;
    pointer-events: none;
    position: fixed;
    inset: 0;
    top: var(--navbar-height);
    transition: all var(--sidebar-transition);
  }

  .sidebar-open #sidebarBackdrop {
    pointer-events: auto;
    left: var(--sidebar-width);
    background: rgba(0,0,0,.4);
  }

  .sidebar-open .navbar {
    left: 0;
  }

  .sidebar-open main {
    margin-left: 0;
  }
}

#content-footer {
  padding: 50px 25px;
  background: linear-gradient(215deg, #2775b4, #0098eb);
  display: flex;
}

.footer-column {
  display: flex;
  flex-grow: 1;
  flex-basis: 33.333333%;
  margin: 15px;
}

#content-of-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#Title {
  color: white;
  font-family: Poppins, sans-serif;
  letter-spacing: 12px;
  font-size: 80px;
  margin-bottom: 125px;
}

dialog {
  font-family: Poppins, sans-serif;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid white;
}

dialog::backdrop {
  background-color: rgba(0,0,0,.5);
}

dialog header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 50px;
  padding: 1rem;
  font-weight: 600;
  background-color: var(--rf-blue);
  color: white;
}

dialog header>h2 {
  font: inherit;
  margin: 0;
}

dialog header>h2>i {
  margin-right: .3rem;
}

.dialog-close-btn {
  width: 30px;
  height: 30px;
  color: white;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
  font-size: 15px;
  font-family: Poppins, sans-serif;
  border-style: none;
  border-radius: 50px;
  top: 0;
  left: 100vw;
}

.dialog-content {
  max-height: calc(100vh - 100px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 15px 15px;
  /*
  color: #818181;
  font-size: 14px;
  */
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px 8px;
}

.dialog-actions button {
  border: none;
  border-radius: 8px;
}

.login-option-title {
  margin: 0;
  padding-top: 15px;
}

button {
  --button-color: #0081ff;
  --button-color-hover: #0060c0;

  font-family: Poppins, sans-serif;
  background-color: var(--button-color);
  color: white;
  border-radius: 8px;
  border: none;
  margin: 0;
  padding: 6px 10px;
}

button:hover:not(:disabled) {
  background-color: var(--button-color-hover);
}

button:disabled {
  filter: grayscale(1);
}

/* FORM */
.form-grid {
  --form-columns: 2;
  --form-input-width: 18rem;
  display: grid;
  grid-template-columns: repeat(var(--form-columns), auto minmax(var(--form-input-width), 1fr));
  align-items: baseline;
  gap: 20px;
}

@media (max-width: 900px) {
  .form-grid {
    --form-columns: 1;
    --form-input-width: 200px;
  }
}

@media (max-width: 650px) {
  .form-grid {
    font-size: .9rem;
  }
}

@media (max-width: 500px) {
  .form-grid {
    --form-input-width: 150px;
    font-size: .8rem;
    gap: 10px;
  }
}

@media (max-width: 320px) {
  .form-grid {
    font-size: .7rem;
  }

  .data-title {
    line-break: anywhere;
  }
}

.form-row {
  grid-column: 1 / -1;
}

.form-section-title {
  font-family: Poppins, sans-serif;
  font-weight: bold;
  color: #565656;
  font-size: 14px;
  padding: 0 0 .4rem;
  margin: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.data-title {
  font-family: Poppins, sans-serif;
  color: var(--rf-blue-dark);
  font-weight: bold;
}

.data-input {
  font-family: Poppins, sans-serif;
  margin: 0;
}

:is(input, select).data-input {
  border: none;
  border-bottom: 2px solid currentColor;
  max-width: 18rem;
  min-width: 8rem;
  background: none;
  margin: 0;
  padding: 0;
}

input.data-input[type=checkbox] {
  width: 1rem;
  height: 1rem;
  min-width: auto;
}

:is(input, select).data-input:disabled {
  border-color: transparent;
}

:is(input, select).data-input.form-changed {
  background-color: rgba(255, 224, 46, 0.5);
}

:is(input, select).data-input.form-changed:invalid {
  background-color: rgba(255, 46, 46, 0.5);
}

/** TOOLTIPS */
[data-tooltip] {
  position: relative;
  display: grid;
}

[data-tooltip]::after {
  position: absolute;
  content: attr(data-tooltip);
  display: block;
  top: 0;
  left: 50%;
  transform: translate(-50%, -100%);
  padding: .1rem .2rem;
  background: white;
  border-radius: 4px;
  box-shadow: 2px 2px 4px 1px #0003;
  margin-top: -.2rem;
  user-select: none;
  opacity: 0;
  transition: opacity ease .2s;
  width: max-content;
  max-width: 100%;
  pointer-events: none;
}

[data-tooltip]:is(:focus-within, :hover)::after {
  opacity: 1;
}

/*
.profile-section {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.profile-cat-title {
  font-family: Poppins, sans-serif;
  font-weight: bold;
  color: #868686;
  font-size: 14px;
  padding: 0;
  margin: 0;
}

.profile-cat-hr {
  color: #868686;
}

.profile-cat-div {
  margin-bottom: 15px;
  display: flex;
  gap: 50px;
}

.profile-cat-row {
  display: flex;
  width: 50%;
}

.profile-cat-column-title {
  width: 40%;
}

.profile-cat-column-input {
  width: 60%;
}
*/

.critical-btn {
  --button-color: #ff2e2e;
  --button-color-hover: #e01717;
}

.warn-btn {
  --button-color: #ffa500;
  --button-color-hover: #e89700;
}

.positive-btn {
  --button-color: #31c000;
  --button-color-hover: #279d00;
}

#profileNewBadgeBtn {
  --button-color: #0081ff;
  --button-color-hover: #0060c0;
}

#dance-logo {
  width: 800px;
  z-index: 10;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,1));
  padding-left: 10px;
}

@media only screen and (max-width: 800px) {
  #dance-logo {
    width: 90vw;
  }
}

#dance-video {
  border-radius: 20px;
  border: solid 5px white;
  z-index: 5;
  box-shadow: 5px 5px 6px 0 rgba(0,0,0,0.3);
}

.top-content {
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 50px 20px;
  padding-bottom: 200px;
  background: rgb(124, 124, 124);
  background-image: url("/assets/img/testbg.jpg");
  background-size: cover;
  background-position: center center ;
  background-blend-mode: overlay;
}

.headline {
  margin: 0 auto;
  color: white;
  font-family: Poppins, sans-serif;
  font-weight: bold;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,1));
  font-size: 25px;
  text-align: center;
}

.botline {
  margin: 0 auto;
  margin-bottom: 40px;
  color: white;
  font-family: Poppins, sans-serif;
  font-weight: bold;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,1));
  font-size: 30px;
  text-align: center;
}

.video-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wide-box-1 {
  display: flex;
  height: 400px;
  background-color: rgb(176, 176, 176);
}

.wide-box-col {


}

.countdown-header {
  margin: 0 auto;
  color: white;
  font-family: Poppins, sans-serif;
  font-weight: bold;
  font-size: 40px;
  border-bottom: 5px solid white;
  border-top: 5px solid white;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,1));
  letter-spacing: 0.3rem;
  text-align: center;
}

@media only screen and (max-width: 550px) {
  countdown-header {
    font-size: 8vw;
  }
}

.hr-header {
  margin: 40px auto;
  width: 550px;
  border-top: 4px solid white;
  opacity: 100%;
  border-radius: 5px;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,1));
}

@media only screen and (max-width: 800px) {
  .hr-header {
    width: 75vw;
  }
}

.countdown-header-title {
  margin: 0 auto;
  color: white;
  font-family: Poppins, sans-serif;
  font-weight: bold;
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,1));
  font-size: 25px;
  text-align: center;
  text-transform: uppercase;
}

@media only screen and (max-width: 550px) {
  .countdown-header-title {
    font-size: 6vw;
  }
  .headline {
    font-size: 5vw;
  }
  .botline {
    font-size: 6vw;
  }
}

.dont-cross {
  margin: auto;
  margin-top: -130px;
  width: 90vw;
  height: 85px;
  background-image: url("/assets/img/AbsperrNeuRFD.png");
  background-size: 80vw;
  background-repeat: repeat-x;
  transform: rotate(-5deg);
  filter: drop-shadow(5px 5px 5px rgba(0,0,0,0.3));
}

.contentTitle {
  color: var(--rf-blue-dark);
  font-weight: bold;
  margin-bottom: 25px;
}

.textBox {
  font-family: Poppins, sans-serif;
}

.contentColumn {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 25%;
}

.tilted {
  background: linear-gradient(265deg, var(--rf-blue-dark), var(--rf-blue));
  color: white;
}

.white-contrast-on-mixed {
  background-color: rgba(0, 0, 0, .3);
}

@supports (text-shadow: 0 0 .1em rgba(0, 0, 0, .3)) {
  .white-contrast-on-mixed {
    background: none;
    text-shadow: 0 .1em .4em #000, .1em 0 .4em #000, 0 -.1em .4em #000, -.1em 0 .4em #000;
  }
}

.contentImg {
  outline: solid 2px white;
  border-radius: 15px;
}

.contentButtonWhite {
  color: var(--rf-blue-dark);
  background: white;
  font-weight: normal;
  transition: background 0.3s ease-in-out,color 0.3s ease-in-out;
}

.contentButtonWhite:hover {
  color: white;
  font-weight: normal;
  background: #0a53be;
}

.withPicture {
  background-image: url("/assets/img/lineup.jpg");
  background-size: cover;
  background-position: center;
}

.djRondell {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.djBox {
  border: solid 1px #868686;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.44);
  box-shadow: 0 0 0.4rem rgba(255,255,255,0.8);
  padding: 10px;
}

.djTitle {
  font-family: Poppins, sans-serif;
  color: white;
  font-weight: bold;
  margin-top: 5px;
  font-size: 18px;
  margin-bottom: 0;
}

.djGenre {
  font-family: Poppins, sans-serif;
  color: white;
  font-size: 14px;
  margin-bottom: 0;
}

.djAvatar {
  width: 180px;
  height: 180px;
  border-radius: 15px;
  margin: 0 auto;
  border: solid 2px white;
  background-size: cover;

}

.boxed {
  padding: 20px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 15px;
}

/* TABLE */
table.tabular-data {
  border-collapse: collapse;
  width: 100%;
}

thead.tabular-data > tr {
  border-bottom: 2px solid #c3c3c3;
  font-family: Poppins, sans-serif;
  font-weight: 650;
}
