html, body {
    height: 100%;
  }

body {
  margin: 0;
  padding: 0;
  background-image: url(../images/2.jpeg);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h2 {
  color: rgb(74, 73, 73);
  font-size: 25px;
  text-align: center;
  padding: 10px;

}
nav {
  background-color: #333;
  ;
}
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline-block;
  font-size: 20px;
  padding: 10px;
}

nav a {
  text-decoration: none;
  padding: 10px;
  color: white;
}

/* Style pour la classe active */
nav a.active {
  font-weight: bold;
  color: white;
  /* Couleur rouge pour mettre en évidence */
}
.contenu {
  padding: 10px 20px;
}

main {
  margin-bottom: 50px;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 0;
  text-align: center;
}

form {
  margin: 20px auto;
  background: rgba(95, 88, 88, 0.5);
  width: 500px;
  height: 550px;
  padding: 20px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.82);
  text-align: center;
}
.form-profil {
  width: 200px;
  height: 50px;
  margin: 0;
  margin-right: 50px;
  margin-left: auto;
}
.form-flex {
display: flex;
flex-direction: row;
justify-content: space-around;
}
.user-info {
margin-left: 50px;
}
.title-form {
  cursor: help;
  margin: 0;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 3px solid #564e4e;
  text-align: center;
}



label {
  padding-left: 30px;
  text-transform: uppercase;
  display: block;
  text-align: left;
    }

 input, textarea {
  background: rgba(95, 88, 88, 0.5);;
  margin-top: 10px;
  height: 40px;
  width: 400px;
  /* border-radius: 20px / 20px; */
  outline: none;
  border: unset;
  border-bottom: 2px solid #333;
  padding-left: 30px;
  font-size: 18px;
  /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.82); */
  }

 textarea {
  /* height: 80px; */
  padding: 10px;
 }

 .submit {
  margin-top: 20px;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  padding: 10px 30px;
  height: 40px;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 15px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.82);
    }
.submit:hover {
 font-size: large;
}

.text-error {
  display: block;
  color: red;
  font-size: 1em;  
}

.success {
  background: green;
}

h1 {
  text-align: center;
}