* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: "Montserrat";
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333; 
    color: #ffffff;
    user-select: none;
    overflow: hidden;
}

.bg {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: -100;
    opacity: .2;
    overflow: hidden;
}

img, video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* video {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

video.active {
  opacity: 1;
} */



.container {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

h1 {
    font-size: 80px;
    margin-bottom: 40px;
}

h3 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 8px;
    margin-bottom: 20px;
}

.progress-bar {
    width: 360px;
    height: 12px;
    background-color: #d1d1d1;
    margin: auto;
    margin-bottom: 8px;
    position: relative;
}

.progress-bar::before {
    /*content: "0%";*/
    content: attr(data-value) '%'; /* Nutze data-attribute, um den Wert dynamisch zu setzen */
    position: absolute;
    left: 0;
    font-size: 12px;
    bottom: -18px;
}

.progress-bar::after {
    content: "100%";
    position: absolute;
    right: 0;
    font-size: 12px;
    bottom: -18px;
}

.progress-bar span{
    display: block;
    width: 30%;
    height: 12px;
    background-color: #87b1de;
    animation: fill 1s ease-in 1;
}

@keyframes fill{
    from{
        width: 0;
    }

    to {
        width: 30%;
    }
}

.sm a {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #87b1de;
    line-height: 60px;
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    margin-bottom: 0 10px;
    opacity: .7;
    transition: .3 linear;
}

.sm a:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* @media screen and (max-width: 768px) {
	video, img {
		height: 100%;
		width: 100%;
	}
} */



.window-box {
    left: 0;
    top: 0;
    overflow: hidden;
    /*backdrop-filter: blur(25px);*/
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    background-color: #0000002f;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    display: none;
    position: absolute;
}
.psw-container {
    background-color: #3333332f;
    color: #ffffff;
    padding: 20px;
    border-radius: 12px; /* Runde Ecken für die Karte */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 90%; /* Breite auf 90% für kleinere Bildschirme */
    max-width: 400px; /* Maximale Breite für größere Bildschirme */
    position: absolute;
    align-items: center;
    justify-content: center;
}

.psw-container h2{
    font-size: 35px;
    font-weight: bold;
    letter-spacing: .8;
    /* margin-bottom: 20px; */
    text-align: center;
}

.psw-container a {
    color: #3498db; /* Ändere die Farbe nach Bedarf */
    text-decoration: none;
    transition: color 0.3s ease; /* Animiere die Farbänderung mit einer Übergangsanimation */
}

.psw-container a:hover {
    color: #2980b9; /* Ändere die Farbe bei Hover nach Bedarf */
}

.psw-container label {
    display: block;
    margin-bottom: 8px;
}

.psw-container input {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
    background-color: #1e1e1e2f;
    color: #ffffff;
    border: 1px solid #1e1e1e;
    border-radius: 4px; /* Runde Ecken für die Eingabefelder */
}

.psw-container input:-webkit-autofill,
.psw-container input:-webkit-autofill:hover, 
.psw-container input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0 30px #1e1e1e inset !important; /* Hintergrundfarbe anpassen */
    transition: background-color 5000s ease-in-out 0s; /* Verzögerung der Hintergrundfarbenänderung aufheben */
}

.psw-container .error {
    color: #ff6347;
    font-size: 14px;
}
.psw-container .error-message {
    color: #ff6347;
    font-size: 14px;
}
.psw-container .success-message {
    color: #4caf50;
    font-size: 14px;
}

.psw-container img {
    max-width: 100%; /* Bild wird responsiv für kleinere Bildschirme skaliert */
    height: auto;
    border-radius: 12px;
    margin-top: 16px; /* Abstand zwischen Bild und anderen Elementen */
}

.psw-container .password-container {
    position: relative;
}

.psw-container #passwort-toggle {
    display: none;
}

.psw-container .eye-icon {
    position: absolute;
    right: 10px;
    top: 25%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
}

.psw-container .tooltip {
    visibility: hidden;
    width: 100px;
    background-color: #3e3e3e2f;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #ffffff;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* Position unterhalb des Auge-Icons */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.psw-container .eye-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.psw-container .input-container {
  position: relative;
  margin-bottom: 20px;
}

.psw-container input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  outline: none;
}

.psw-container labal {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #aaa;
  pointer-events: none;
  transition: 0.3s;
}

.psw-container input:focus + labal, input:valid + labal {
  top: -12px;
  left: 5px;
  font-size: 12px;
  color: rgb(229, 229, 229);
}

.psw-container #passwort-toggle {
    display: none;
}
.psw-container #passwort-toggle-current {
    display: none;
}
.psw-container #passwort-toggle-new {
    display: none;
}
.psw-container #passwort-toggle-confirm {
    display: none;
}

.psw-container input[type="submit"] {
    background-color: #4caf502f;
    color: white;
    cursor: pointer;
    border: 1px solid #4caf50;
    border-radius: 4px; /* Runde Ecken für den Anmelden-Knopf */
}

.psw-container input[type="submit"]:hover {
    background-color: #3e86412f;
    border: 1px solid #3e8641;
}

.psw-container button {
    background-color: #c63a212f;
    color: white;
    border: 1px solid #c63a21;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    width: 100%;
    font-size: 16px; /* Schriftgröße anpassen, passen Sie dies an Ihre Bedürfnisse an */
}

.psw-container button:hover {
    border: 1px solid #902c1a;
    background-color: #902c1a2f;
}