@import url("../core/general.css");

@font-face {
  font-family: Handserif;
  src: url("/font/handserif.ttf"), Georgia;
}

@keyframes scrollUpLeft {
  0% {
    transform: translateX(0%) translateY(0%);
  }
  
  100% {
    transform: translateX(-100vmax) translateY(-100vmax);
  }
}

@keyframes scrollDownRight {
  0% {
    transform: translateX(-100vmax) translateY(-100vmax);
  }
  
  100% {
    transform: translateX(0%) translateY(0%);
  }
}

.bg-component {
  margin: -1rem -1rem;
  
  width: calc(200vmax + 1rem);
  height: calc(200vmax + 1rem);
  position: fixed;
  
  background: url("./img/japan_pattern.jpg");
  mix-blend-mode: multiply;
}

.bg-component--scroll-upleft {
  animation: scrollUpLeft 400s linear infinite;
  z-index: -2;
}

.bg-component--scroll-downright {
  animation: scrollDownRight 300s linear infinite;
  filter: saturate(50%);
  
  z-index: -1;
}

body {
  background: url("./img/background_ocean.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.main--home {
  background: #8a1950;
  background: linear-gradient(0deg,rgba(138, 25, 80, 0.8) 0%, rgba(255, 204, 204, 0.8) 100%);
  
  border: 3px solid rgb(41, 2, 9);
  border-radius: 10px;
  
  font-family: Handserif;
  font-size: 30px;
  color: rgb(255, 224, 224);
  text-shadow: 2px 2px 5px black;
  
  z-index: 0;
}

.header--home {
  background: url("./img/web_header.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: 10px 10px 40px black inset;
}

.header--home__img {  
  width: 15%;
  height: 15%;
}

.header--home__text {
  text-align: center;
}

#nav-main {
  display: flex;
  flex-wrap: wrap;
  
  background-color: rgba(100, 50, 50, 0.5);
  
  border-top: 3px solid rgb(41, 2, 9);
  border-bottom: 3px solid rgb(41, 2, 9);
  
  font-size: 25px;
}

#nav-main > a {
  background: #420000;
  background: radial-gradient(circle,rgba(66, 0, 0, 0.3) 0%, rgba(135, 52, 4, 0.3) 100%);
  box-shadow: 1px 4px 30px maroon inset;
  
  flex-grow: 1;
  text-align: center;
  
  padding: 2rem;
}

.section--home {
  background: #420000;
  background: radial-gradient(circle,rgba(66, 0, 0, 0.3) 0%, rgba(135, 52, 4, 0.3) 100%);
  
  box-shadow: 1px 4px 30px maroon inset;
  
  border: 3px solid rgb(41, 2, 9);
  border-radius: 5px;
}

.section__header--home {
  max-width: 100%;
  
  background: #290209;
  background: linear-gradient(180deg,rgba(41, 2, 9, 1) 0%, rgba(41, 2, 9, 0.5) 100%);
  
  font-size: 60px;
  padding: 1rem;
}

#intro {
  display: flex;
}

.section__content--home-updates {
  word-wrap: normal;
  overflow-y: auto;
  height: 40rem;
  padding: 1rem;
}

.section__char-16x16 {
  transform: scaleX(-5) scaleY(5);
  position: absolute;
  
  image-rendering: pixelated;
}

.section__char-16x16--pyangu {
  bottom: 1.9%;
  right: 10%;
}

.section__char-16x16--crowley {
  left: 70%;
  top: 15%;
}

.section__rhode-img {
  width: 30%;
  height: 30%;
}

.section-flexbox--gif-reel {
  justify-content: space-evenly;
}

.section-flexbox--gif-reel__item {
  width: 9%;
  height: 9%;
  
  box-shadow: 2px 2px 5px black;
}