/* HANKEN GROTESQUE */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Monoton&family=Montserrat:wght@300&family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
  margin: 0;
  padding: 0;   
}

body {
  margin: 0;
  height: 100vh;
  background-color: #000; /* rimane pieno */
  overflow: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background-image: url('../images/bcg/gemini_12.png');  */
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-attachment: fixed;
  opacity: 0.4; 
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}

#loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  /*background: 50% 50% no-repeat rgb(0, 0, 0); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  border: 3px solid #A2FF00;  
  border-radius: 50%;
  border-top: 3px solid #000000;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

.text-loader {
  position: fixed;
  left: 0px;
  bottom: 15%;
  width: 100%;
  height: 50%;
  z-index: 9999; 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

html{
  scroll-behavior: smooth;   
}

/* body {  
  font-size: 100%;  
  font-family: 'Source Sans 3', sans-serif;   
  font-weight: 200;
  color: #ffffff;
  background-color: rgba(180,0,106, 0);   
  background-image: url('images/bcg/Gradienti.png');
  background-repeat: no-repeat;
  background-size: 100% 100%; 
  background-position: center;
  height: 100vh;
  margin: 0;
} */

.info_leyer {
  position: absolute;  
  top: 0px;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;          
}

#info {  
  width: 300px;
  height: 30px;  		
  z-index: 999;
}

#info p {
  color: rgb(255, 255, 255);  
  text-align: center; 
  font-size: 12px;
  font-weight: 400;		
}

#info-white {  
  width: 160px;
  height: 30px;  		
  z-index: 999;
}

#info-white p {
  color: rgb(255, 255, 255);  
  text-align: center; 
  font-size: 12px;
  font-weight: 400;		
}

canvas {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  cursor: grab;  
}

canvas:active {				
  cursor: grabbing;
}

.zoom-cursor {
  cursor: zoom-in;
}

html::-webkit-scrollbar {
  display: none;
}
  
/* HEADER */
/* MENU AMBURGER */
header {  
  width: 100%;
  top: 0;
  height: 60px;    
  position: fixed;     
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;   
  color: #000000;  
  z-index: 999;
}

#logo {  
  width: 80px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

header img {  
  content:'images/logo2.jpg';  
  width: 50px;                     
}
  
/* HEADER */
/* MENU AMBURGER */
header { 
  width: 100%;
  top: 0;
  padding-top: 10px;
  height: 60px;    
  position: fixed;     
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;   
  color: #000000;  
  z-index: 999;
}

#logo {      
  width: 80px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

#logo a {
  display: flex;
}

header img {  
  content:'images/logo2.jpg';  
  width: 50px;                     
}
  
.menu {   
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin-right: 20px;
}

.menu ul {  
  height: 100%;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
  background-color: #000000;
  padding-left: 10px;
  padding-right: 10px;
}

/* .menu li:last-child a {
  font-style: normal;
  color:#ff00a2;
  font-weight: 400;
} */

.menu li a {                
  color: #a2ff00; 
  /* color: #ff00a2; 
  color: #00a2ff; */  
  text-decoration: none;
  font-size: 16px;   
  font-weight: 300;
  letter-spacing: 4px;    
}

.menu li a:after {    
  content:'';
  width: 0%;
  height: 2px;  
  background: #a2ff00;
  display: block;   
  margin: auto;
  transition: 0.3s;
}

.menu li a:hover:after {
  width: 100%;
  height: 1px;  
}

/* MENU BUTTON X */  
.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
  
#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {  
  display: block;  
  background-color: #a2ff00;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
  margin-right: 40px;
  z-index: 1;
}
  
.menu-button::before {
  content: '';
  margin-top: -8px;
}
  
.menu-button::after {
  content: '';
  margin-top: 8px;
}
  
#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}
  
#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}
  
#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}
  
@media (max-width: 724px) {
 
  .menu-button-container {      
    display: flex;  
  }
  

  .menu { 
    background-color:  rgba(255, 0, 162, 0.8);      
    position:absolute;    
    height: 100vh;
    top: 0;
    margin-top: 0px;    
    left: 0;        
    flex-direction: column;
    width: 100%;   
    align-items: center;
    overflow:hidden;
  } 

  .menu li a {
    font-weight: 500;
  }

  /* .menu li:last-child a {   
    color:#00a2ff;    
  }
   */
   
  #menu-toggle ~ .menu {
    height: 0; 
    padding-top: 0px;                  
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked ~ .menu {
    height: 100vh;
    padding-top: 80px; 
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  } 

  #menu-toggle ~ .menu li {      
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked ~ .menu li {
    border: 0px solid #ffffff;
    height: 2.5em;
    padding: 0.5em;    
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu > li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;      
    color: white;   
  }
  
  .menu > li:not(:last-child) {
    border-bottom: 0px solid #444;
  }

  header {
    height: 40px;
  }

  header img {  
    content:'images/logo2.jpg';  
    width: 40px;        
  }
}

/* MENU SWIPER */
section {  
  /* background-color: #000000;    */
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#first-step { 
  border: 1px solid rgb(134, 245, 134);  
  height: 50vh;
}

.swiper {
  width: 70%;
  height: 80vh;
  margin-top: 50px; /* se vuoi evitare scroll */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.swiper-slide {
 position: relative;
 width: 100%;
 height: 100%; 
}

.swiper-slide img {
  position: absolute;
  top: 47%;
  left: 49.5%;
  transform: translate(-50%, -50%);
  height: auto;
  width: 270px;
  z-index: 1;
  cursor: grab;
  border-radius: 50px;
}

.swiper-slide img:hover {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);  
  max-height: 455px;
  width: auto;
  z-index: 1;
  cursor: grab;  
  border-radius: 0px;
  transition: max-height 0.4s ease;  
}

.swiper-slide img:active {
  cursor: grabbing;
}

.swiper-slide {
	width: 100%;
  cursor: grab;  
  color: rgb(255, 255, 255);
}

.swiper-slide:active {  
	width: 100%;
  cursor: grabbing;  
}

.swiper li.active{
  background:#6b1880; 
}

.swiper-pagination-bullet {
  background-color: #A2FF00;
  border: #000000;  
}

@media (max-width: 1024px) {

  .swiper {  
    width: 80%;
  }

  .swiper ul {
    width: 80%;
    margin-left: 70px;
  }
}

.label {  
	color: rgb(255, 255, 255);
  padding: 8px;
}

.buttons-commands {
  width: 100%;
  height: 30px;
  display: flex;
  flex-direction: row;/* affiancati */
  justify-content: center;/* centrati */
  align-items: center;
  gap: 20px;/* distanza fra i due */
}

.button-reset {
  position: relative;
  width: 90px;
  height: 24px;  
}

.button-choose {
  position: relative;
  width: 90px;
  height: 24px; 
}

.button-reset button,
.button-choose button {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#choose {	  
	display: none;   
}

#openscene {  
  background-color: #000000;
  color: #ffffff;   
  width: 80px;
  height: 20px;  
  border-radius: 10px;
	position: absolute;	
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 10%;  
  font-size: 10px;  
  text-align: center;  
	z-index: 1;
} 

.button-controls {
  width: 94%;
  position: absolute;
  display: flex;
  bottom: 30px;
  align-items: center;
  justify-content: right;
  z-index: 1;
}

#btn-audio-white button {
  background-color:  rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  border: 1.4px solid rgb(255, 255, 255);  
  width:30px;
  height: 30px;
  margin-right: 0px;;
  border-radius: 14px;
  font-size: 11px;
  display: flex;   
  align-items: center; 
  justify-content: center;
}

#btn-audio-white button:hover {
  cursor: pointer;
  border: 1px solid rgb(162, 255, 0);
  color: rgb(162, 255, 0);
  transform: scale(0.8);
  transition: all 0.2s ease-in-out
}

#btn-audio-white button.active {
  border: 1px solid rgb(162, 255, 0);
  color: rgb(162, 255, 0);
  transform: scale(0.8);
  transition: all 0.2s ease-in-out;
}


#btn-audio-white button img {
  filter: invert(0);
  width: 14px;   
  height: 14px;
}


/* FOOTER */
footer {  
  position: fixed;
  width: 100%;
  height: 40px; 
  display: flex;
  align-items: center;
  justify-content: center;	
  bottom: -5px;  
  color: rgb(162, 255, 0);
  font-size: 14px;    
  font-weight: 0;   
  z-index: 999; 
}

footer ul {
  height: 40px;
}

footer li {    
  list-style: none;
  display: inline-block;
  align-items: baseline;  
  margin: 1rem; 
}

footer a {            
  font-weight: 200; 
  font-style:normal;
}

footer img {
  max-width: 14px;
}

@media (max-width: 724px) {
  header img {  
    content:'images/logo2.jpg';  
    width: 40px;                     
  }

  #info {
    position: absolute;
    top: 44px;
  }

  footer {    
    height: 30px;
    font-size: 12px; 
  }
}

iframe {
  width:100%; 
  height:100vh;  
}

.swiper {  
  /* border: 1px solid rgb(0, 81, 255); */
}

.swiper ul {  
  position: absolute;
  top: 60%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(calc(-50% + 60px), -50%);
  list-style: none;
  padding: 0;
  margin: 0;
  pointer-events: none; /* consente click-through se necessario */
}

.swiper li {
  position: absolute;
  width: 70px;
  height: 70px;
  font-size: 9px;
  font-weight: 500;
  /* background-color: rgb(255, 255, 255); */
  color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  align-content: center;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  transition: 0.3s;
}

.swiper li:hover {
  position: absolute;
  width: 60px;
  height: 60px;
  font-size: 7px; 
  color: rgb(0, 0, 0);
  pointer-events: auto;
  transition: 0.3s;
}

.swiper li.active {
  position: absolute;
  width: 60px;
  height: 60px;
  color: rgb(0, 0, 0);
  font-size: 7px; 
  pointer-events: auto;
  transition: 0.3s;
}


/* Posizione circolare per massimo 16 emozioni */
.swiper li:nth-child(n) {
  transform: rotate(calc(360deg / 16 * (var(--i)))) translate(190px) rotate(calc(-360deg / 16 * (var(--i))));
}

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.swiper-pagination-bullet {
  width: 8x;
  height: 8px;
  background: #a2ff00;  
  opacity: 0.6;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
}

.swiper-pagination-bullet-active {
  background: #FF00A2;
  opacity: 1;
}


@media (max-width: 724px) {

  .swiper {
    width: 96vw;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  } 

  .swiper ul {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

  .swiper li {
    width: 40px;
    height: 40px;
    font-size: 5px;
    position: absolute;
    list-style: none;
    transition: transform 0.3s ease;
  }

  .swiper li:nth-child(n) {
    transform: rotate(calc(360deg / 16 * var(--i))) translate(130px) rotate(calc(-360deg / 16 * var(--i)));
  }

  .swiper-slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 160px;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .swiper-slide img:hover {
    max-width: 300px;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .swiper-pagination-bullet {
    width: 4px;
    height: 4px; 
  }

  .button-controls {
    bottom: 60px;
  }
}



