/* Allgemeine Stile */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #111;
    color: #fff;
    line-height: 1.6;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0; 
    background-color: #000;
    z-index: 10; 
    margin: 0; 
    position: relative; 
    width: 100%;
}

.nav-bar .logo img {
    height: 100px;
}

.nav-bar nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
    padding: 0;
    margin: 0;
}

.nav-bar nav ul li {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-bar nav ul li img {
    height: 20px; 
    margin-right: 8px;
}

.nav-bar nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5em 1em;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}


.nav-bar nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff0000;
    transition: width 0.3s ease;
}

.nav-bar nav ul li a:hover::after,
.nav-bar nav ul li a:focus::after {
    width: 100%;
}

.nav-bar nav ul li.active a::after {
    width: 100%;
    background-color: #0000ff; 
}

.nav-bar .server-status {
    color: #fff;
}

.nav-bar .server-status .online {
    color: #0f0;
}


.nav-bar nav ul li.dropdown {
    position: relative;
}

.nav-bar nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: #000;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 0;
    list-style: none; 
    margin: 0;
    min-width: 230px;
    z-index: 100;
}

.nav-bar nav ul li.dropdown .dropdown-menu li {
    padding: 0.5em 1em;
    display: flex; 
    align-items: center;
}

.nav-bar nav ul li.dropdown .dropdown-menu li a {
    color: #fff;
    text-decoration: none;
    display: flex; 
    align-items: center;
    transition: background-color 1.3s ease;
    border-radius: 3px;
    width: 100%;
}

.nav-bar nav ul li.dropdown .dropdown-menu li a img {
    height: 25px;
    width: 25px;
    margin-right: 20px;
}

.nav-bar nav ul li.dropdown .dropdown-menu li a:hover,
.nav-bar nav ul li.dropdown .dropdown-menu li a:focus {
    background-color: #ff0000;
    border-radius: 3px;
}


.nav-bar nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}


.hero-container {
    position: relative;
    width: 100%; 
    height: 350px;
    overflow: hidden;
    z-index: 1; 
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:  100vh;
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 3s ease-in-out, transform 5s ease-in-out; 
    transform: scale(1.55);
    
}

.hero-image.zoom {
    animation: zoomEffect 8s ease-in-out forwards;
    
}



@keyframes zoomEffect {
    0% {
        transform: scale(1) translate(0%, 0%);
        background-position: top center;
    }
    25% {
        transform: scale(1.1) translate(-2%, -2%); /* leicht nach oben-links */
    }
    50% {
        transform: scale(1.2) translate(3%, 5%); /* leicht nach unten-rechts */
        background-position: center;
    }
    75% {
        transform: scale(1.3) translate(7%, -18%); /* oben-rechts / unten-links */
    }
    110% {
        transform: scale(1.35) translate(0%, 0%); /* wieder Mitte */
        background-position: bottom center;
    }
}



footer {
    background-color: #000;
    padding: 1em;
    text-align: center;
}


.container {
    background-color: #222;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    margin: 2em auto;
}

h1 {
    text-align: center;
    color: #ff0000;
    margin-bottom: 1em;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1em; 
}

label {
    margin-bottom: 0.5em;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    padding: 0.7em;
    margin-bottom: 1em;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    font-size: 1em;
    width: 100%; 
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border: 1px solid #ff0000;
    background-color: #444;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder {
    color: #999;
}

input[type="submit"] {
    padding: 0.7em;
    border: none;
    border-radius: 5px;
    background-color: #ff0000;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #cc0000;
}


.message {
    margin-bottom: 1em;
    padding: 1em;
    background-color: #333;
    border-left: 5px solid #ff0000;
    border-radius: 5px;
}



