/* FONT */

@font-face {
  font-family: HN_extralight;
  src: url(../fonts/HelveticaNowText-ExtraLight.woff);
}

@font-face {
  font-family: HN_light;
  src: url(../fonts/HelveticaNowText-Light.woff);
}

@font-face {
  font-family: HN_medium;
  src: url(../fonts/HelveticaNowText-Medium.ttf);
}


@font-face {
  font-family: HN_extrabold;
  src: url(../fonts/HelveticaNowText-ExtraBold.woff);
}

/* ---- GENERAL ---- */

body {
  width: 100vw;
  color: white;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  background: black;
  scrollbar-width: none;
  overflow: hidden;
}

.focus-croce {
  width: 2rem;
  position: absolute;
  right: 4vw;
  top: 7vh;
  cursor: pointer;
  z-index: 10;
}

.focus-croce:hover {
  transform: scale(1.1, 1.1);
}



/* COLORI */

:root {
  --green: #00DC96;
  --dark: #000000f0;
}

/* CSS RESET */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* HIDE SCROLLBAR */

::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

::-webkit-scrollbar-button {
  width: 1px;
  height: 1px;
}

.hidden-title {
  display: none;
}

.logo {
  position: absolute;
  z-index: 100;
  bottom: 40px;
  left: 40px;
  width: 150px;
  pointer-events: none;
}

.apex {
  font-size: 0.8rem;
  vertical-align: top;
  margin-left: 0.2rem;
  color: var(--green);
}

/* LOADING SCREEN */

.loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8000;
  background-color: black;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: 0.5s;
  cursor: default;
}

.loading-screen img {
  width: 3rem;
}

.loading-screen.disappear {
  opacity: 0;
  pointer-events: none;
}


.tt-button {
  background-color: black;
  border: 2px solid white;
  padding: 10px 21px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  color: white;
  font-family: HN_medium;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.25s;
  width: fit-content;
}

.tt-button.small {
  font-size: 0.8rem;
  padding: 5px 11px;
  opacity: 0;
  pointer-events: none;
  border: 1px solid white;
}

.tt-button:hover {
  border: 2px solid var(--green);
}

.bottom-menu {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: end;
  gap: 1.4rem;
}

.bottom-menu-rows {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 0.3rem;
}

.bottom-menu-row {
  display: flex;
  align-items: end;
  flex-direction: row;
  gap: 15px;

}

.bottom-menu-row.hidden {
  display: none;
}

.bottom-menu-item {
  font-family: HN_light;
  color: white;
}


.bottom-menu-item:hover {
  text-decoration: underline;
}

.bottom-menu-item.green {
  color: var(--green);
}

.bottom-menu-button {
  width: 1.1rem;
  margin-bottom: 0.2rem;
}




.bg-image-sx {
  position: absolute;
  bottom: 0;
  height: 100vh;
  left: 0;
  z-index: -1;
}

.bg-image-dx {
  position: absolute;
  bottom: 0;
  height: 100vh;
  right: 0;
  z-index: -1;
}





.global-overlays-container {
  width: 100vw;
  height: 100dvh;
  z-index: 7001;
  background-color: var(--dark);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: 0.5s;
  padding: 5vw 25vw;
  text-align: center;
}

.global-overlays-container.hidden {
  opacity: 0;
  pointer-events: none;
}

.hide-global-info {
  display: none!important;
}

.overlay-title {
  font-family: HN_medium;
  font-size: 3rem;
  line-height: 4rem;
}

.overlay-subtitle {
  font-family: HN_medium;
  font-size: 1.5rem;
  line-height: 2rem;
}

.about-overlay-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.about-overlay-container p  {
  font-size: 1.3rem;
  line-height: 1.8rem;
  margin-bottom: 1rem;
}

.postfazione-overlay-container p  {
  font-size: 1.3rem;
  line-height: 1.8rem;
  margin-bottom: 1rem;
}


.about-logos-container {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  border-top: 0.1px solid white;
  padding-top: 3rem;
  margin-top: 3rem;
}


.postfazione-bibliografia p {
  font-size: 1rem;
}

.postfazione-nota {
  color: var(--green);
  margin-bottom: 0.5rem;
  list-style-position: inside;
}

.postfazione-nota a {
  color: var(--green)!important;
}


.credits-overlay-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  justify-content: center;
  
}

.credits-sections-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  align-items: center;
  margin: 2rem 0;
}

.credits-sections-container.hidden {
  display: none;
}

.biblio-sections-container.hidden {
  display: none;
}

.biblio-section h3 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.credits-section {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credits-logo {
  height: 3rem;
  margin-top: 1rem;
}



.credits-text-big {
  font-family: HN_light;
  font-size: 1.4rem;
  line-height: 1.8rem;
}

.credits-text-small {
  font-family: HN_light;
  font-size: 1rem;
  line-height: 1.4rem;
}

.credits-text-smaller {
  font-family: HN_light;
  font-size: 0.85rem;
  line-height: 1.25rem;
}

.credits-text-link {
  color: var(--green);
  text-decoration: none;
}

.credits-text-link:hover {
  color: white;
}

.credits-logo-columns {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.credits-logo-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.credits-logo-section img {
  max-width: 100%;
  height: 75px;
  width: auto;
  object-fit: contain;
}












.overlay-scroller {
  overflow-y: scroll;
  overflow-x: hidden;
  position: relative;
  margin-top: 2rem;
}

.overlay-scroller a {
  color: white;
  text-decoration: underline;
}

/* width */
.overlay-scroller::-webkit-scrollbar {
  width: 7px;
}
/* Track */
.overlay-scroller::-webkit-scrollbar-track {
  background: #00000000; 
}
/* Handle */
.overlay-scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.202); 
}
.overlay-scroller.hidden {
  display: none;
} 


.biblio-overlay-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.postfazione-overlay-container {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.biblio-section {
  text-align: left;
  margin-bottom: 3rem;
}

.biblio-section h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--green);
}

.biblio-section ul {
  padding-left: 1rem;
}


.biblio-entry {
  margin-bottom: 0.8rem;
}

.partner-logo {
  width: 8rem;
}











@media screen and (max-width: 1500px) {
  .global-overlays-container {
    padding: 5vw 15vw;
  }
  
}


@media screen and (max-width: 1200px) {
  .tt-button.small {
    opacity: 1;
    pointer-events: all;
  }

  .about-overlay-container p  {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .postfazione-overlay-container p  {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .credits-logo-columns {
    grid-template-columns: repeat(2, 1fr);
  }


}


@media screen and (max-width: 780px) {
  .logo {
    width: 50px;
  }
}

@media screen and (max-width: 600px) {

  .bottom-menu {
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    justify-content: center;
  }

}



@media screen and (max-height: 450px) and (orientation: landscape) {


  .focus-croce {
    width: 1rem;
    right: 2vw;
    top: 5vh;
  }
  .tt-button {
    padding: 5px 25px;
    font-size: 14px;
    color: white;
  }
  
  
  .global-overlays-container {
    padding: 3vw 3vw;
  }

  .global-overlays-container h1 {
    font-size: 1.4rem;
    line-height: 2rem;
  }

}

