body {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.4;
    background-color: black;
    color: white;
}

h1 {
    font-size: 32px;
    text-align: center;
    margin: 20px 0;
}

.header {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

.header #buehne {
    background-color: white;
    text-align: center;
    animation-delay: 2s;
    animation-duration: 30s;
    animation-name: color-change;
    animation-iteration-count: infinite;
}

@keyframes color-change {
    0% { background-color: #fff; }
    20% { background-color: #9800be; }
    25% { background-color: #9800be; }
    35% { background-color: #fffd0c; }
    40% { background-color: #fffd0c; }
    50% { background-color: #009900; }
    55% { background-color: #009900; }
    65% { background-color: #0021ff; }
    70% { background-color: #0021ff; }
    80% { background-color: #9800be; }
    85% { background-color: #9800be; }
    95% { background-color: #fffd0c; }
    100% { background-color: white; }
}

.header img {
    width: 45%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    border: none;
    display: block;
    margin: 0 auto;
}

.black-bar {
    display: none; /* Initial auf Desktop ausgeblendet, falls vorhanden */
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: black;
    z-index: 50;
    animation-name: open-bars;
    animation-duration: 3s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.black-bar.left {
    left: 0;
}

.black-bar.right {
    right: 0;
}

@keyframes open-bars {
    0% {
        width: 50%;
    }
    50% {
        width: calc(50% - 50px);
    }
    100% {
        width: 0%;
    }
}

#logo {
    position: absolute;
    left: 40px;
    width: 20%;
    height: auto;
    z-index: 10;
}

.button-container {
    text-align: center;
}

.button {
    display: inline-block;
    z-index: 9999 !important;
    margin: 0 auto;
    padding: 4px 25px;
    font-size: 28px;
    font-weight: bold;
    background-color: #000;
    color: white;
    border: 1px solid #660066;
    border-radius: 20px;
    transition: background-color 0.1s ease-in;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    text-decoration: none;
}

@media (hover: hover) {
    .button:hover {
        cursor: pointer;
        background-color: #660066;
    }
}

.button:active {
    background-color: #990099;
    transition: background-color 0.1s ease-out;
}

#projector:disabled + label {
    opacity: 0.3;
    cursor: not-allowed;
}

.social-links-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    text-align: right;
    height: 100%;
    border-radius: 8px;
    background-color: #000;
    flex-direction: row;
}

.social-links-container .social-link {
    margin-right: 15px;
}

.social-links-container a i {
    font-size: 14px;
    margin: 5px;
    color: white;
    transition: color 0.3s ease;
}

.social-links-container a:hover i {
    color: #990099;
}

.social-link {
    display: flex;
    align-items: center;
}

.social-link img {
    width: 100px;
    margin-bottom: 5px;
}

.text-container {
    display: grid;
    margin: 20px;
    text-align: justify;
    text-justify: inter-character;
    hyphens: auto;
    grid-template-columns: 2.5fr 5fr 2.5fr;
    gap: 30px;
}

.nav-menu {
    display: flex;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-items {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.menu-items a {
    color: white;
    font-size: 14px;
    font-weight: lighter;
    text-decoration: none;
    font-family: Verdana, sans-serif;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.menu-items a:hover {
    color: #660066;
}

.menu-items a:active {
    color: #990099;
    transition: none;
}

.hamburger-menu {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 200;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: black;
    border-radius: 5px;
}

select,
input,
textarea,
button {
    font-family: monospace, monospace !important;
    font-size: 18px;
    padding: 5px;
    box-sizing: border-box;
}
textarea {
    width: 100% !important;
}

#user-email {
    padding: 5px;
    width: 50%;
    box-sizing: border-box;
}

.small-print {
    margin-top: 50px;
    font-size: 14px;
    color: grey;
}

.footer {
  text-align: left;
  font-size: 14px;
  color: #666666;
}

@media (max-width: 768px) {
    h1 {
        font-size: 26px;
    }
    #logo {
      display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 200px;
        background-color: #666666;
        z-index: 100;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transition: transform 0.2s ease-in-out;
        transform: translateX(-106%);
        opacity: 0.95;
    }

    .nav-menu.active {
        transform: translateX(-10px);
    }
    
    .menu-items, .social-links-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
    }
    
    .menu-items {
        margin: 60px 0 20px;
    }
    
    .menu-items a {
        font-size: 18px;
        font-weight: normal;
        margin-bottom: 10px;
    }
    
    .social-links-container a {
        margin: 20px;
    }
    
    .social-links-container a i {
        font-size: 22px;
    }
    
    .header img {
        width: 100%;
        height: 31vh;
    }
    
    .text-container {
        font-size: 18px;
        font-weight: lighter;
        margin: 10px;
        grid-template-columns: 1fr;
    }
        
    .column-text {
      display: none;
    }
    
    .button {
      margin-top: 30px;
    }
    
    .footer {
      font-size: 10px;
    }
}