h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* Styling for textarea */
#queryText {
    width: 100%; /* Fill the width of its container */
    box-sizing: border-box; /* To include padding and border in the element's total width and height */
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical; /* Allows user to resize the textarea vertically */
    overflow-y: hidden;
/ / Hide vertical scrollbar resize: none;
/ / Disable manual resizing by the user padding-right: 30 px; /* Making room for the SVG icon on the right */
    font-size: 1rem;
    line-height: 1.5rem;
    padding: .5rem .75rem;
    vertical-align: middle;
}

/*button {*/
/*    display: block;*/
/*    margin-top: 10px;*/
/*}*/

.user-query {
    background-color: #e0e0e0;
    padding: 5px;
    border-radius: 5px;
}

a {
    background-color: #f9f9f9;
    text-decoration: none;
    /*color: darkslategrey;*/
    transition: color 0.3s ease;
}
a:hover {
    background-color: #e0e0e0;
}
a:active {
    background-color: #d1d1d1;
}
/*.email {*/
/*    background-color: #f9f9f9;*/
/*    text-decoration: none;*/
/*    color: darkslategrey;*/
/*    transition: color 0.3s ease;*/
/*}*/
/*.email:hover {*/
/*    background-color: #f9f9f9;*/
/*}*/
/*.email:active {*/
/*    background-color: #d1d1d1;*/
/*}*/

#spinner {
    display: none;
    width: 50px;
    height: 50px;
    border: 5px solid gray;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*.textarea-wrapper {*/
/*    position: relative;*/
/*}*/

#arrowIcon {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 20px; /* Adjust based on the size you want for the SVG */
    height: 20px; /* Adjust based on the size you want for the SVG */
    cursor: pointer; /* Changes the cursor to a hand when hovering over the SVG */
    transform: translateY(-50%); /* Centers the SVG vertically */
}

/*.right-align {*/
/*    text-align: right; !* Right-aligns text *!*/
/*    width: 100%; !* Full width of the parent *!*/
/*    font-size: x-small;*/
/*}*/

/*address {*/
/*    text-align: center;*/
/*    font-size: x-small;*/
/*}*/

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #203c90;
    background-color: #fff;
    overflow-x: hidden; /* Verhindert nur das horizontale Scrollen */
}

.container {
    position: relative;
    z-index: 5;
    background-color: #fff;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
}

/* Akkordeon-Stil */
.accordion {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion:hover {
    background-color: #e0e0e0;
}

.accordion.active {
    background-color: #d1d1d1;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 15px;
}

.accordion.active .accordion-content {
    max-height: 10000px;
}

.accordion-content p {
    margin: 10px 0;
}

.accordion-icon {
    float: right;
    transition: transform 0.3s ease;
}

.accordion.active .accordion-icon {
    transform: rotate(45deg);
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

nav {
    text-align: center;
    padding: 10px 0;
    background-color: #f9f9f9;
}

nav a {
    margin: 0 15px;
    color: #203c90;
    text-decoration: none;
}

.textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

textarea {
    width: 100%;
    height: 120px;
    color: #203c90;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    font-size: 1.1rem;
    box-sizing: border-box;
}

.textarea-wrapper img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-left: 10px;
}

.right-align {
    text-align: right;
    color: #203c90;
    font-size: 0.9rem;
    margin-top: 10px;
}

button {
    display: block;
    margin: 20px 0;
    padding: 15px 30px;
    background-color: #203c90;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
}

address {
    text-align: center;
    color: #203c90;
    font-size: 0.9rem;
}

/* Animation für Städte */
.animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
}

.city-name {
    position: absolute;
    opacity: 0;
    color: #203c90;
    white-space: nowrap;
    animation: moveText 30s linear infinite, fadeIn 0.2s ease-in forwards; /* Kürzere Startphase */
}

@keyframes moveText {
    0% {
        transform: translateY(-200%);
    }
    90% {
        transform: translateY(150%);
    }
    100% {
        transform: translateY(200%);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.2;
    }
}

/* Städte und Animationen */
.city-name-1 {
    left: 5%;
    font-size: 1.5vw;
    animation-duration: 16s;
    animation-delay: 0.5s;
}

.city-name-2 {
    left: 20%;
    font-size: 1.9vw;
    animation-duration: 20s;
    animation-delay: 2s;
}

.city-name-3 {
    left: 35%;
    font-size: 1.7vw;
    animation-duration: 18s;
    animation-delay: 3.5s;
}

.city-name-4 {
    left: 60%;
    font-size: 1.5vw;
    animation-duration: 14s;
    animation-delay: 5s;
}

.city-name-5 {
    left: 80%;
    font-size: 1.8vw;
    animation-duration: 22s;
    animation-delay: 6.5s;
}

.city-name-6 {
    left: 10%;
    font-size: 1.6vw;
    animation-duration: 19s;
    animation-delay: 8s;
}

/* Neue Städte */
.city-name-7 {
    left: 15%;
    font-size: 1.7vw;
    animation-duration: 18s;
    animation-delay: 10s;
}

.city-name-8 {
    left: 30%;
    font-size: 1.8vw;
    animation-duration: 20s;
    animation-delay: 12s;
}

.city-name-9 {
    left: 50%;
    font-size: 1.6vw;
    animation-duration: 22s;
    animation-delay: 14s;
}

.city-name-10 {
    left: 70%;
    font-size: 1.7vw;
    animation-duration: 24s;
    animation-delay: 16s;
}

.city-name-11 {
    left: 85%;
    font-size: 1.5vw;
    animation-duration: 26s;
    animation-delay: 18s;
}
