/*FONTS*/

@font-face {
  font-family: "Major Mono Display", monospace;
  font-weight: 400;
  font-style: normal;
}

html {
	background-color: yellow;
	cursor: none;
  color: #231f20;
	/* cursor: url(img/Untitled-2.svg), auto;*/
}
body{
    margin: 0;
    padding: 0;
    overflow: hidden;
    max-height: 100vh;
}

body a{
	color: #231f20;
	text-decoration: none;
}

.title-topleft{
	  font-family: "Major Mono Display", monospace;
  	font-weight: 400;
  	font-style: normal;	
  	font-size: 156px;
  	padding-left: 25px;
}

.menu-bottomright{
	font-family: "Major Mono Display", monospace;
  	font-weight: 400;
  	font-style: normal;	
  	font-size: 36px;
  	position: absolute;
  	bottom: 15px;
  	right: 75px;
}

.menu-bottomright ul{
	list-style-type: none;
	padding-left: 50px;
	width: 200px;
}

.menu-bottomright ul li{
	margin-bottom: 0;
}

.menu-bottomright ul li a{
	color: #231f20;
	text-decoration: none;
	display: block;
}

.menu-bottomright ul li:before{
    width: 50px; 
    height: 50px;
    content: url(img/Untitled-3.svg);
    position: relative;
    top: 42px;
    left: -65px;
}

/*FadeIn / FadeOut OnLoad */

body {
    opacity: 1;
    transition: 1s opacity;
}
body.fade-out {
    opacity: 0;
    transition: all 1.5s;
} 


/* Minimalistic Cursor style */
.cursor {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
  }

  .cursor--small {
    width: 5px;
    height: 5px;
    left: -2.5px;
    top: -2.5px;
    border-radius: 50%;
    z-index: 13000;
    background: rgb(50, 50, 50);
  }

  .cursor--canvas {
    width: 100vw;
    height: 100vh;
    z-index: 12000;
  }


  .page, .page a {
    cursor: none;
   }



   /*MENU*/

 .dropup{
    position: fixed;
    top: calc(100vh - 60px);
    left: 0;
    width: 100%;
    background-color: yellow;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    z-index: 1000;

 }

 .dropup-up{
   
    top: 0px;
    z-index: 1000;

    
    
 }

  .dropup ul{
    
    padding-left: 0;
    padding-top: 5%;
    height: 100vh;

 }

  .dropup ul li{

    list-style-type: none;
    font-family: "Major Mono Display", monospace; 
    font-size: 45px;
    text-align: center;
    padding: 30px;
    background-color: yellow;
    
 }

.menu-bottombottom{
  text-align: center;
  z-index: 1000;
  height: 60px;
  background: repeating-linear-gradient(
    -45deg,
    yellow,
    yellow 14px,
    black 5px,
    black 15px
  );
}

.menu-button{
  font-family: "Major Mono Display", monospace;
  display: inline-block;
  height: 100%;
  width: 10%;
  text-align: center;
  vertical-align: middle;
  background-color: yellow;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}


*, *::after, *::before {
  box-sizing: border-box;
}

a {
  flex: 1;
  line-height: 0.75;
  margin: auto;
  color: #1af0dc;
  /**text-align: center;**/
  
}

a:hover{
  transform: scaleX(var(--scale, 1));
  animation: glitch-p 11s infinite alternate;
}

a:hover::before, p::after {
  --top: 0px;
  --left: 0;
  --v-height: 30%;
  --n-tenth: calc(var(--f-size) * .1 * var(--top));
  --t-cut: calc(var(--n-tenth) / var(--f-size) * 100%);
  --b-cut: calc(var(--t-cut) + var(--v-height));
  content: attr(data-text);
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  transform: translateX(calc(var(--left) * 100%));
  filter: drop-shadow(0 0 transparent);
  text-shadow: calc(var(--left) * -3em) 0 0.02em lime, calc(var(--left) * -6em) 0 0.02em #ff00e1;
  background-color: var(--bg);
  clip-path: polygon(0% var(--t-cut), 100% var(--t-cut), 100% var(--b-cut), 0% var(--b-cut));
}
a:hover::before {
  animation: glitch-b 0.85s infinite alternate-reverse;
}
a:hover::after {
  animation: glitch-a 1.7s infinite alternate;
}

@keyframes glitch-p {
  17% {
    --scale: .87;
  }
  31% {
    --scale: 1.1;
  }
  37% {
    --scale: 1.3;
  }
  47% {
    --scale: .91;
  }
  87% {
    --scale: 1;
  }
}
@keyframes glitch-a {
  10%, 30%, 50%, 70%, 90% {
    --top: 0;
    --left: 0;
  }
  0% {
    --v-height: 15%;
  }
  20% {
    --left: .005;
  }
  40% {
    --left: .01;
    --v-height: 20%;
    --top: 3;
  }
  60% {
    --left: .03;
    --v-height: 25%;
    --top: 6;
  }
  80% {
    --left: .07;
    --v-height: 5%;
    --top: 8;
  }
  100% {
    --left: .083;
    --v-height: 30%;
    --top: 1;
  }
}
@keyframes glitch-b {
  10%, 30%, 50%, 70%, 90% {
    --top: 0;
    --left: 0;
  }
  0% {
    --v-height: 15%;
    --top: 10;
  }
  20% {
    --left: -.005;
  }
  40% {
    --left: -.01;
    --v-height: 17%;
    --top: 3;
  }
  60% {
    --left: -.03;
    --v-height: 35%;
    --top: 6;
  }
  80% {
    --left: -.07;
    --v-height: 5%;
    --top: 8;
  }
  100% {
    --left: -.083;
    --v-height: 30%;
    --top: 1;
  }
}


/*CONTACT*/

.page--contact .title-topleft a{
	font-size: 60px;
}

/*WORK*/

.folder{
  right: -305px;
  width: 310px;
  height: 310px;
  margin: 5em auto 2em;
  filter: drop-shadow(0 0 0.75rem grey);
  background: yellow;
  position: fixed;
  transform: rotate(-90deg); 
}

.folder::before{
    content:  '';
    position: absolute;
    top: -50px;
    width: 200px;
    height: 50px;
    background: yellow;
    padding-top: 18px;
    text-align: center;
    clip-path: path('M 0 0 L 160 0 C 185 45, 181 50, 200 62 L 0 50 z');
}

.un{
    bottom: 28px;
    z-index: 10;
}

.un::before{
    content:  'Projet 1';

}

.deux{
  bottom: 185px;
  z-index: 9;
}

.deux::before{
    content:  'Projet 2';
}

.trois{
  bottom: 345px;
  z-index: 8;
}

.trois::before{
    content:  'Projet 3';
}

.deploy{
  right: inherit;
  left: 50px;
}


.construction{
  width: 100%;
  text-align: center;
  font-family: "Major Mono Display", monospace;
  font-size: 35px;

}


/*SVG*/
      .content-svg{
        width: 100%;
        text-align: center;
        padding-top: 180px;
      }

      .content-svg img{
        width: 200px;
      }

      .st0 {
        fill: #231f20;
      }

      .st1 {
        fill: #231f20;
      }

        /* Animation pour la vapeur */
  

/****************************RESPONSIVE****************************/

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {

	.title-topleft{
		font-family: "Major Mono Display", monospace;
	  	font-weight: 400;
	  	font-style: normal;	
	  	font-size: 50px;

	  	padding-left: 25px;
	  	padding-top: 50px;
	}

	.menu-bottomright{
		  font-family: "Major Mono Display", monospace;
	  	font-weight: 400;
	  	font-style: normal;	
	  	font-size: 28px;
	  	position: absolute;
	  	bottom: 0;
	  	left: 0;
	}

	.menu-bottomright ul li:before{
	    width: 50px; 
	    height: 50px;
	    content: url(img/Untitled-3.svg);
	    position: relative;
	    top: 38px;
	    left: -50px;
	}

	.page--contact .title-topleft a{
		padding-top: 50px;
		font-size: 20px;
		display: block;
	}

  .menu-button{
    width: 25%;
  }

    .dropup ul li{

    font-size: 30px;
    
  }

      .content-svg{
        padding-top: 60px;
      }

    .construction{
      width: 100%;
      text-align: center;
      font-family: "Major Mono Display", monospace;
      font-size: 35px;

    }

      .content-svg img{
        width: 100px;
      }
}