* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: white;
}

html,
body {
  height: 100%;
}

body {
  background: #1e1e1e;
  display: flex;
  flex-direction: column;
}

#c {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

header {
  background-color: #2c2c2c;
  padding: 20px;
}

header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

header nav ul li {
  margin-right: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

footer {
  background-color: #2c2c2c;
  text-align: center;
  padding: 20px;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  background-color: #2c2c2c;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  max-width: 500px;
  width: 90%;
  text-align: center;
  margin: 10px;
}

.contact-container h2 {
  font-size: 2em;
}

.contact-container form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-container form label {
  margin: 10px 0 5px;
}

.contact-container form input,
.contact-container form textarea {
  padding: 10px;
  border: 1px solid #2c2c2c;
  border-radius: 4px;
  font-size: 1em;
  color: black;
  resize: none;
  background-color: #939393;
}

.contact-container form button {
  margin-top: 20px;
  padding: 10px;
  background-color: red;
  color: #2c2c2c;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

.contact-container form button:hover {
  background-color: #730000;
} 

.button-actuel {
  color: red;
}

#submit-btn {
  transition: background-color 0.5s ease, opacity 0.5s ease;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
}

#submit-btn.in-progress {
  background-color: #4d4d4d;
  color: #2c2c2c;
  pointer-events: none;
}
#submit-btn.error {
  background-color: #4d4d4d;
  color: red;
  pointer-events: none;
}
#submit-btn.sent {
  background-color: #4d4d4d;
  color: green;
  pointer-events: none;
}