#map {
  width: 100%;
}
#map svg {
  width: 100%;
}
#map svg .country {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 0.3px;
  fill: rgba(201, 115, 115, 0.9);
  transition: fill 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#map svg .country.active {
  fill: #5B0D0D;
}
#map svg .point-group circle {
  transition: r 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#map svg .point-group circle:first-child {
  stroke: white;
  stroke-width: 1.5px;
  fill: none;
}
#map svg .point-group circle:last-child {
  fill: white;
}
#map svg .point-group.active circle:first-child {
  r: 12;
}
#map svg .point-group.active circle:last-child {
  r: 2;
}
@media (max-width: 64em) {
  #map .point-group circle:first-child {
    stroke-width: 1px;
  }
  #map .point-group.active circle:first-child {
    r: 9.6;
  }
  #map .point-group.active circle:last-child {
    r: 1.6;
  }
}

#nav-share li:hover span {
  color: #7A3737;
}

#header {
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  background: #7A3737;
  position: relative;
  touch-action: auto !important;
}
#header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 50%;
  height: 100%;
  background: linear-gradient(135.14deg, #7A3737 28.36%, rgba(122, 55, 55, 0) 48.16%);
  pointer-events: none;
}
#header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#header #map {
  width: 100%;
  max-width: calc(100vw - 406px);
  position: relative;
  right: 116px;
  z-index: 0;
  transform: translateX(1%);
}
#header-title {
  max-width: 300px;
  font-family: "Giovanni", serif;
  -webkit-font-smoothing: antialiased !important;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.25;
  color: white;
  margin: 0;
  z-index: 1;
  position: absolute;
  top: 140px;
  left: var(--container-margin);
  pointer-events: none;
}
#header-right {
  width: 290px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: #FFEBEB;
}
#header-right-toggle {
  width: 100%;
  height: 57px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  color: #800000;
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: background 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-right-toggle::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  background: rgba(122, 55, 55, 0.2);
  transform: scaleY(0.015);
  transform-origin: 100% 100%;
  will-change: transform;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-right-toggle span {
  font-weight: inherit;
}
#header-right-toggle svg {
  height: 0.8em;
  fill: currentColor;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-right-toggle:hover::before {
  opacity: 0.4;
  transform: scaleY(1);
}
#header-right.hidden #header-right-toggle svg {
  transform: rotate(180deg);
}
#header-right.hidden #header-items {
  opacity: 0;
  height: 0;
}
#header-items {
  width: 100%;
  height: calc(80vh - 57px);
  max-height: 500px;
  overflow-y: auto;
  will-change: height;
  transition: height 1s cubic-bezier(0.53, 0.15, 0, 1), opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-items::-webkit-scrollbar {
  width: 5px;
}
#header-items::-webkit-scrollbar-track {
  background: transparent;
}
#header-items::-webkit-scrollbar-thumb {
  background: rgba(188, 30, 30, 0.4);
}
#header-items::-webkit-scrollbar-thumb:hover {
  background: rgba(188, 30, 30, 0.6);
}
#header-items .item {
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
}
#header-items .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #800000;
  border-bottom-right-radius: 0px;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), border-radius 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-items .item::after {
  content: "";
  width: 48px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 48 48%27%3E%3Cpath d=%27M16.98 31.02c.2.2.51.2.7 0l12.49-12.48V24a.5.5 0 0 0 1 0v-6.67a.48.48 0 0 0-.04-.19.5.5 0 0 0-.45-.3H24a.5.5 0 0 0 0 1h5.46L16.98 30.3a.5.5 0 0 0 0 .71Z%27 fill=%27%23fff%27/%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M24 47a23 23 0 1 0 0-46 23 23 0 0 0 0 46Zm0 1a24 24 0 1 0 0-48 24 24 0 0 0 0 48Z%27 fill=%27%23fff%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  right: 30px;
  top: 23px;
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
  transition: opacity 1s cubic-bezier(0.52, 0.18, 0, 1), transform 1s cubic-bezier(0.52, 0.18, 0, 1);
}
#header-items .item h1, #header-items .item p, #header-items .item h2 {
  position: relative;
  z-index: 1;
  transition: color 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-items .item h1, #header-items .item h2 {
  color: #800000;
}
#header-items .item h1 {
  max-width: calc(100% - 60px);
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 10px;
}
#header-items .item p {
  max-width: calc(100% - 35px);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  margin: 0;
  margin-bottom: 18px;
}
#header-items .item h2 {
  max-width: 130px;
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  padding-left: 18px;
  margin: 0;
  border-left: 1px solid rgba(128, 0, 0, 0.5);
  transition: color 1s cubic-bezier(0.19, 1, 0.22, 1), border 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-items .item:hover::before {
  opacity: 1;
  border-bottom-right-radius: 100px;
}
#header-items .item:hover::after {
  opacity: 1;
  transform: rotate(0deg);
}
#header-items .item:hover h1, #header-items .item:hover p, #header-items .item:hover h2 {
  color: white;
}
#header-items .item:hover h2 {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}
#header-popup {
  width: 100%;
  height: 100%;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  color: #964D4D;
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-popup::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: rgba(122, 55, 55, 0.7);
}
#header-popup-window {
  width: 100%;
  max-width: 1050px;
  height: auto;
  max-height: calc(100vh - 100px);
  background: #FFEBEB;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}
#header-popup-window::-webkit-scrollbar {
  width: 5px;
}
#header-popup-window::-webkit-scrollbar-track {
  background: transparent;
}
#header-popup-window::-webkit-scrollbar-thumb {
  background: rgba(188, 30, 30, 0.4);
}
#header-popup-window::-webkit-scrollbar-thumb:hover {
  background: rgba(188, 30, 30, 0.6);
}
#header-popup .flex {
  display: flex;
}
#header-popup .title {
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 24px;
}
#header-popup .left {
  width: 54%;
  padding: 0 70px;
  padding-top: 120px;
  padding-bottom: 90px;
  border-right: 1px solid rgba(128, 0, 0, 0.2);
}
#header-popup .left .bottom {
  width: calc(min(100%, 1050px) * 0.54 - 70px - 10px);
  position: fixed;
  bottom: 60px;
  pointer-events: none;
}
#header-popup .left .bottom .title {
  position: relative;
  z-index: 1;
}
#header-popup .left .bottom::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -70px;
  z-index: 0;
  width: 100%;
  height: calc(100% + 200px);
  background: linear-gradient(to bottom, rgba(255, 235, 235, 0) 0%, rgb(255, 235, 235) 50%);
}
#header-popup .left .bottom .flex {
  flex-wrap: wrap;
  align-items: flex-start;
}
#header-popup .left .bottom .primary-button {
  margin-top: 16px;
  pointer-events: all;
  position: relative;
  z-index: 1;
}
#header-popup .left .bottom .primary-button:not(:last-child) {
  margin-right: 16px;
}
#header-popup .right {
  width: 46%;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#header-popup .right .top {
  width: 100%;
  height: 100%;
  padding: 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
#header-popup .right .item {
  width: 100%;
  box-sizing: border-box;
  padding: 40px;
  border-top: 1px solid rgba(128, 0, 0, 0.2);
}
#header-popup .right .item h2 {
  font-family: "Giovanni", serif;
  -webkit-font-smoothing: antialiased !important;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}
#header-popup .right .item:last-child {
  padding-bottom: 0;
}
#header-popup-content, #header-popup-close {
  transition: opacity 1s ease-in-out 0.3s;
}
#header-popup-close {
  width: 48px;
  height: 48px;
  position: absolute;
  left: 32px;
  top: 32px;
  z-index: 9;
  cursor: pointer;
}
#header-popup-close svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-popup-close:hover svg {
  opacity: 0.6;
  transform: scale(1.1);
}
#header-popup-title {
  font-family: "Giovanni", serif;
  -webkit-font-smoothing: antialiased !important;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.25;
  margin: 0;
  margin-bottom: 20px;
  padding-bottom: 250px;
}
#header-popup-map {
  width: 100%;
}
#header-popup-map svg {
  fill: currentColor;
}
#header-popup:not(.open) {
  opacity: 0;
}
#header-popup:not(.open), #header-popup:not(.open) * {
  pointer-events: none !important;
}
#header-popup:not(.open) #header-popup-close, #header-popup:not(.open) #header-popup-content {
  opacity: 0;
  transition-delay: 0s;
}
#header-tooltip {
  padding: 32px;
  box-sizing: border-box;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  max-width: 440px;
  background: #FFEBEB;
  color: #964D4D;
  display: flex;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}
#header-tooltip .left {
  width: calc(100% - 170px);
  padding-right: 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#header-tooltip .right {
  width: 170px;
  display: flex;
  align-items: center;
}
#header-tooltip h1 {
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}
#header-tooltip p {
  margin-top: 8px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
#header-tooltip .button {
  position: relative;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 32px;
  display: inline-flex;
  margin-right: auto;
}
#header-tooltip .button::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: -2px;
  left: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0% 0%;
  transition: transform 1s cubic-bezier(0.49, 0.23, 0, 1);
}
#header-tooltip .button:hover::after {
  transform: scaleX(1);
}
#header-tooltip .button::after {
  bottom: -5px;
  transform: scaleX(1);
}
#header-tooltip .button span {
  font-weight: inherit;
}
#header-tooltip .button svg {
  width: 1em;
  fill: currentColor;
  margin-left: 32px;
}
#header-tooltip .button:hover::after {
  transform: scaleX(0);
}
#header-tooltip-map {
  width: 100%;
}
#header-tooltip:not(.show) {
  opacity: 0;
  pointer-events: none;
}
#header-drag-icon {
  width: 25px;
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  display: none;
  pointer-events: none;
  fill: currentColor;
  color: white;
  z-index: 0;
}
html[data-touch=true] #header-right-toggle::before {
  transform: scaleY(0.015) !important;
}
@media (max-width: 64em) {
  #header {
    will-change: auto;
  }
  #header #map {
    max-width: 100%;
    right: auto;
    transform: translateX(-2.5%);
  }
  #header-popup {
    position: fixed;
    z-index: 9999;
  }
  #header-popup-window {
    max-height: calc(var(--vh, 1vh) * 95);
  }
}
@media (max-width: 768px) {
  #header::before {
    width: 100%;
  }
  #header #map {
    width: calc(var(--vh, 1vh) * 180);
    max-width: none;
    transform: none;
    position: absolute;
    left: 0;
  }
  #header-title {
    font-size: 40px;
    line-height: 1.2;
    top: 120px;
  }
  #header-drag-icon {
    display: block;
  }
  #header-items {
    width: 100%;
    height: calc(var(--vh, 1vh) * 100 - 370px);
    max-height: 500px;
  }
  #header-popup-title {
    font-size: 32px;
  }
  #header-popup .left {
    padding-left: 32px;
    padding-right: 32px;
  }
  #header-popup .left .bottom {
    width: calc(min(100%, 1050px) * 0.54 - 32px - 10px);
    bottom: 40px;
  }
  #header-popup .left .bottom::before {
    left: -32px;
    height: calc(100% + 160px);
  }
  #header-popup .right .top {
    padding: 32px;
  }
  #header-popup .right .item {
    padding: 32px;
  }
}
@media (max-width: 580px) {
  #header-items .item::after {
    content: none;
  }
  #header-items .item h1, #header-items .item p {
    max-width: 100%;
  }
  #header-items .item h2 {
    max-width: 150px;
  }
  #header-popup-close {
    left: 20px;
    top: 20px;
  }
  #header-popup-content {
    flex-direction: column-reverse;
  }
  #header-popup-title {
    margin-bottom: 32px;
    padding-bottom: 0;
  }
  #header-popup .left {
    width: 100%;
    padding: 20px;
    border-right: none;
  }
  #header-popup .left .bottom {
    width: auto;
    position: static;
    margin-top: 20px;
  }
  #header-popup .left .bottom::before {
    content: none;
  }
  #header-popup .left .bottom .title {
    margin-bottom: 0;
  }
  #header-popup .right {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(128, 0, 0, 0.2);
  }
  #header-popup .right .top {
    padding: 20px;
  }
  #header-popup .right .item {
    padding: 20px;
  }
  #header-popup .right .item .title {
    margin-bottom: 12px;
  }
}
