/* Styles for the main page */
body {
    font-family: Arial;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65) ), url("Klax.jpg");
    background-color: #2B2B2B;
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

}

.card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.logo-profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 250px;
    margin-bottom: 15px;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    object-fit: cover;
    margin-bottom: 15px;
}

.card h2, .card p {
    color: #000;
    margin: 10px 0;
}

.social-media a {
    color: #000;
    margin: 0 10px;
}


/* Statusbar Styling */
.statusbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	background-color: #4CAF50; /* Grün als Indikator für Erfolg */
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    z-index: 9999; /* Überlagert andere Elemente */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.statusbar_failed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
	background-color: #FF0000; /* Grün als Indikator für Erfolg */
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    z-index: 9999; /* Überlagert andere Elemente */
    opacity: 0;
    transition: opacity 0.5s ease;
}

.statusbar.show, statusbar_failed.show {
    opacity: 1;
}

.statusbar.hidden, statusbar_failed.hidden {
    display: none;
}



button {
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #444;
}

/* Styling the popover */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

.popover {
    background: #1c1c1c;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    z-index: 10;
}


.popover h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
}

.popover input,
.popover textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #fff;
    padding: 10px 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 16px;
    box-shadow: none;
    outline: none;
}

.popover input:focus,
.popover textarea:focus {
    outline: none;
    border-bottom: 2px solid #ffffff;
}

.popover label {
    display: none;
}

.popover button {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}

.popover button:hover {
    background-color: #555;
}


.close-button,
#close-popover,
#close-popover2 {
    position: absolute;
    top: 0px;
    right: 10px;
    width: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

#close-popover:hover,
#close-popover2:hover {
    color: #bbb;
}


#more-info {
    display: none;
}

#more-info-toggle {
	cursor: pointer;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

/* New styles for the row layout in the popover */
.row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.row input {
    width: calc(50% - 10px); /* Two inputs per row */
}
/* PLZ-Feld (1/3 der Breite) */
#postalcode {
    flex: 1; /* Ein Teil */
}

/* Stadt-Feld (2/3 der Breite) */
#city {
    flex: 2; /* Zwei Teile */
}
