/* Allgemeine Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7200a7;
    --secondary-color: #d1346e;
    --bg-color: #000;
    --text-color: #fff;
    --accent-color: #1c1c1c;
    --border-radius: 4px;
    --font-family: Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    background: url('/img/bg13.jpg') repeat-x; /* Horizontale Wiederholung */
  animation: scrollBackground 80s linear infinite;
    background-size: cover;
    color: var(--text-color);
}
@keyframes scrollBackground {
    from {
      background-position: 0 0;
    }
    to {
      background-position: -1000px 0; /* Passe den Wert an die Breite deines Bildes an */
    }
  }

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Korrigiert die Ausrichtung */
    padding: 15px 20px;
    background-color: var(--bg-color);
    position: relative;
    z-index: 2;
}

.logo img {
    width: 75px;
    height: auto;
    cursor: pointer;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-left: 18px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    transition: background-color 0.3s, transform 0.3s;
}

nav ul li a:hover,
nav ul li.active a {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    transform: scale(1.05);
}

/* Burger-Menü */
#menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--text-color);
    text-align: center;
    padding: 200px 20px;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: grayscale(100%) blur(2px);
}

/* Bewerbungsformular */
.apply-form {
    width: 100%;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #111; /* Dunkelgrau */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.apply-form h1 {
    text-align: center;
    color: #7200a7;
    margin-bottom: 20px;
    font-size: 28px;
}

.apply-form p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

/* Formularfelder */
label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #fff;
}

input[type="text"],
input[type="email"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #7200a7;
    background-color: #222;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
input[type="file"]:focus {
    border-color: #fff;
    outline: none;
}

/* Button */
button {
    width: 100%;
    padding: 12px;
    background-color: #7200a7;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #590078; /* Dunkleres Lila */
}

/* Nachricht anzeigen */
.message-box {
    display: none;
    margin-top: 20px;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    border-radius: 4px;
}

.message-box.success {
    background-color: #28a745;
    color: #fff;
}

/* Links zu sozialen Medien */
#socialLinksContainer {
    margin-bottom: 20px;
}

.socialLink {
    margin-bottom: 10px;
}

.socialLinkInput {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #7200a7;
    background-color: #222;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
}

button#addLinkButton {
    background-color: #7200a7;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button#addLinkButton:hover {
    background-color: #590078; /* Dunkleres Lila */
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #111;
    color: #fff;
    margin-top: 50px;
}

footer .social-media {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

footer .social-media li {
    display: inline;
    margin: 0 10px;
}

footer .social-media li a {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

footer .social-media li a:hover {
    color: #7200a7; /* Lila bei Hover */
}

@media (max-width: 768px) {
    #menu-button {
        display: block; /* Der Burger-Button wird bei mobilen Geräten angezeigt */
    }
  
    /* Anpassen der Position der Navigation */
    nav {
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        display: none;
        flex-direction: column;
        padding: 10px 0;
    }
  
    nav.open {
        display: block;
    }
  
    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }
  
    nav ul li {
        width: 100%;
    }
  
    nav ul li a {
        display: block;
        padding: 12px;
        font-size: 16px;
    }
}