@font-face {
  font-family: "exo2";
  src: url("./Exo_2/static/Exo2-Black.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "exo2";
  src: url("./Exo_2/static/Exo2-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: bolder;
}
@font-face {
  font-family: "exo2";
  src: url("./Exo_2/static/Exo2-Light.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "exo2";
  src: url("./Exo_2/static/Exo2-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: bold;
}

h1 {
  text-align: center;
  font-size: 100px;
  font-family: "exo2";
  margin-top: 50px;
}

p {
  font-family: "exo2";
  font-weight: bold;
  color: black;
  text-align: center;
  font-size: large;
}

body {
  background-image: url("Autres/desert.jpg");
  background-repeat: no-repeat;
}

div {
  text-align: center;
  font-weight: bold;
  color: black;
  font-family: "exo2";
  src: url("./Exo_2/static/Exo2-Black.ttf") format("truetype"),
    url("Exo_2/static/Exo2-Black.woff2") format("woff2"),
    url("Exo_2/static/Exo2-Black.woff") format("woff");
  font-size: large;
  margin-bottom: 50px;
}

footer {
  margin-top: 150px;
}

footer > div {
  padding: 20px;
  max-width: 800px;
  margin: auto;
  display: flex;
  text-align: center;
  justify-content: space-around;
}

.container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea,
#contact button[type="submit"] {
  font: 400 12px/16px;
}

#contact {
  background: #f7f7f7;
  padding: 25px;
  margin: 50px 0;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

#contact h1 {
  display: block;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 10px;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  margin: 0 0 5px;
  padding: 10px;
}

#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
  -webkit-transition: border-color 0.3s ease-in-out;
  -moz-transition: border-color 0.3s ease-in-out;
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}

#contact textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

#contact button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: none;
  background: rgb(68, 68, 68);
  color: #fff;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

#contact button[type="submit"]:hover {
  background: #8eb3f8;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.copyright {
  text-align: center;
}

#contact input:focus,
#contact textarea:focus {
  outline: 0;
  border: 1px solid #8eb3f8;
}

#contact-messages {
  padding: 25px;
  border: 2px solid rgb(53, 196, 117);
  background-color: rgb(122, 236, 179);
}

#contact-errors {
  padding: 25px;
  border: 2px solid rgb(196, 53, 53);
  background-color: rgb(236, 122, 122);
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}

@media only screen and (max-width: 1200px) {
  h1 {
    font-size: 70px;
  }
}

@media only screen and (max-width: 768px) {
  h1 {
    font-size: 50px;
  }

  footer > div {
    flex-direction: column;
  }
}
