/*
Theme Name: Ninni30
Theme URI: https://example.com
Author: [Il tuo nome]
Description: Tema personalizzato mobile-only
Version: 1.0
Text Domain: ninni30
*//* RESET BASE */
body{
  font-family: 'inter', sans-serif;
  background-color: #181818;
  margin: 0 !important;
   
}
h1{
  margin-bottom:0 !important;
}
h2{
  text-align: center;
 
  font-weight: 600;
  color: #fff;
  margin: 0;
}
a{
  text-decoration: none !important;
  
}
.p-white{
  color: #fff;
  text-align: center;
}
.hero-gif{
  margin-top: 4rem;
  width: 90%;
  height: auto;
}

.hero-section{
  padding-top: 20vw;
  width: 100%;
  background-color: #fff;
  border-bottom-left-radius: 16px ;
  border-bottom-right-radius: 16px;
 

} 

.hero-section {
  position: relative;
  text-align: center;
}

.hero-content {

  top: 30%;
  
}

.hero-content h1 {
  text-align: center;
  
}

.arrow{
  margin-top: 2rem;
  margin-bottom: 1em;
  width: 1.5rem;
  height: auto;
  transition: all 0.3s ease;
}

.arrow:hover{
  margin-top: 2rem;
  margin-bottom: 1em;
  width: 1.7rem;
  height: auto;
}

.tema-box{
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 10vw;
}

.png-oscillanti {
  position: relative;
  display: flex;
  flex-direction: column;  
  align-items: center !important;
  justify-content: center !important;
  gap: 30px; /* distanza verticale tra le due immagini */
  overflow: hidden;
}
.oscilla-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.oscilla-img {
  width: 85%;
  height: auto;
  transform-origin: center center;
  display: block;
  margin: 0 auto; /* fallback extra */
}
/* Animazione dolce di oscillazione */
@keyframes oscillazione {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(3deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}

/* Lo stivale e la racchetta si muovono in momenti diversi */
.stivale {
  animation: oscillazione 6s ease-in-out infinite;
}   

.racchetta {
  animation: oscillazione 6s ease-in-out infinite;
  animation-delay: 0s; 
}
  
.ratio{
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 3vw;


}

.info-section{
  margin-bottom: 10%;

} 

iframe{
  border-radius: 16px !important;
}
/* === HEADER FIXED === */
/* === HEADER BASE === */
#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #181818;
  border-radius: 0 0 16px 16px;
  z-index: 999;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px; /* altezza iniziale */
}

/* CONTENITORE INTERNO */
.container-header {
  width: 80%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

/* LOGO */
.header-logo {
  height: 45px;
  width: auto;
  transition: all 0.3s ease;
}

/* MENU */
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-link {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.3s ease;
  transition: all 0.3s ease;
}

.header-link:hover {
  color: #bbb;
  font-size: 1.05rem;
}

/* === SCROLL EFFECT === */
#mainHeader.scrolled {
  height: 60px; /* si riduce leggermente */
  background-color: #181818;
  border-radius: 0 0 12px 12px;
}

#mainHeader.scrolled .header-logo {
  height: 35px;
}

#mainHeader.scrolled .header-link {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* MOBILE ONLY */
@media (min-width: 992px) {
  #mainHeader {
    display: none;
  }
}

  /* === FOOTER OVERLAY === */
.footer-overlay {
  position: relative;
  border-radius: 16px 16px  0 0 ;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff; /* bianco come richiesto */
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 40px;
  box-sizing: border-box;
}

/* LOGO STATICO SINISTRA */
.footer-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
}

/* GIF DESTRA, IN OVERLAY */
.footer-gif {
  width: 220px;
  height: auto;
  object-fit: contain;
  position: absolute;
  right: 10px;
  bottom: 20px;
  pointer-events: none; /* non blocca i click */
}

/* Responsive */
@media (max-width: 768px) {
  .footer-logo {
    width: 100px;
  }
  .footer-gif {
    width: 200px;
  }
}
