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

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #0e0d0d;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container {
    flex: 1;
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

ul {
    text-align: left;
    margin: 20px 0;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    color: #333;
}


.overlay {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    padding: 20px;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.content {
    position: relative;
    z-index: 10;
    font-size: 2rem;
    max-width: 600px;
    margin: 0 auto; 
    animation: fadeIn 2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
}
.container h2 {
    margin-top: 30px;

}
h1 {
    font-size: 4.5rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #080808;
    text-transform: uppercase;
    letter-spacing: 3px;
  
}



form {
    display: flex;
    flex-direction: column; 
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 80%; 

}

form input[type="email"] {
    padding: 10px;
    color: #080808;
    border: 1px solid #1b1a1a;
    font-size: 1rem;
    width: 300px;
    text-align: center;
    width: 100%; 

}

form button {
    color: #fcfbfb;
    background-color: #030303;
    border: 1px solid #1b1a1a;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold; 
    width: 100%;  
    text-transform: uppercase;

    
}

form button:hover {
    color: #080808;
    background-color: #ffffff;
}

.info-text {
    margin-top:60px; 
    font-size: 0.8rem;
    font-weight: bold;
    color: #080808;
    margin-bottom: 20px; 
    text-align: center;
    
}

.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f8f8f8;
    color: #111;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.cookie-banner button {
    padding: 5px 10px;
    border: 1px solid #111;
    background-color: #f8f8f8;
    cursor: pointer;
    color: #111;
    font-weight: bold;
}

.cookie-banner button:hover {
    background-color: #111;
    color: #fff;
}


.cookie-banner p {
    margin: 0;
    padding: 0 10px;
}

.cookie-banner a {
    color: #000000;
    text-decoration: underline;
}


footer {
    width: 100%;
    background-color: #f8f8f8;
    padding: 10px 0;
    text-align: center;
    margin-top: auto;
    position: relative;
    z-index: 999;
    font-size: 0.9rem;
}

footer a {
    color: #000000;
    text-decoration: underline;
    margin-bottom: 5px;
}

footer .rights  {
    margin-top: 10px;
    font-size: 0.9rem;
}
    


footer a:hover {
    text-decoration: underline;
}

footer a:visited {
    color: #000000;
    margin-bottom: 5px;
    font-size: 0.7rem;
}

.message {
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


.unsubscribe-container {
    text-align: center;
    margin-top: 30px;
}

#unsubscribe-button {
    color: #fcfbfb;
    background-color: #030303;
    border: 1px solid #1b1a1a;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
    width: auto;
}

#unsubscribe-button:hover {
    color: #080808;
    background-color: #ffffff;
}


@keyframes fadeInWord {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-word {
    opacity: 0;
    display: inline-block;
}

.word-container {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #080808;
}

.word-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}
    

@keyframes fadeInWord {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@media screen and (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .container h1 { 
        font-size: 1.5rem;

    }

    .teaser {
        font-size: 0.8rem;
    }

    .info-text {
        margin-top: 60px; 
    }

    form input[type="email"],
    form button {
        max-width: 100%;
    }

    .cookie-banner {
        flex-direction: row; 
        font-size: 0.8rem;
    }

    .cookie-buttons {
        flex-direction: row; 
    }

    footer {
        font-size: 0.9rem;
    }

    .word-container {
        margin-top: 10px;
        font-size: 0.8rem;
    
    }
    
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 3rem;
    }

    .teaser {
        font-size: 0.7rem;
    }

    footer {
        font-size: 0.8rem;
    }
}
