/*

██╗    ██╗███████╗██╗      ██████╗ ██████╗ ███╗   ███╗███████╗    ██╗    ██╗  ██╗ █████╗ ██╗   ██╗███████╗     █████╗     ███████╗██╗████████╗
██║    ██║██╔════╝██║     ██╔════╝██╔═══██╗████╗ ████║██╔════╝    ██║    ██║  ██║██╔══██╗██║   ██║██╔════╝    ██╔══██╗    ██╔════╝██║╚══██╔══╝
██║ █╗ ██║█████╗  ██║     ██║     ██║   ██║██╔████╔██║█████╗      ██║    ███████║███████║██║   ██║█████╗      ███████║    ███████╗██║   ██║   
██║███╗██║██╔══╝  ██║     ██║     ██║   ██║██║╚██╔╝██║██╔══╝      ╚═╝    ██╔══██║██╔══██║╚██╗ ██╔╝██╔══╝      ██╔══██║    ╚════██║██║   ██║   
╚███╔███╔╝███████╗███████╗╚██████╗╚██████╔╝██║ ╚═╝ ██║███████╗    ██╗    ██║  ██║██║  ██║ ╚████╔╝ ███████╗    ██║  ██║    ███████║██║   ██║   
 ╚══╝╚══╝ ╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝     ╚═╝╚══════╝    ╚═╝    ╚═╝  ╚═╝╚═╝  ╚═╝  ╚═══╝  ╚══════╝    ╚═╝  ╚═╝    ╚══════╝╚═╝   ╚═╝   
                                                                                                                                              
*/
/* VARIABLES */

:root{
  /* Colors */
  --dark:#010002;
  --darka: rgba(185, 185, 189, 0.808);
  --dark2:#0d122086;
  --dark3:#4740be;
  --grey:#73777b17;
  --grey2:#AD8E70;
  --light:#F1EEE9;
  --lighta: rgba(243, 202, 88, 0.808);
  --light2:#ECECEC;
  --light3:#fefbf607;
  --purple:#C539B4;
  --red:#cc3608;
  --accent:#EC994B;
  --accent2:#FF7B54;
  --accent3:#FEC868;
  --border-width:125;
  --title-display : block;
}

/* Animations */

@keyframes flicker {
  0%   { opacity: 0.85; }
  50%   { opacity: 0.95; }
  100%   { opacity: 1.00; }
}

@keyframes mouvement {
  0% {background-size: 100% 8px;}
  25% {background-size: 100% 8.25px;}
  50% {background-size: 100% 8.50px;}
  75% {background-size: 100% 8.75px;}
  100% {background-size: 100% 9.0px;}
}

@keyframes topleft{
  0% {top: 45vmin;
    left: 50%;
    transform: translatey(-50%);}
  100% {top: 0;
    left: 0;
    transform: none;  }
}
@keyframes goingUP{
  0%{top: 45vmin;
   }
100% {top: 0;
   
  }
}
@keyframes background_movements{
  0%{background-size: 2vmin 2vmin;}

  50%{background-size: 2.5vmin 2.5vmin;}

  100%{background-size: 2vmin 2vmin}
}

@keyframes moveGradient {
  50% {
    background-position: 50% 100%;
  }
}



iframe {
  width: 100%;
  min-height: 22vh;
  height: 100%;

}

/* LAYOUT */
p a{
  color:var(--accent3);
}
p a:hover{
  color:var(--accent2);
 }
p a:visited{
 color:var(--red);
}
html {
  scroll-behavior: smooth;
}

body {
  font-Family: 'Iosevka Web';
  color:var(--light);
  font-size: 125%;
  line-height: 1.5;
   background: var(--dark); 
  /* background: linear-gradient(180deg, var(--dark) 0%, var(--dark3) 35%, var(--dark) 100%);  */
  margin: 0 auto;
  display:flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100%;
  transition: background 1250ms ease;

}

#menu-background-pattern {
  background-image: radial-gradient(
   var(--darka) 1.2%, 
    transparent 9%
  );
  background-position: 0% 0%;
  background-size: 2vmin 2vmin;
  height: 100vh;
  left: 0px;
  position: absolute;
  top: 0px;
  transition: opacity 800ms ease, 
    background-size 1250ms ease,
    background-image 1200ms ease,
    background-position 1500ms ease,
    animation 240ms;
  width: 100vw;
  z-index: -1;
  animation: background_movements 15s linear infinite;
  filter: blur(0.35rem);
}

.site-header{
  position:relative;
  display:block;
  margin:0 auto;
  top:45vmin;
  border-radius:100%;
  animation: flicker 12s linear infinite;
  font-Family: 'Iosevka Web';
  text-align: center;
}



#intro:hover{
 
  transition: opacity 250ms;
  filter:blur(0.025rem);
  box-shadow: 0px 80px 0px rgba(247, 197, 61, 0.048);
  cursor: pointer;
  border-radius: 0%;
}






svg{

  padding-left: 50%;
  
}

/* Container */

video{
  width: 100%;
}


/* NAVIGATION */



@media screen and (max-width: 48rem) {
  .subtitle{
    font-size: 1rem !important;
    letter-spacing: 0.23em !important;
  }
  .bar{
    padding-left: 1rem !important;

    width: 40% !important;
    display: inline-block !important;
  }
  .tablink{
    margin-bottom: 0.8rem !important;
  }
  .selectable{
    
    font-size: 1rem !important;

  }
  .grid-c{
    display: inline-block !important;
    
  }
  article{
    font-size: 1rem;
    width: 40rem;
    margin: 0.76rem !important;
  }
  article a img{
   max-width: 10rem;
  }
  .Project{
    column-gap: 0.1rem !important;
    grid-template-columns: repeat(2, 1fr) !important;

  }
  .item{
    font-size: 1rem !important;
    width: 11.5rem;
    padding: 2px !important;
  }
  .portfolio{
    display: inline-block !important;

  }
  .Artwork img{
    width: 100%;
  }
}



.bar{
  
  display:flex;
  position: relative;
  width:50%;
  height:100%;
  border-radius: 0.5rem;
  margin: 1.2rem auto;
  padding:0.2em;
  margin-bottom: 2vmin;
  opacity: 0.87;

}

.tablink{
  color:var(--light);
  padding: 0.5em;
  margin:auto;
  border:none;
 
}

.tablink:hover{
  color:var(--accent3);
  transition: color 50ms;
}

.active-p{
  color: var(--accent3);
  border-color:var(--accent2) !important;
  animation: Simpledrop 250ms ease;

}


@keyframes Simpledrop {
  0%{transform:translate(0%,-25%);}
  100%{transform: translate(0%,0%);}
}
.selectable{
  margin: 3rem auto;
  max-width:95%;
  
  /* background: linear-gradient(90deg, rgba(2,0,36,0.21) 0%, rgba(9,9,121,0.21) 35%, rgba(13, 2, 80, 0.21) 100%);  /* box-shadow: rgba(255, 255, 255, 0.801) 0px 0px 1px 0px, rgba(9, 30, 66, 0.25) 0px 1px 1px 0px; */
  /* background-size: 400% 400%;
  animation: moveGradient 5s ease infinite; */
  animation: Simpledrop 520ms ease;
  transition: display 500ms;
  /* background-color: rgba(9, 30, 66, 0.25); */
}

.gird-l{
 display:grid;
 margin:auto;
 row-gap: 1.2rem;
}

.Project{
  display: grid;
  margin: auto;
  column-gap: 1.25rem;
  row-gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(100px, auto);
}
.sel-p{
 
  text-align: center;
  text-shadow: 2px 2px 2px black;
  text-justify: content-box;

}


.sel-p iframe{
  width: 100%;
  height: 20rem;
}

.portfolio{
  display: grid;
  margin: auto;
  column-gap: 1.5rem;
  row-gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(100px, auto);
}

.Artwork img{
  margin:auto;
}

@keyframes pan-image {  
  0% {
    background-position: 36% 42%;
    background-size: 200%;
  }
  
  20% {
    background-position: 30% 35%;
    background-size: 200%;
  }
  
  20.0001% { /* -- View 2 -- */
    background-position: 60% 85%;
    background-size: 500%;
  }
  
  40% {
    background-position: 49% 81%;
    background-size: 500%;
  }
  
  40.0001% { /* -- View 3 -- */
    background-position: 80% 42%;
    background-size: 300%;
  }
  
  60% {
    background-position: 84% 33%;
    background-size: 300%;
  }
  
  60.0001% { /* -- View 4 -- */
    background-position: 0% 0%;
    background-size: 300%;
  }
  
  80% {
    background-position: 15% 4%;
    background-size: 300%;
  }
  
  80.0001% { /* -- View 5 -- */
    background-position: 80% 10%;
    background-size: 300%;
  }
  
  100% {
    background-position: 72% 14%;
    background-size: 300%;
  }
}


.item:hover{
  animation: pan-image 22s infinite linear;
}

.item{
  padding: 2rem auto;
  text-align: center;
  text-shadow: 2px 2px 2px black;
  text-justify: content-box;
  border: 2px dashed white;
  box-shadow: 5px 5px 0px rgba(185, 185, 189, 0.411);
}
.item a{
  color: var(--accent1);
}
.item a:hover{
  color: var(--accent2);
}

.item:nth-child(1):hover{
  color:var(--accent);
  background-image: url("../img/0.png");
}
.item:nth-child(2):hover{
  color:var(--accent);
  background-image: url("../img/1.png");
}
.item:nth-child(3):hover{
  color:var(--accent);
  background-image: url("../img/1.png");
}
.item:nth-child(4):hover{
  color:var(--accent);
  background-image: url("../img/2.png");
}

.item:nth-child(5):hover{
  color:var(--accent);
  background-image: url("../img/3.png");
}
.item:nth-child(6):hover{
  color:var(--accent);
  background-image: url("../img/1.png");
}
.grid-c{
  display:inline-flex;

}
article{
  padding: 0.8rem ;
  max-width: 45%;
  text-align: justify;
  margin:  auto;
  border: 2px dashed white;
  box-shadow: 5px 5px 0px rgba(185, 185, 189, 0.411);
}

article a:hover{
  filter: grayscale(100%)
}

article a img{
  display: block;
  margin:auto;
 filter:blur(0.02rem);
}
.pdf{
  width: 100%;
  height: 80vh;
  display: grid;
  display:block;
  
  margin:auto;
}


.container {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 40%;
  left: 50%;
}

.glitch, .glow {
  font-family: 'Iosevka Web';
  color: #f8f3f3;
  position: relative;
  font-size: 9vw;
  animation: glitch 5s 5s infinite;
}

.glitch::before, .glow::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  text-shadow: -5px 0 rgb(253, 168, 11);
  
  overflow: hidden;
  top: 0;
  animation: noise-1 3s linear infinite alternate-reverse, glitch 5s 5.05s infinite;
}

.glitch::after, .glow::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -5px 0 rgb(238, 221, 144);
  overflow: hidden;
  top: 0;
  animation: noise-2 3s linear infinite alternate-reverse, glitch 5s 5s infinite;
}

@keyframes glitch {
  1% {
    transform: rotateX(10deg) skewX(90deg);
  }
  2% {
    transform: rotateX(0deg) skewX(0deg);
  }
}
@keyframes noise-1 {
  3.3333333333% {
    clip-path: inset(3px 0 11px 0);
  }
  6.6666666667% {
    clip-path: inset(88px 0 7px 0);
  }
  10% {
    clip-path: inset(60px 0 35px 0);
  }
  13.3333333333% {
    clip-path: inset(48px 0 35px 0);
  }
  16.6666666667% {
    clip-path: inset(26px 0 22px 0);
  }
  20% {
    clip-path: inset(25px 0 76px 0);
  }
  23.3333333333% {
    clip-path: inset(9px 0 49px 0);
  }
  26.6666666667% {
    clip-path: inset(54px 0 41px 0);
  }
  30% {
    clip-path: inset(22px 0 44px 0);
  }
  33.3333333333% {
    clip-path: inset(86px 0 1px 0);
  }
  36.6666666667% {
    clip-path: inset(98px 0 2px 0);
  }
  40% {
    clip-path: inset(82px 0 13px 0);
  }
  43.3333333333% {
    clip-path: inset(65px 0 30px 0);
  }
  46.6666666667% {
    clip-path: inset(31px 0 27px 0);
  }
  50% {
    clip-path: inset(61px 0 33px 0);
  }
  53.3333333333% {
    clip-path: inset(15px 0 86px 0);
  }
  56.6666666667% {
    clip-path: inset(32px 0 44px 0);
  }
  60% {
    clip-path: inset(3px 0 87px 0);
  }
  63.3333333333% {
    clip-path: inset(47px 0 54px 0);
  }
  66.6666666667% {
    clip-path: inset(31px 0 48px 0);
  }
  70% {
    clip-path: inset(17px 0 49px 0);
  }
  73.3333333333% {
    clip-path: inset(41px 0 2px 0);
  }
  76.6666666667% {
    clip-path: inset(85px 0 3px 0);
  }
  80% {
    clip-path: inset(14px 0 68px 0);
  }
  83.3333333333% {
    clip-path: inset(85px 0 15px 0);
  }
  86.6666666667% {
    clip-path: inset(42px 0 43px 0);
  }
  90% {
    clip-path: inset(80px 0 3px 0);
  }
  93.3333333333% {
    clip-path: inset(44px 0 22px 0);
  }
  96.6666666667% {
    clip-path: inset(29px 0 13px 0);
  }
  100% {
    clip-path: inset(90px 0 1px 0);
  }
}
@keyframes noise-2 {
  0% {
    clip-path: inset(26px 0 11px 0);
  }
  3.3333333333% {
    clip-path: inset(19px 0 62px 0);
  }
  6.6666666667% {
    clip-path: inset(60px 0 26px 0);
  }
  10% {
    clip-path: inset(38px 0 20px 0);
  }
  13.3333333333% {
    clip-path: inset(65px 0 5px 0);
  }
  16.6666666667% {
    clip-path: inset(94px 0 4px 0);
  }
  20% {
    clip-path: inset(32px 0 56px 0);
  }
  23.3333333333% {
    clip-path: inset(46px 0 24px 0);
  }
  26.6666666667% {
    clip-path: inset(25px 0 21px 0);
  }
  30% {
    clip-path: inset(22px 0 39px 0);
  }
  33.3333333333% {
    clip-path: inset(73px 0 5px 0);
  }
  36.6666666667% {
    clip-path: inset(1px 0 68px 0);
  }
  40% {
    clip-path: inset(37px 0 56px 0);
  }
  43.3333333333% {
    clip-path: inset(31px 0 20px 0);
  }
  46.6666666667% {
    clip-path: inset(63px 0 4px 0);
  }
  50% {
    clip-path: inset(95px 0 4px 0);
  }
  53.3333333333% {
    clip-path: inset(71px 0 15px 0);
  }
  56.6666666667% {
    clip-path: inset(22px 0 21px 0);
  }
  60% {
    clip-path: inset(8px 0 3px 0);
  }
  63.3333333333% {
    clip-path: inset(14px 0 9px 0);
  }
  66.6666666667% {
    clip-path: inset(72px 0 1px 0);
  }
  70% {
    clip-path: inset(53px 0 32px 0);
  }
  73.3333333333% {
    clip-path: inset(43px 0 57px 0);
  }
  76.6666666667% {
    clip-path: inset(95px 0 6px 0);
  }
  80% {
    clip-path: inset(48px 0 19px 0);
  }
  83.3333333333% {
    clip-path: inset(83px 0 12px 0);
  }
  86.6666666667% {
    clip-path: inset(75px 0 13px 0);
  }
  90% {
    clip-path: inset(22px 0 57px 0);
  }
  93.3333333333% {
    clip-path: inset(17px 0 81px 0);
  }
  96.6666666667% {
    clip-path: inset(15px 0 42px 0);
  }
  100% {
    clip-path: inset(94px 0 4px 0);
  }
}
.scanlines {
  overflow: hidden;
  mix-blend-mode: difference;
  z-index: -1;
}

.scanlines::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: fudge 7s ease-in-out alternate infinite;
}

@keyframes fudge {
  from {
    transform: translate(0px, 0px);
  }
  to {
    transform: translate(0px, 2%);
  }
}
.glow {
  text-shadow: 0 0 1000px #dfbfbf;
  color: transparent;
  position: absolute;
  top: 0;
  font-family: 'Iosevka Web'
}

.subtitle {
  font-family: 'Iosevka Web';

  font-size: 1rem;
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: 0.56em;
  text-align: center;
  position: absolute;

  animation: glitch-2 5s 5.02s infinite;
}

@keyframes glitch-2 {
  1% {
    transform: rotateX(10deg) skewX(70deg);
  }
  2% {
    transform: rotateX(0deg) skewX(0deg);
  }
}


button {
  padding: 20px 40px;
  background: none;
  border: none;
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 3px;
  cursor: pointer;
}
button:after, button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  border: 2px solid #ffffff;
  transition: transform 0.2s;
}
button:after {
  transform: translate(3px, 3px);
}
button:before {
  transform: translate(-3px, -3px);
}
button:hover:after, button:hover:before {
  transform: translate(0);
  border-color: var(--accent3);
}
button.active-p{
  color: var(--accent3);
  transform: translate(0);
  border-color: var(--accent3);

}
button.active-p:after{
  transform: translate(0);
  border-color: var(--accent3);

}
button.active-p:before {
  transform: translate(0);
  border-color: var(--accent3);

}


.glitchsm{
  animation: glitch 8s 8s infinite;
  transition: animation 240ms ease;
}

.games {

  padding: 2rem auto;
}

.goodies{
  min-height: 10vh;
  text-align: center;
}
.goodies:hover{
  animation: pan-image 22s infinite linear;

}
.goodies:nth-child(1):hover{
  background-image: url('../img/fantasy.png');
}
.goodies a{
  
  text-decoration: none;
  color:var(--light);
}
.goodies a:hover{
  color:var(--accent);
}

@keyframes InMove {
  0% {bottom: -90%;}
  100% {bottom:0%;}
}


footer{
  display: inline-flex;
  position: relative;
  height: 20vh;
  bottom: 0%;
  width: 100%;
 
  /* animation: InMove 1100ms ease-in; */

}
.footer{
  margin: 2rem auto;
 

}

footer a{
 
  text-decoration: none;
  color:var(--accent3);
}

footer a:hover{
  color:var(--accent2);
  transition: color 460ms;
}




/* 
 Quak !
*/