:root {
  --stripes: repeating-linear-gradient( -0deg, white 0px, white 1.3px, black 1.3px, black 2.5px );
  --rStripes: repeating-radial-gradient(circle at center, white 0px, white 1px, black 1px, black 2px );
    
  }

@keyframes zoomin {
  0% {
    transform: scale(3);
    background-position: 150% 0%;
  }

  100% {
    transform: scale(1);
    background-position: 0% 0%;
  }
}

.show {
  filter: none;
  transition: all 1s;

  opacity: 1;
  /*
    animation: 1s ease 0s 1 fadein;
    */
}

/* #scrollDiv {
  height: 10000vh;
} */

#scrollDiv div {
  mix-blend-mode: difference;
  color: white;
  font-size: 40vh;
  font-weight: 100;
  animation: fadein 2s ease;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#grainFilter{

}

@keyframes stripes{
  0% {
    -webkit-text-fill-color: black;
    -webkit-text-stroke-color: white;
  }

  50% {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: transparent;
  }

  65%{
    filter: url("#blur1");
  }

  80%{
    filter: url("#blur2");
  }

  100%{
    filter: url("#blur3");
  }

}

@keyframes stripeOut{
  0% {
    background: var(--stripes);
    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-color: transparent;
  }

  100% {
    background: black;
    -webkit-text-fill-color: black;
    -webkit-text-stroke-color: white;    
  }

}

#nav{
  --clip:0%;
  clip-path: circle(var(--clip) at center);
        height: 100vh;
        width: 100vw;
        top: 0px;
        left: 0px;
        z-index: 9;
        position: fixed;
        display: block;
        background: rgb(255, 255, 255);
        /* background-image: 
    radial-gradient(rgb(0, 0, 0) 30%, transparent 30%),
    radial-gradient(rgb(0, 0, 0) 30%, transparent 30%);
  background-position: 0px 0px, 104px 104px;
  background-size: 208px 208px;
  background-color: rgb(254, 255, 255); */
}

#nav ul{
  padding: 0px;
  margin: 0px;
  text-align: center;
     text-align: -webkit-center;
     position: absolute;
     top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: black;
  padding: 5%;
  overflow: hidden;
  /* border-radius: 5%; */
}

#nav ul li{
  overflow-x: hidden;
text-decoration: none;
/* mix-blend-mode: difference; */

/* clip-path: inset(75% 100% 75% 100%);
-webkit-clip-path: inset(75% 100% 75% 100%); */

font-weight: 500;

    margin-top: 10%;
    margin-bottom: 10%;

}

.link-a{

  animation-name: stripeOut;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;

  font-size: clamp(16px, 10vw, 70px);

  -webkit-text-fill-color: black;
  -webkit-text-stroke-width: 0.6px;
  -webkit-text-stroke-color: white;

line-height: 75%;
}

.link-a:hover{

  animation-name: stripes;
  animation-duration: 0.5s;
  animation-timing-function: ease-in;


  text-decoration: none;

  background: var(--stripes);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-color: transparent;

}

.menu-link::marker{
  content: "";
  color: transparent;
}

#mobile-button{
  animation: 1s ease-in-out 0s 1 fadein;
  cursor: pointer;
  z-index: 10;
  font-size: clamp(150px, 20vw, 250px);
  color: white;
display: block;
top: 2%;
  left: 2%;
  position: fixed;
mix-blend-mode: difference;
line-height: 0.45;
font-weight: 100;

}


html {
  scroll-behavior: smooth;
}

/* alternativní barva ##DEC20B #ff4d00*/
body {
  overflow-x: hidden;
  background-color: black;
  /* background: var(--primary); */
  margin: 0;
  height: 100vh;
  color: black;
  font-family: "Raleway", sans-serif;
  font-weight: 300;
}

#instaLink{
  color: white;
  font-size: 200%;
  font-weight: 100;
}

#bg {
  animation: 2s ease-in-out 0s 1 fadein;
  transition: 1s;
  top: 0px;
  left: 0px;
  z-index: -1;
  position: fixed;
  display: block;
}

#bg2d {
  z-index: 5;
--bg-pos: 50%, 50%;
/* padding-bottom: 70px; */
min-height: 100%;
width: 100vw;
top: 0px;
left: 0px;
position: fixed;
display: none;
background-image: url(grain2.svg);
background-size: 250px;
transform: scale(1.1) translate(var(--bg-pos));
filter: 
invert(1) 
contrast(2) 
grayscale(100%) 
brightness(100%)
;
mix-blend-mode: difference;
}



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

  .nav-scrolled{
    mix-blend-mode: difference !important;
    color: var(--primary) !important;
    /* background: black !important;
    transition: 500ms;
    backdrop-filter: blur(5px);
    -webkit-box-shadow: 0px 0px 20px 20px black;
    -moz-box-shadow: 0px 0px 20px 20px black;
    box-shadow: 0px 0px 20px 20px black; */
    
    }
    
    .nav-scrolled a{
      color: white !important;
    }
}

/* @media only screen and (max-width: 1050px) {
  
  #bg2d{
    width: 150%;
  }

} */

@media only screen and (max-width: 600px) {
  
  #bg2d{
    filter:   invert(1) 
    contrast(2) 
    grayscale(100%) 
    brightness(100%);
  }

}
