* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'GongGothicMedium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.0/GongGothicMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "GongGothicMedium", sans-serif;
  font-weight: normal;
  background-color: #f4f4f9;
}

.container1 {
  width: 100%;
  max-width: 740px;
  margin: 20px auto;
  margin-top: 90px;
}

.maps-logo {
  height: auto;
}

.maps {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.maps-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.maps-label {
  width: 150px;
  font-weight: bold;
}

.main {
  background-color: #0d0f1f;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 10px;
  height: 828px;
  width: 740px;
}

.main > p {
  color: #12aaf7;
  font-size: 29px;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.filter-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.filter-label {
  width: 150px;
  font-weight: bold;
}

.map-group {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  padding: 10px 20px;
  background-color: #f0f0f0;
  border-left: 5px solid #4caf50;
}

.map-buttons {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.map-button {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 6px 10px;
  margin-top: 10px;
  margin-right: 10px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  border-radius: 3px;
  font-weight: 800;
  font-family: "Pretendard-Regular";
}

.map-button:hover {
  background-color: #d6d6d6;
}

.map-button.active {
  border-radius: 3px;
  background-color: #6c757d;
  color: white;
  border: 1px solid #5a6268;
}

#image-container {
  position: absolute;
  top: 109px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  #image-container {
    left: 95%;
  }
}

.map-image {
  width: 700px;
  height: 700px;
}

.portal-image,
.warp-image,
.shop-image,
.overflows-image {
  width: 41px;
  height: 41px;
}

.datacube-image {
  width: 14px;
  height: 14px;
}
.mob-image {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background-color: #000000;
  z-index: 999;
}

.portal-image {
  position: absolute;
  display: none;
  z-index: 1;
}

.warp-image {
  position: absolute;
  display: none;
  z-index: 2;
}

.shop-image {
  position: absolute;
  display: none;
}

.overflow-image {
  position: absolute;
  display: none;
}

.datacube-image {
  position: absolute;
  display: none;
  z-index: 3;
}

.mob-container {
  position: relative;
  display: inline-block;
}

.mob-image {
  position: absolute;
  display: none;
}

.tooltip {
  background-color: rgba(0, 0, 0, 0.75);
  color: rgb(187, 186, 186);
  padding: 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 50;
  max-width: 200px;
  text-align: center;
  line-height: 1.4;
  white-space: normal;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

@media screen and (max-width: 768px) {
  .tooltip {
    width: max-content;
    box-sizing: border-box;
  }
}


.special-tooltip {
  background-color: rgba(0, 0, 0, 0.9);
  color: rgb(187, 186, 186);
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

@media screen and (max-width: 768px) {
  .special-tooltip {
    width: max-content;
    box-sizing: border-box;
  }
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-icon {
  font-family: "GongGothicMedium", sans-serif;
  position: absolute;
  top: 64px;
  left: 600px;
  z-index: 10;
  background-color: #060a15;
  color: white;
  width: 120px;
  height: 33px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: none;
  box-shadow: 0 0 1px rgba(48, 164, 199, 0.3), 0 0 2px rgba(48, 164, 199, 0.2),
    0 0 3px rgba(48, 164, 199, 0.1), 0 0 5px rgba(48, 164, 199, 0.1);
}

.dropdown-con {
  position: absolute;
  top: 64px;
  left: 20px;
  background-color: #060a15;
  color: white;
  width: 120px;
  height: 33px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: none;
  box-shadow: 0 0 1px rgba(48, 164, 199, 0.3), 0 0 2px rgba(48, 164, 199, 0.2),
    0 0 3px rgba(48, 164, 199, 0.1), 0 0 5px rgba(48, 164, 199, 0.1);
}

.dropdown-con select {
  font-family: "GongGothicMedium", sans-serif;
  width: 120px;
  height: 33px;
  font-size: 13px;
  text-align: center;
  border-radius: 7px;
  background-color: #060a15;
  color: white;
  cursor: pointer;
  border: none;
  outline: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-con::after {
  content: "▼";
  color: white;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
  pointer-events: none;
}

.dropdown-con.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-map {
  position: absolute;
  top: 64px;
  left: 150px;
  background-color: #060a15;
  color: white;
  width: 120px;
  height: 33px;
  font-size: 13px;
  cursor: pointer;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: none;
  box-shadow: 0 0 1px rgba(48, 164, 199, 0.3), 0 0 2px rgba(48, 164, 199, 0.2),
    0 0 3px rgba(48, 164, 199, 0.1), 0 0 5px rgba(48, 164, 199, 0.1);
}

.dropdown-map select {
  font-family: "GongGothicMedium", sans-serif;
  width: 120px;
  height: 33px;
  font-size: 13px;
  text-align: center;
  border-radius: 7px;
  background-color: #060a15;
  color: white;
  cursor: pointer;
  border: none;
  outline: none;
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-map::after {
  content: "▼";
  color: white;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
  pointer-events: none;
}

.dropdown-map.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-icon:hover,
.dropdown-con:hover,
.dropdown-map:hover {
  border-color: #2b9df4;
  box-shadow: 0 0 4px rgb(0, 217, 255), 0 0 4px rgba(0, 217, 255),
    0 0 4px rgba(0, 217, 255), 0 0 4px rgba(0, 217, 255);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 99px;
  left: 600px;
  background-color: #060a15;
  color: white;
  z-index: 10;
  font-size: 13px;
  width: 120px;
  padding: 5px 10px;
  border-radius: 8px;
  margin-top: 5px;
  border: none;
  box-shadow: 0 0 1px rgba(48, 164, 199, 0.3), 0 0 2px rgba(48, 164, 199, 0.2),
    0 0 3px rgba(48, 164, 199, 0.1), 0 0 5px rgba(48, 164, 199, 0.1);
}

.dropdown-content div {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.dropdown-content input[type="checkbox"] {
  margin-right: 5px;
  vertical-align: middle;
}

.dropdown-content label {
  line-height: 1.5;
  vertical-align: middle;
}

.map-dropdown select {
  font-family: "GongGothicMedium", sans-serif;
  width: 306px;
  height: 40px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  border-radius: 10px;
  appearance: none;
  background-color: #0d0f1f;
  color: white;
  cursor: pointer;
  border: none;
  outline: none;
  box-shadow: none;
}

.arrow {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.arrow.rotate {
  transform: translateY(-50%) rotate(180deg);
}

.show {
  display: block;
}
