@font-face {
  font-family: "Omori Normal";
  src: url(/fonts/omori_game2-webfont.woff) format("woff");
  src: url(/fonts/omori_game2-webfont.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Omori Horror";
  src: url(/fonts/omori_game-webfont.woff) format("woff");
  src: url(/fonts/omori_game-webfont.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
}

#site-banner {
  image-rendering: pixelated;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /*margin: 32px;*/
}

#header-name {
  max-width: 100%;
  max-height: 100%;
}

.main {
	/*max-width: 400px;
  margin: 32px auto;*/
  /*margin-top: 32px;
  margin-bottom: 32px;*/
  /*width: 50%;
  margin: 8px auto;*/
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 8px;
}

#bosses {
  /*max-width: 400px;*/
  max-width: 480px;
  border: 4px solid white;
  color: #FFFFFF;
  padding: 16px;
  padding-left: 48px;
  width: 100%;
  height: 480px;
  box-sizing: border-box;
  background-color: black;
}

#facts-sprite, #facts-text {
  width: 320px;
  height: 480px;
  background: black;
  box-sizing: border-box;
}

#facts-sprite {
  border: 4px solid white;
  padding: 1px;
}

#facts-sprite-inside {
  width: 100%;
  height: 100%;
  background-size: cover;
  /*background-position: center center;*/
  background-color: black;
  overflow: clip;
  position: relative;
}

#facts-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: white;
  font-size: 28px;
}

#facts-name {
  height: 48px;
  border: 4px solid white;
  padding: 1px;
  box-sizing: border-box;
  padding: 5px 15px;
}

#facts-desc {
  flex-grow: 1;
  border: 4px solid white;
  padding: 1px;
  padding: 12px 14px;
  letter-spacing: -0.2px;
  line-height: 1;
  position: relative;
}

#facts-desc-inside {
  width: 100%;
  height: 100%;
}

#facts-overworld {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

html {
  height: 100%;  
}

body {
  background: black;
  font-family: "Omori Normal";
  font-size: 32px;
  overflow-y: scroll;
  
  /*height: 800%;*/
  margin: 0;
  position: relative;
  
  scrollbar-color: white black;
  scrollbar-width: thin;
}

header {
  margin-top: 32px;
  margin-bottom: 16px;
  display: flex;
}

ul {
  margin: 0;  
  /*font-size: 24px;*/
}

#rouxls {
  position: fixed;
  left: 0;
  bottom: 0;
  width: calc(748px/2);
  height: calc(456px/2);
  background: url("/shrine/vg/deltarune/sprites/rouxls/rouxls_select.gif");
  z-index: -1;
}

#rouxls-face {
  position: absolute;
  width: calc(27px*2);
  height: calc(29px*2);
  left: calc(116px/2);
  top: calc(96px/2);
  image-rendering: pixelated;
}

.choose {
    text-align: center;
    color: white;
    font-size: 1.5em;
}

.locked {
    font-style: italic;
    opacity: 0.8;
}

.fight-link.unlocked:hover::before {
  content:"";
  background-image: url(https://lilithdev.neocities.org/headspace/sprites/cursor.png);
  width: 30px;
  height: 15px;
  background-size: 30px, 15px;
  display: inline-block;

  animation-name: cursor-bounce;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  position: absolute;
  transform: translate(-40px, 12px);
}

.fight-link.unlocked:hover {
  color: yellow;
}

@keyframes cursor-bounce {
  0% {transform: translate(-40px, 12px);}
  50% {transform: translate(-34px, 12px);}
  100% {transform: translate(-40px, 12px)}
}

.fight-name {
  display: inline;
  opacity: 0.65;
}

.unlocked .fight-name {
  opacity: 1;
  cursor: pointer;
}

.fight-tip {
  opacity: 0.65;
  font-size: 0.8em;
  display: inline;
}

.unlocked .fight-tip {
  display: none;
}

@media (max-width: 1170px) {
  .main {
    flex-wrap: wrap;
    width: min(650px, 100vw);
    /*gap: 0;
    row-gap: 4px;*/
    gap: 2px;
    row-gap: 32px;
    left: 50%;
    position: relative;
    transform: translate(-50%);
  }

  #facts-sprite {
    order: 2;
  }
  
  #facts-text {
    order: 3;
  }
}