
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: #fff7f9;
}


.contact-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-title h2 {
  font-weight: 600;
  color: #fff;
  font-size: 40px;
  margin-bottom: 5px;
}


.box {
  width: 300px;
  height: auto; 
  background-color: #00adef;
  border-radius: 15px;
  padding: 20px;
  color: white;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.contact-inputs {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px; 
  font-size: 16px;
  background-color: #fff;
  color: #333;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}


.contact-inputs:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(0, 173, 239, 0.5);
}


/* Style pour le bouton */
button[type="submit"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  color: #00adef;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; /* Pour positionner la flèche par rapport au bouton */
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Conteneur pour centrer le texte et maintenir l'alignement */
.button-content {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Masquer la flèche par défaut */
button[type="submit"] img {
  position: absolute;  /* Positionnement indépendant du texte */
  right: 20px;         /* Place la flèche à droite du texte */
  opacity: 0;
  transform: translateX(-10px); /* Cache la flèche avec un léger décalage */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Effet de hover pour le bouton */
button[type="submit"]:hover {
  background-color: #00adef;
  color: #fff;
}

/* Apparition et animation de la flèche au hover */
button[type="submit"]:hover img {
  opacity: 1; /* Rendre la flèche visible */
  transform: translateX(0); /* Positionne la flèche à sa place normale */
}








textarea.contact-inputs {
  resize: none;
}


.close-button {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;            /* Largeur égale à la hauteur pour former un cercle */
  height: 40px;
  font-size: 18px;        /* Taille de l'icône ajustée pour s'adapter au bouton */
  color: #00adef;
  text-decoration: none;
  background-color: #fff;
  border-radius: 50%;     /* Bord arrondi à 50% pour un cercle parfait */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.close-button:hover {
  background-color: #00adef;
  color: #fff;
}
