body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
}

#header,
#footer {
    width: 90%;
    max-width: 800px;
    margin: 0px auto;
    background: #ffffff;
    padding: 20px;
    text-align: left;
    font-size: 0.875rem;
    color: #555;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

h1, h2, h3 {
    color: #333;
    font-weight: 600;
    margin: 0 0 1em 0;
}

p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 15px 0 0;
    color: #333;
    font-weight: 600;
    font-size: 1.125rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    margin: 5px 0 0;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input[type="file"] {
    margin-top: 10px;
    font-size: 1rem;
    box-sizing: border-box;
}

a.button{
    text-decoration: none !important;
    color: #fff !important;
}

a.button:hover{
    color: #fff !important;
}

input[type="submit"],
.submit-button,
a.button {
    background-color: #4caf50;
    color: #fff;
    padding: 18px 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 20px;
    box-sizing: border-box;
    display: block;
    width: 300px;
    text-align: center;
}

input[type="submit"]:hover, .submit-button:hover, a.button:hover {
    background-color: #45a049;
}

/* Allgemeiner Stil für das Select-Feld */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 100%;
    padding: 12px;
    color: #333;
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    border-radius: 10px;
    appearance: none; /* Entfernt das native Browser-Design */
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNSIgdmlld0JveD0iMCAwIDEwIDUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAgMGw1IDUgNS01IiBmaWxsPSIjMzMzMzMzIi8+PC9zdmc+');
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
}

/* Pfeil nach unten für das Select-Feld */
.custom-select::after {
    content: '\25BC'; /* Unicode für den Pfeil nach unten */
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #333;
}

/* Hover- und Fokus-Effekte */
input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
.custom-select:hover, .custom-select:focus {
    border-color: #4caf50;
    background-color: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
.custom-select:focus {
    outline: none;
}


.error {
    border: 2px solid red;
    box-shadow: 0 0 5px red;
}

.error-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 5px;
}

#mainForm,
#initiatives-container{
    margin-top: 40px;
}

.initiative-item {
    background-color: #f9f9f9;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.initiative-title {
    background-color: #4caf50;
    padding: 10px 20px;
    font-size: 1.125rem;
    border-radius: 4px 4px 0 0;
}

.initiative-title h3{
    color: #fff;
    margin-bottom:0;
}

.initiative-content {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 0 0 4px 4px;
    border-left: 4px solid #4caf50;
}

/* Add-Button-Stil */
.add-button {
    margin-top: 20px;
    padding: 14px 18px;
    background-color: #f1f1f1;
    border: 2px dashed #ccc;
    border-radius: 10px;
    font-size: 1.125rem;
    cursor: pointer;
    display: block;
    text-align: center;
}

.add-button:hover {
    background-color: #e1e1e1;
}


.photo-info {
    background-color: #f0f9f0; /* Leicht grüner Hintergrund */
    border: 2px solid #4caf50; /* Grüner Rand */
    padding: 20px;
    margin: 40px 0;
    border-radius: 4px;
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.hinweis{
    background-color: #f9f0f0; /* Leicht roter Hintergrund */
border: 2px solid #f44336; /* Gedämpfter roter Rand */
    padding: 20px;
margin: 40px 0;
border-radius: 4px;
color: #333;
font-size: 1.25rem;
line-height: 1.6;
}

.photo-info a {
    color: #4caf50; /* Link in der gleichen grünen Farbe */
    text-decoration: none;
    font-weight: bold;
}

.photo-info a:hover {
    text-decoration: underline;
}


@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    label {
        font-size: 1rem;
    }

    input[type="submit"],
    .submit-button {
        font-size: 1rem;
    }

    .initiative-title {
        font-size: 1rem;
    }

    .add-button {
        font-size: 1rem;
    }
}
