@font-face {
  font-family: "Netflix";
  src: url('../fonts/NetflixSansRegular.ttf');
}

@font-face {
  font-family: "Netflix";
  font-weight: Bold;
  src: url('../fonts/NetflixSansBold.ttf');
}

@font-face {
  font-family: "FontAwesome";
  src: url('../fonts/fa-light-300.ttf');
}

@font-face {
  font-family: "FontAwesome";
  font-weight: bold;
  src: url('../fonts/fa-regular-400.ttf');
}

@font-face {
  font-family: "FontAwesome Solid";
  src: url('../fonts/fa-solid-900.ttf');
}

@font-face {
  font-family: "FontAwesome Brands";
  src: url('../fonts/fa-brands-400.ttf');
}

body {
  font-family: Netflix;
  background:black;
  color: white;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: white;
}

h1 {
  font-size: 1.4vw !important;
}

p {
  margin: 0;
  padding: 0;
}

.under-construction {
  padding-top: 30vh;
  font-size: 100px;
  text-align: center;
  width: 100%;
  height: 70vh;
}

#aboutme {
  background: rgba(26, 26, 26, 1);
  border-radius: 0.5vw;
  padding: 4vw 4vw;
  font-size: 1vw;
  max-width: 70vw;
  max-height: 60vh;
  margin: auto;
  position: relative;
  background-image: url(../img/about.jpg);
  background-position: calc(0% - 2px) calc(45%);
  background-size: 120%;
}

.logo#about {
  height: 3vw;
  width: 20vw;
}

.about-container {
  position: relative;
  width: 50%;
  margin-top: 32vh;
  transform: translateY(-50%);
}

.about-text {
  margin: 50px 0px;
  text-shadow: 0px 0px 180px rgba(33, 51, 63, 0.75);
}

#center {
  width: 100%;
  text-align: center;
}

.button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5vw;
  font-size: 1vw;
  font-weight: bold;
  width: 55%;
  height: auto;
  color: white;
  padding: 1.2vw 1.5vw;
  text-transform: uppercase;
  text-align: center;
  transition: 0.1s;
}

.button:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media only screen and (min-device-width : 480px) {

  #mobile {
    display: none;
  }

}

/* --------------------- */
/* -------- HEADER ----- */
/* --------------------- */

.header {
  position: absolute;
  width: calc(100% - 8vw);
  height: auto;
  background: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  padding: 3vw 4vw;
  z-index: 99;
}

.logo{
  display: inline-block;
  background-image: url(../img/logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 25%;
  height: 2.2vw;
}

.menu {
  float: right;
}

.element {
  display: inline-block;
  text-align: center;
}

.menu-marge {
  margin-left: 1.3vw;
}

.icon {
  font-size: 1.1vw;
  font-family: FontAwesome;
  margin-bottom: 3px;
}

.icon#social {
  font-family: FontAwesome Brands;
}

.title {
  font-size: 0.8vw;
}

/* ------------------- */
/* ------- WORKS ----- */
/* ------------------- */

#video {
  text-align: center;
}

#small-dialog {
  background: rgba(26, 26, 26, 1);
  border-radius: 0.5vw;
  padding: 20px 30px;
  font-size: 14px;
  text-align: justify;
  max-width: 50vw;
  margin: 40px auto;
  padding-bottom: 40px;
  position: relative;
}

#gallery-story {
  max-width: 400px;
  position: relative;
}

.content {
  margin-top: -10vw;
  position: relative;
  background: linear-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
  z-index: 1;
}

.home {
  width: 100%;
  z-index: 99;
  position: relative !important;
  margin-top: -15vw;
  margin-bottom: 2vw;
}

.section {
  position: relative;
  margin-top: 1.4vw;
}

.section#first {
  margin-top: 0px !important;
}

.section h1 {
  margin: 0px 0px 1.5vw 4vw;
  padding-top: 1.4vw;
}

#gallery, #paysage {
  background: linear-gradient( rgba(70, 70, 70, 0.3), rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
}

.description {
  position: relative;
  padding: 0px 27px;
  font-size: 14px;
  text-align: left;
}

.projects, .gallery {
  width: calc(100% - 8vw);
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0px 4vw !important;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.projects::-webkit-scrollbar, .gallery::-webkit-scrollbar {
  display: none;
}

.projects a {

}

.container {
  width: auto;
  display: inline-block;
  vertical-align: top;
}

.poster  {
  position: relative;
  display: inline-block;
  border-radius: 0.5vw;
  background: white;
  background-size: cover;
  background-position: top center;
  width: 13.95vw;
  height: 20.87vw;
  margin-right: 0.4vw;
}

#paysage .poster {
  margin-right: 9px;
  height: 13.95vw;
  width: 20.87vw;
}

#gallery .poster {
  margin-right: 9px;
}

.poster-description {
  opacity: 0.4;
  font-size: 11px;
  padding: 3px 0px;
  text-transform: uppercase;
}

.poster-title {
  font-size: 17px;
}

.footer {
  padding-bottom: 75px;
  background: rgba(26, 26, 26, 1);
  font-size: 12px;
  margin-top: 2vw;
}

.credits {
  display: inline-block;
  position: relative;
  margin-top: 1.4vw;
  margin-left: 4vw;
  margin-right: 4vw;
  vertical-align: top;
}

.credits-infos {
  margin-top: -10px;
}

.credits-description {
  margin-top: 15px;
}

.credits-title {
  opacity: 0.5;
}

.info-logo {
  border-radius: 0.5vw;
  bottom: 0;
  position: absolute;
  display: inline-block;
  background: linear-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  height: 50%;
  width: 100%;
  text-align: center;
  opacity: 0;
  transition: 0.5s;
}

.poster-logo{
  position: relative;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-top: 30%;
  opacity: 0;
  width: 65%;
  height: 60%;
  transition: 0.5s;
}

.poster:hover > .info-logo {
    opacity: 1;
}

.poster:hover > .info-logo > .poster-logo {
    margin-top: 25%;
    opacity: 1;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {


    h1 {
      font-size: 18px !important;
    }

    #desktop {
      display: none;
    }

    .under-construction {
      display: none;
    }

    .button {
      display: inline-block;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      font-size: 14px;
      font-weight: bold;
      width: 62%;
      height: auto;
      color: white;
      padding: 12px;
      text-transform: uppercase;
    }

    /* --------------------- */
    /* -------- HEADER ----- */
    /* --------------------- */

    .header {
      position: absolute;
      width: calc(100% - 54px);
      height: auto;
      background: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
      padding: 27px 27px;
      z-index: 99;
    }

    .logo{
      display: inline-block;
      background-image: url(../img/logo.png);
      background-repeat: no-repeat;
      background-size: contain;
      width: 20%;
      height: 3vh;
    }

    .menu {
      float: right;
    }

    .element {
      display: inline-block;
      text-align: center;
    }

    .menu-marge {
      margin-left: 15px;
    }

    .icon {
      font-size: 15px;
      font-family: FontAwesome;
      margin-bottom: 3px;
    }

    .icon#social {
      font-family: FontAwesome Brands;
    }

    .title {
      font-size: 10px;
    }

    /* ------------------- */
    /* ------- WORKS ----- */
    /* ------------------- */

    #video {
      text-align: center;
    }

    #small-dialog {
    	background: rgba(26, 26, 26, 1);
      border-radius: 8px;
    	padding: 20px 30px;
      font-size: 14px;
    	text-align: justify;
    	max-width: 400px;
    	margin: 40px auto;
      padding-bottom: 40px;
    	position: relative;
    }

    #gallery-story {
    	max-width: 400px;
    	position: relative;
    }

    .content {
      margin-top: 0;
      padding-top: 20px;
      position: relative;
      background: black !important;
      z-index: 1;
    }

    .home {
      margin-top: 0;
      margin-bottom: 0;
    }

    .section {
      position: relative;
      margin-top: 25px;
    }

    .section#first {
      margin-top: 0px !important;
    }

    .section h1 {
      margin: 0px 0px 20px 27px;
      padding-top: 25px;
    }

    #gallery, #paysage {
      background: linear-gradient( rgba(26, 26, 26, 1), rgba(0, 0, 0, 0));
    }

    .description {
      position: relative;
      padding: 0px 27px;
      font-size: 14px;
      text-align: left;
    }

    .projects, .gallery {
      width: calc(100% - 54px);
      overflow-x: scroll;
      overflow-y: hidden;
      white-space: nowrap;
      padding: 0px 27px !important;
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
    }

    .projects::-webkit-scrollbar, .gallery::-webkit-scrollbar {
      display: none;
    }

    .projects a {

    }

    .container {
      width: auto;
      display: inline-block;
      vertical-align: top;
    }

    .poster  {
      position: relative;
      display: inline-block;
      border-radius: 8px;
      background: white;
      background-size: cover;
      background-position: top center;
      width: 128px;
      height: 191px;
      margin-right: 6px;
    }

    #paysage .poster {
      margin-right: 9px;
      height: 128px;
      width: 191px;
    }

    #gallery .poster {
      margin-right: 9px;
    }

    .poster-description {
      opacity: 0.4;
      font-size: 11px;
      padding: 3px 0px;
      text-transform: uppercase;
    }

    .poster-title {
      font-size: 17px;
    }

    .footer {
      position: relative;
      padding-bottom: 75px;
      background: rgba(26, 26, 26, 1);
      font-size: 12px;
      margin-top: 27px;
    }

    .credits {
      display: block;
      position: relative;
      padding-top: 20px;
      margin-left: 27px;
      vertical-align: top;
    }

    .credits-infos {
      margin-top: -10px;
    }

    .credits-description {
      margin-top: 15px;
    }

    .credits-title {
      opacity: 0.5;
    }

    .info-logo {
      border-radius: 8px;
      bottom: 0;
      position: absolute;
      display: inline-block;
      background: linear-gradient( rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
      height: 50%;
      width: 100%;
      text-align: center;
      opacity: 1 !important;
    }

    .poster-logo{
      position: relative;
      display: inline-block;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      margin-top: 20% !important;
      opacity: 1 !important;
      width: 65%;
      height: 75%;
    }

}
