
@font-face {
    src: url('./assets/GRAFFITI.ttf') format('truetype');
    font-family: 'Graffiti';
}

@font-face {
    src: url('./assets/OMORI_GAME2.ttf') format('truetype');
    font-family: 'Omori';
}

@font-face {
    src: url('./assets/doctorpunk.otf') format('opentype');
    font-family: 'Graffiti2';
}


body {
background-image: url('./assets/bg.jpg');
background-attachment: fixed;
background-repeat: repeat;
}

@-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
            transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

.main {
  border: 1px solid white;
  background-image: url('https://i5.glitter-graphics.org/pub/604/604825zvqi5ha4sy.gif');
  background-attachment: fixed;
  background-repeat: repeat;
  width: 600px;
  height: 450px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px;
  z-index: 4;
  box-shadow: 0rem -0rem 0.5rem 0.5rem #000000;
}

.section {
  font-family: Omori;
  position: absolute;
  top: 130px;
  color: black;
  font-size: 25px;
  background: white;
  border: 3px solid #858585;
  padding: 5px;
  width: 330px;
  height: 250px;
  overflow-y: scroll;                /* ← make sure this is scroll, not auto */
  -webkit-animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;

  /* ←←← HIDE SCROLLBAR MAGIC (add these 5 lines) */
  scrollbar-width: none;             /* Firefox */
  -ms-overflow-style: none;          /* IE/Edge */
}
.section::-webkit-scrollbar {
  display: none;
}

.button-container
{
  position: absolute;
  top: 10em;
  left: 21.8em;
  height: 200px;
  width: 100px;
  z-index: 5;
}

button
{
  border-right: 3px solid #858585;
  border-top: 3px solid #858585;
  border-bottom: 3px solid #858585;
  border-radius: 0px 10px 10px 0px;
  border-left: none;
  padding: 3px;
  background: white;
  height: 50px;
  width: 50px;
}

.outer
{
  border-width:8px;
  border-style:solid;
  border-image: url("https://i.imgur.com/J99GcgI.gif") 8 fill round;
  width: 94.5%;
  height: 49%;
}

.inner
{
  width: 100%;
  height: 100%;
  background-image: url('https://i4.glitter-graphics.org/pub/1892/1892184w4ps5ex9qo.gif');
  background-size: cover;
}

.welcome-gif {
  margin-top: 20px;
  text-align: center;
}

.welcome-gif img {
  max-width: 220px;
  width: 100%;
}

mark
{
  font-family: Graffiti;
  font-size: 1.5em;
  background: linear-gradient(to top, #000000 0%, #BABABA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: black;
}

a
{
  text-decoration: none; color: black;
}

.marquee-container
{
  width: 560px;
  height: 50px;
  position: absolute;
  top: 26em;
  left: 3em;
  z-index: 9999;
}

.rotategrad {
background-size: 100vw 100vw;
margin: 0;
position: relative;
text-align: -webkit-center;
font-size: 29px;
font-family: Graffiti2;
background: repeating-linear-gradient(-45deg, black 0%, dimgray 25%, black 50%);
-webkit-animation: 'slide' 30s infinite linear forwards;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}

@keyframes slide {
0% { background-position-x: 0%; }
100% { background-position-x: 200vw; }
}

html, body {
  height: 100%;
  min-height: 100vh;   /* extra insurance */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* NO MORE HIGHLIGHTING ON STARFIELD EVER */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* but allow selection on your actual content */
.main, .main * {
  -webkit-user-select: text;
  user-select: text;
}

/* Make the white content box appear ON TOP of the buttons */
.section {
  position: absolute;     /* already have this */
  z-index: 10;            /* ← raise it above the buttons */
}

/* Make sure buttons are behind the section */
.button-container,
.button-container button {
  z-index: 5;             /* ← lower than the section */
}

/* Active tab stays "hovered" */
button.active,
button.active:hover {
  transform: translateY(-4px) scale(1.15) !important;
  box-shadow: 0 8px 0 #000000 !important;
}
