@font-face {
    font-family: Halenoir;
    src: url('assets/fonts/HalenoirCompactTextRegular/font.woff2') format('woff2'),
       url('assets/fonts/HalenoirCompactTextRegular/font.woff') format('woff');
    font-weight: 400;
}

@font-face {
    font-family: Halenoir;
    src: url('assets/fonts/HalenoirCompactTextDemiBold/font.woff2') format('woff2'),
       url('assets/fonts/HalenoirCompactTextDemiBold/font.woff') format('woff');
    font-weight: 600;
}

h1{
    font-size: 3.3rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 3rem;
}

h3 {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.2rem;
    text-transform: uppercase;
    text-align: justify;
}

p {
    font-size: 1rem;
    line-height: 1.3rem;
    text-align: justify;
    font-feature-settings: "liga" 0;
}

.highlight{
    color: #00FFE0;
}

a{
    text-decoration: none;
}

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

html {
  font-size: clamp(0.8rem, 2.5vw, 2rem);
  scroll-behavior: smooth;
}

body {
    font-family: 'Halenoir';
    font-weight: 400; 
    background-color: black;
    line-height: 1.6;
    color: white;
}

main{
    padding-top: 4.5rem;
    padding-bottom: 4rem;
}

.container {
  margin: 0 auto;
  padding: 0 3vw;
}

section {
  padding: 4rem 0;
}

.hero {
    padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
}

.full-img{
    width: 100%;
}

.gallery {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0.5rem 0;
}

.slide {
  display: none;
  transition: opacity 1s ease;
  z-index: 0;
  width: 100%;
}

.slide.active {
    display: block;
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-dots {
  text-align: center;
  margin: 20px 0 4rem 0;
}

.gallery-dots .dot {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin: 0 6px;
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-dots .dot.active {
  background-color: #00FFE0; /* stesso colore dell'hover menu */
}


.fullwidth {
  padding: 0;
}

header {
  background: #000000;
  color: white;
}

footer {
    background: white;
    color: #000000;
}

header {
  height: auto;
  padding: 1rem 3vw 1rem;
  position: fixed;
  z-index: 1000;
  width: 100vw;
}

header a{
    height: 2rem;
    transition: color 0.3s ease;
}

header a:hover,
header a.active{
    color: #00FFE0;
}

footer{
    height: auto;
    padding: 0 3vw 3rem;
}

#arrow-v {
 height: 3rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem; /* spazio tra le voci */
}

.main-nav a {
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

header .container{
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .container{
    margin: 0;
    padding: 2rem 0 0;
    width: 100%;
    height: auto;
}

.text{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.arrow-text {
  display: flex;
  align-items: flex-start; /* freccia parte dall’alto */
  padding-right: 4rem;
  gap: 2rem;
  color: white;
}

/* freccia centrata verticalmente rispetto al titolo */
.arrow-box {
  display: flex;
  align-items: center; /* centra l'immagine verticalmente rispetto all’altezza della text-box (che comincia con h2) */
  height: 1rem; /* altezza simile a quella del titolo */
}

.arrow-box img {
  width: 2rem;
  height: auto;
  display: block;
}

#logo {
    width: 2rem;
}

.text-box p {
  font-size: 1rem;
  line-height: 1.1rem;
  margin-top: 1rem;
}

#title {
    margin-top: 0;
}

#title-colored {
    margin-top: 0;
    color: #00FFE0;
}

.arrow-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.where, .team, .about, .partners, .contacts{
    padding: 4rem 0 0 0;
}

.where a{
    text-decoration: none;
}

#location{
    margin: 3rem 0 4rem 0;

}

#map{
    margin-bottom: 4rem;
}

.reach{
    padding: 0 4rem 0;
}

.elenco {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.title-box, .contact-box {
    display: flex;
    justify-content: space-between;
}

.logos {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.logo-row{
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 4rem 0;
    margin: auto;
    width: 90%;
}

#logo-01{
    width: 6rem;
}

#logo-02{
    width: 12rem;
}

#logo-03{
    width: 6rem;
}

#contacts{
    margin-top: 0;
    text-transform: uppercase;
    font-size: 0.8rem;
}

#contacts-right{
    margin-top: 0;
    text-transform: uppercase;
    text-align: right;
    font-size: 0.8rem;
}

a{
    color: white;
}

#contacts-container{
    padding: 0;
    width: 100%;
    margin: 0;
}

.info{
    display: flex;
    gap: 3.5rem;
    font-feature-settings: "liga" 0;
    letter-spacing: 0.001px;
}

.footer-row{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer img{
    height: 1.2rem;
}

footer a{
    height: 1.2rem;
    text-decoration: none;
    color: #000000;
}

#logo-arrow{
    height: 2rem;
}

#logo-nova{
    height: 1.2rem;
    margin: auto;
}

.logo-wrapper{
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.logo-wrapper a {
  position: absolute;
  display: flex;
  align-items: center; 
}

#logo-nova,
#logo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); 
  width: auto;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#logo-nova.visible,
#logo-arrow.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 660px) {
  .contact-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contacts{
    font-size: 1rem;
}

#contacts-right{
    text-align: left;
    font-size: 1rem;
}

}

@media (max-width: 570px) {

.logo-row{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding: 0 4rem 0;
    margin: auto;
    width: 100%;
}

header .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.main-nav {
    width: 100%;
}

#logo-nova{
    height: 2rem;
}

main{
    padding-top: 5.8rem;
    
}

#team,
#where,
#partners,
#contacts{
  scroll-margin-top: 1.3rem;
}

#about{
    scroll-margin-top: 2.3rem;
}

}