/*SLIDER*/

/* external css: flickity.css */

/* enable Flickity by default */
.carousel:after {
  content: 'flickity';
  display: none; /* hide :after */
}

@media screen and ( min-width: 768px ) {
  /* disable Flickity for large devices */
  .carousel:after {
    content: '';
  }
}

* { box-sizing: border-box; }

.carousel {
  margin: 0 60px; /* space for prev/next buttons */
}

.carousel-cell {
  width: 100%;
  height: auto;
  margin-right: 10px;
  border-radius: 5px;
  counter-increment: gallery-cell;
}

.flickity-prev-next-button {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  top: auto !important;
  display: block;
  bottom: -75px !important;
  transform: none !important;
}




.flickity-prev-next-button:hover {
  background: #F90;
}
/* arrow color */
.flickity-prev-next-button .arrow {
  fill: white;
}
.flickity-prev-next-button.no-svg {
  color: white;
}
/* position outside */
.flickity-prev-next-button.previous {
  left: 0px;
}
.flickity-prev-next-button.next {
  right: 0px;
}


.flickity-page-dots {
  display: none;
  position: relative !important;
  bottom:  0 !important;
  margin-top: 25px !important;
}

.flickity-page-dots .dot {
  border: 1px solid #FFF;
  opacity: 1 !important;
  background: none !important;
  margin: 4px 8px !important;

}

.flickity-page-dots .dot.is-selected {
  background: #FFF !important;
}

/*MAIN*/

body {
  font-family: 'Crimson Text', serif;
  margin: 0;
}

p, ul li {
  font-size: 19px;
}


h1, h2, h3, h4, h5, h6, p {
  font-weight: 400;
  margin: 0;
}

h1 {
  font-size: 54px;
  letter-spacing: 1.73px;
  text-shadow: 2px 2px 2px #000000;
  line-height: 1em;
}


h2 {
  font-size: 26px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 2px #000000;
  margin: 10px 0 50px 0;
  line-height: 1em;
}

h1, h2 {
  color: #FFFFFF;
}

h3, h4, h5 {
  color: #1A237E;
  line-height: 1em;
}

h3 {
  font-size: 44px;
  margin-bottom: 5px;
}



h4 {
  font-size: 34px;
}


h5 {
  font-size: 21px;
  line-height: 1.4em;
}

a {
  color: #FFF;
  text-decoration: none;
  font-size: 19px;
}

a:hover {
  text-decoration: underline;
}

.headline-description {
  color: #D50000;
}



.button-cta a {
  padding: 10px 20px;
  text-align: center;
  display: block;
}

.button-cta a:hover {
  text-decoration: none;
}

.container {
  display: block;
  clear: both;
  position: relative;
  margin-top: 80px;
}


.wrapper {
  display: block;
  padding: 15px 15px;
  overflow: hidden;
}


.inside-container {
  max-width: 1380px;
  margin: 0 auto;
  display: block;
  overflow: hidden;
}

.header-section-container {
  margin-bottom: 50px;
}

/*showcase*/

.showcase-container {
  height: 100vh;
  padding: 110px 0px 0 20px;
}

.showcase-container.container {
  margin: 0;
}


.background-cover-showcase {
  background: url(maxime-portfolio-images/maxime-yahouedeou-cover.jpg) #01211F;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -4;
  background-position: right;
}

.button-cta {
  display: inline-block;
}

.showcase-container .button-cta {
  border: 1px solid rgba(255, 255, 255, 0.1);
  float: left;
  margin-bottom: 15px;
}

.cta-variante-header-1, .cta-variante-header-2 {
  background: #C63024;
  margin-right: 50px;
}

.cta-variante-header-1:hover, .cta-variante-header-2:hover {
  background: #D33D34;
}

.cta-main {
  background: #1A237E;
}

.cta-main:hover {
  background: #283593;
}

.background-shadow-showcase {
  position:absolute;
  top:120px;
  left: 0;
  background-image: linear-gradient(-180deg, rgba(0,0,0,0.00) 1%, rgba(0,0,0,0.30) 52%, rgba(0,0,0,0.00) 100%);
  display: block;
  width: 550px;
  height: 150px;
  z-index: -2;
  display: none;
}

.background-shadow-showcase-mobile {
  background-image: linear-gradient(-180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.70) 19%, #000000 53%, rgba(0,0,0,0.70) 79%, rgba(0,0,0,0.25) 100%);
  opacity: 0.14;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  top: 0;
  display: block;
}


/*BACKGROUND STUDIES*/

.background-studies-container .header-section-container {
  margin-bottom: 50px;
}

.singe-studies-container {
  display: block;
  overflow: hidden;
  padding: 40px 0;
}

.date-studies {
  font-size: 24px;
}

.studies-russia .date-studies, .studies-france .date-studies, .studies-finland .date-studies {
  margin-top: 11px;
}

.singe-studies-container h4, .singe-studies-container .date-studies, .singe-studies-container .description-container {
  float: left;
}

.singe-studies-container h4 {
  width: auto;
  margin-bottom: 0;
}



.singe-studies-container .date-studies {
  text-align: right;
  float: left;
  margin-left: 15px;
}



.singe-studies-container .description-container {
  max-width: auto;
}

.text-description {
  margin-top: 10px;
}

.studies-russia h4, .studies-france h4, .studies-finland h4 {
  margin-top: 0;
}


.studies-russia .date-studies, .studies-france .date-studies, .studies-finland .date-studies {
  margin-top: 5px;
}

.container-animation-studies {
  position: absolute;
  opacity: 0;
  transition: 1s ease-in-out;
  z-index: -4;
  display: none;
}

.display-animation {
  opacity: 1;
  transition: 1s ease-in-out;
}


.moscow-metro {
  top: 60px;
  width: 810px;
  height: 810px;
}

.moscow-metro svg {
  width: 810px;
}

.paris-metro {
  top: -60px;
  width: 800px;
  height: 1000px
}

.paris-metro svg {
  width: 800px;
}


.helsinki-metro {
  top: 370px;
  width: 820px;
  height: 280px
}

.helsinki-metro svg {
  width: 580px;
}

.metro-hide-animation {
  display: none;
}


.container-animation-studies .path {
  transition: 0.5s ease;
}

.container-animation-studies .textsvg {
  transition: 1s ease;
}

.main-project-description .text-description {
  margin: 20px 0;
}

.main-project-description .button-cta {
 margin-top: 25px;
}

.main-project-description, .project-photos {
  display: block;
  overflow: hidden;
}

.main-project-description, .project-photos {
  width: 100%;
}

.main-project-description {
  float: left;
}

.project-photos {
  float: right;
}


.project-photos a {
  width: 100%;
  display: block;
}

.project-photos img {
width: 100%;
}

.single-project  {
  margin-bottom: 80px;
  display: block;
  overflow: hidden;
}

.project-description-header {
  display: inline-block;
  float: left;
  padding: 40px 0 20px 0;
}


/*EXPERIENCES*/

.single-experience {
  margin-bottom: 120px;
}

.description-experience {
  width: 100%;
  float: left;
}

.company-logo {
  width: 100%;
  float: left;
}


.container-description-experience {
  width: 100%
  float: left;
}

.container-description-experience  h4 {
  display: inline-block;
  font-size: 28px;
}


.date-work {
  display: inline-block;
  margin-top: 0px;
  float: none;
  margin-left: 15px;
}

.logo-rocket {
  margin: 0 auto;
  display: block;
}

.logo-rocket, .logo-publicis {
  margin-top: 30px;
}

.logo-rocket svg, .logo-publicis svg {
  width: 200px;
}



/*SLIDER*/

.container-carousel {
  background: #000;
  padding: 17vh 0;
}

.carousel-cell img {
  width: 100%;
  max-height: 100%;
}

.carousel-cell {
  text-align: center;
}

.main-carousel {
  padding: 0 10px;
  overflow: visible;
}

.flickity-button {
  background: none !important;
}


.header-slider.header-section-container {
  margin-bottom: 10px;
}

.caption-photo {
  margin-top: 5px;
}

.caption-photo p {
  color: #FFF;
  text-align:center;
}

/*FOOTER*/

.container-footer h4 {
  line-height: 1.3em;
  width: 100%;
  float: left;
  text-align: center;
}

.container-footer-buttons {
  width: 100%;
  float: left;
  margin-top: 50px;
}

.container-footer-buttons .button-cta {
  display: block;
}



.container-footer-buttons .single-container-buttons {
  float: left;
  display: block;
  width: 100%;
  margin-bottom: 10px;
}


.container-footer {
  padding: 90px 0px 50px 0px;
  display: block;
  overflow: hidden;
}


.footer-copyright p, .footer-copyright a {
  font-size: 16px;
  text-align: center;
}

.footer-copyright a {
  color: #000;
}




/*RESPONSIVE*/

/* Media Query for Mobile Devices */
@media (max-width: 320px) {

h1 {
  font-size: 49px;
}

h2 {
  font-size: 23px;
}

.showcase-container {
  padding: 110px 0px 0 10px;
}

}

/* Media Query for low resolution  Tablets, Ipads */
@media (min-width: 481px) and (max-width: 767px) {


}

/* Media Query for low resolution  Tablets, Ipads */
@media (max-width: 767px) {


}



/*RESPONSIVE FROM TABLET to DESKTOP*/
@media (min-width: 768px) and (max-width: 1024px){


}

/*RESPONSIVE FROM TABLET*/

@media (min-width: 769px) {

  /*SHOWCASE*/

  .background-shadow-showcase-mobile {
    display: none;
  }

  /*EXPERIENCES*/

  .description-experience {
    width: 60%;
  }

  .company-logo {
    width: 40%;
  }

  .logo-rocket, .logo-publicis {
    margin-top: 60px;
  }

  .date-work {
    display: inline-block;
    margin-top: 10px;
    float: right;
    margin-left: 0;
  }

  .logo-rocket svg, .logo-publicis svg {
    width: 300px;
  }

  .container-description-experience {
    width: 500px;
  }

  .container-description-experience  h4 {
    font-size: 34px;
  }


}

/* Media Query for Laptops and Desktops */
@media (min-width: 1025px) {

  /*MAIN*/

  .wrapper {
    padding: 25px 50px;
  }

  h1 {
    font-size: 84px;
    letter-spacing: 1.73px;
    text-shadow: 2px 2px 2px #000000;
  }

  h2 {
    margin: 0px 0 20px 0;
  }

  h3 {
    font-size: 54px;
    margin-bottom: 15px;
  }


  h4 {
    font-size: 44px;
  }

  h5 {
    font-size: 26px;
  }

  .container {
    margin-top: 140px;
  }

  .header-section-container {
    margin-bottom: 50px;
  }

  /*showcase*/

  .showcase-container {
    padding: 150px 0px 0 70px;
    height: 120vh;
  }

  .background-cover-showcase {
    background-position: left;
  }

  .background-shadow-showcase {
    display: block;
  }


  .studies-russia h4 {
    margin-top: 77px;
  }
  .studies-france h4 {
    margin-top: 47px;
  }
  .studies-finland h4 {
    margin-top: 22px;
  }

  .studies-russia .date-studies {
    margin-top: 87px;
  }

  .studies-france .date-studies {
    margin-top: 57px;
  }

  .studies-finland .date-studies {
    margin-top: 30px;
  }

  .singe-studies-container .date-studies {
    width: 180px;
    text-align: left;
    float: left;
    margin-left: 0;
  }

  .singe-studies-container h4 {
    width: 180px;
    margin-bottom: 0px;
  }

  .singe-studies-container .description-container {
    max-width: 550px;
  }

  .singe-studies-container h4 {
    margin-bottom: 25px;
  }


/*PROJECTS*/

  .main-project-description {
    width: 40%;
  }

  .project-photos {
    width: 60%;
  }

  .main-project-description .text-description {
    margin: 0px 0 20px 0;
  }

  /*PHOTOGRAPHY*/

  /* smaller, dark, rounded square */
  .flickity-prev-next-button {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    top: 440px !important;
    display: none;
    bottom: auto;
  }

  .carousel-cell img {
    width: auto;
    max-height: 85vh;
  }

  .flickity-prev-next-button {
    display: block;
  }

  .flickity-page-dots {
    display: none;
  }

  .main-carousel {
    padding: 0 100px;
  }

  .container-carousel {
    padding: 100px 0;
  }


  .container-footer h4 {
    width: 70%;
    text-align: left;
    margin-bottom: 0px;
  }

  .container-footer-buttons {
    width: 30%;
  }

  .container-footer-buttons .button-cta {
    display: inline-block;
  }

  .footer-copyright p {
    text-align: left;
  }

}

@media (min-width: 1200px) and (max-width: 1399px) {
  /*BACKGROUND STUDIES*/
  .container-animation-studies {
    display: block;
    left: 950px;
  }

}

@media (min-width: 1400px) and (max-width: 1823px){
  /*BACKGROUND STUDIES*/
  .container-animation-studies {
    display: block;
    left: 67%;
  }

}


/* Large screens ----------- */
@media (min-width : 1824px) {

  /*BACKGROUND STUDIES*/
  .container-animation-studies {
    display: block;
    left: 72%;
  }

}
