body {
  font-family: 
    -apple-system, BlinkMacSystemFont, 
    "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", 
    "Helvetica Neue", sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

.map {
  position: relative;
  max-width: 1100px;
  margin: auto;
  background-color: #ccc;
}
.map img {
  display: block;
  width: 100%;
}

.map-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 99;
  width: 60%;
  padding: 2rem;
  background-color: #fff;
  transition: all 300ms ease-in;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 24px rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
}

.map-popup > *:first-child { margin-top: 0; }
.map-popup > *:last-child { margin-bottom: 0; }

.map-popup.open {
  opacity: 1;
  visibility: visible;
}

@media only screen and (min-width:48em) {
  .marker {
    position: absolute;
    z-index: 1;
    display: inline-block;
    width: 36px;
    height: 36px;
    color: #fff;
    line-height: 36px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    background-color: #ff2700;
    transition: all 300ms;
  }

  .map-item {position: absolute; width: 36px; height: 36px;}
  .map-item .marker {top: auto; left: auto;}
  
  .map-item1 {top: 40%; left: 20%;}
  .map-item2 {top: 40%; left: 59%;}
  .map-item3 {top: 65%; left: 52%;}
	.map-item4 {top: 66%; left: 57%;}
	.map-item5 {top: 68%; left: 48%;}
  .map-item6 {top: 10%; left: 79%;}
  .map-item7 {top: 50%; left: 64%;}
  .map-item8 {top: 45%; left: 71%;}
  .map-item9 {top: 31%; left: 77%;}
  .map-item10 {top: 27%; left: 63%;}
  .map-item11 {top: 26%; left: 81%;}
  .map-item12 {top: 12%; left: 70%;}
  .map-item13 {top: 42%; left: 15%;}
  .map-item14 {top: 33%; left: 32%;}
  .map-item15 {top: 22%; left: 50%;}
  .map-item16 {top: 15%; left: 42%;}

  .map-popup {
    position: absolute;
    left: 58px;
    width: 280px;
    transform: translateY(-50%);
  }
  .map-popup:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -16px;
    margin-top: -16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 16px 16px 0;
    border-color: transparent #fff transparent transparent;
  }
  .map-popup.edge {
    left: auto;
    right: calc(100% + 24px);
  }
  .map-popup.edge:before {
    left: auto;
    right: -16px;
    border-width: 16px 0 16px 16px;
    border-color: transparent transparent transparent #fff;
  }
}

/* Estilos para los marcadores en pantallas pequeñas */
@media only screen and (max-width: 47.99em) {
  .marker {
    position: absolute;
    z-index: 1;
    display: inline-block;
    width: 20px;
    height: 20px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    background-color: #ff2700;
    transition: all 300ms;
  }

  .popup-title {
    font-size: 1.5rem;
  }

  .map-item {position: absolute; width: 36px; height: 36px;}
  .map-item .marker {top: auto; left: auto;}

  .map-item1 {top: 38%; left: 20%;}
  .map-item2 {top: 38%; left: 59%;}
  .map-item3 {top: 63%; left: 52%;}
  .map-item4 {top: 64%; left: 57%;}
  .map-item5 {top: 66%; left: 48%;}
  .map-item6 {top: 8%; left: 79%;}
  .map-item7 {top: 48%; left: 64%;}
  .map-item8 {top: 43%; left: 71%;}
  .map-item9 {top: 29%; left: 77%;}
  .map-item10 {top: 25%; left: 63%;}
  .map-item11 {top: 24%; left: 81%;}
  .map-item12 {top: 11%; left: 70%;}
  .map-item13 {top: 40%; left: 15%;}
  .map-item14 {top: 31%; left: 32%;}
  .map-item15 {top: 20%; left: 50%;}
  .map-item16 {top: 13%; left: 42%;}

  .map-popup {
    position: absolute;
    left: 20px;
    width: 100px;
    transform: translateY(-50%);
  }
  .map-popup:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -16px;
    margin-top: -16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 16px 16px 16px 0;
    border-color: transparent #fff transparent transparent;
  }
  .map-popup.edge {
    left: auto;
    right: calc(100%);
  }
  .map-popup.edge:before {
    left: auto;
    right: -16px;
    border-width: 16px 0 16px 16px;
    border-color: transparent transparent transparent #fff;
  }
}