@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

html,
body {
    background-color: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    position: relative;
    background-color: transparent;
    font-family: "Montserrat", sans-serif;
    color: #111111;
    overflow-x: hidden;
    z-index: 0;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: transparent;
    pointer-events: none;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 10;
    position: relative;
    /* Needs position for z-index to work */
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.2));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(255, 0, 0, 0.9));
        transform: scale(1.05);
    }

    100% {
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.2));
        transform: scale(1);
    }
}

.glowing-logo {
    width: 250px;
    max-width: 80%;
    margin-bottom: 2rem;
    animation: glow 3s infinite ease-in-out;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

p.subtitle {
    font-size: 1.2rem;
    color: #555555;
    margin-top: 0;
    margin-bottom: 2rem;
}

footer {
    padding: 20px;
    text-align: center;
    z-index: 10;
    position: relative;
    /* Needs position for z-index to work */
}

footer a {
    color: #555555;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s;
}

footer a:hover {
    color: #ff0000;
}

/* Base styles for Impressum / Datenschutz */
.imp-content {
    background: rgba(255, 255, 255, 0.7);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    max-height: 56vh;
    overflow-y: auto;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transform: translateZ(0);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Custom Scrollbar for the Glass Window */
.imp-content::-webkit-scrollbar {
    width: 8px;
}

.imp-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 8px;
}

.imp-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.imp-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

.imp-h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.imp-content p.Impressum {
    line-height: 1.6;
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    text-align: center;
}

.imp-content p {
    line-height: 1.6;
    font-size: 1.2rem;
    color: #333;
    text-align: left;
    margin-bottom: 1.5rem;
}

.imp-content ul {
    text-align: left;
    padding-left: 0;
}

.imp-content li {
    line-height: 1.6;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.imp-content h4 {
    font-size: 1.5rem;
    color: #111;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .imp-content {
        padding: 1.5rem 1rem;
        width: 92%;
    }

    .imp-h2 {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .imp-content p.Impressum,
    .imp-content p {
        font-size: 1rem;
    }

    .imp-content li {
        font-size: 1.05rem;
    }

    .imp-content h4 {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0 40px 0;
    }

    footer a {
        margin: 0;
    }
}