@font-face {
  font-family: 'DETERMINATION';
  src: url('fonts/undertale-deltarune-extended-fixed.otf.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PIXELOPERATOR';
  src: url('fonts/PixelOperator.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Index/preview page */

#indexbox {
  background-image: linear-gradient(to bottom, rgb(21, 13, 62), rgb(36, 22, 108));
  height: 400px;
  min-height: 0;
  max-width: 800px;
  border: 3px solid rgb(67, 44, 170);
  box-shadow: 5px 5px 6px #130135;
  border-radius: 20px;
  text-align: center;
  margin: 10px 50px;
  border-radius: 20px;
  box-sizing: border-box;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-color: rgb(109, 76, 198) transparent;
  padding: 40px;
  display: grid;
  grid-template-columns: 50% 50%;
  column-gap: 20px;
}

#indexbox>div>p {
  font-size: 20px;
  line-height: 15px;
  margin-bottom: -8px;

  strong {
    background-color: rgb(109, 76, 198);
    color: rgb(235, 235, 255);
  }
}

.card {
  background-image: linear-gradient(to bottom, rgb(21, 13, 62), rgb(36, 22, 108));
  height: 400px;
  min-height: 0;
  max-width: 800px;
  border: 3px solid rgb(67, 44, 170);
  box-shadow: 5px 5px 6px #130135;
  border-radius: 20px;
  text-align: center;
  margin: 10px 50px;
  border-radius: 20px;
  box-sizing: border-box;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-color: rgb(109, 76, 198) transparent;
  padding: 40px;
}

/* STYLE SECTIONING TAGS */
body {
  background-color: rgb(75, 75, 183);
  background-image: url(https://file.garden/akFagwUm9G3LrXH-/sprite-1-8.png);
  background-size: 10%;
  background-attachment: scroll;
  animation: starbgmove 20s linear infinite;
}

@keyframes starbgmove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 500px 400px;
  }
}

html,
body {
  height: 100%;
  margin: 0;
  overflow: auto;
  scrollbar-width: none;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "DETERMINATION";
  cursor: url('https://file.garden/akFagwUm9G3LrXH-/heartcursor.cur'), auto;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.layout {
  background: rgb(21, 13, 62);
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  min-height: 0;
  border: 3px solid rgb(67, 44, 170);
  margin: 10px 100px;
  border-radius: 20px;
}

nav {
  background: black;
  border: 5px solid rgb(135, 108, 255);
  border-right: none;
  border-top: none;
  border-bottom: none;
  padding-inline: 10px;
  overflow-y: auto;
  order: 1;
  border-radius: 17px 0 0 17px;
}

nav>.links {
  line-height: 2px;
}

nav>.links>p {
  font-size: 25px;
}

content {
  min-width: 500px;
  height: 908px;
  box-sizing: border-box;
  display: block;
  background-image: linear-gradient(to bottom, rgb(21, 13, 62), rgb(36, 22, 108));
  border: 5px solid black;
  border-top: none;
  border-bottom: none;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  padding: 40px;
  text-align: center;
  min-height: 0;
  order: 2;
}

.rightSide {
  background: black;
  border: 5px solid rgb(135, 108, 255);
  border-left: none;
  border-top: none;
  border-bottom: none;
  padding: 10px;
  overflow-y: auto;
  order: 3;
  border-radius: 0 17px 17px 0;
}

.rightStamps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 15px;
  height: 500px;
  overflow-y: scroll;
  scrollbar-width: none;
}

.blinkymarquee {
  display: flex;
  animation: marquee 25s linear infinite;
  animation-play-state: running;
  --gap: 0rem;
  position: relative;
  display: flex;
  user-select: none;
  gap: var(--gap);
}

@keyframes marquee {
  from {
    transform: translateX(-137%);
  }

  to {
    transform: translateX(-15%);
  }
}

.updateLog {
  height: 285px;
  overflow-y: scroll;
  scrollbar-color: rgb(109, 76, 198) transparent;
}

/* STYLE TEXT */

h1 {
  color: white;
  text-align: center;
  padding-top: 0px;
  line-height: 90%;
}

h2 {
  color: white;
  background-color: rgb(109, 76, 198);
  text-align: center;
  line-height: 90%;
}

p,
ul,
ol,
li,
b {
  font-family: "PIXELOPERATOR", serif;
  font-size: 22px;
  font-weight: normal;
  color: white;
}

ul {
  list-style-type: none;
}

.updateLog>p {
  max-height: 80px;
  font-size: 18px;
  line-height: 15px;
}

.updateLog>p>strong {
  background-color: rgb(109, 76, 198);
  color: rgb(235, 235, 255);
}

/* STYLE IMAGES */

img.blinkie {
  width: 200px;
  height: 27px;
}

img.stamp {
  height: 56px;
  width: 99px;
  padding: 3px 0 3px 0
    /*im too lazy to fix ts*/
}

/* STYLE NAV BAR */

a {
  color: #FF50C2;
}

a:hover {
  color: pink;
}

.navlinks {
  color: rgb(235, 235, 255);
  text-decoration: none;
}

a.navlinks:hover {
  color: #FF50C2;
}

.links>p {
  width: 170px;
  height: 5px;
  background-color: rgb(70, 37, 160);
  border-radius: 5px;
}

/* PAGEDOLL STUFF */

.pagedoll {
  -webkit-filter: drop-shadow(0px 0px 5px rgba(174, 144, 255, 0.9));
  filter: drop-shadow(0px 0px 5px rgba(174, 144, 255, 0.9));
  animation: floating 3s ease-in-out infinite;
  position: absolute;
  left: 7px;
  bottom: 3px;
  z-index: 150;
}

@keyframes floating {
  0% {
    transform: translate(0, 0px);
  }

  50% {
    transform: translate(0, 15px);
  }

  100% {
    transform: translate(0, -0px);
  }
}

#bubble {
  background-color: rgb(109, 76, 198);
  border-radius: 10px;
  width: 200px;
  text-align: center;
  position: absolute;
  bottom: 200px;
  left: 200px;
  pointer-events: none;
  filter: drop-shadow(-1px 2px 2px rgb(0, 0, 0));
  animation: speechfloat 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 100;
}

#bubble.visible {
  opacity: 1;
  pointer-events: auto;
}

@keyframes speechfloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Shrine stuff */

#shrinetime > p {
  color: rgb(70, 37, 160);
}

/* Yumering because the js script wont center */

.yumering {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  padding: 10px;
  height: 110px;
  width: 300px;
  border-radius: 5px;
  border: 1px solid black;
  font-smooth: never;
  -webkit-font-smoothing: none;
  background: linear-gradient(to bottom, transparent, white), url('https://files.catbox.moe/dbv9b2.gif');
  background-size: 100px;
}

.yumering #img {
  width: 90px;
  height: 90px;
  background-image: url('https://files.catbox.moe/hza6iw.jpg');
  border: 1px solid black;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}

.yumering #inbox {
  width: 190px;
  font-size: 10px;

  b {
    color: black;
  }
}