#loader {
  position: fixed;
  inset: 0;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: '911 Porscha', sans-serif;
  font-size: 1.5rem;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: #111;
  color: #fff;
  overflow-x: hidden;

}


#hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  opacity: 50%;
  margin-top: -60px;
}

#logo2 {
  position: absolute;
  height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

}


#car-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;

  align-items: center;
  gap: 50px;
  padding: 0 5%;
}

model-viewer#car {
  width: 100%;
  height: 950px;
  box-shadow: none;
  transition: all 1s ease;
}


#logo_turbo {
  width: 70vw;
  max-width: 700px;
  transition: all 1s ease;
  margin-bottom: 330px;

  position: absolute;

  opacity: 0;
  transform: translateY(10px);
}

#logo_turbo.visible {
  opacity: 1;
  transform: translateY(0);
}

#spe{

  display: flex;
  justify-content: center;
  align-items: center;
  gap: -500px;
  padding: 0 5%;
  margin-top: -100px;
  margin-bottom: 10px;


}

#spec {

  font-family: '911 Porscha', sans-serif;
  font-size: 70px;
  justify-content: center;
  text-align: center;
  gap: -0px;
  padding: 0 5%;


}


#icone {

  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 100px;
  opacity: 100%;


}

#icon1 {
  position: absolute;
  font-family: '911 Porscha Bold', sans-serif;
  margin-top: 10px;
  justify-content: center;
  align-items: center;
  font-size: 60px;
}

#icont {
  position: absolute;
  font-family: 'Classica', sans-serif;
  margin-top: 100px;
  opacity: 100%;
}

#font_txt {
display: flex;
opacity: 30%;
height : -100%;

}

#turbo {
  max-width: 1000px;
}


#porsche_sound {

  border-radius: 40px;
  



}




.moteur {
  position: absolute;
  background: linear-gradient(145deg, #2c2c2c, #000);
  border-radius: 40px;
  border: 2px solid #ff000031;
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 18px 40px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.3);
  transition: all 0.2s ease;
  text-transform: uppercase;
  display: block;
  margin-top: 500px;

}

.moteur:hover {
  box-shadow: 0 8px 25px rgba(102, 102, 102, 0.5);
  background: linear-gradient(145deg, #3a3a3a, #111);
}

.moteur:active {
  transform: scale(0.96);
  box-shadow: 0 2px 5px rgba(102, 102, 102, 0.5);
  background: #979797;
  color: #000;
}








#footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

#footer-logo {
  width: 90px;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

#footer-logo:hover {
  opacity: 1;
}

#footer p {
  margin: 5px 0;
  font-size: 16px;
}

.social-links a {
  color: #ff0000;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #fff;
}


/*Ajoute responssive la c etein de ouf*/