html,
body {
  margin: 0;
  padding: 0;
}

#image-map {
  width: auto;
  height: 70vh;
  /*position: absolute !important;
  right: 0;
  top: 0;*/
}

.map-glemmtalerhof-container {
  display: flex;
  flex-wrap: wrap;
}

.leaflet-container {
  background: none; 
}

.leaflet-marker-icon {
  width: 32px !important;
  height: 32px !important;
}

.leaflet-container a.leaflet-popup-close-button {
  width: 32px;
  height: 32px;
  font-size: 28px;
  line-height: 28px;
}

.leaflet-map-pane svg path.house-item.active {
  opacity: 1;
}

.leaflet-popup-content-wrapper {
  padding: 0;
  box-shadow: none;
}

.leaflet-popup-content {
  background: none;
  box-shadow: none;
  width: fit-content;
  height: fit-content;
  min-width: 300px;
  min-height: 300px;
  background-color: #ea5b13;
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
}

.popup-content-text {
  color: white;
  padding: 15px;
  font-family: 'acumin-variable';
  font-variation-settings: "wght" 400, "wdth" 50, "slnt" 0;
  font-size: 20px;
}

.leaflet-popup-content p {
  margin: 0 !important;
} 
.leaflet-popup-content-wrapper img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.leaflet-popup-content {
  margin: 0;
  
}

.leaflet-container a.leaflet-popup-close-button {
  right: unset;
  left: 15px;
  top: 15px;
  background-color: #FBFF00;
  color: #EA5B13;
  border-radius: 5px;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: #EA5B13;
}


.leaflet-container:after {
  font-family: 'acumin-variable' !important;
  font-variation-settings: "wght" 400, "wdth" 50, "slnt" 0;
}

.leaflet-popup-tip-container {
  background: #EA5B13;
  display: none;
}

.map-navigation {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}  

.map-navigation li a {
  font-size: 32px;
  line-height: 1.2;
  color: #2f4b96;
  font-family: acumin-variable;
  text-transform: uppercase;
  font-variation-settings: "wght" 200, "wdth" 50, "slnt" -12;
  width: 42px;
  height: 40px;
  display: block;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 5px;
}  

.map-navigation li a:hover, .map-navigation li a.active {
  text-decoration: none;
  border: 1px solid #2f4b96;
}  

.map-container .default-image {
  display: block;
  margin: auto;
  height: 70vh;
  transition: 0.5s all ease-in-out;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
}


.map-container.map-active .default-image {
  opacity: 0;
}


.map-container.map-active #image-map {
  opacity: 1;
}

.map-reset {
  background-color: #EA5B13;
  border-radius: 5px;

  color: #FBFF00;
  display: block;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: 0.5s all ease-in-out;
}

.map-zoom-in, .map-zoom-out {
  background-color: #EA5B13;
  color: #FBFF00;
  border-radius: 5px;
  display: block;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: 0.5s all ease-in-out;
}

.map-zoom-in.not-visible, .map-zoom-out.not-visible, .map-reset.not-visible {
  opacity: 0;
}
.map-zoom-in svg, .map-zoom-out svg{
  width: 100%;
  height: 100%;
}

.image-map-town-container {
  position: relative;
  z-index: 0;
}

.town-map-zoom-control {
  position: absolute;
  z-index: 999;
  left: 10px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.town-map-zoom-control a {
  background-color: #ea5b13;
  color: #fbff00;
  border-radius: 5px;
  display: block;
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  opacity: 1;
  transition: .5s all ease-in-out;
}

@media screen and (max-width: 639px) {
  .map-navigation {
    gap: 10px;
    padding: 0 10px;
  }  
}
@media screen and (max-width: 479px) {

  .map-navigation li a {
    font-size: 24px;
    width: 32px;
    height: 32px;
  }

  .map-zoom-in, .map-zoom-out {
    width: 32px;
    min-width: 32px;
    height: 32px;
  }
}

@media screen and (max-width: 389px) {
  .map-control-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .map-navigation {
    order: -1;
    width: 100%;
    justify-content: space-between;
    padding: 0;

  }

}