html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
}

#map {
  width: 100%;
  height: 100%;
  z-index: 5;
}

.marker-shape {
  width: 2rem;
  height: 2rem;
  display: block;
  left: -1rem;
  top: -1rem;
  position: relative;
}

.marker-shape:after {
  content: '';
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-radius: 2rem 2rem 0;
  border: 1px solid #FFFFFF;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: var(--my-color-var);
  z-index: -1;
}

.marker-text {
  position: absolute;
  font-size: 1.3rem;
  text-align: center;
  width: 100%;
}

.legend-container {
  z-index: 7;
  position: fixed;
  bottom: 50px;
  left: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 5px;
}

.legend {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.legend-color {
  margin-right: 5px;
  width: 3rem;
  opacity: 0.8;
}

.to-home-button {
  z-index: 7;
  position: fixed;
  bottom: 120px;
  left: 5px;
  padding: 5px;
  margin-bottom: 2rem;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
}

.home-marker-shape {
  width: 3rem;
  height: 3rem;
  display: block;
  left: -1.5rem;
  top: -1rem;
  position: relative;
  background-image: url('data:image/svg+xml,\
    <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" class="bi bi-house-door-fill" viewBox="0 0 16 16">\
    <path d="M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5"/>\
  </svg>');

}