﻿body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    flex-shrink: 0;
}

.map-container {
    flex-grow: 1;
    position: relative;
    width: 100%;
    height: calc(100vh - 73px); /* Hoogte van de header aftrekken */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Map Info Popup Styles */
.map-info-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
}

.map-info-content {
    max-width: 400px;
}

.map-info-content h3 {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.map-info-content p {
    margin-bottom: 15px;
    line-height: 1.4;
}

.map-info-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.map-info-content ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.map-info-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4CAF50;
}

.map-info-close {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.map-info-close:hover {
    background: #45a049;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
