.map {
  position: relative;
  padding-top: calc(var(--sp) * 2);
  overflow: hidden;
}

.map__container {
  position: relative;
  z-index: 2;
}

.map__title {
  max-width: none;
  text-align: center;
}

.map__nav {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 55px;
  margin: 95px 0 73px;
}

.map__nav li {
  font: 500 44px/112% var(--heading-font-family);
  text-transform: capitalize;
  color: rgba(186, 186, 188, 0.15);
  transition: var(--transition);
  cursor: pointer;
}

.map__nav li:hover {
  color: var(--white);
}

.map__nav li._active {
  color: var(--light);
}

.map__image {
  position: relative;
  left: 50%;
  width: 1992px;
  transform: translateX(-50%);
  z-index: 2;
  transition: var(--transition);
}

.map__image::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 44.2528735632%;
  background: linear-gradient(0deg, #0E0E0E 0%, rgba(14, 14, 14, 0) 100%);
  z-index: 4;
}

.map__image svg {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
}

.map__pitchili {
  width: 1900px;
}

.map__pitchili-1 {
  top: -54%;
  left: 19%;
  transform: rotate(34deg) scale(-1, 1) translate3d(0, 0, 0);
}

.map__pitchili-2 {
  top: -62%;
  left: -20%;
  transform: rotate(328deg) scale(-1, 1) translate3d(0, 0, 0);
}

.map__countries ul {
  pointer-events: none;
  opacity: 0;
}

.map__countries ul._shown {
  opacity: 1;
}

.map__countries li {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -140%);
  line-height: 155%;
  font-size: 24px;
  color: transparent;
  transition: var(--transition);
}

.map__countries li::after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4C121C;
  transition: var(--transition);
}

.map__countries li._animated {
  color: #B7B7B7;
}

.map__countries li._animated::after {
  background: #E80128;
}

@media (max-width: 1500px) {
  .map__image {
    width: 1400px;
  }
}

@media (max-width: 1260px) {
  .map {
    padding-top: var(--sp) 0;
  }

  .map__nav {
    margin: 40px 0 25px;
  }

  .map__nav li {
    font-size: 20px;
  }

  .map__image {
    width: 1084px;
  }

  .map__pitchili {
    width: 900px;
  }

  .map__countries li {
    font-size: 16px;
  }

  .map__countries li::after {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 760px) {
  .map__nav {
    gap: 24px 40px;
  }
}