/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
.main ul li {
  list-style-type: disc;
}
.main ol li {
  list-style-type: decimal;
}
.main ul li, ol li {
  margin-left: 20px;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
blockquote {
  font-style: italic;
  border-left: 2px solid #ccc;
  padding-left: 10px;
  margin: 10px 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* WP align images with text */
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

* {
  box-sizing: border-box; /* Opera/IE 8+ */
  -moz-box-sizing: border-box; /* Firefox, autres Gecko */
  -webkit-box-sizing: border-box; /* Safari/Chrome, autres WebKit */
}

body {
  background-color: #ffffff;
  color: #000000;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 21px;
}

@media screen and (max-width: 420px) {
  body {
    font-size: 18px;
  }

  iframe {
    width: 100%;
  }
}

img {
  max-width: 100%;
  height: auto;
}

p {
  margin-bottom: 10px;
}

strong {
  font-weight: 400;
}

em {
  font-style: italic;
}

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

.alignleft {
  float: left;
}

/* Wrappers sections */
.header .container, .main, .footer .footer__container, .banner_mentions {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

@media screen and (max-width: 900px) {
  .section, .section.invert {
    flex-direction: column;
  }

  .section__img, .section.invert .section__img {
    margin: 30px 0 0 0;
    text-align: left;
  }

  .section__img img, .section.invert .section__img img {
    width: 100%;
  }

  .header .container, .nav, .main {
    padding: 0 30px;
  }
}


@media screen and (max-width: 375px) {
  .header .container, .nav, .main {
    padding: 0 20px;
  }
}

/*************************************************
*                     Header                     *
*************************************************/

.header {
  padding: 20px 0;
}

.header--home {
  background-color: #000000;
  margin-bottom: 60px;
}

.header--home .logo {
  filter: invert(1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .hamburger {
  display: none;
}

.menu {
  display: flex;
  justify-content: space-between;
}

.menu a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 21px;
  text-transform: uppercase;
  color: #CCCCCC;
  text-decoration: none;
  padding: 20px 0;
}

.header--home .menu a {
  color: #CCCCCC;
}

.menu .current_page_item a {
  color: #000000;
}

.header--home .current_page_item a {
  color: #FFFFFF;
}

.menu a:hover {
  filter: brightness(70%);
}

.menu li {
  margin-left: 55px;
}


/* Sous-menu */
.menu li.creations {
  position: relative;
}

.menu li.creations:hover .sub-menu {
  display: block;
}

.sub-menu {
  display: none;
  position: absolute;
  background-color: #000000;
  padding: 10px;
  top: 40px;
  left: 0;
  border: 1px solid #ffffff;
}

.menu li.creations.active .sub-menu {
  display: block;
}

.sub-menu li {
  margin: 10px 10px 20px 10px;
  width: max-content;
}
.sub-menu li:last-child {
  margin: 10px;
}

.menu .sub-menu a {
  color: #ffffff;
  text-decoration: none;
  text-transform: none;
}

@media screen and (max-width: 900px) {
  .header--home {
    background-color: #FFFFFF;
  }

  .header .container {
    justify-content: flex-end;
  }

  .header .logo {
    display: none;
  }

  .header--home .logo {
    filter: none;
  }

  .header .nav {
    padding: 0;
  }

  /* Menu hamburger*/
  .header .hamburger {
    display: block;
  }

  .hamburger__icon {
    width: 30px;
    height: 30px;
    margin-top: 10px;
  }

  .menu {
    display: none;
    border: 1px solid #ffffff;
    width: 300px;
    margin-top: 10px;
    position: absolute;
    background-color: #000000;
    top: 60px;
    right: 20px;
  }

  .menu a {
    font-size: 28px;
    line-height: 50px;
  }
  
  .menu .current_page_item a {
    color: #ffffff;
  }

  .menu li {
    margin-left: 0;
    padding: 5px 20px;
  }

  .sub-menu {
    position: static;
    border: none;
  }

  .sub-menu li, .sub-menu li:last-child {
    margin: 0;
  }

  .header {
    overflow: auto;
  }
}

@media screen and (max-width: 420px) {
  .header .container {
    align-items: flex-start;
  }

  .show-menu .header {
    background-color: #000000;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
  }

  .show-menu .header .logo {
    display: block;
    filter: invert(1);
    width: 100px;
    height: 100px;
  }
  
  .show-menu .header .logo__wrapper {
    width: 100%;
  }

  .menu {
    border: none;
    width: 100%;
    padding: 50px;
    margin-top: 50px;
  }

  .menu a {
    font-size: 32px;
    line-height: 70px;
  }

  .show-menu .nav {
    background-color: #000000;
  }

  .show-menu .hamburger__icon {
    filter: invert(1);
  }

  .nav__logo__wrapper {
    width: 100%;
  }

  .nav__logo {
    width: 200px;
    margin: 0 auto;
  }
}


/*************************************************
*                      Body                      *
*************************************************/

.banner .parallax-container-top {
  width: 100%;
  height: 550px;
  margin-bottom: 15px;
}

.banner_mentions {
  text-align: right;
}

.main {
  min-height: 500px;
}

.main .content {
  max-width: 72%;
  text-align: justify;
}

.main--home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 32px;
  line-height: 40px;
}

.main--home .logo {
  width: 48%;
}

.main--home .description {
  width: 48%;
}

.main h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 70px;
  margin: 30px 0 30px 0;
}

.main h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 40px;
  margin: 30px 0 30px 0;
}

.main--actus h2 {
  margin-top: 60px;
}

/* La compagnie - L'équipe */
.team__member {
  display: flex;
  margin-bottom: 50px;
}

.team__member__photo {
  width: 200px;
  height: 200px;
  margin-right: 10px;
  text-align: right;
  font-size: 14px;
}

.team__member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* La compagnie - Fiche membre */
.main--member img {
  width: 200px;
  margin: 0 20px 20px 0;
}

@media screen and (max-width: 1024px) {
  .main .content {
    max-width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .banner img{
    height: 400px;
  }

  .main .content {
    max-width: 100%;
  }

  .main--home {
    flex-direction: column;
    text-align: center;
    font-size: 23px;
    line-height: 27px;
  }

  .main--home .logo, .main--home .description {
    width: 100%;
  }

  .main--home .description {
    margin-top: 30px;
  }
}

@media screen and (max-width: 420px) {
  .banner .parallax-container-top {
    width: 100%;
    height: 200px;
  }
}

/*************************************************
*                     Footer                     *
*************************************************/

.footer {
  color: #FFFFFF;
  background-color: #000000;
  margin-top: 60px;
  padding: 60px 0;
}

.footer .footer__description {
  display: flex;
  justify-content: space-between;
}

.footer h1 {
  font-size: 30px;
  line-height: 25px;
  margin: 0 0 30px 0;
}

.footer h2 {
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  margin: 0 0 10px 0;
}

/* Menu hamburger */
@media screen and (max-width: 900px) {
  .footer {
    margin-top: 30px;
    padding: 30px;
  }

  .footer .footer__container {
    padding: 0;
  }

  .footer .footer__description {
    flex-direction: column;
  }

  .footer .right {
    margin-top: 30px;
  }
}

@media screen and (max-width: 375px) {
  .footer {
    margin-top: 20px;
    padding: 20px;
  }
}