/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: black;
  color: white;
  font-family: Verdana;
  image-rendering: pixelated;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.overlay-vhs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  mix-blend-mode: plus-lighter;
  object-fit: cover;       /* fills screen */
  pointer-events: none;    /* makes it click-through */
  z-index: 9999;           /* above everything */
  opacity: 0.1;
}

body {
  background: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  overflow: hidden;
}

h1 {
  line-height: .9; /* Recommended: unitless value for scalability */
}

.screen {
  width: 100vw;
  height: 100vh;
  position: relative;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  filter: blur(0.7px) contrast(1.1) saturate(0.95);
}

/* ---- KANJI FIRE MASK ---- */
.kanji-mask {
  position: absolute;
  top: 15%;
  font-size: 15vw;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 1;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.kanji-mask::before {
  content: "河童山";
  position: absolute;
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
  inset: 0;
  color: transparent;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.fire-texture {
  font-size: 160px;
  font-weight: 900;
  letter-spacing: 10px;
  text-shadow: rgba(136,204,240,0.3) 0px 0px 60px;
  background: url("img/fire-blue.gif");
  background-size: 256px 256px;
  animation: fireMove 20s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fire-texture::before {
  content: "河童山";
}

/* Subtle fire motion */
@keyframes fireMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 90% -100%; }
}

/* ---- TITLE ---- */

.title-wrapper {
  position: absolute;
  top: 30%;
  text-align: center;
  z-index: 3;
}

.title-main {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 900;
  background: linear-gradient(#ffe24b, #b8860b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.title-main img {
  width: 400px;
  max-width: 90vw;
  height: auto;
  display: block;
  margin: 0 auto;
}

.subtitle {
  margin-top: 1rem;
  font-size: 2vh;
  color: #8fd3ff;
  letter-spacing: 0.3em;
}

/* ---- MENU ---- */

.menu {
  margin-top: 20rem;
  z-index: 3;
}

.menu ul {
  list-style: none;
  text-align: center;
}

.menu li a{
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  margin: 1rem 0;
  cursor: pointer;
  transition: opacity 0.2s linear;
  opacity: 0.6;
}

.menu li a:hover,
.menu li.active a{
  opacity: 1;
}

.menu li a {
  display: block;       /* makes full row clickable */
  padding: 12px 40px;
  text-decoration: none;
  color: white;
}

/* ---- COPYRIGHT ---- */

.copyright {
  position: absolute;
  bottom: 20px;
  font-size: 0.7rem;
  opacity: 0.4;
  letter-spacing: 0.1em;
}