body {
  margin: 0;
  padding: 0;
  font-family: "Calibri", "Calibri Sans", sans-serif;
}
#map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.basemap-switcher {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: white;
  padding: 5px;
  z-index: 1000;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.basemap-switcher div {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  background-color: #f0f0f0;
}
.basemap-switcher div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.basemap-switcher div:hover {
  transform: scale(1.05);
}
.basemap-switcher div .icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 50px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
}
.ol-popup {
  position: absolute;
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50%; /* Adjust to center the popup */
  min-width: 280px;
  font-size: 20px;
  font-family: "Calibri", "Calibri Sans", sans-serif;
  transform: translateX(-50%); /* Center horizontally */
}
.ol-popup:after,
.ol-popup:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.ol-popup:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: white;
  border-width: 10px;
  margin-left: -10px;
}
.ol-popup:before {
  border-color: rgba(0, 0, 0, 0);
  border-top-color: rgba(0, 0, 0, 0.2);
  border-width: 11px;
  margin-left: -11px;
}
.bold {
  font-weight: bold;
}
.popup-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}
.popup-navigation button {
  background-color: #4CAF50;
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

/* Styles for the index page */
.index-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f8ff; /* Light blue background */
}

.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* Space between buttons */
  width: 100%; /* Full width of the container */
  max-width: 400px; /* Maximum width for larger screens */
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Full width of the container */
  height: 80px; /* Fixed height */
  padding: 0 20px; /* Horizontal padding */
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #4a90e2; /* Blue color */
  border: none;
  border-radius: 50px; /* Rounded corners */
  box-shadow: 0 9px 20px rgba(74, 144, 226, 0.3);
  transition: all 0.3s ease;
  box-sizing: border-box; /* Include padding in width calculation */
}

.button:hover {
  background-color: #357abd; /* Darker blue on hover */
  box-shadow: 0 6px 15px rgba(74, 144, 226, 0.4);
  transform: translateY(-2px);
}

.button:active {
  background-color: #2a5f9e;
  box-shadow: 0 3px 10px rgba(74, 144, 226, 0.4);
  transform: translateY(1px);
}

.home-button {
  top: 1.7em;
  right: .5em;
  width: 1.1em;
  height: 1.1em;
  background-color: rgba(255,255,255,0.8);
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
  font-size: 1.6em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-button:hover {
  background-color: rgba(255,255,255,1);
}

.unken-counter {
  bottom: 1em;
  right: .5em;
  background-color: rgba(255,255,255,0.8);
  border-radius: 4px;
  padding: 10px;
  font-weight: bold;
  font-size: 1.2em;
}