html {
    font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, Roboto, Oxygen, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    box-sizing: border-box;
    margin: 0;
}

h1 {
    font-size: 1.5em;
    color: #253386;
}

h2 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #253386;
}

h3 {
    font-size: 1.15em;
    color: #253386;
}

h3 {
    margin-bottom: 5px;
    color: #253386;
}

.navbar {
    max-width: 640px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1.1em;
    font-weight: bold;
    z-index: 1000;
}

.navbar__brand {
    display: flex;
    align-items: center;
}

.navbar__logo {
    margin-right: 30px;
}

.navbar__navigation {
    display: flex;
    flex-direction: row;
    padding: 0;
    list-style: none;
    color: #253386;
}

.navbar__navigation-item {
    margin-left: 50px;
    padding-left: 2px;
    padding-right: 5px;
    padding-bottom: 3px;
    border-radius: 5px;
}


.navbar__link {
    text-decoration: none;
    color: inherit;
}

.main {
    max-width: 450px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-sent {
    background-color: lightgrey;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 20px;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.form__input {
    width: 100%;
}

.form__label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.adresse {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.adresse__input {
    width: 100%;
}

.adresse__label_1st {
    display: block;
    margin-bottom: 5px;
}

.adresse__label {
    display: block;
    margin-top: 10px;
    margin-bottom: 3px;
}


.form__adressarea {
    width: inherit;
    font-size: 1.2em;
    padding: 5px 10px;
    border: none;
    background-color: #f3f6f6;
    margin-bottom: 5px;
    resize: none;
}

.form__textarea {
    width: inherit;
    font-size: 1.4em;
    padding: 12px 20px;
    border: none;
    background-color: #f3f6f6;
    margin-bottom: 0px;
    resize: none;
    min-height: 100px;
}

.form__submit {
    background-color: #0f9403;
    border: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px 30px;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.form__submit:hover {
    background-color: #7bc768;
}

.form__submit_empty {
    display: block;
    width: 100%;
    background-color: red;
    border: none;
    font-size: 1em;
    font-weight: normal;
    padding: 10px 30px;
    border-radius: 5px;
    color: white;
    cursor: not-allowed;
}

.form__submit_empty:hover {
    background-color: rgb(150, 7, 7);
}

.entry {
    margin-top: 0px;
}

.entry__title {
    display: inline;
    font-size: 1.4em;
}

.entry__date {
    color: #5c6b70;
}

.entry__content {
    font-size: 1.1em;
    line-height: 150%;
}

.footer {
    background-color: #323f43;
    padding: 40px 0;
    margin: 50px 0 0 0;
    border-top: 4px solid black;
    color: white;
    font-size: 1em;
}

.footer__content {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}

.footer .left {
    flex-grow: 2;
    display: flex;
    flex-direction: column;
}

footer .right {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
}

.footer__column {
    display: flex;
    flex-direction: column;
    margin-left: 50px;
}

.footer__item {
    margin-bottom: 5px;
    color: inherit;
    text-decoration: none;
}

.footer__item:hover {
    text-decoration: underline;
}

.bildvorschau {
    display: block;
    margin-top: 20px;
    font-size: 1.0em;
    margin-bottom: 10px;
    min-height: 150px;
    border: 1px solid #253386;
    background-color: rgb(247, 243, 243);
    border-radius: 5px;
}

.bildvorschau img {
    width: 100%;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.center-text {
    width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.text-gruen {
    color: green;
    background-color: white;
}

.danke {
    font-weight: bold;
    font-size:  1.1em;
}

.datenschutz {
    background-color: #f3f6f6;
    font-size: 0.8em;
    padding-left: 10px;
    padding-right: 3px;
    padding-bottom: 3px;
    padding-top: 3px;
    border-radius: 5px;
}

.datenschutz__item {
    margin-bottom: 5px;
    color: inherit;
    text-decoration: solid;
}

.form-control {
    font-size: 1.1em;
}

.rote-schrift {
    color: red;
}

.kleine-schrift {
    font-size: 0.7em;
}

h4 {
    font-size: 1.2em;
}

.mit-border {
    border: 1px solid #e90707;
}

.bitte-ausfuellen {
    font-size: 0.6em; 
    color: #e90707;
}

.background-very-lightgrey {
    background-color: #f3f6f6
}

.rounded {
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 3px;
    padding-top: 3px;
    border-radius: 5px;
}

.form__file-input {
    display: inline-block;
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    border: 1px solid #253386;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    color: #333;
    margin: 10px 0;
}

/* Stil für den Hochladen-Button */
.form__submit-button {
    padding: 10px 20px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    border: none;
    border-radius: 5px;
    background-color: black;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 10px 0;
}

.form__submit-button:hover {
    background-color: #45a049;
}

.fehlermeldungen {
    display: block;
    width: 100%;
    color: red;
    font-size: 0.7em;
    list-style: none;
}


.zweispaltige-tabelle {
    font-size: 0.8em;
    width: 100%;
    border-collapse: collapse;
    margin: 5px 0;
  }
  
  .zweispaltige-tabelle th,
  .zweispaltige-tabelle td {
    padding: 5px;
    text-align: left;
    border: none;
  }
  
  .zweispaltige-tabelle th {
    background-color: #4CAF50;
    color: white;
  }
  
  .zweispaltige-tabelle tr:nth-child(even) {
    background-color: #f2f2f2;
  }

  .zweispaltige-tabelle-td-1 {
    width: 60%;
  }


@media only screen and (max-width: 768px) {
    .navbar__brand {
        display: block;
        align-items: center;
    }
    .navbar {
        padding: 0 5px;
    }
    .navbar__navigation-item {
        margin-left: 30px;
    }
}