html {
  height: 100%;
}

body {
  font-family: 'Oswald' ;
  background: radial-gradient(#fff, #DDDACF);
  display: flex;
  min-height: 100vh;
  height: 100%;
  flex-direction: column;
}

@font-face {
 font-family: 'Oswald', ;
}

/********* LOADER *********/
.loader-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #222222;
  display:flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.load {
  margin-top: 20px;
}

.preloader-2 .line {
  width: 1px;
  height: 12px;
  background: #fff;
  margin: 0 1px;
  display: inline-block;
  animation: opacity-2 1000ms infinite ease-in-out;
}

.preloader-1 .line-1, .preloader-2 .line-1 { animation-delay: 800ms; }
.preloader-1 .line-2, .preloader-2 .line-2 { animation-delay: 600ms; }
.preloader-1 .line-3, .preloader-2 .line-3 { animation-delay: 400ms; }
.preloader-1 .line-4, .preloader-2 .line-4 { animation-delay: 200ms; }
.preloader-1 .line-6, .preloader-2 .line-6 { animation-delay: 200ms; }
.preloader-1 .line-7, .preloader-2 .line-7 { animation-delay: 400ms; }
.preloader-1 .line-8, .preloader-2 .line-8 { animation-delay: 600ms; }
.preloader-1 .line-9, .preloader-2 .line-9 { animation-delay: 800ms; }

@keyframes opacity-1 { 
  0% { 
    opacity: 1;
  }
  50% { 
    opacity: 0;
  }
  100% { 
    opacity: 1;
  }  
}

@keyframes opacity-2 { 
  0% { 
    opacity: 1;
    height: 15px;
  }
  50% { 
    opacity: 0;
    height: 12px;
  }
  100% { 
    opacity: 1;
    height: 15px;
  }  
}

.bold {
  font-weight: 700;
}

.cta {
  border: 1px solid #555555;
  border-radius: 50px;
  padding: 12px 40px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: #555555;
  letter-spacing: 1px;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.cta:hover {
  background: #555;
  color: #fff;
  letter-spacing: 2px;
  padding: 12px 42px;
}

.extern-link {
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  color: #555555;
}

.extern-link:hover {
  text-decoration: underline;
  color: #333333;
}

/* --------- HEADER --------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  width: 94%;
  height: 70px;
  margin: 30px 3% 20px;
  z-index: 10;
}

.left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.name {
  display: block;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -3px;
}

.job {
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 2px;
  margin-top: 3px;
}

.left img {
  margin-right: 10px;
  max-width: 30px;
}

/* --------- BURGER MENU --------- */
#menu {
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 50%;
  background: #333;
  color: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 3;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#menu:hover {
  letter-spacing: 2px;
  box-shadow: 1px 1px 15px #999;
}

/* --------- ABOUT --------- */
#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
}

#overlay #menu {
  position: absolute;
  top: 40px;
  right: 3%;
  z-index: 3;
}

#overlay .close {
  position: fixed;
  z-index: 3;
  top: 40px;
  right: 3%;
  opacity: 0;
  animation: animclose 0.7s ease-out;
  animation-delay: 0.7s;
  animation-fill-mode: forwards;
}

#overlay #bubble {
  width: 4000px;
  height: 4000px;
  border-radius: 50%;
  background-color: #333;
  transform-origin: center center;
  position: absolute;
  top: -2000px;
  right: -2000px;
  animation: animenu 1s ease-out;
}

.about {
  width: 90%;
  color: #fff;
  z-index: 10;
  display: flex;
  justify-content: space-around;
  animation: animabout 2s ease-out;
}

@keyframes animabout {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#overlay a {
  text-decoration: none;
}

@keyframes animenu {
  0% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  100% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

@keyframes animclose {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  80% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(1.0);
    opacity: 1;
  }
}

.center {
  width: 44%;
  padding: 0 2%;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.center .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.center .cta {
  width: 150px;
  color: #fff;
  padding: 12px 0;
  text-align: center;
}

.center .cta:hover {
  border: 1px solid #555555;
  background: #555;
  color: #fff;
  letter-spacing: 3px;
}

.sides {
  width: 24%;
}

.sides img {
  max-width: 100%;
}

.nb {
  background-image: url(../images/nicolas-barbet-designer.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.contact {
  background: #252525;
  padding: 30px; 
}

.cta-contact {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  background: #333333;
  border-radius: 50px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  letter-spacing: 3px;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.cta-contact:hover {
  background: #fff;
  font-weight: 400;
  color: #333;
  letter-spacing: 3px;
}

.poste {
  margin-bottom: 20px;
  line-height: 18px;
  letter-spacing: 2px;
  font-size: 13px;
}

.date {
  display: block;
  float: right;
  text-align: right;
}

.location {
  font-size: 11px;
  font-weight: 200;
}

.company {
  font-size: 11px;
  font-weight: 300;
}

/* --------- ALL PROJECTS --------- */
#allprojects {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  animation: projectrans 1s ease-in;
}

@keyframes projectrans {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.projects-container {
  display: flex;
  z-index: 10;
  width: 80%;
  height: 60%;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
}

#list {
  position: absolute;
  bottom: 50px;
  right: 3%;
  width: 50px;
/*  height: 50px;
*/  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

#list_icon {
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#list_icon:hover {
  box-shadow: 1px 1px 15px #999;
}

.minproject {
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding-top: 30px;
  border-radius: 5px;
}

.minproject:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.minproject img {
  max-width: 90%;
}

.minproject h3 {
  margin-top: 10px;
}

/* --------- SECTION --------- */
#section {
  position: absolute;
  left: 3%;
  height: 70%;
  top: 15%;
  bottom: 5%;
  z-index: 9;
  vertical-align: middle;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.line{
  background-image: url(../images/line.png);
  background-position: center;
  background-repeat: repeat-y;
  height: 40%;
}

.white-line{
  background-image: url(../images/white-line.png);
  background-position: center;
  background-repeat: repeat-y;
  height: 40%;
}

.vertical-line{
  border-left: 1px solid #555;
  display: inline-block;
  height: 30vh;
  margin: 10px 15px;
}

.title_section {
  height: 20%;
  width: 30px;
  display: flex;
  align-items: center;
}

.flip {
  font-family: 'Oswald' ;
  font-weight: 400;
  line-height: 1;
  margin: 0;
  padding: 0;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  transform-origin: 24px 14px;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
}


/* --------- SWIPER --------- */
.swiper-container {
  width: 94%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;


  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide .cta {
  position: absolute;
  bottom: 50px;
}

.swiper-slide img {
  margin-top: 100px;
  z-index: 1;
  max-height: 55%;
}

h1 {
  font-size: 10vw;
  font-weight: 700;
  color: rgba(68, 68, 68, 0.2);
  text-transform: uppercase;
  position: absolute;
  margin: -150px auto 0 auto;
}

/* --------- PROJETS --------- */
.projet {
  display: none;
  position: fixed;
  flex-direction: column;
  width: 94%;
  height: 94%;
  padding: 3%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0px 0px 15px #EAEAEA;
  animation-duration: 1s;
  animation-name: slidein;
  overflow-y: scroll;
}

@keyframes slidein {
  from {
    margin-top: 100%;
  }

  to {
    margin-top: 0%;
  }
}

.projet .close {
  position: fixed;
  top:3%;
  right: 3%;
}

.title-projet {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px; 
  color: #fff;
  letter-spacing: 1px;
}

.title-projet p {
  margin-bottom: 0;
  font-size: 12px;
}

.title-projet img {
  margin-right: 10px;
}

.projet .visu {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
}

.projet .visu img {
  max-width: 100%;
  max-height: 100%;
}

.vids {
  width: 100%;
  padding: 30px 0;
  display: flex;
  justify-content: space-around;
}

#opo .vids {
  background: #36B5E5;
}

h2 {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 5px;
}

h3 {
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}


p {
  font-size: 14px;
  font-family: 'Roboto' ;
  line-height: 22px;
  margin-bottom: 30px;
  font-weight: 300;
}

.video {
  width: 60%;
  height: 40%
}

/* --------- FOOTER --------- */
.mouse{
  position: absolute;
  bottom: 50px;
  left: 3%;
  width: 30px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.finger{
  display: none;
}

#right {
  position: absolute;
  bottom: 50px;
  right: 3%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

#see-all {
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

#see-all:hover {
  box-shadow: 1px 1px 15px #999;
}


/* Responsive */

@media screen and (max-width: 768px) {
body {
  min-height: 100%;
  height: 100%;
}

  .header {
    width: 90%;
    margin: 20px 5% 20px;
  }

  #section {
    display: none;
  }

  h1 {
  font-size: 10vw;
  font-weight: 700;
  color: rgba(68, 68, 68, 0.2);
  text-transform: uppercase;
  position: absolute;
  margin: 100px auto 0 auto;
}

.column .name, .column .job {
  display: none;
}

#right {
  bottom: 20px;
}

#overlay {
  position: absolute;
  height: unset;
  top: unset;
  bottom: unset;
}

#overlay .close {
  z-index: 15;
}

#Ellipse_16 {
  opacity: 0.5;
  fill: #000;
}

#overlay #bubble {
  display: none;
}

.about {
  flex-direction: column;
  width: 100%;
  background: #333;
  animation: animabout 0.7s ease-out;
}

.sides {
  width: 100%;
}

.center {
  width: 92%;
  padding: 8% 4%;
}

.nb {
  height: 250px;
  background-position: 0px -130px;
}

.name {
  margin-bottom: 5px;
}

.contact {
  padding: 8% 4%;
}

.mouse{
  display: none;
}

.finger{
  position: absolute;
  bottom: 20px;
  left: 3%;
  width: 30px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------- PROJETS --------- */
.projects-container {
  width: 80%;
  height: 80%;
}

.minproject {
  width: 50%;
  padding-top: unset;
}

.minproject img {
  max-width: 70%;
}

.minproject h3 {
  font-size: 14px;
  margin-bottom: unset;
  margin-top: 10px;
}

#list {
  bottom: 20px;
}


.swiper-slide img {
  max-width: 100%;
  margin-top: -100px;
}

.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}
 
 .swiper-button-next:after,.swiper-button-prev:after{
  display: none;
 }

.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px,-50%,0)}
 .swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}
 .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}
 .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}

 .swiper-slide .cta {
  bottom: 20%;
 }

 /* --------- PROJETS --------- */
.projet {
  width: 90%;
  min-height: 96%;
  padding: 5%;
}

@keyframes slidein {
  from {
    margin-top: 100%;
    opacity: 0;
  }

  to {
    margin-top: 0%;
    opacity: 1;
  }
}

.projet .close {
  position: fixed;
  top: 94%;
  right: 46%;
}

.title-projet {
  margin-bottom: 35px; 
}

.title-projet img {
  max-width: 45px;
  margin-bottom: 5px;
}

.projet .visu {
  width: 100%;
}

.projet .visu img {
  max-height: 95%;
  max-width: 100%;
}

.vids {
  flex-direction: column;
  align-items: center;
}

.vids iframe {
  width: 330px;
  height: 185px;
  margin-bottom: 30px;
}

}