/* Global reset for margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: 'Plus Jakarta Sans', Helvetica, sans-serif;
}

.coming-soon {
    text-align: center;
    width: 100%;
    padding: 20px 0;
}

.coming-soon h1 {
    font-size: 72px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    color: #000000;
}

/* Fortschrittsbalken-Stile */
.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.progress-bar {
    height: 15px;
    background-color: rgba(240, 240, 240, 1);
    border-radius: 7.5px;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
}

.progress {
    height: 100%;
    background-color: #000000;
    animation: loadingAnimation 5s ease-in-out infinite, fadeEffect 5s infinite;
}

@keyframes loadingAnimation {
    0% {
        width: 0%;
    }
    70% {
        width: 100%;
    }
    100% {
        width: 100%;
    }
}

@keyframes fadeEffect {
    0% {
        opacity: 1;
    }
    65% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Hauptinhalt der zweiten Seite Styling */
.main-content {
    width: 100%;
    padding: 20px;
    text-align: center;
    transition: transform 0.5s, opacity 0.5s; /* Transition für die Animation */
}

.main-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

/* Stile für die Suchfelder und den Button */
.main-content input[type="text"] {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 16px;
}

.main-content button {
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.main-content button:hover {
    background-color: #444;
}

/* Stile für die sanfte Überblendung */
.coming-soon, .main-content {
    transition: opacity 0.5s;
}

/* Hervorhebung für das PLZ-Feld, wenn es leer ist */
.input-error {
    border: 2px solid red;
}

/* Zebrastreifen-Stile für die Liste */
ul.zebra-list {
    border: 1px solid #ccc;  /* Grauer Rand */
    border-radius: 8px;
    overflow: hidden;
    max-width: 38%;
    margin: 20px auto;
    width: auto;
    opacity: 0; /* Initial unsichtbar */
    transform: translateY(50px); /* Initial nach unten verschoben */
    transition: transform 0.5s, opacity 0.5s; /* Transition für die Animation */
}

.zebra-list li {
    padding: 12px 16px;
    transition: background-color 0.3s;
}

.zebra-list li:hover {
    background-color: #f0f0f0;
}

.zebra-light {
    background-color: #f8f8f8;
}

.zebra-dark {
    background-color: #e8e8e8;
}

/* Animation für den oberen Bereich nach dem Suchen */
.main-content.animate-out {
    transform: translateY(-100px); /* Verschieben nach oben */
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s; /* Transition für die Animation */
}

/* Responsive Design */
@media only screen and (min-width: 1200px) {
    .coming-soon h1 {
        font-size: 80px;
    }
}

@media only screen and (max-width: 600px) {
    .coming-soon h1 {
        font-size: 50px;
    }
}

@media only screen and (max-width: 400px) {
    .coming-soon h1 {
        font-size: 40px;
    }
}

@media only screen and (max-width: 300px) {
    .coming-soon h1 {
        font-size: 30px;
    }
}

@media only screen and (max-width: 200px) {
    .coming-soon h1 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 100px) {
    .coming-soon h1 {
        font-size: 15px;
    }
}
