/* fonts */

@font-face {
  font-family: "basiic";
  src: url(/fonts/basiic.ttf);
}

@font-face {
  font-family: "NintendoDS";
  src: url(/fonts/Nintendo-DS-BIOS.ttf);
}

/* variables */

:root {
  --main-bg-color: #ffffff;
  --main-text-color: #464647;
  --main-border-color: #7e94f4;
  --box-border-color: rgb(196, 207, 252);
}

/* text styling */

p {
  margin: 15px 0;
}

a {
  color: #5e5ef7;
}

mark {
  background-color: rgba(9, 29, 246, 0.174);
}

/* body */

body {
  background: url(/graphics/backgrounds/bluecatmesh.gif);
  background-size: 10em;
  font-family: "basiic", arial, sans-serif;
  color: var(--main-text-color);
  line-height: 19px;

  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#window {
  position: absolute;
  width: 100%;
  max-width: 310px;

  top: 15em;
  left: 4em;

  font-family: "NintendoDS";

  z-index: 99;

  & .title-bar-text,
  button {
    font-family: "NintendoDS";
    font-size: 1.5em;
  }

  & p {
    font-family: "NintendoDS";
    font-size: 1.4em;
    margin: 10px 0;
  }

  & .window-body {
    height: 200px;
    overflow-y: scroll;
  }
}

#cliques {
  margin: auto;
  padding: 2px;
  text-align: center;
}

#fanlistings {
  margin: 0 auto 2px auto;
  padding: 2px;
  text-align: center;

  & .fanlistings {
    transition:
      transform 0.15s ease,
      filter 0.15s ease;
    width: 5.6em;
    padding: 2px;
    padding-top: 10px;
    filter: brightness(90%);
  }

  & .fanlistings:hover {
    display: inline-block;
    transform: scale(1.08) translateY(-2px);
    filter: brightness(105%);
  }
}

#window2 {
  position: absolute;
  width: 100%;
  max-width: 310px;

  top: 7em;
  left: 90em;

  font-family: "NintendoDS";

  z-index: 98;

  & .title-bar-text {
    font-family: "NintendoDS";
    font-size: 1.5em;
  }

  & mark {
    font-family: "NintendoDS";
    font-size: 1.4em;
  }

  & p {
    margin: 10px 0 10px 0;
  }

  & .window-body {
    height: 350px;
    overflow-y: scroll;
  }

  & ul {
    list-style-type: none;
    padding-left: 4px;
    margin: 4px;

    font-family: "basiic";
    font-size: 1.2em;
  }
}

.hattoushin {
  position: absolute;
  left: 7em;
  top: 6.5em;
}

#secret {
  max-width: 120px;
  font-family: "NintendoDS";
  font-size: 1.1em;
  position: absolute;
  top: 14em;
  left: 11em;
}

/* main container */

#container {
  width: 100%;
  max-width: 650px;
  height: auto;
  margin: 0 auto;
  position: relative;

  background: var(--main-bg-color);

  border: 5px ridge var(--main-border-color);
  border-radius: 4px;
}

/* header */

header {
  width: 100%;
  height: 140px;
  background: url(/graphics/backgrounds/skyblue.jpg);

  border-bottom: 5px ridge var(--main-border-color);

  overflow: hidden;

  & h1 {
    font-size: 3.6em;
    font-family: "Times New Roman";
    text-align: left;
    margin-top: 0.5em;
    line-height: 0.8em;
    padding-left: 0.06em;

    color: rgb(253, 253, 249);
    text-shadow: 0px 0px 8px rgb(68, 70, 235);
    filter: none;
  }
}

/* main layout */

#main {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 6px;
  gap: 10px;

  background: url(/graphics/backgrounds/basicdottedblue.png);
}

.top {
  display: flex;
  gap: 15px;
}

.textbox {
  flex: 3;
  height: auto;
  overflow-y: scroll;
  text-align: center;
  font-size: large;

  border: 2.5px ridge var(--box-border-color);
  border-radius: 4px;
  background: var(--main-bg-color);

  & .box-img1 {
    position: relative;
    width: 100%;
    max-width: 150px;
    border: 4px groove var(--main-bg-color);
    border-bottom: 4px ridge var(--main-bg-color);
    float: inline-start;
  }

  & p {
    font-size: 1.1em;
  }
}

.right1 {
  flex: 2;
  height: auto;
  max-width: 243px;
  padding: 5px;
  text-align: left;

  border: 2.5px ridge var(--box-border-color);
  border-radius: 4px;
  background: var(--main-bg-color);
}

#bottom {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-bottom: 5px;
}

.lower {
  display: flex;
  gap: 5px;
}

.right2 {
  flex: 3;
  max-height: 230px;
  text-align: center;

  display: flex;
  gap: 5px;

  & h2 {
    font-size: 1em;
    padding: 2px;
    margin: 5px;
    text-align: center;
  }
}

.pics {
  width: 60%;
  max-height: 220px;
  border: 3px double #8a8afb;
  border-radius: 5px;
  overflow-y: scroll;
  text-align: center;
  background: url(/graphics/backgrounds/kiriumi1.JPG);
  font-family: "NintendoDS";
  font-size: 1.3em;

  & img {
    max-width: 10.5em;
    border-radius: 2px;
  }
}

.pages {
  width: 40%;
  max-height: 220px;

  & h2 {
    font-family: "NintendoDS";
    font-size: 1.2em;
  }

  & button {
    width: 93%;
    height: 30px;
    border-radius: 4px;

    font-family: "NintendoDS";
    font-size: 1.2em;
  }

  & p {
    font-family: "NintendoDS";
    font-size: 1.4em;

    margin: 5px;
    padding: 5px;
    background: var(--main-bg-color);
    border: 2px ridge var(--box-border-color);
    border-radius: 4px;
  }
}

.left {
  flex: 1.7;
  max-height: 220px;
  background: var(--main-bg-color);
  border: 2.5px ridge var(--box-border-color);
  border-radius: 4px;

  text-align: center;
  overflow-y: scroll;

  & h2 {
    font-family: "NintendoDS";
    font-weight: 100;
    font-size: 1.5em;
    padding: 2px;
    margin: 8px;
  }

  & p {
    text-align: left;
    font-size: 0.9em;
    padding: 2px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  & .att {
    font-size: 0.87em;
    opacity: 0.8;
    margin-right: 6px;
    white-space: nowrap;
  }
}

/* responsive */

@media (max-width: 700px) {
}
