

* {
  /* border-box indique au navigateur de
   tenir compte de toute bordure et remplissage 
   dans les valeurs que vous spécifiez pour la largeur 
   et la hauteur d'un élément. */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ==== Navbar ==== */
body {
  font-family: 'Oswald', sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

header .menu_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 5%;

  position: inherit;
}
header {
  width: 100%;
  background-color: #C7A17A;
  background-size: cover;   
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
}


.logo {
  cursor: pointer;
}


.logo img {
    width: 200px;
}

.nav__links a,
.cta,
.overlay__content a {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #edf0f1;
  text-decoration: none;

}

.nav__links {
  list-style: none;
  display: flex;
}

.nav__links li {
  padding: 0px 20px;
}

.nav__links li a {
  transition: color 0.3s ease 0s;
}

.nav__links li a:hover {
  color:#c7a17a;
}

.cta {
  padding: 9px 25px;
  background-color:#C7A17A;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease 0s;
}

.cta:hover {
  background-color: rgba(0, 136, 169, 0.8);
}

/* Mobile Nav */

.menu {
  display: none;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: #24252a;
  overflow-x: hidden;
  transition: width 0.5s ease 0s;
}

.overlay--active {
  width: 100%;
}

.overlay__content {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay a {
  padding: 15px;
  font-size: 36px;
  display: block;
  transition: color 0.3s ease 0s;
}

.overlay a:hover,
.overlay a:focus {
  color: #0088a9;
}
.overlay .close {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  color: #edf0f1;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .close {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

@media only screen and (max-width: 800px) {
  .nav__links,
  .cta {
    display: none;
  }
  .menu {
    display: initial;
  }
}

/* ============================================================ */
.TextHeaderAccueil {
  text-align: center;
    color: #f9f9fb;
    position: absolute;
    top: 50%;
    left: 10%;
    
  transform: translate(-50px, -140px); 
}
/* ============================== HEADER ======================== */


/* pour monter la couluer du text */

.imagelogo {
  width: 30%;
} 
h1 {
  line-height: 20px;
}
h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  padding-bottom: 30px;
}
h3 {
  font-family: 'Open Sans', sans-serif;
  padding-bottom: 30px;
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
  color: #C7A17A;
}
h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  color: #f9f9fb;
  margin-bottom: 20px;   
  }
h5 {
  font-family: 'Open Sans', sans-serif;
  font-style: italic;
  color: #C7A17A;
}

p {
  overflow: hidden;
  text-overflow: ellipsis;


  display: -webkit-box !important;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  white-space: normal;


  margin-top: 20px;
}

button {
  background-color: #C7A17A;
  transition: 0.4s;
}

button:hover {
  background-color: #f9f9fb;
  color: black;
}



/* =====================header ======== */
input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}


