* {
  margin: 0;
  padding: 0;
}

@font-face {
	font-family: "Espresso Dolce";
	src: url("ressources/espressodolce.ttf") format("truetype");
  font-weight: 400;
}

body {
	font-family: "Quicksand", sans-serif;
  color: #010101;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
}

h1 {
  text-align: center;
  font-family: "Espresso Dolce";
  font-weight: 400;
}

h2 {
  text-align: center;
  padding: 10vh 0 5vh 0;
  font-size: 50px;
  font-family: "Espresso Dolce";
  font-weight: 400;
  width: 75%;
  margin: auto;
}

p {
  font-size: 25px;
  text-align: center;
}

button {
  padding: 1.5vh 1.5vw;
  border: solid 3px;
  border-radius: 50px;
  font-size: 20px;
  color: white;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
}

button:hover {
  cursor: pointer;
}

.fleche {
  position: fixed;
  right: 5%;
  bottom: 5%;
  width: 2%;
  background-color: #22B176;
  display: flex;
  justify-content: center;
  border-radius: 500px;
  border: solid 3px white;
  padding: 2.5vh;
  z-index: 100;
}
.fleche:hover {
  cursor: pointer;
}

.headeraccueil {
  background-image: url(ressources/banniere.png);
  background-size: cover;
  height: 100vh;
}

.headeraccueil .black {
  background-color: rgba(15, 15, 15, .75);
  height: 100vh;
}

.position {
  height: 20vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
}

header .logotype {
  width: 5%;
}

header nav {
  width: 75%;
}

header ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

header li {
  transition: transform .3s ease;
}

header li:hover {
  transform: scale(1.25);
}

.headeraccueil a {
  color: white;
}

header a {
  font-family: "Espresso Dolce";
  font-size: 25px;
}

.headeraccueil h1 {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
}

main a {
  cursor: default;
}

.mainaccueil .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 75%;
  margin: auto;
  padding-bottom: 5vh;
}

.mainaccueil .illustration {
  width: 35%;
}

.mainaccueil img {
  width: 100%;
}

.mainaccueil p {
  width: 50%;
}

.mainaccueil .sectionchercherunlogement h2 {
  color: #E4B61A;
}

.mainaccueil .sectiondevenirhote h2, .mainaccueil .sectionnouscontacter h2, .mainaccueil .sectiondevenirhote p, .mainaccueil .sectionnouscontacter p {
  color: white;
}

.mainaccueil .sectiondevenirhote {
  background-color: #22B176;
  transform: skewY(-7.5deg);
  z-index: 100;
}

.mainaccueil .sectionaproposdenous h2 {
  color: #22B176;
}

.mainaccueil .sectionnouscontacter {
  background-color: #E4B61A;
  transform: skewY(-7.5deg);
}

.mainaccueil .poireaux {
  background-image: url(ressources/poireauxblancs.png);
  background-size: cover;
}

.mainaccueil .droit {
  transform: skewY(7.5deg);
}

.mainaccueil .button {
  display: flex;
  justify-content: center;
  padding-bottom: 10vh;
}

.mainaccueil .yellow {
  background-color: #E4B61A;
  border-color: #E4B61A;
}

.mainaccueil .yellow:hover {
  background-color: transparent;
  color: #E4B61A;
}

.mainaccueil .white {
  border-color: white;
  background-color: white;
  color: #22B176;
}

.mainaccueil .white:hover {
  background-color: transparent;
  color: white;
}

.mainaccueil .green {
  border-color: #22B176;
  background-color: #22B176;
}

.mainaccueil .green:hover {
  background-color: transparent;
  color: #22B176;
}

.padbot {
  padding-bottom: 5vh;
}

.padbot10 {
  padding-bottom: 10vh;
}

.mentionslegales ul {
  width: 75%;
}

.mainaccueil .alt {
  color: #E4B61A;
}

.footeraccueil {
  padding-top: 31vh;
  margin-top: -15vh;
}

footer {
  background-color: #22B176;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5vh 5vw;
}

footer .logotype {
  width: 10%;
}

footer nav {
  width: 70%;
}

footer ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

footer a {
  color: white;
  font-family: "Espresso Dolce";
  font-size: 25px;
}

footer .active {
  text-decoration: underline;
}

footer .logotypes {
  width: 10%;
  display: flex;
  justify-content: space-between;
}

footer .logotypes a {
  width: 30%;
}

.fond {
  background-image: url(ressources/poireauxcouleurs.png);
  background-size: cover;
}

header a {
  color: #22B176;
}

header .active {
  color: #E4B61A;
}

.main {
  width: 75%;
  margin: auto;
}

.main h1 {
  font-size: 75px;
  color: #E4B61A;
  margin-top: 7.5vh;
}

.main h2 {
  color: #22B176;
}

.main a {
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.main button {
  margin: 10vh auto;
  padding: 1.5vh 1.5vw;
  background-color: #E4B61A;
  border-color: #E4B61A;
  border-radius: 50px;
  font-size: 20px;
  color: white;
}

.main button:hover {
  background-color: transparent;
  color: #E4B61A;
}

.main .flex {
  display: flex;
  justify-content: space-between;
}

.main .padtop {
  padding-top: 5vh;
}

.main ul {
  margin: auto;
}

.main li {
  font-size: 25px;
}

.aproposdenous .flex {
  align-items: center;
  margin: 5vh 0 10vh 0;
}

.main .equipe .flex {
  margin-bottom: 0;
}

.main .equipe .flex div {
  width: 30%;
}

.main .equipe .flex div img {
  border-radius: 500px;
}

.main .equipe .flex p {
  width: 50%;
}

.main .entreprise {
  margin-bottom: 10vh;
}

.main .entreprise .flex {
  display: flex;
  justify-content: center;
}

.main .entreprise .flex div {
  width: 40%;
}

.main form {
  display: flex;
  flex-direction: column;
  width: 50%;
  background-color: #22B176;
  padding: 5vh 5vw;
  margin: 10vh auto;
  border-radius: 50px;
}

.main .flex input {
  width: 49%;
}

.main input, .main textarea {
  width: 100%;
  margin: 1.5vh 0;
  padding: 1vh;
  border: solid 3px white;
  background-color: transparent;
  box-sizing: border-box;
  border-radius: 10px;
  font-family: "Quicksand", sans-serif;
  color: white;
  font-size: 20px;
  font-weight: bold;
}

.main input::placeholder, .main textarea::placeholder {
  color: #010101;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  font-size: 20px;
}

.main input:focus, .main textarea:focus {
  border-color: white;
  outline: none;
}

.main form button {
  margin: 2.5vh auto 0 auto;
  background-color: white;
  border-color: white;
  color: #22B176;
}

.main form button:hover {
  margin: 2.5vh auto 0 auto;
  background-color: transparent;
  color: white;
}

.main form p {
  color: white;
  padding-top: 5vh;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.menu-toggle-footer {
  display: none;
}

.mobile-menu-footer {
  display: none;
}

.croix {
  color: #22B176;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  font-size: 30px;
  text-align: right;
}

.headeraccueil .croix {
  color: white;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  font-size: 30px;
  text-align: right;
}

.croix:hover {
  cursor: pointer;
}

@media screen and (max-width: 1200px) {
  header .logotype {
    width: 15%;
  }

  footer .logotype {
    width: 20%;
  }

  footer .logotypes {
    width: 20%;
  }

  footer button {
    background-color: transparent;
  }

  .headeraccueil {
    height: 50vh;
  }

  .headeraccueil button {
    background-color: transparent;
  }

  .headeraccueil .black {
    height: 100%;
  }

  .headeraccueil h1 {
    font-size: 20px;
    top: 25%;
  }

  header nav, footer nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }

  .mobile-menu ul {
    flex-direction: column;
    position: absolute;
    top: 5%;
    right: 5%;
    background-color: white;
    padding: 2.5vh 2.5vw;
    border: solid 3px #22B176;
  }

  .headeraccueil .mobile-menu ul {
    background-color: #22B176;
  }

  .mobile-menu-footer ul {
    flex-direction: column;
    position: absolute;
    bottom: 5%;
    right: 5%;
    background-color: white;
    padding: 2.5vh 2.5vw;
    border: solid 3px #22B176;
  }

  .mobile-menu-footer li {
    padding: 1vh 0;
  }

  .mobile-menu-footer a {
    color: #22B176;
  }

  .mobile-menu {
    z-index: 100;
  }

  .mobile-menu li {
    padding: 1vh 0;
  }

  .mobile-menu li:hover {
    transform: scale(1);
  }

  .menu-toggle-footer {
    display: block;
  }

  .fond header button {
    background-color: transparent;
    border-color: #22B176;
    color: #22B176;
  }
}

@media screen and (max-width: 800px) {

  .main h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  .mainaccueil .flex {
    flex-direction: column;
  }

  .mainaccueil .flex p {
    padding: 5vh 0;
    width: 100%;
  }

  p {
    font-size: 20px;
  }

  .main li {
    font-size: 20px;
  }

  .mainaccueil .probbutton .flex {
    padding-bottom: 0;
  }

  .mainaccueil .probh2 h2 {
    padding-bottom: 0;
  }

  .mainaccueil .button {
    width: 80%;
    margin: auto;
  }

  .mainaccueil button {
    padding: .5vh 2.5vw;
    font-size: 15px;
  }

  .main button {
    padding: .5vh 2.5vw;
    font-size: 15px;
  }

  .aproposdenous .flex {
    flex-direction: column;
    margin-top: 0;
  }

  .aproposdenous .equipe .flex p {
    width: 100%;
  }

  .aproposdenous .equipe .flex div {
    margin-bottom: 5vh;
  }

  .aproposdenous .entreprise .flex {
    margin-bottom: 5vh;
  }

  .main form {
    width: 80%;
  }
}