@import url("https://fonts.googleapis.com/css2?family=Fjalla+One&family=Freeman&family=Poetsen+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fjalla+One&family=Freeman&family=Poetsen+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  font-family: "Poppins", sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0px;
  padding: 0%;
  text-decoration: none;
  list-style: none;
}

.contact-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  background-image: url("./img/black\ white.jpg");
  /* background: rgb(109, 143, 164);
  background: linear-gradient(
    0deg,
    rgba(109, 143, 164, 1) 0%,
    rgba(13, 54, 105, 1) 70%
  ); */
  background-size: cover;
  align-items: center;
  justify-content: center;
}

.contact-box {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 800px;
  height: 500px;
  margin-top: 100px;

  box-shadow: 0 8px 32px 0 rgba(224, 225, 233, 0.37);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.con_droite {
  padding-left: 20px;
  padding: 20px;
  position: relative;
  display: flex;
  width: 50%;
  height: 100%;
}

.con_gauche {
  width: 50%;
  height: 100%;
  background-color: rgba(253, 253, 253, 0.5);
  border-radius: 10px;
}
.con_title {
  font-size: 32px;
  color: rgb(255, 255, 255);
  width: 100%;
  padding: 50px 50px 30px 50px;
  font-weight: 600;
  display: flex;
  justify-content: center;
}

.con_content {
  padding: 0 20px 0 20px;
}
.con_gauche p {
  font-size: 18px;
  text-align: justify;
}

.cont_email {
  font-size: 14px;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.cont_tel {
  font-size: 14px;
}
.cont_addr {
  display: flex;
  align-items: center;
}
.cont_addr p {
  font-size: 14px;
}

input[type="text"] {
  width: 100%;
  padding: 5px 5px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid rgba(251, 250, 250, 0.4);
  background-color: rgba(251, 250, 250, 0.4);
}
input[type="text"]:focus {
  border: 1px solid rgba(251, 250, 250, 0.4);
  background-color: rgb(191 216 231 / 69%);
  outline: none;
}

label {
  color: white;
  font-size: 15px;
}
input[type="submit"] {
  background-color: #3680e8;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 50%;
  align-self: center;
  margin-top: 5px;
}

input[type="submit"]:hover {
  background-color: #3d3db3;
}
form {
  display: flex;
  width: 100%;
  flex-direction: column;
}

textarea {
  height: 150px;
  resize: none;
  width: 100%;
  padding: 5px 5px;
  margin: 8px 0;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid rgba(251, 250, 250, 0.4);
  background-color: rgba(251, 250, 250, 0.4);
}
textarea:focus {
  outline: none;
  border: 1px solid rgba(251, 250, 250, 0.4);
  background-color: rgb(191 216 231 / 69%);
  outline: none;
}
.cont_ph {
  display: flex;
  justify-content: center;
  margin: 0 20px 40px 20px;
  text-align: center;
  text-justify: distribute;
}
.success {
  width: 100%;
  color: rgba(255, 255, 255, 0.919);
  margin-top: 8px;
  background-color: rgba(32, 200, 99, 0.473);
}
.success p {
  font-size: 13px;
  text-align: center;
}
.echec {
  width: 100%;
  color: rgba(255, 255, 255, 0.919);
  margin-top: 8px;
  background-color: rgba(206, 71, 50, 0.522);
}

.echec p {
  color: rgba(255, 255, 255, 0.919);
  font-size: 13px;
  text-align: center;
}
#submit {
  width: 500px;
  height: 150px;
}

.emailMess {
  display: block;
}

@media screen and (max-width: 800px) {
  .contact-box {
    width: 80%;
    height: auto;
    margin-top: 150px;
    margin-bottom: 50px;
  }
  .con_droite {
    width: 100%;
    height: auto;
  }
  .con_gauche {
    width: 100%;
    height: auto;
    padding-bottom: 50px;
  }
  .contact-container {
    height: auto;
  }
  .invalid_field {
    background-color: rgba(207, 92, 106, 0.336);
  }
}
