/* colors */
.bg-purple {
  background-color: rgb(120 0 245);
}

.mytooltip {
  display: inline;
  position: absolute;
  /* z-index: 99; */
}

.mytooltip .tooltip-item {
  background: rgb(0 77 245);
  cursor: pointer;
  display: inline-block;
  font-weight: 500;
  padding: 5px;
  border-radius: 50%;
}

.mytooltip .tooltip-content {
  position: absolute;
  z-index: 9999;
  width: 360px;
  left: 50%;
  margin: 0 0 20px -180px;
  bottom: 100%;
  text-align: left;
  font-size: 14px;
  line-height: 30px;
  box-shadow: -5px -5px 15px rgba(48, 54, 61, 0.2);
  background: #2b2b2b;
  opacity: 0;
  cursor: default;
  pointer-events: none;
}

.mytooltip .tooltip-content::after {
  content: '';
  top: 100%;
  left: 50%;
  border: solid transparent;
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: #2a3035 transparent transparent;
  border-width: 10px;
  margin-left: -10px;
}

.mytooltip .tooltip-content img {
  position: relative;
  height: 202px;
  width: 150px;
  display: block;
  float: left;
  margin-right: 1em;
}

.mytooltip .tooltip-item::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 20px;
  bottom: 100%;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.mytooltip:hover .tooltip-item::after {
  pointer-events: auto;
}

.mytooltip:hover .tooltip-content {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0deg);
}

.mytooltip .tooltip-text {
  /* font-size: 14px; */
  line-height: 29px;
  display: block;
  padding: 1.31em 1.21em 1.21em 0;
  color: #fff;
}

.tooltip-7 {
  margin: 0 0 20px -180px;
}

/* Responsive adjustments */
@media (max-width: 599px) {
  .mytooltip .tooltip-content {
    width: 41vw;
    margin: 0 0 0px -326%;
    /* Adjust as needed */
  }

  .tooltip-7 {
    margin: 0 0 0px -903% !important;
  }

  .mytooltip .tooltip-content img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 1em;
  }

  .mytooltip .tooltip-content::after {
    border-color: transparent;
  }

  .mytooltip .tooltip-text {
    font-size: 12px;
  }

  /* points in responsive postions */
  .tooltip-effect-0 {
    top: 45% !important;
    left: 64% !important;
  }

  .tooltip-effect-1 {
    top: 48% !important;
    left: 67% !important;
  }

  .tooltip-effect-2 {
    top: 28% !important;
    left: 15% !important;
  }

  .tooltip-effect-3 {
    top: 88% !important;
    left: 32% !important;
  }

  .tooltip-effect-4 {
    top: 44% !important;
    left: 3% !important;
  }

  .tooltip-effect-5 {
    top: 71% !important;
    left: 34% !important;
  }

  .tooltip-effect-6 {
    top: 48% !important;
    left: 46% !important;
  }

  .tooltip-effect-7 {
    right: 14% !important;
    top: 35% !important;
  }
}

/* If the screen size is 1200px wide or more, set the font-size to 80px */
@media (min-width: 1200px) {
  .mytooltip .tooltip-text {
    font-size: 12px;
  }
}

@media screen and (min-width: 600px) and (max-width: 900px) {
  /* Your styles for middle screen size */

}


/* If the screen size is smaller than 1200px, set the font-size to 80px */
@media screen and (min-width: 600px) and (max-width: 1000.98px) {
  .mytooltip .tooltip-text {
    font-size: 14px;
  }

  /* points in responsive postions */
  .tooltip-effect-0 {
    top: 46% !important;
    left: 62% !important;
  }

  .tooltip-effect-1 {
    top: 48% !important;
    left: 67% !important;
  }

  .tooltip-effect-2 {
    top: 30% !important;
    left: 20% !important;
  }

  .tooltip-effect-3 {
    top: 91% !important;
    left: 32% !important;
  }

  .tooltip-effect-4 {
    top: 46% !important;
    left: 10% !important;
  }

  .tooltip-effect-5 {
    top: 67% !important;
    left: 45% !important;
  }

  .tooltip-effect-6 {
    top: 50% !important;
    left: 47% !important;
  }

  .tooltip-effect-7 {
    right: 14% !important;
    top: 36% !important;
  }
}

/* anmaction for blinking point */
.tooltip-item {
  animation: blink 2s linear infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* positions of map points */
.tooltip-effect-0 {
  top: 47%;
  left: 59%;
}

.tooltip-effect-1 {
  top: 51%;
  left: 60%;
}

.tooltip-effect-2 {
  top: 30%;
  left: 30%;
}

.tooltip-effect-3 {
  top: 90%;
  left: 40%;
}

.tooltip-effect-4 {
  top: 46%;
  left: 24%;
}

.tooltip-effect-5 {
  top: 66%;
  left: 49%;
}

.tooltip-effect-6 {
  top: 50%;
  left: 50%;
}

.tooltip-effect-7 {
  right: 30%;
  top: 37%;
}