/* styles.css */
/* General styles */

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

body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #90bbdd;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}


.hero {
    
    padding-top: 50px;
    text-align: center;
    background-size:contain;
    background-position: top;
    color: white;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50vh;
}

header {
    background: #007bff;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.teaser {
    margin: 20px 0;
    text-align: center;
}

#rotating-questions {
    position: relative;
    min-height: 100px;
    margin: 20px 0;
}

.question {
    position: absolute;
    width: 100%;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    font-size: 1rem;
}

.question.active {
    opacity: 1;
}

.signup-form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


#signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

input[type="email"] {
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    padding: 0.8rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.static-text {
    display: inline-block;
    font-size: 1.5rem;
}

.dynamic-text {
    display: inline-block;
    font-size: 1.5rem;
    border-right: 2px solid #000;
    padding-right: 5px;
    animation: blink 0.7s step-end infinite;
    text-decoration: underline;
}

@keyframes blink {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: #000;
    }
}