/* RESET BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inter ;
}

body {
  font-family: Arial, sans-serif;
  overflow: hidden;
}

.container_sito_in_costruzione {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.sito_in_costruzione {
  color: red;
  font-size: 2rem;
  margin-bottom: 520px;
  animation: blink 1s infinite;
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translate(-50%, -50%);
  
}


/*@media screen and (max-width: 768px) {
  .container_sito_in_costruzione {
    font-size: 1.5rem;
    border: 1px solid rgb(209, 219, 11);
    height: 100%;
    
  
  
}*/

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
 
}

/* CONTENITORE PRINCIPALE */
.container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO DI SFONDO */
.container_video {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 0;
  animation: fadeIn 2s ease-in;
}

/* OVERLAY */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 3, 2, 0.5);
  z-index: 1;
  animation: fadeInOverlay 2.5s ease-in;
}

/* LOGO CENTRALE */
.container_logo {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: fadeUp 2s ease-out;
}

.logo {
  width: 600px;
  max-width: 90%;
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease;
}

.animate-logo {
  opacity: 1;
  transform: scale(1);
}

/* TESTO CENTRALE */
.container_testo {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 3;
  animation: fadeUp 3s ease-out;
  width: 90%;
}

.container_testo h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  width: 100%;
  text-align: center;
}

.container_testo h2 {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 1px;
}

/* PULSANTE */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  border-radius: 15px;
}

.btn:hover {
  background-color: #0056b3;
}

/* ICONE SOCIAL */
.social-icons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #333;
  font-size: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
  background-color: #007bff;
  color: white;
  transform: scale(1.1);
}

/* ANIMAZIONI */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

/* RESPONSIVE - SMARTPHONE */
@media screen and (max-width: 768px) {
  .container_testo h1 {
    font-size: 2rem;
  }
  
  .container_testo h2 {
    font-size: 1.2rem;
  }
  
  .btn {
    font-size: 1rem;
    padding: 12px 25px;
  }
  
  .logo {
    width: 400px;
  }
  
  /* ICONE SOCIAL CENTRATE IN BASSO */
  .social-icons {
    bottom: 10px;
    right: 50%;
    transform: translateX(50%);
    justify-content: center;
  }
  
  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}