* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

::selection {background: #EF233C; color: #ffffff;}
.body {
overflow: hidden;
}

body {
  overflow: hidden;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 3%;
    left: 2%;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.5s, transform 0.3s;
    z-index: 10;
    transition: background-color 0.5s, transform 0.3s, width 0.2s, height 0.2s;
}

.dark-mode-toggle:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.04);
    width: 55px;
    height: 55px;
    text-decoration: none;
    overflow: hidden;
  }

.fas.fa-moon {
    color: #FFD700; /* Farbe auf Gold ändern */
    background-color: transparent; /* Hintergrundfarbe auf Dunkelgrau ändern */
    font-size: 24px; /* Icon-Größe auf 24 Pixel ändern */
    border-radius: 50%; /* Ecken abrunden, um das Icon rund zu machen */
}

.fas.fa-sun {
    display: none;
}

.container {
position: relative; /* Positionierung für den übergeordneten Container */
display: flex;
height: 100vh;
background-image: linear-gradient(to bottom right, #EDF2F4, #EDF2F4);
overflow: hidden; /* Verhindert, dass Inhalte über den sichtbaren Bereich hinausragen */
}

/* Registriermaske */

.login-box-text {
text-align: center;
margin-top: 10px;
color: #8D99AE;
font-family: Trebuchet MS, sans-serif;
font-size: 14px;
}
.login-box-text a{
color: #8D99AE;
font-family: Trebuchet MS, sans-serif;
}

.register-box {
margin: auto;
width: 300px;
padding: 20px;
background-color: transparent;
border-radius: 10px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.register-box h2 {
text-align: center;
margin-bottom: 20px;
color: #000;
font-family: Trebuchet MS, sans-serif;
}
.register-box form {
display: flex;
flex-direction: column;
}
.register-box input {
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
border: none;
color: #8D99AE;
}
.register-box input::placeholder {
color: #8D99AE;
}

.register-box button {
    position: relative;
    background-color: transparent;
    border-radius: 5px;
    border: none;
    color: #8D99AE;
    font-weight: bold;
    font-family: Trebuchet MS, sans-serif;
    cursor: pointer;
    padding: 10px 20px;
    transition: transform 0.2s ease;
}
.register-box button::before {
    margin-bottom: 0%;
    background-color: transparent;
    overflow: hidden;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 5px; 
    padding: 1px; 
    background:linear-gradient(45deg, #00f5d4, #00bbf9, #9b5de5, #f15bb5); 
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
        mask-composite: exclude; 
}

.register-box button:hover {
    transform: scale(1.02);
}

.register-box button.active {
    transform: scale(0.9);
    /* Hintergrundfarbe des ausgewählten Buttons */
}

/* Anmeldemaske */

.logo-container {
    max-width: 100%; /* Setze die maximale Breite des Containers, um die Größe des Bildes zu kontrollieren */
    text-align: center; /* Zentriere das Bild horizontal */
}

/* Stil für das Logo bei normaler Fenstergröße */
.logo {
  position: absolute;
  left: 22%; /* Abstand zur linken Seite */
  top: 50%; /* Zentrierung in vertikaler Richtung */
  transform: translateY(-50%); /* Zentrierung in vertikaler Richtung */
}

@media (max-height: 700px) {
    .logo {
        display: none;
    }
}

/* Media Query für kleinere Bildschirmgrößen */
@media (max-width: 1548px) {
    .logo {
        position: absolute;
        width: 80%;
        left: 50%; /* Abstand zur linken Seite */
        top: -20%; /* Zentrierung in vertikaler Richtung */
        transform: translateY(-50%); /* Zentrierung in vertikaler Richtung */
        transform: translateX(-50%);
      }

    .login-box {
      width: 300px;
      position: fixed;
      top: 50%;
      transform: translate(-50%, -50%);
      /* Füge hier weitere Stile hinzu, die du für die .login-box benötigst */
    }

    .rechtliches {
        display: none;
    }
}

.login-box {
  margin: auto;
  margin-left: 50%; /* Abstand zur linken Seite */
  width: 300px;
  padding: 20px;
  background-color: transparent;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
text-align: center;
margin-bottom: 20px;
color: #000;
font-family: Trebuchet MS, sans-serif;
}

.login-box form {
display: flex;
flex-direction: column;
}

.login-box input {
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
color: #8D99AE;
border: none;
}

.login-box input::placeholder {
color: #8D99AE;
}

.login-box button {
    position: relative;
    background-color: transparent;
    border-radius: 5px;
    color: #8D99AE;
    border: none;
    font-weight: bold;
    font-family: Trebuchet MS, sans-serif;
    cursor: pointer;
    padding: 10px 20px;
    transition: transform 0.2s ease;
}
.login-box button::before {
    margin-bottom: 0%;
    background-color: transparent;
    overflow: hidden;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 5px; 
    padding: 1px; 
    background:linear-gradient(45deg, #00f5d4, #00bbf9, #9b5de5, #f15bb5); 
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
        mask-composite: exclude; 
}

.login-box button:hover {
    transform: scale(1.02);
}

.login-box button.active {
    transform: scale(0.9);
    /* Hintergrundfarbe des ausgewählten Buttons */
}

.login-text {
    text-align: center;
    margin-top: 10px;
    color: #000;
    font-family: Trebuchet MS, sans-serif;
}

.login-text a {
    color: #8D99AE;
    text-decoration: none;
    font-family: Trebuchet MS, sans-serif;
}

.version {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #000;
    font-family: Trebuchet MS, sans-serif;
}

.version a {
    color: #000;
    text-decoration: none;
}

.contact-email {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #000;
    font-family: Trebuchet MS, sans-serif;
}

.contact-email a {
    color: #000;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

.rechtliches {
    position: absolute;
    bottom: 10px;
    left: 50%; /* Horizontale Position auf 50% des Elternelements */
    color: #000;
    font-family: Trebuchet MS, sans-serif;
    transform: translateX(-50%); /* Verschiebung um -50% der eigenen Breite */
}

.rechtliches a {
    color: #000;
    text-decoration: none;
}

.rechtliches a:hover {
    text-decoration: underline;
}

/* Impressum / Datenschutz */

.impressum {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000; /* Schriftfarbe wie bei .rechtliches */
    font-family: sans-serif;
    max-width: 600px; /* Optional: Setzt die maximale Breite des Impressums */
}

.impressum h1, .impressum h2, .impressum p {
    text-align: left; /* Text im Impressum linksbündig ausrichten */
    margin-bottom: 2%;
    margin-top: 6%;
}

.impressum a {
    color: #8D99AE; /* Schriftfarbe wie bei .rechtliches */
    text-decoration: underline; /* Unterstreichung hinzufügen */
    cursor: pointer; /* Mauszeiger zu "Pointer" ändern */
}

.impressum a:hover {
    color: #AABBCC; /* Schriftfarbe ändern, wenn der Link mit der Maus berührt wird */
}

/* Setze die maximale Höhe für den Container */
.container-datenschutz {
    /* Entferne das "overflow: hidden;" aus dieser Klasse */
    position: relative;
    height: 100vh;
    background-image: linear-gradient(to bottom right, #EDF2F4, #0A0220);
    overflow-y: auto;
}

/* Verstecke die vertikale Scrollbar für Webkit-basierte Browser */
.container-datenschutz::-webkit-scrollbar {
    width: 0.5em;
}

.container-datenschutz::-webkit-scrollbar-thumb {
    background-color: #8D99AE;
    border-radius: 4px;
}

.container-datenschutz::-webkit-scrollbar-thumb:hover {
    background-color: #AABBCC;
}

.container-datenschutz::-webkit-scrollbar-track {
    background-color: #ffffff00;
}

.container-datenschutz::-webkit-scrollbar-track:hover {
    background-color: #f1f1f1;
}

.datenschutz {
    color: #000;
    font-family: sans-serif;
    max-width: 600px;
    padding: 20px;
    margin: 0 auto; /* Zentriert den Inhalt horizontal */
}

.datenschutz h1, .datenschutz h2, .datenschutz p {
    text-align: left;
    margin-bottom: 2%;
    margin-top: 6%;
}

.datenschutz a {
    color: #8D99AE;
    text-decoration: underline;
    cursor: pointer;
}

.datenschutz a:hover {
    color: #AABBCC;
}

/* Passwort ändern */

.passwort-aendern-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  padding: 20px;
  background-color: transparent;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.passwort-aendern-box h2 {
text-align: center;
margin-bottom: 20px;
color: #000;
font-family: Trebuchet MS, sans-serif;
}

.passwort-aendern-box form {
display: flex;
flex-direction: column;
}

.passwort-aendern-box input {
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
color: #8D99AE;
border: none;
}

.passwort-aendern-box input::placeholder {
color: #8D99AE;
}

.passwort-aendern-box button {
    position: relative;
    background-color: transparent;
    border-radius: 5px;
    border: none;
    color: #8D99AE;
    font-weight: bold;
    font-family: Trebuchet MS, sans-serif;
    cursor: pointer;
    padding: 10px 20px;
    transition: transform 0.2s ease;
}
.passwort-aendern-box button::before {
    margin-bottom: 0%;
    background-color: transparent;
    overflow: hidden;
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 5px; 
    padding: 1px; 
    background:linear-gradient(45deg, #00f5d4, #00bbf9, #9b5de5, #f15bb5); 
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
        mask-composite: exclude; 
}

.passwort-aendern-box button:hover {
    transform: scale(1.02);
}

.passwort-aendern-box button.active {
    transform: scale(0.9);
    /* Hintergrundfarbe des ausgewählten Buttons */
}

.passwort-aendern-box button:not(.active) {
    transform: scale(1); /* Setzt die Transformation auf die Standardgröße zurück */
}

.passwort-aendern-box {
text-align: center;
margin-top: 10px;
color: #8D99AE;
font-family: Trebuchet MS, sans-serif;
}

.login-text a {
color: #8D99AE;
text-decoration: none;
font-family: Trebuchet MS, sans-serif;
}

.button-container {
    position: fixed;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .button {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.5s, transform 0.3s, width 0.2s, height 0.2s;
    z-index: 10;
  }
  
  .button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.04);
    width: 55px;
    height: 55px;
    text-decoration: none;
    overflow: hidden;
  }
  
  .button .icon {
    color: #ffffff;
    background-color: transparent;
    font-size: 24px;
    border-radius: 50%;
  }

.button .fa-lock {
    color: #ffffff;
}
  
.button .fa-info {
    color: #ffffff;
}
  
.button .fa-right-to-bracket {
    color: #ffffff;
}