/* Main styles for the Sozialindex NRW website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

#map {
    flex: 1;
    background-color: #bdc3c7;
}

.info-panel {
    position: absolute;
    top: 100px;
    right: 20px;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 1000;
}

.info-panel.hidden {
    display: none;
}

.info-panel h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.school-detail {
    margin-bottom: 0.5rem;
}

.school-detail strong {
    display: inline-block;
    width: 120px;
}

footer {
    background-color: #34495e;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

.school-marker {
    border-radius: 50%;
    border: 1px solid #000;
}

.school-popup h3 {
    margin-top: 0;
    color: #2c3e50;
}

.school-popup p {
    margin: 5px 0;
}

.legend {
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.legend h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.legend-color {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 1px solid #000;
    border-radius: 50%;
}
