@font-face {
  font-family: "Sketching";
  src: url("Sketching.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

html {
  font-family: verdana;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
}

body {
  position: relative;
  font-family: verdana!important;
  background-color: #000!important;
  color: #fff!important;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
  margin: 0;
}

#overlay-toggle {
  position: absolute;
  display: none;
}

.overlay {
  z-index: 1;
  background-color: black;
}

.overlay label {
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vw;
  color: rgb(255, 255, 255);
  font-size: 2rem;
}

a:hover {
    color: #5764bb;
    letter-spacing: 2px;
}

a, a:active, a:focus, a:hover {
    transition: 0.5s;
}

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  border-bottom: 2px solid #FFFFFF;
  transition: 0.4s;
}

a:hover:after {
  width: 100%;
}

a {
  position: relative;
  text-align: center;
  font-size: 1.0em;
  font-family: 'verdana', monospace;
  color: white;
  text-decoration: none;
  display: block;
}

li, address {
  margin-right: 10px;
  display: inline-block;
  cursor: pointer;
}

#kirowater {
  color: black;
  font-family: verdana;
  font-size: 10px;
  margin-right: auto;
  text-align: left;
}

.kirowater-social {
  position: absolute;
  margin: 0;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.kirowater-video {
  font-family: verdana;
  font-size: 10px;
  position: absolute;
  margin: 0;
  top: 95%;
  right: 5%;
  transform: translate(50%, -50%);
  color: #FFFFFF;
  white-space: nowrap;
}

.kirowater-copyright {
  font-family: verdana;
  font-size: 10px;
  position: absolute;
  margin: 0;
  top: 95%;
  right: 95%;
  transform: translate(50%, -50%);
  color: #FFFFFF;
  white-space: nowrap;
}

.kirowater-typewriter {
  font-family: verdana;
  font-size: 10px;
  position: absolute;
  margin: 0;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  color: #FFFFFF;
  white-space: nowrap;
}

.kirowater-time {
  font-family: verdana;
  font-size: 10px;
  position: absolute;
  margin: 0;
  top: 52%;
  right: 50%;
  transform: translate(50%, -50%);
  color: #FFFFFF;
  white-space: nowrap;
}

.kirowater-video a {
  display: inline;
  text-decoration: none;
  margin: 0 2px;
  color: #FFFFFF;
  font-size: 10px !important;
  font-family: verdana !important;
}

.glitch {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  font-size: 45px;
  font-family: "Sketching", verdana, sans-serif;
  z-index: 0;
  text-decoration: none;
  transition: 0.5s;
}

.glitch::before,
.glitch::after {
  font-family: "Sketching", verdana, sans-serif;
}

#overlay-toggle:checked ~ .overlay {
  animation: fade 600ms forwards, hide 1ms 600ms forwards;
  pointer-events: none;
}

#overlay-toggle:checked ~ .overlay label {
  animation: fade 500ms forwards;
}

.overlay.hidden {
  animation: fade 600ms forwards, hide 1ms 600ms forwards;
  pointer-events: none;
}

@keyframes fade {
  to {
    opacity: 0;
  }
}

@keyframes hide {
  to {
    visibility: hidden;
  }
}

@keyframes noise-anim {
  0% { clip-path: inset(87% 0 4% 0); }
  5% { clip-path: inset(3% 0 43% 0); }
  10% { clip-path: inset(82% 0 4% 0); }
  15% { clip-path: inset(41% 0 2% 0); }
  20% { clip-path: inset(96% 0 5% 0); }
  25% { clip-path: inset(57% 0 35% 0); }
  30% { clip-path: inset(78% 0 4% 0); }
  35% { clip-path: inset(100% 0 1% 0); }
  40% { clip-path: inset(99% 0 1% 0); }
  45% { clip-path: inset(46% 0 49% 0); }
  50% { clip-path: inset(16% 0 8% 0); }
  55% { clip-path: inset(16% 0 72% 0); }
  60% { clip-path: inset(19% 0 80% 0); }
  65% { clip-path: inset(8% 0 9% 0); }
  70% { clip-path: inset(88% 0 6% 0); }
  75% { clip-path: inset(32% 0 30% 0); }
  80% { clip-path: inset(46% 0 47% 0); }
  85% { clip-path: inset(78% 0 21% 0); }
  90% { clip-path: inset(60% 0 9% 0); }
  95% { clip-path: inset(48% 0 49% 0); }
  100% { clip-path: inset(23% 0 64% 0); }
}

.glitch::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  border-bottom: 2px solid #FFFFFF;
  transition: 0.4s;
}

.glitch:hover {
  color: #FFF;
  letter-spacing: 2px;
  transform: translate(-50%, -50%) scale(1.05);
}

.glitch:hover::after {
  width: 100%;
}

.glitch::after {
  font-family: "Sketching", verdana, sans-serif;
  content: attr(data-text);
  position: absolute;
  left: 2px;
  top: 0;
  text-shadow: -1px 0 #000;
  color: #fff;
  overflow: hidden;
  animation: noise-anim 2s infinite linear alternate-reverse;
  width: 0%;
  border-bottom: 2px solid #FFFFFF;
  transition: 0.4s;
}

@keyframes noise-anim-2 {
  0% { clip-path: inset(19% 0 72% 0); }
  5% { clip-path: inset(6% 0 35% 0); }
  10% { clip-path: inset(32% 0 35% 0); }
  15% { clip-path: inset(97% 0 3% 0); }
  20% { clip-path: inset(19% 0 57% 0); }
  25% { clip-path: inset(85% 0 16% 0); }
  30% { clip-path: inset(46% 0 46% 0); }
  35% { clip-path: inset(83% 0 15% 0); }
  40% { clip-path: inset(66% 0 18% 0); }
  45% { clip-path: inset(90% 0 8% 0); }
  50% { clip-path: inset(58% 0 34% 0); }
  55% { clip-path: inset(38% 0 61% 0); }
  60% { clip-path: inset(93% 0 6% 0); }
  65% { clip-path: inset(4% 0 83% 0); }
  70% { clip-path: inset(57% 0 38% 0); }
  75% { clip-path: inset(97% 0 4% 0); }
  80% { clip-path: inset(9% 0 57% 0); }
  85% { clip-path: inset(7% 0 82% 0); }
  90% { clip-path: inset(14% 0 54% 0); }
  95% { clip-path: inset(94% 0 6% 0); }
  100% { clip-path: inset(9% 0 49% 0); }
}

.glitch::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  text-shadow: 1px 0 #000;
  top: 0;
  color: rgb(255, 255, 255);
  overflow: hidden;
  animation: noise-anim-2 15s infinite linear alternate-reverse;
}