* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  text-decoration: none;
}

body {
  background-color: #f1efef;
}

#conteneur {
  position        : relative;
  display         : flex;
  flex-direction  : row;
  width           : 80vw;
  margin          : 0 auto;
  max-width       : 1200px;
  box-shadow      : 1px 1px 12px #555;
  overflow-x      : hidden;
  background-color: #ffffff;
}

header {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 1em 0.8em 0.8em 0.8em;
  width: 30%;
  min-width: 300px;
}

#contenu {
  width: 70vw;
  height: 95vh;
}

.logo {
  margin-left: 0.8em;
  margin-top: 0.4em;
  font-weight: bold;
  font-size: 1.8em;
  cursor: pointer;
  color: #8a8a8a;
}

.logo:hover {
  color: #717372;
}

a:hover {
  text-decoration: none;
  color: #f29400;
}

nav {
  position: relative;
  width: auto;
}

.menu {
  position: relative;
  margin-top: 1em;
  display: flex;
  flex-direction: column;
  width: auto;
  padding: 10px;
  transition: transform 0.5s ease;
  opacity: 1;
  transform: translateX(0);
  height: auto;
}

.menu.closed {
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.menu-item {
  cursor: pointer;
  margin-bottom: 0px;
  text-decoration: none;
  color: #574f4f;
  margin-left: 2em;
  padding: 0.2em;
  padding-left: 0;
  font-size: 1em;
  font-weight: 500;
}

.menu-item:hover {

  color: #7b4b50;
}

.menu.active {
  transform: translateX(100%);
}

.sub-menu {
  width: auto;
  transition: opacity 0s ease, transform 0.5s ease;
  opacity: 0;
  transform: translateX(-100%);
  height: 0;
  margin-top: 0.4em;
  margin-left: 3em;
}

.sub-menu.active {
  opacity: 1;
  transform: translateX(0);
  height: auto;
  transition: opacity 0s ease, transform 0.5s ease;
  margin-bottom: 0em;
}

.sub-menu-item {
  display      : block;
  margin-bottom: 0.2em;
  cursor       : pointer;
  color        : #717372;
}
.sub-menu-item:hover {
  color: #f29400;
}

.portrait {
  position: relative;
  top: 50%;
  left: -5em;
  transform: translateY(-50%);
  margin: auto;
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: auto;
  max-width: 500px;
}

.burger-menu {
  display: none;
  cursor: pointer;
  font-size: 20px;
}

.contact {
  padding-left: 1em;
}

.contact a,a:link,a:active,a:visited {
  text-decoration: underline;
  color: #717372;
}

.contact a:hover {
  color: #f29400;
}

.adresse {
  color: #717372;
}
.adresse:hover {
  color: #717372;
}

@media screen and (max-width: 1024px) {

  #conteneur {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    width: 100vw;
    margin: auto;
  }

  header {
    top: -3em;
    background-color: #ffff;
    transition: top 0.3s;
    z-index: 1000;
    display: flex;
    width: 100%;
    height: 2.8em;
    flex-direction: row;
    margin-top: 0em;
    padding-top: 0em;
    padding-top: 0.4em;
    border-bottom: 1px solid black;
  }

  .logo {
    flex: 2;
    margin-left: 0em;
    margin-top: 0em;
    text-align: center;
    font-weight: bold;
    font-size: 1.8em;
    cursor: pointer;
  }

  nav {
    position: fixed;
    top: 2.6em;
    left: 0;
    transform: translateX(-100%);
  }

  .menu {
    margin-top: 0.5em;
    background-color: #ffffff;
    box-shadow: 1px 1px 12px #555;
    min-height: 18vh;
    transform: translateX(-120%);
  }

  .menu-item {
    margin-left: 0.5em;
  }

  .menu.active {
    transform: translateX(100%);
  }

  .sub-menu {
    margin-left: 0.5em;
  }

  .burger-menu {
    display: block;
    position: absolute;
    top: -8px;
    left: 10px;
    color: #717372;
    font-size: 2.5em;
    height: 1.2em;
    padding-top: 0em;
    margin-top: 0em;
  }

  .burger-menu:hover {
    color: #575555;
  }

  .burger-menu.cross {
    display: block;
    position: absolute;
    top: -12px;
    left: 10px;
    color: #717372;
    font-size: 3.5em;
    font-weight: 300;
    height: 1.2em;
    order: -1;
    padding-top: 0em;
    margin-top: 0em;
  }

  .burger-menu.cross:hover {
    color: #575555;
  }

  #contenu {
    margin-top: 0em;
    width: 100vw;
  }

  a:visited {
    text-decoration: none;
    color: #8a8a8a;
  }

  .portrait {
    left: 0em;
  }

}

@media (min-width: 1025px) and (max-width: 1280px) {

  #conteneur {
    width: 100vw;
  }

}