@font-face {
  font-family: "Lilita One";
  src:
    url("../../play/styles/default/fonts/lilita_one_regular.woff2")
    format("woff2");
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Freeman";
  src:
    url("../../play/styles/default/fonts/freeman_regular.woff2")
    format("woff2");
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}




html {
  scroll-behavior: smooth;
  scrollbar-color: #ff1967 #00000000;

  margin: 0px;

  height: 100%;

  background-color: #0074f6;
  background-size: contain;
  background-position: center;
  background-attachment: fixed;
  background-image:
    radial-gradient(circle at center, transparent 40%, #001a5570 100%),
    url("../../play/styles/default/images/dark_blue_zebra_background.svg");
}




body {
  box-sizing: border-box;

  height: 100%;

  margin: 0px;

  font: 18px "Freeman";
  color: #ffffff;
}




.VisuallyHidden {
  position: absolute;

  overflow: hidden;

  margin: -1px;

  padding: 0;

  width: 1px;
  height: 1px;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0
}




main {

  font-size: 22px;

  max-width: 700px;

  margin: 4em auto 0em auto;

  padding: 0em 1em;

  text-wrap: pretty;
}

main::selection,
main ::selection {
  background-color: #ff5100;
  color: #ffffff;

  text-shadow: none;
  -webkit-text-stroke: 0em transparent;
}




h1 {
  -webkit-text-stroke: .015em #f5f5fa;

  letter-spacing: .05em; 
  
  font: bold 2em "Lilita One";
  color: #ff6077;
}

@-moz-document url-prefix() {
  h1 {
    -webkit-text-stroke: .05em #f5f5fa;

    letter-spacing: .07em;
  }
}




@keyframes header-item-motion {
  0% {
    transform: var(--rotate-z-start);
  }

  100% {
    transform: var(--rotate-z-end);
  }
}




@keyframes showcase-motion {
  0% { transform: scale(1) rotateY(0deg) }
  50% { transform: scale(1.125) rotateX(2.5deg) rotateY(25deg) }
  100% { transform: scale(1) rotateY(0deg) }
}


@keyframes showcase-image-appearing {
  0% {
    opacity: 0.25;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}




header > div {
  position: relative;
}


#Showcase {
  position: relative;

  aspect-ratio: 640/360;
  max-width: 640px;
  width: 85vw;

  margin: 2.5em 1em 1em 1em;

  perspective: 70em;
}

#Showcase > .Gallery,
#Showcase > .Gallery > img {
  border-radius: 3vmin;

  user-select: none;
}

#Showcase > .Gallery {
  overflow: hidden;

  width: 100%;
  height: 100%;

  outline-offset: .25em;
  outline: .25em solid #ff1967;

  filter: drop-shadow(0px 0px 2vw #001167);

}

#Showcase > .Gallery.InMotion {
  animation: showcase-motion 900ms ease-out 2s 1 normal backwards;
}

#Showcase > .Gallery > img {
  position: absolute;
  top: 0px;
  left: 0px;

  width: 100%;
}

#Showcase > .Gallery > img.Appearing {
  z-index: 3;

  animation: showcase-image-appearing 1s ease-out 2s 1 normal backwards;
}

#Showcase > .Gallery > img.Visible {
  z-index: 2;

  opacity: 1;

  transform: translateX(0%);
}

#Showcase > .Gallery > img.Hidden {
  z-index: 1;
}


#GameLogo {
  position: absolute;
  left: -8%;
  bottom: 0%;

  max-width: 170px;
  width: 23%;

  filter: drop-shadow(0em 0em .5em #001167);

  user-select: none;
}


#GoGameLink {
  position: relative;
  top: -1.5em;

  display: block;

  width: fit-content;

  margin: auto;

  padding: .5em 1.5em;

  background-color: #ff1967;

  color: #ffffff;

  border-radius: 1em;

  text-decoration: none;

  outline: .175em solid #ffe600ff;

  filter: drop-shadow(0px .2em .25em #311da1ff);

  transition: transform 500ms;

  user-select: none;
}


header {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
}


header > nav > ul {
  display: flex;
  gap: 1em;
  justify-content: center;

  margin: 0px;

  padding: .5em;

  list-style-type: none;

  font-size: 1.5em;
}

header > nav > ul > li > a {
  color: #ffe256;
}

header > nav > ul > li {
  animation: header-item-motion 1200ms ease-in-out 0s infinite alternate forwards;
}

header > nav > ul > li:nth-child(1) {
  --rotate-z-start: rotateZ(2deg);
  --rotate-z-end: rotateZ(-4deg);
}

header > nav > ul > li:nth-child(2) {
  --rotate-z-start: rotateZ(3deg);
  --rotate-z-end: rotateZ(9deg);
}

header > nav > ul > li:nth-child(3) {
  --rotate-z-start: rotateZ(0deg);
  --rotate-z-end: rotateZ(6deg);
}

header > nav > ul > li:nth-child(4) {
  --rotate-z-start: rotateZ(-5deg);
  --rotate-z-end: rotateZ(1deg);
}

header > nav > ul > li:nth-child(5) {
  --rotate-z-start: rotateZ(-3deg);
  --rotate-z-end: rotateZ(-9deg);
}




@media screen and (max-width: 700px) {
  header > nav > ul {
    margin-top: .8em;

    font-size: .9em;
  }
}




@media screen and (max-width: 800px) {
  #GameLogo {
    position: absolute;
    left: 8%;
    bottom: 0%;
    bottom: 10%;

    max-width: 150px;
    width: 20%;

    filter: drop-shadow(0em 0em .5em #001167);
  }
}




footer {
  display: flex;
  flex-direction: column;
  align-items: center;


  padding-bottom: 2em;

  margin-top: 5em;
  box-sizing: border-box;
}

footer > h3 {
  margin-bottom: 0px;
}


footer > nav > ul {
  display: flex;
  gap: 1em;
  justify-content: center;

  margin: 0px;

  padding: .5em;

  list-style-type: none;
}


footer > nav > ul > li > a {
  color: #c9fbff;
}