@font-face {
  font-family: 'Aileron';
  src: url(aileron/aileron_regular.otf);
  font-weight: regular;
}
@font-face {
  font-family: 'Aileron Thin';
  src: url(aileron/aileron_thin.otf);
  font-weight: thin;
}
@font-face {
  font-family: 'Aileron Heavy';
  src: url(aileron/aileron_heavy.otf);
  font-weight: heavy;
}
html{
  scroll-behavior:smooth;
	background:var(--bkg);
}
:root {
  --c1: #FEBF3A;
  --white: #fff;
  --bkg: #121212;
  --hauteur-menu: 50px;
}


* {
  margin-left: 0px;
  padding: 0px;


}


/*------------------------------------------*/
/*Navigation*/
/* Style the navigation menu */
nav {
  width: 100vw;
  height: var(--hauteur-menu);
  position: fixed;
  top:0px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.3);
  z-index:55;
}

.menuSmall{
  display:none;
  }
.menuBig{
  display: none;
  }
@media (max-width: 1000px) {
  .menuBig{
    display: none;
    }
  .menuSmall{
    display:none;
    }

  .topnav {
   overflow: hidden;
   position: relative;
   top:0px;
   list-style: none;
  }
  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #myLinks {
   display: none;
  }

  .topnav #myTags {
   display: none;
  }
  /* Style navigation menu links */
  .topnav a {
   font-family: Aileron Thin;
   padding: 14px 16px;
   font-size: 15px;
   display:block;
   color: var(--white);
   background-color: black;
   box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.3);
   text-decoration: none;
   list-style: none;
   transition-duration: 0.4s;

  }

  /* Style the hamburger menu */
  .topnav a.icon {
   display: block;
   position: absolute;
   right:0px;
   width:22px;
   height: 22px;
   top:0px;
  }

  .topnav a.iconNav{
    display: block;
    width:22px;
    height: 22px;
    top:0px;

  }
  /* Add a grey background color on mouse-over */
  .topnav li a:hover {
   background-color: black;
   color: var(--c1);
   text-decoration: none;
   list-style: none;
   transition-duration: 0.4s;
  }
  /* Style the active link (or home/logo) */
  .active {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.3);
    color: var(--c1);

  }
  div > li > a {
      text-decoration: none;
      color: var(--white);
      transition-duration: 0.4s;
    }
  .menu-deroulant > a:after{
      content: '❯';
      font-size: 14px;
      margin-left: 10px;
      display: inline-block;
    }
  .sous-menu {
      overflow: hidden;
      max-height: 0;
      margin-top: 0px;
      transition-duration: 0.4s;
    }
  .sous-menu li {
      background-color: black;
      align-items: right;
      display: block;
      top:0px;
    }
  .sous-menu li a {
    font-family: Aileron Thin;
    font-size: 15px;
    padding: 14px 16px;
    text-align: center;
    text-decoration: none;
    list-style: none;
    color: var(--white);
    right:20px;
  }
  .sous-menu li:hover {
    text-decoration: none;
    color: var(--c1);
    align-items: left;
    background-color: black;
    transition-duration: 0.4s;
  }

  .tags_nav .tag_notion_nav{
    text-decoration: none;
    margin-right: 15px;
    margin-left: 15px;
    font-family: Aileron Thin ;
    font-size: 15px;
    padding: 5px 20px;
    padding-top: 5px;
    margin-top: 10px;
    margin-bottom: 0px;
    margin-right: 150px;
    margin-left: 150px;
    text-align: center;
    color: var(--white);
    background-color: none;
    transition-duration: 0.4s;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 20px;
    border-color: var(--white);
  }

  .tag_notion_nav:hover {
    color: var(--c1);
    border-color: var(--c1);
    background-color: none;
  }

}
@media (min-width: 1001px) {
  .menuSmall{
    display:none;
    }
  .menuBig{
    display: inherit;
    }

  .topnav {
   overflow: hidden;
   position: relative;
   display: flex;
   top:0px;
  }
  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #myLinks {

   text-decoration: none;
   list-style: none;

  }
  .topnav #myTags {
   display: none;
   position: absolute;
   right: 100px;
  }
  /* Style navigation menu links */
  .topnav a {
   font-family: Aileron Thin;
   padding: 14px 16px;
   font-size: 17px;
   display: inline-flex;
   text-decoration: none;
   list-style: none;
   transition-duration: 0.4s;
   list-style: none;
   height: 22px;
   color: white;
  }
  /* Style the hamburger menu */
  .topnav a.icon {
    display: block;
    position: absolute;
    right:18px;
    width:22px;
    height: 22px;
    top:0px;


  }
  .topnav a.iconNav {
    display: none;
  }
  /* Add a background color on mouse-over */
  .topnav li:hover {
   text-decoration: none;
   transition-duration: 0.4s;
   list-style: none;

  }
  .topnav a:hover{
    color: orange;
  }
  /* Style the active link (or home/logo) */
  .active {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.3);
    color: orange;
    text-decoration: none;
  }

  .menu-deroulant > a:after{
    content: '❯';
    font-size: 14px;
    margin-left: 10px;
    display: inline-block;
  }
  .sous-menu {
    overflow: hidden;
    backdrop-filter: blur(4px);
    box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.3);

    max-height: 0;
    margin-top: 0px;
    transition-duration: 0.4s;
  }
  .sous-menu li {
    align-items: right;
    display: block;
    transition-duration: 0.4s;
  }
  .sous-menu li:hover {
    align-items: left;
    color: var(--c1);
    background-color: var(--bkg);
    border-color: white;
    transition-duration: 0.4s;
  }
  .sous-menu li a {
    font-family: Aileron Thin;
    font-size: 17px;
    padding: 14px 16px;
    text-align: left;
    text-decoration: none;
    list-style: none;
    mix-blend-mode: difference;
    color: white;
    right:20px;

  }

    .tags_nav a{
        display: inline-flex;
      }

  .tags_nav .tag_notion_nav{
    text-decoration: none;
    margin-right: 15px;
    margin-left: 15px;
    font-family: Aileron Thin ;
    font-size: 16px;
    color: var(--white);
    padding: 5px 20px;
    padding-top: 5px;
    margin-top: 10px;
    margin-bottom: 0px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition-duration: 0.4s;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 20px;
    border-color: var(--white);
    }

  .tag_notion_nav:hover {
    color: var(--c1);
    border-color: var(--c1);
    background-color: none;
  }
}
  @keyframes rotationFleche {
    0% {
      transform: rotate(0deg);
    }
    100%{
      transform: rotate(90deg);
    }
  }
  .menu-deroulant:hover > a:after{
    animation: rotationFleche 0.2s linear forwards;
  }

  @keyframes apparitionSousMenu {
    0% {
      box-shadow: 0px 3px 3px 1px rgba(0,0,0,0);
    }
    30% {
      box-shadow: 0px 3px 3px 1px rgba(0,0,0,0.3);
    }
    100% {
      max-height: 50em;
      box-shadow: 0px 3px 3px 1px rgba(0,0,0,0.3);
    }
  }
  .menu-deroulant:hover > .sous-menu {
    animation: apparitionSousMenu 1s forwards;
  }


  /* The sticky class is added to the navbar with JS when it reaches its scroll position */
  .sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }

/*------------------------------------------*/
/*Footer et éléments fixes*/
  footer{

    background-color: #232225;
    font-family: Aileron Thin ;
    font-size: 14px;
    color: var(--c1);

    height: 100px;
    margin-top: 100px;


  }
  footer div{
    padding-left: 50px;
    padding-top: 10px;
    align-items: center;
    text-align: center;
    right: 0px;

}
  top{
    position: fixed;
    right: 2%;
    bottom: 5%;
  }

  .top {
    text-decoration: none;
    padding: 10px;
    font-family: Aileron Thin ;
    font-size: 14px;
    color: var(--white);
    border-radius: 100px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition-duration: 0.4s;
  }

  .top:hover {
    /*color: var(--c1);*/
    background-color: var(--c1);
  }
  /* styles.css */


@media (max-width: 1000px) {
  .tag{
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
    font-family: Aileron Thin ;
    font-size: 14px;
    color: var(--white);
    padding: 10px 18px;
    display: inline-block;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 20px;
    position:relative;
  }
  .tag_notion{
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
    font-family: Aileron Thin ;
    font-size: 14px;
    color: var(--c1);
    padding: 10px 18px;
    display: inline-block;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 20px;
    position:relative;
    border-color: var(--c1);
  }
}
@media (min-width: 1001px) {
  .tag{
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    font-family: Aileron Thin ;
    font-size: 16px;
    color: var(--white);
    padding: 10px 20px;
    display: inline-block;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 20px;
    position:relative;
  }
  .tag_notion{
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    font-family: Aileron Thin ;
    font-size: 16px;
    color: var(--c1);
    padding: 10px 20px;
    display: inline-block;
    border-style: solid;
    border-width: 1.5px;
    border-radius: 20px;
    position:relative;
    border-color: var(--c1);
  }
}
/*------------------------------------------*/
/*Gallery*/



@media (max-width: 1000px){
  header{
    position: relative;
    height: 1500px;
    max-width: 100vw;
    margin-top: 12%;
    margin-left: 30%;
    }

  .container {
    position: relative;
    padding-top: 1%;
    left: 4%;
    display:block;

  }
  .card_img{
    object-fit: cover;
    width: 250px;
    height:auto;
    border-radius: 10px;
  /*   margin-left: -50px; */
    position: relative;
    box-shadow: -1rem 0 3rem #000;
    transition: 0.4s ease-out;
    position: relative;
    opacity:1;
    border: 2px solid var(--bkg);

  }
  .card {
    display: block;
    width: 250px;
      /*   margin-left: -50px; */
    transition: 0.4s ease-out;
    position: relative;
  }

  .card:not(:first-child) {
      margin-right: -100px;
      margin-top:-60px;
  }

  .card_img:hover {
    transform: translateX(60px);
    transition: 0.5s ease-out;
    opacity:1;
    border: 2px solid var(--white);
  }

  .card:hover ~ .card {
    position: relative;
    left: 0px;
    transition: 0.4s ease-out;

  }
}
@media (max-width: 650px){
  header{
    position: relative;
    height: 1200px;
    max-width: 100vw;
    margin-top: 20%;
    margin-left: 25%;
    }

  .container {
    position: relative;
    padding-top: 1%;
    left: 4%;
    display:block;

  }
  .card_img{
    object-fit: cover;
    width: 200px;
    height:auto;
    border-radius: 10px;
  /*   margin-left: -50px; */
    position: relative;
    box-shadow: -1rem 0 3rem #000;
    transition: 0.4s ease-out;
    position: relative;
    opacity:1;
    border: 2px solid var(--bkg);

  }
  .card {
    display: block;
    width: 200px;
      /*   margin-left: -50px; */
    transition: 0.4s ease-out;
    position: relative;
  }

  .card:not(:first-child) {
      margin-right: -100px;
      margin-top:-60px;
  }

  .card_img:hover {
    transform: translateX(60px);
    transition: 0.5s ease-out;
    opacity:1;
    border: 2px solid var(--white);
  }

  .card:hover ~ .card {
    position: relative;
    left: 0px;
    transition: 0.4s ease-out;

  }
}
@media (min-width: 1001px){
  header{
    position: relative;
    height: calc(100%*4);
    max-width: 100vw;
    margin-left: 2%;
    margin-top: 16%;
    margin-bottom: 22%;
    margin-right: 5%;

  }
  .container {
    position: relative;
    padding-top: 1%;
    left: 4%;
    display: flex;
  }
    .card_img{
      object-fit: cover;
      width: calc(100%/1.2);
      height:auto;
      border-radius: 100px;
    /*   margin-left: -50px; */
      position: relative;
      box-shadow: -1rem 0 3rem #000;
      transition: 0.4s ease-out;
      position: relative;
      opacity: 1;
      border: 2px solid var(--bkg);
        box-shadow: -1rem 0 3rem #000;

    }
    .card {
      display: block;
      width: calc(100%/2);
        /*   margin-left: -50px; */
      transition: 0.4s ease-out;
      position: relative;
    }

    .card:not(:first-child) {
        margin-left: -100px;
    }

    .card_img:hover {
      transform: translateY(-60px);
      transition: 0.5s ease-out;
      opacity:1;
      border: 2px solid var(--white);
    }

    .card:hover ~ .card {
      position: relative;
      left: 0px;
      transition: 0.4s ease-out;

    }
}

/* Rounded border */
hr.rounded {
  margin-top: 200px;
  margin-bottom: 200px;
  border-top: 2px solid white;
  border-radius: 5px;
}



  /*--------------------------------------------*/
  /*Project*/
section{
  margin-left:2%;
  margin-top: 200px;
}

.title{
    position:sticky;
    padding-right: 2%;
    bottom: 00px;
    margin-bottom: 0px;
  }


@media (max-width: 1000px) {
  date {
      font-family: Aileron thin;
      font-size: 27px;
      color: var(--white);
    }
  h1 {
      font-family: Aileron heavy;
      font-size: 30px;
      text-transform: uppercase;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      color: var(--white);
      padding-right: 0%;
      margin: 0;
      line-height: 1em;
    }
    h2 {
        font-family: Aileron ;
        font-size: 30px;
        color: var(--white);
        padding-right: 0%;
        margin-bottom: 20px;
        line-height: 1em;
      }
  .phrases{
      font-family: Aileron Thin;
      font-size: 25px;
      text-align: left;
      color: var(--white);
      flex: 1;
      padding-right: 50px;
      padding-bottom: 20px;
    }
  colum {
      display: block;
      align-items: flex-end;
    }
  .cover{
      display: block;
      align-items: flex-end;
    }
  .project_box{
      display: flex;
      margin-right:5%;
      align-items: flex-end;
    }
  .project{
      display: grid;
      grid-template-columns: repeat(1, minmax(min(300px, 30%), 1fr));
      grid-gap: 1em;
      justify-items: center;
      padding-top:20px;
    }
  .image_cover {
    max-width: 300px;
    height: auto;
    object-fit: cover;
    opacity:1;
    background-size: cover;
    padding-left: 20px;
    padding-top: 20px;
  }
  .gif_anim{
      position: center;
      margin-top: 0px;
      right:5%;
      max-width: 100%;
      height: auto;
      object-fit: cover;
      background-size: cover;
  }
}
@media (min-width: 1001px) {
  date {
      font-family: Aileron thin;
      font-size: 43px;
      color: var(--white);
    }
  h1 {
      font-family: Aileron heavy;
      font-size: 50px;
      text-transform: uppercase;
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      color: var(--white);
      padding-right: 0%;
      margin: 0;
      line-height: 1em;
    }
    h2 {
        font-family: Aileron ;
        font-size: 50px;
        color: var(--white);
        padding-right: 0%;
        margin-bottom: 20px;
        line-height: 1em;
      }
  .phrases{
      font-family: Aileron Thin;
      font-size: 40px;
      text-align: left;
      color: var(--white);
      flex: 1;
      padding-right: 100px;
    }
    .project_box{
        display: flex;
        flex: 1;
        margin-right:5%;
        align-items: flex-end;
      }
    colum {
        display: inline;
        align-items: flex-end;
      }
    .cover{
        display: flex;
        align-items: flex-end;
      }
    .project_box{
        display: flex;
        flex: 1;
        margin-right:5%;
        align-items: flex-end;
      }
    .project{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 30%), 1fr));
        grid-gap: 1em;
        justify-items: center;
        padding-top:20px;
      }
    .image_cover {
      max-width: 400px;
      height: auto;
      object-fit: cover;
      opacity:1;
      background-size: cover;
      padding-left: 20px;
    }
    .gif_anim{
        position: center;
        margin-top: 80px;
        right:5%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
        background-size: cover;
    }
}

.project_img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    opacity:1;
    background-size: cover;
  }

.video{
      position: left;
      max-width: 100%;
      margin-top: 20px;
      right:5%;
      height: auto;

  }


.contact{
  display:flex;
  align-items: flex-end;
  margin-right: 5%;
}

  /*-------------------------------------------*/
  .controls button:hover,
  .controls button:focus {
        opacity: 0.5;
      }
  /*-------------------------------------------*/
  #fcf-form {
    display:block;
}

.fcf-body {
    width:100%;
    font-family: Aileron Thin;
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
    text-align: left;
    background-color: var(--bkg);
    padding: 50px;
    padding-bottom: 0px;
    padding-top: 0px;
    margin-left:5%;
}

.fcf-form-group {
    margin-bottom: 2rem;
}

.fcf-input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}

.fcf-form-control {
    display: block;
    font-family: Aileron Thin;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color:var(--c1);
    background-color: var(--bkg);
    background-clip: padding-box;
    border: 1.5px solid white;
    outline: none;
    border-radius: 20px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
    border: 1.5px solid var(--white);
}

select.fcf-form-control[size], select.fcf-form-control[multiple] {
    height: auto;
}

textarea.fcf-form-control {
    font-family: Aileron Thin;
    height: auto;
    color: var(--c1);
}

label.fcf-label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.fcf-btn {
    display:flex;
    font-family: Aileron Thin;
    color: var(--c1);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1.5px solid var(--c1);
    padding: 0.375rem 0.75rem;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 20px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .fcf-btn {
        transition: none;

    }
}

.fcf-btn:hover {
    color: #313131;
    text-decoration: none;
}

.fcf-btn:focus, .fcf-btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem var(--white);
}

.fcf-btn-primary {
    color: var(--c1);
    background-color: var(--bkg);
    border-color:  var(--c1);


}

.fcf-btn-primary:hover {
    color: var(--white);
    background-color: var(--c1);
    border-color: var(--c1);
}

.fcf-btn-primary:focus, .fcf-btn-primary.focus {
    color: #fff;
    background-color:var(--c1);
    border-color: var(--white);

}

.fcf-btn-lg, .fcf-btn-group-lg>.fcf-btn {
    padding: 0.5rem 1rem;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 20px;
}
@media (max-width:1000px){
  .fcf-btn-block {
      display: block;
      width: 50%;
  }
@media (min-width:1001px){
  .fcf-btn-block {
      display: block;
      width: 20%;
  }
}

.fcf-btn-block+.fcf-btn-block {
    margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block, input[type="reset"].fcf-btn-block, input[type="button"].fcf-btn-block {
    width: 100%;
}
