@import url("https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");
header {
  display: grid;
  grid-template-areas: "menu logo home-icon";
  grid-template-columns: 25% 50% 25%;
  place-items: center;
  height: 15svh;
  background-image: url("/img/header_bg.png");
  background-size: cover;
  position: relative;
}
.no-bg header {
  background: transparent;
}
header > * {
  display: flex;
  align-items: center;
  justify-content: center;
}
header .app-title {
  grid-area: logo;
  height: 70%;
  margin: 0;
  color: white;
  text-align: center;
}
header .app-title img {
  height: 100%;
}
header .menu-wrapper {
  grid-area: menu;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 50%;
  outline: 2px solid white;
  background-clip: padding-box;
  aspect-ratio: 1;
}
.no-menu header .menu-wrapper {
  display: none;
}
header .menu-wrapper .menu-btn {
  position: relative;
  width: 40px;
  height: 40px;
}
header .menu-wrapper .menu-btn svg {
  width: 100%;
}
header .menu-wrapper .menu-elems {
  z-index: 11000;
  position: absolute;
  top: 15svh;
  left: -100%;
  min-width: 40vw;
  max-width: 60vw;
  height: calc(100dvh - 15svh);
  margin: 0;
  padding: 15px;
  background-color: rgba(147, 149, 152, 0.8);
  transition: left 0.75s;
  list-style: none;
}
header .menu-wrapper .menu-elems.active {
  left: 0;
}
header .menu-wrapper .menu-elems .menu-elem a {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 40px auto;
  margin-bottom: 15px;
  list-style: none;
  gap: 15px;
}
header .menu-wrapper .menu-elems .menu-elem a .dot {
  display: inline-block;
  width: 35px;
  border: 5px solid rgba(0, 0, 0, 0);
  border-radius: 50%;
  outline: 1px solid white;
  background-clip: padding-box;
  aspect-ratio: 1;
}
header .menu-wrapper .menu-elems .menu-elem a .dot.dot1 {
  background-color: #d63e2a;
}
header .menu-wrapper .menu-elems .menu-elem a .dot.dot2 {
  background-color: #f69730;
}
header .menu-wrapper .menu-elems .menu-elem a .dot.dot3 {
  background-color: #72b026;
}
header .menu-wrapper .menu-elems .menu-elem a .dot.dot4 {
  background-color: #38aadd;
}
header .menu-wrapper .menu-elems .menu-elem a .dot.dot5 {
  background-color: #d252b9;
}
header .menu-wrapper .menu-elems .menu-elem a .dot.dot6 {
  background-color: #9f9f9f;
}
header .menu-wrapper .menu-elems .menu-elem a .dot.dot7 {
  background-color: #ff8e7f;
}
header .menu-wrapper .menu-elems .menu-elem a .text {
  color: white;
  font-size: 1.125rem;
  text-decoration: underline;
  text-transform: uppercase;
}
header .home-btn {
  grid-area: home-icon;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 50%;
  outline: 2px solid white;
  background-clip: padding-box;
  aspect-ratio: 1;
}
header .home-btn a {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
header .home-btn a img {
  width: 75%;
}

@media screen and (min-width: 1600px) {
  body {
    background-color: rgba(147, 149, 152, 0.8);
  }
  body .menu-wrapper .menu-elems {
    background: transparent;
    position: fixed;
    min-width: calc((100vw - 1080px) / 2);
    max-width: calc((100vw - 1080px) / 2);
  }
}
.project-wrapper {
  background-image: url("/img/bg_credits_project.png");
  background-size: cover;
  min-height: 100dvh;
  width: 100%;
  margin-top: -15dvh;
  padding-top: 15dvh;
}
.project-wrapper .project-title {
  width: 80%;
  aspect-ratio: 2;
  border: solid 3px white;
  border-bottom: none;
  border-top-left-radius: 100vh;
  border-top-right-radius: 100vh;
  margin: 0 auto;
  text-align: center;
  padding-top: 13.3333333333%;
}
.project-wrapper .project-title h1 {
  color: white;
}
.project-wrapper .project-text {
  width: 90%;
  border: solid 3px white;
  border-top: none;
  margin: 0 auto;
  color: white;
  padding: 1rem;
  position: relative;
  font-size: 1.25rem;
}
.project-wrapper .project-text:before, .project-wrapper .project-text:after {
  content: "";
  display: block;
  position: absolute;
  height: 3px;
  width: calc(5% + 6px);
  top: -3px;
  left: -3px;
  background-color: white;
}
.project-wrapper .project-text:after {
  left: unset;
  right: -3px;
}

.credits-wrapper {
  background-image: url("/img/bg_credits_project.png");
  background-size: cover;
  min-height: 100dvh;
  width: 100%;
  margin-top: -15dvh;
  padding-top: 15dvh;
}
.credits-wrapper .credits-title {
  width: 80%;
  aspect-ratio: 2;
  border: solid 3px white;
  border-bottom: none;
  border-top-left-radius: 100vh;
  border-top-right-radius: 100vh;
  margin: 0 auto;
  text-align: center;
  padding-top: 13.3333333333%;
}
.credits-wrapper .credits-title h1 {
  color: white;
}
.credits-wrapper .credits-text {
  width: 90%;
  border: solid 3px white;
  border-top: none;
  margin: 0 auto;
  color: white;
  padding: 1rem;
  position: relative;
  font-size: 1.25rem;
  display: grid;
  grid-template-rows: 10vh 10vh;
  grid-template-columns: 50% 50%;
  grid-gap: 5vh 0;
  place-items: center;
}
.credits-wrapper .credits-text:before, .credits-wrapper .credits-text:after {
  content: "";
  display: block;
  position: absolute;
  height: 3px;
  width: calc(5% + 6px);
  top: -3px;
  left: -3px;
  background-color: white;
}
.credits-wrapper .credits-text:after {
  left: unset;
  right: -3px;
}
.credits-wrapper .credits-text img {
  height: 100%;
  max-width: 100%;
}

.leaflet-map-wrapper {
  width: 100%;
  height: 100%;
}

.itinerary-wrapper {
  display: grid;
  z-index: 1010;
  position: absolute;
  bottom: -35svh;
  grid-template-rows: repeat(4, auto) max-content;
  place-items: center;
  width: 100%;
  height: 35svh;
  padding: 20px 17.5% 0 17.5%;
  color: white;
  font-size: 1.125rem;
  transition: bottom 0.5s;
  pointer-events: none;
}
.itinerary-wrapper.visible {
  bottom: 0;
}
.itinerary-wrapper * {
  z-index: 11;
  position: relative;
}
.itinerary-wrapper svg {
  z-index: 10;
  position: absolute;
  top: 0;
  width: 100%;
  pointer-events: none;
}
.itinerary-wrapper svg path {
  pointer-events: auto;
}
.itinerary-wrapper .itinerary-title {
  margin: 0;
  text-align: center;
}
.itinerary-wrapper .itinerary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 10px;
  border: 7px solid rgba(0, 0, 0, 0);
  border-radius: 50%;
  outline: 2px solid white;
  background-clip: padding-box;
  background-color: white;
  color: #621016;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  pointer-events: auto;
}

.itinerary-selector {
  z-index: 10000;
  position: absolute;
  top: 10px;
  right: 10px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  background-clip: padding-box;
  background-color: white;
  padding: 5px 10px;
  width: 80%;
  max-width: 400px;
}
.itinerary-selector .itinerary-selector-title {
  display: grid;
  grid-template-columns: min-content min-content auto;
  align-items: center;
  gap: 10px;
}
.itinerary-selector .itinerary-selector-title i.fa-triangle {
  font-size: 10px;
  justify-self: end;
}
.itinerary-selector .itinerary-selector-elements {
  overflow: hidden;
  height: 0;
  padding: 0;
  margin: 0;
}
.itinerary-selector .itinerary-selector-elements.visible {
  overflow: visible;
  height: auto;
  padding-top: 10px;
}
.itinerary-selector .itinerary-selector-elements .itinerary-selector-element {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 10px;
}
.itinerary-selector .itinerary-selector-elements .itinerary-selector-element:not(:last-of-type) {
  margin-bottom: 10px;
}
.itinerary-selector .itinerary-selector-elements .itinerary-selector-element.hidden .itinerary-selector-element-icon {
  opacity: 0.3;
}

.poi-wrapper {
  display: grid;
  z-index: 1010;
  position: absolute;
  bottom: -35svh;
  grid-template-rows: repeat(3, auto);
  place-items: center;
  width: 100%;
  height: 60svh;
  color: white;
  font-size: 1.125rem;
  transition: bottom 0.5s;
  pointer-events: none;
  overflow: hidden;
  align-content: space-between;
}
.poi-wrapper.visible {
  bottom: 0;
}
.poi-wrapper svg {
  position: absolute;
  top: 0;
  width: 100%;
  pointer-events: none;
}
.poi-wrapper svg path {
  pointer-events: auto;
}
.poi-wrapper .poi-info {
  display: grid;
  grid-template-rows: repeat(4, auto) 1.5rem min-content min-content;
  place-items: center;
  align-content: start;
  padding: 20px 17.5% 0 17.5%;
  margin-bottom: 20px;
}
.poi-wrapper .poi-info .poi-title {
  margin-bottom: 10px;
}
.poi-wrapper .poi-info .poi-title,
.poi-wrapper .poi-info .poi-author,
.poi-wrapper .poi-info .poi-date,
.poi-wrapper .poi-info .poi-place {
  position: relative;
  text-align: center;
}
.poi-wrapper .poi-info .poi-comments-btn {
  margin-top: 1rem;
  position: relative;
  height: 100%;
  width: auto;
  justify-self: end;
  pointer-events: all;
}
.poi-wrapper .poi-info .poi-comments-btn img {
  height: 100%;
}
.poi-wrapper .poi-slider {
  pointer-events: auto;
  width: 90%;
  max-width: min(1080px, 90vw);
  position: relative;
}
.poi-wrapper .poi-slider .glide__arrow--right {
  right: 0;
}
.poi-wrapper .poi-slider .glide__arrow--left {
  left: 0;
}
.poi-wrapper .poi-slider .glide__slides {
  height: 25dvh;
}
.poi-wrapper .poi-slider .glide__slides .glide__slide {
  object-fit: contain;
}
.poi-wrapper .poi-slider .glide__bullets {
  bottom: 5px;
}
.poi-wrapper .poi-slider img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.poi-wrapper .poi-directions {
  pointer-events: auto;
  position: relative;
  display: flex;
  text-align: center;
}
.poi-wrapper .poi-directions a {
  width: 100%;
  color: white;
  text-decoration: none;
}
.poi-wrapper .poi-directions a svg {
  position: relative;
  fill: white;
  width: 30%;
  display: block;
  margin: 0 auto 2rem auto;
}
.poi-wrapper .poi-btns {
  pointer-events: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 80%;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
}
.poi-wrapper .poi-btns a {
  text-decoration: none;
  color: white;
}

/* Overlay */
/* Stile per l'overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Sfondo nero semi-trasparente */
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-content {
  position: relative;
  background: rgb(147, 149, 152);
  padding: 20px;
  width: 90%;
  height: 90%;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.overlay-content .close-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
}
.overlay-content .overlay-text {
  color: white;
  margin-top: 20px;
  height: 100%;
}
.overlay-content .overlay-text #commentics, .overlay-content .overlay-text iframe {
  height: 100% !important;
}

.overlay-comments iframe {
  height: 100%;
}

/* Common Styles */
* {
  box-sizing: border-box;
}

body {
  position: relative;
  max-width: 1080px;
  height: 100dvh;
  margin: 0 auto;
  font-family: "Titillium Web", sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100, "YTLC" 500;
}

main {
  position: relative;
  height: 85svh;
  overflow: hidden;
  /* only for homepage */
}
.home main {
  padding-top: 25svh;
  background-image: url("https://images.unsplash.com/flagged/photo-1572392640988-ba48d1a74457?q=80&w=1964&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
}
main .glide {
  z-index: 5;
  position: absolute;
  top: 0;
  height: 100%;
}
main .glide__track {
  height: 100%;
}
main .glide__slides {
  height: 100%;
}
main .glide__slide {
  height: 100%;
}
main .glide__slide__content {
  display: grid;
  grid-template-rows: 50% 50%;
  justify-items: center;
  height: 25svh;
}
main .glide__slide__content span {
  align-self: end;
  color: white;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-align: center;
  padding: 0 0.25rem;
}
main .glide__slide__content a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 10px;
  border: 7px solid rgba(0, 0, 0, 0);
  border-radius: 50%;
  outline: 2px solid white;
  background-clip: padding-box;
  background-color: white;
  color: #621016;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}
main .glide__arrow {
  top: 20%;
}
main .main-content {
  display: grid;
  z-index: 10;
  position: relative;
  grid-template-rows: 80% 20%;
  height: 100%;
}
main .main-content svg {
  grid-area: 1/1/3/2;
  overflow: visible;
}
main .main-content .content {
  display: grid;
  grid-area: 1/1/2/2;
  grid-template-rows: max-content repeat(3, auto);
  place-items: center;
  padding: 20px 17.5% 0 17.5%;
  color: white;
  font-size: 1.125rem;
}
main .main-content .content p {
  text-align: center;
}
main .main-content .content a {
  display: block;
  color: white;
}
main .main-content .content .map-btn {
  margin: 10px;
  padding: 0.75em 1.25em;
  border: 7px solid rgba(0, 0, 0, 0);
  outline: 2px solid #621016;
  background-clip: padding-box;
  background-color: #621016;
  color: white;
}
main .main-content .credits {
  display: grid;
  grid-area: 2/1/3/2;
  grid-template-columns: 1fr 1fr;
  place-items: center;
}
main .main-content .credits a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  text-decoration: none;
  gap: 10px;
}
main .main-content .credits a img {
  width: 15%;
}

footer {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  justify-content: space-around;
  width: 100%;
  height: 10svh;
}

.landing {
  z-index: 1000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 1080px;
  height: 100dvh;
  margin: 0 auto;
  background-image: url(/img/bg.jpg);
  background-position: 25%;
  background-size: cover;
}
.landing svg {
  position: absolute;
  top: 0;
  height: 100%;
  overflow: visible;
}
.landing svg#landing_svg_sx {
  left: -5%;
}
.landing svg#landing_svg_dx {
  top: 10%;
  right: -5%;
  height: 70%;
}
.landing .landing-title {
  position: absolute;
  top: 23%;
  width: 55vw;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
}
.landing .landing-title img {
  width: 90%;
}
.landing .landing-title h1 {
  margin: 0;
}
.landing .landing-title h2 {
  margin: 0;
  font-weight: normal;
}

/* Style for map.php */

/*# sourceMappingURL=style.min.css.map */
