body {
  margin: 0; /* Aby nie było białej ramki (marginesu) wokół zawartości strony. */
  font-family: calibri, sans-serif;
}

button {
  cursor: pointer; /* Dłoń z wyciągniętym palcem wskazującym. */
}

#kontener-mapy {
  height: 100vh; /* Kontener mapy OpenLayers MUSI mieć zadeklarowaną wysokość. */
}

#komunikat {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid; /* Musi być! */
  border-width: 1px;
  background-color: yellow;
  padding: 5px;
  font-size: 25px;
  font-weight: bold;
}

@keyframes splywaj {
    0% {opacity: 1}
   75% {transform: scale(0.5); opacity: 0.5}
  100% {transform: scale(0); opacity: 0}
}
.ukryty {
  animation: splywaj 5s forwards; /* 'forwards' keeps the final state. */
}

#menu {
  position: absolute;
  left: 10px;
  top: 10px;
  min-width: 120px; /* Min – aby menu się rozszerzyło, gdy nazwa pliku będzie długa. */
  height: 200px;
  border-style: solid; /* Musi być! */
  border-width: 1px;
  background-color: rgba(255, 0, 0, 0.75);
  padding: 5px;
  text-align: center;
}

#tytul {
  font-weight: bold;
  margin-bottom: 5px;
}

#info-box {
            position: absolute;
            top: 255px;
            left: 15px;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            padding: 12px 18px;
            border-radius: 6px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 14px;
            color: #333;
            max-width: 300px;
            line-height: 1.4;
            pointer-events: none; /* Kliknięcia przechodzą przez okienko na mapę */
        }

        .bold {
            font-weight: bold;
        }

#dymek {
  color: white;
  background: rgba(0,0,0,0.5);
  padding: 0px 10px;
  text-align: center;
}

.ol-zoom { 
  right: .5em; /* Przenosi kontrolkę z lewej strony mapy na prawą. */
  left: auto !important; /* !importan konieczne, aby było pierwszeńsatwo przed deklaracją z ol.css. */
}

.ol-rotate {
  top: 3.5em !important; /* Przesuwa kontrolkę ROTATE pod ZOOM. */
}

.ol-zoom-in, .ol-zoom-out, .ol-rotate button { 
  cursor: pointer;
}
