.footer-nav {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-nav li {
    display: inline;
}

.footer-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 20px; /* Adjusted padding for better alignment */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Added to distribute space between items */
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    max-width: 50px;
    height: auto;
    margin-right: 10px;
}

header nav {
    display: flex;
    align-items: center;
}

header nav ul {
    padding: 0;
    list-style: none;
    display: flex;
    margin: 0;
}

header nav ul li {
    margin-left: 20px; /* Adjust margin */
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px; /* Increased font size */
}

header nav ul li a:hover {
    text-decoration: underline;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0; /* Increased padding for better touch targets */
    width: 100%;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.input-group-text {
    display: inline-block;
    padding: 10px;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .input-group-text {
        width: 100%;
        text-align: center;
    }

    .form-group input,
    .form-group button {
        width: 100%;
        margin: 5px 0;
    }
}

.small-text {
    font-size: 0.75rem; /* Kleinere Schriftgröße */
}

.btn-primary, .btn-secondary {
    background-color: #27b3c6; /* Neue Farbe für die Buttons */
    border-color: #27b3c6; /* Rahmenfarbe für die Buttons */
    color: white; /* Textfarbe für die Buttons */
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: #1f8a94; /* Dunklere Farbe für die Buttons bei Hover */
    border-color: #1f8a94; /* Rahmenfarbe für die Buttons bei Hover */
    color: white; /* Textfarbe für die Buttons bei Hover */
}

.error {
    color: red;
    font-size: 0.875rem; /* Schriftgröße angepasst */
    margin-top: 10px;
}

/* Styles for the cookie overlay */
#cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#cookie-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    text-align: left;
    max-height: 80%;
    overflow-y: auto;
}

#cookie-minimized {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    z-index: 1001;
}

#cookie-minimized:hover {
    background: #555;
}

.cookie-options {
    list-style-type: none;
    padding: 0;
}

.cookie-options li {
    margin-bottom: 10px;
}

/* Styles for the email details overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#overlay-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 600px;
    width: 90%;
    text-align: left;
    max-height: 80%;
    overflow-y: auto;
}

#overlay-close {
    margin-top: 20px;
}

.email-display {
    max-height: 400px;
    overflow-y: auto;
}

.email-display table {
    width: 100%;
    border-collapse: collapse;
}

.email-display th, .email-display td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.email-display th {
    background: #333;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .input-group-text {
        width: 100%;
        text-align: center;
    }

    .form-group input,
    .form-group button {
        width: 100%;
        margin: 5px 0;
    }
}
