body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: black;
    color: white;
    font-family: 'Vinca Stencil', sans-serif;
    overflow: hidden; /* Disable scrolling */
}

@font-face {
    font-family: 'Vinca Stencil';
    src: url('fonts/vinca_stencil.ttf') format('truetype');
}

.container {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.explanation {
    margin-bottom: 10px;
    text-align: center;
    font-size: 2.5em;
    width: 80%;
    letter-spacing: 2px;
    display: none;
}

.headline {
    text-align: center;
    font-size: 2.5em;
    width: 80%;
    letter-spacing: 2px;
}

#map {
    flex: 1;
    width: 80%;
    border: 2px solid white;
    background-color: white; /* Ensure the map has a white background */
    margin-bottom: 60px;
    z-index: 0;
}

/* Footer styling */
footer {
    width: 100%;
    height: 60px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute; /* Ensure footer stays at the bottom */
    bottom: 0;
    text-decoration: none;
}

.footer-button {
    font-family: 'Vinca Stencil';
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 10px;
    padding: 5px 10px;
    font-size: 2em;
    letter-spacing: 2px;
    cursor: pointer;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 7px;
    text-decoration: none;
}

/* Modal styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
    z-index: 1001;
    background-color: lightgray;
    color: black;
    border-radius: 20px;
    text-align: center;
    font-size: 2em;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    letter-spacing: 2px;
}

/* Flexbox container for header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close {
    color: black;
    font-size: 2em;
    font-weight: bold;
    cursor: pointer;
}

.modal-content h2 {
    margin: 0;
    flex-grow: 1; /* Allow the h2 to take up remaining space */
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-image {
    width: 300px; 
    height: auto;
}

.admin-popup-image {
    width: 100px; 
    height: auto;
}

@media (max-width: 768px) {
    .popup-image {
        width: 150px;
        height: auto;
    }

    footer {
        height: 40px; /* Make footer smaller */
    }

    .footer-button {
        padding: 5px 10px; /* Adjust button padding for smaller footer */
        font-size: 0.8em; /* Adjust font size for smaller buttons */
    }
}

/* Stile für die Admin-Seite */
body.admin {
    background-color: black; /* Hintergrundfarbe für die Admin-Seite */
    color: white; /* Textfarbe für die Admin-Seite */
    font-family: 'Arial', sans-serif;
}

table {
    width: 80%; /* Table width reduced to fit within the container */
    border-collapse: collapse;
    margin: 20px 0;
    color: white;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: black;
    color: white;
}

.admin-popup-image {
    width: 100px; 
    height: auto;
}

.buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
