/* DEBUT Necessaire sur All Page */
@font-face {
  font-family: 'Orbitron';
  src: url('/fonts/Orbitron/Orbitron-VariableFont_wght.ttf') format('truetype');
  font-weight: normal; 
  font-style: normal;
}
@font-face {
  font-family: 'OrbitronBold';
  src: url('/fonts/Orbitron/static/Orbitron-Bold.ttf') format('truetype');
  font-weight: bold; 
  font-style: normal;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Orbitron", sans-serif;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: radial-gradient(circle at center top, #6a38f1, #000000 35vw);
  height: 100%; /* Prend toute la hauteur de la fenêtre */
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto; /* Le contenu prend tout l'espace et le footer reste en bas */
}
/* FIN Necessaire sur All Page */

.title{
  display: flex;
  justify-content: center; /* Centre horizontalement */
  align-items: center;     /* Centre verticalement */
  margin-bottom: 50px;
  overflow-x: hidden; /* Empêche l'apparition d'une barre de défilement horizontale */

}
.title h2{
  text-align: center;
  font-size: 40px;
  width: 90%;
  width: max-content;
  background: linear-gradient(to right, #0004ff, #00ffbf, #ff00f7);
  -webkit-background-clip: text;
  color: transparent;
  background-clip: text;
}



/* Conteneur principal */
.contact-container {
  margin: 0 auto;
  margin-bottom: 10vh;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 400px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

/* Animation de fade-in */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: scale(0.9);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

/* Titre principal */
.contact-container h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

/* Formulaire de contact */
.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-bottom: 5px;
  text-align: left;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border 0.3s ease;
  background-color: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6a38f1;
  outline: none;
}

/* Champ de texte pour le message */
.contact-form textarea {
  resize: none;
  height: 120px;
}

/* Bouton d'envoi */
.contact-form button {
  background-color: #6a38f1;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background-color: #9013fe;
  transform: scale(1.05);
}

/* Section d'information de contact */
.contact-info {
  margin-top: 30px;
}

.contact-info h2 {
  margin-bottom: 10px;
  font-size: 18px;

}

.contact-info p {
  font-size: 14px;

}

@media only screen and (max-width: 768px) {
  body, html {
    background: radial-gradient(circle at center top, #6a38f1, #000000 45%);
  }

  .contact-container{
    width: 90%;
  }
  .title h2{
    font-size: 25px;

  }
}