body {/*
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #ffffff; 
  */
font-family: 'Roboto', sans-serif;
}

.container-rosa {
  display: flex;
  align-items: center;
  gap: 20px;
}

.compass {
  position: relative;
  width: 60vw;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border:5px solid #fff;
  background-color: rgba(43, 46, 53, 1);

background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px); }

.compass .cardinal {
  position: absolute;
  font-size: clamp(1rem, 2vw, 1.5rem); /* Adatta in base alla larghezza dello schermo */
  font-weight: bold;
  color: #fff;
  z-index: 10; /* Sopra tutti gli altri layer */

}

.compass .cardinal.north { top: 5%; left: 50%; transform: translateX(-50%); }
.compass .cardinal.south { bottom: 5%; left: 50%; transform: translateX(-50%); }
.compass .cardinal.east { right: 6%; top: 50%; transform: translateY(-50%);  }
.compass .cardinal.west { left: 6%; top: 50%; transform: translateY(-50%); }
.compass .cardinal.ne {  top: 15%;  right: 20%;  }
.compass .cardinal.nw {  top: 15%;  left: 20%;  }
.compass .cardinal.se {  bottom: 15%;  right: 20%;  }
.compass .cardinal.sw {  bottom: 15%;  left: 20%;}


.wind-speed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.4rem, 5vw, 2.5rem); /* Dimensione dinamica */
  color: #fff;
  font-weight: 700;
  z-index: 5;
  display: flex;
  align-items: baseline; /* Allinea "kts" alla base del numero */
  gap: 0.3rem; /* Spazio tra il numero e "kts" */
  white-space: nowrap; /* Evita che vada a capo */
   background-color: #000;
  border-radius: 25px;
  padding: 15px;
  box-sizing: border-box;
  padding-bottom: 80px;
  padding-top: 15px;
    background-color: rgba(0, 0, 0, 0.5);

}

.wind-speed .unit {
  font-size: 0.8em; /* Riduci "kts" all'80% del numero */
  font-weight: 500;
  color: inherit; /* Stesso colore del numero */
  white-space: nowrap; /* Forza il mantenimento su una linea */
}


/* Quadrante di provenienza del vento */
.wind-direction {
  position: absolute;
  top: 56%; /* Sposta più in basso sotto la velocità del vento */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1rem, 2vw, 1.4rem); /* Testo dinamico più grande */
  color: #888; /* Colore grigio tenue */
  font-weight: 500;
  z-index: 5; /* Assicurati che sia sopra gli altri elementi */
  color: #fff;

}

.wind-gust {
  position: absolute;
  top: 64%; /* sotto la direzione */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  color: #fff;
  font-weight: 400;
  z-index: 5;
}

.arrow {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 1s ease-in-out;
}

.arrow:after {
  content: "";
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 1.5rem solid transparent;
  border-right: 1.5rem solid transparent;
  border-top: 2rem solid #fff;
  z-index: 1;

 border-left: 1rem solid transparent;
  border-right: 1rem solid transparent;
  border-top: 1.5rem solid #fff;

}


  /* Aggiunta per desktop */
        @media (min-width: 768px) {
      
.arrow:after {
border-left: 1.5rem solid transparent;
  border-right: 1.5rem solid transparent;
  border-top: 2rem solid #fff;

}

        }




