* {
  font-family: 'trebuchet ms', sans-serif;
}

.head {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

h1 {
  margin: 20px;
  margin-top: 80px;
  font-size: 50px;
  text-align: center;
}

p {
  font-weight: bold;
}

.wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-left: 20px;
}

.legend {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 5px;
  align-items: center;
}

.legend-item-redspot {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border-width: 5px;

  background: white;
  color: crimson;
  border-color: crimson;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legend-item-spot {
  width: 35px;
  height: 35px;
  border-radius: 20px;
  border-width: 5px;
  margin-left: 2.5px;
  margin-right: 2.5px;

  background: white;
  color: black;
  border-color: black;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

#pdf-renderer {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #ccc;
}

.map-container button {
  touch-action: manipulation;
}

.redspot {
  position: absolute;
  top: 0;
  left: 0;

  width: 60px;
  height: 60px;
  border-radius: 30px;
  border-width: 5px;

  background: white;
  color: crimson;
  border-color: crimson;
  cursor: pointer;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redspot:hover {
  background: crimson;
  color: white;
  transform: scale(1.125);
}

.spot {
  position: absolute;
  top: 0;
  left: 0;

  width: 50px;
  height: 50px;
  border-radius: 25px;
  border-width: 5px;

  background: white;
  color: black;
  border-color: black;
  cursor: pointer;
  font-size: 25px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -1px;
}

.spot:hover {
  background: black;
  color: white;
  transform: scale(1.125);
}

#info-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  max-width: calc(100% - 40px);
  background: #fff;
  color: #111;
  padding: 12px 14px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-color: black;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  display: none;
  max-height: 85vh;
  min-height: 320px;
  overflow-y: auto;
}

#info-panel .panel-close {
  position: absolute;
  right: 8px;
  top: 6px;
  background: transparent;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

#info-panel .panel-content {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
}

#info-panel .panel-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  text-align: start;
}

#info-panel .panel-text {
  margin-bottom: 30px;
  margin-top: 20px;
  font-size: 14px;
}

.panel-content .panel-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.panel-print {
  display: block;
  width: 100%;
  padding: 10px;
  background: white;
  color: #dc143c;
  border-width: 5px;
  border-radius: 15px;
  border-color: crimson;
  font-size: 18px;
  cursor: pointer;
}

.panel-print:hover {
  background: crimson;
  color: white;
}

.panel-status {
  display: inline-block;
  padding: 4px 8px;
  background: rgb(228, 132, 7);
  color: white;
  font-size: 12px;
  font-weight: semi-bold;
  border-radius: 10px;
  margin-bottom: 6px;
}


@media (max-width: 700px) {
  .logo-img {
    width: 50%;
  }

  #info-panel {
    width: auto;
    right: 10px;
    left: 10px;
    bottom: 10px;
    padding: 10px;
    max-height: 80vh;
  }

  .map-container {
    width: 100%;
  }

  h1 {
    font-size: 32px;
    margin-top: 40px;
  }

  .redspot {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .spot {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}