@font-face {
  font-family: "GeneralSans-Variable";
  src: url("../fonts/GeneralSans-Variable.woff2") format("woff2"),
    url("../fonts/GeneralSans-Variable.woff") format("woff"),
    url("../fonts/GeneralSans-Variable.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "GeneralSans-VariableItalic";
  src: url("../fonts/GeneralSans-VariableItalic.woff2") format("woff2"),
    url("../fonts/GeneralSans-VariableItalic.woff") format("woff"),
    url("../fonts/GeneralSans-VariableItalic.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
  font-style: italic;
}

*,
html,
body {
  margin: 0px;
  padding: 0px;
  font-family: "GeneralSans-Variable";
}
h1 {
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}
.italic {
  font-family: "GeneralSans-VariableItalic";
  font-weight: 700;
}
.regular {
  font-weight: 550;
}
.wrapPage {
  background-color: #fcfcfa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 128px;
  padding: 128px 128px 0px 128px;
}
.heroHome {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}
.wrapTextHero {
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  grid-column: span 8;
  gap: 32px;
}
.wrapImgHero {
  grid-column: span 4;
}
.imgHero {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.headHeroHome,
.subHeadHeroHome {
  color: #182027;
}
.headHeroHome {
  font-size: 6rem;
  font-weight: 500;
}
.subHeadHeroHome {
  font-size: 3rem;
  font-weight: 500;
}
.mapWrap {
  height: 100vh;
  width: 100%;
  padding: 0px 128px;
}
#map {
  height: 100%;
  border-radius: 20px;
}
.leaflet-popup-content-wrapper {
  border-radius: 0px;
  padding: 16px;
  border-radius: 12px;
}
.leaflet-popup-content {
  margin: 0px;
  line-height: normal;
}
.leaflet-popup-close-button {
  background-color: #0064f7 !important;
  right: -12px !important;
  top: -12px !important;
  width: 24px !important;
  height: 24px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}
.leaflet-popup-close-button:hover {
  background-color: red !important;
}
.leaflet-popup-close-button span {
  color: #fcfcfa;
  font-size: 1.25rem;
  font-weight: 500;
}
.popupPerson {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.popupHeader,
.popupLinks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.popupLinks {
  gap: 4px;
}
.nomePersona,
.nomeCitta {
  font-size: 1rem;
  font-weight: 600;
  font-family: "GeneralSans-Variable";
}
.leaflet-container a {
  color: #182027;
  font-size: 1rem;
  font-weight: 500;
  font-family: "GeneralSans-Variable";
}
.leaflet-container a:hover {
  color: #0064f7;
}
.imgPersona {
  width: 128px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
}
.linkPersona {
  width: fit-content;
}
.nomeCitta {
  font-size: 1rem;
  font-weight: 500;
  color: grey;
  font-family: "GeneralSans-Variable";
}
