@font-face {
  font-family: 'Spooky Hollow';
  src: url('/dynamicstyles/fonts/SpookyHollow.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ec8816 #000000;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #000000;
}

*::-webkit-scrollbar-thumb {
  background-color: #ec8816;
  border-radius: 0px;
  border: 0px solid #ffffff;
}
    a:visited, a:link {
      color: #eca116;
}

html {
  background-image: url("/backgrounds/bloodheader.gif");
  background-size: auto 128px;
  background-repeat: repeat-x;
  background-color: #000000;
  color: #eca116;
  font-family: "Spooky Hollow";
  font-size: 20px;
  text-shadow: -2px -2px 0 #000, -2px -2px 0 #ff4040, -2px 2px 0 #771800, -2px -2px 0 #000;
  cursor: url("/images/cursor-halloween.png"), auto;
  margin-left: 150px;
  margin-right: 20px;
}

input[type="text"] {
  width: 200px;
  box-sizing: border-box;
  border: solid;
  border-width: 1px;
  background-color: #000000;
  color: #eca116;
}

::placeholder {
  color: #eca116;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: #eca116;
}



/* ================INDEX PAGE=========================*/

.indexmain {
  min-width: 700px;
  max-width: 700px;
  min-height: 600px;
  max-height: 600px;
  top: 100px;
  left: 400px;
  border-style: solid;
  border-color: #eca116;
  background-image: url("/backgrounds/halloween1.jpg");
  background-repeat: repeat;
  position: absolute;
}

.nobabyzone {
  position: absolute;
  top: 20px;
}

.sidepics {
  width: 200px;
  height: 250px;
  right: 0px;
  top: 0px;
  position: absolute;
  overflow-y: hidden;
  border-style: solid;
  border-color: #eca116;
  border-top: none;
  border-right: none;
  border-radius: 0px;
  background-color: black;
}

.hitcount {
  color: #eca116;
  border-width: 4px;
  border-radius: 0px;
  border-style: solid;
  border-top: none;
  border-left: none;
  border-color: #eca116;
  width: 300px;
  height: 170px;
  left: 0px;
  top: 0px;
  padding: 10px;
  background-image: url("/spookygifs/10.gif");
  background-color: #000000;
  background-size: auto 70px;
  background-repeat: no-repeat;
  display: inline-block;
  position: absolute;
  font-size: 23px;
}

.currentgame {
  border-style: outset;
  border-width: 4px;
  border-color: #ff9f0e;
  background-image: url("/backgrounds/bloodheader.gif");
  background-size: auto 64px;
  background-repeat: repeat-x;
  background-color: #000000;
  rotate: -1deg;
  position: absolute;
  height: 230px;
  width: 140px;
  top: 200px;
  left: 250px;
  padding: 4px;
  font-size: 17px;
}

.newart {
  font-family: 'Times New Roman', Times, serif;
  color: #000000;
  border-style: none;
  background-image: url("/backgrounds/paper.png");
  background-repeat: no-repeat;
  background-size: cover;
  rotate: 2deg;
  position: absolute;
  height: 200px;
  width: 260px;
  top: 290px;
  left: 420px;
  padding: 4px;
  overflow: hidden;
}

.snoomp {
  background-image: url('/dynamicstyles/snoomp/snoomp_halloween.gif');
  background-repeat: no-repeat;
  background-size: cover;
  border-style: dotted;
  border-width: 2px;
  border-color: #ffffff;
  top: 360px;
  left: 27px;
  rotate: 2deg;
  width: 200px;
  height: 200px;
  padding: 4px;
  position: absolute;
}

.navlink {
  top: 120px;
  left: 166px;
  height: 180px;
  width: 180px;
  position: fixed;
  border-style: dashed;
  border-width: 4px;
  border-color: #aa1e00;
  background-color: #000000;
  animation: blink 0.3s;
  animation-iteration-count: infinite;
}
@keyframes blink { 50% { border-color:#eca116 ; }  }

.bloglink {
  top: 320px;
  left: 160px;
  height: 180px;
  width: 188px;
  position: fixed;
  border-style: dashed;
  border-width: 4px;
  border-color: #aa1e00;
  background-color: #000000;
  animation: blink 0.3s;
  animation-iteration-count: infinite;
}

.freeps2 {
  top: 520px;
  left: 155px;
  height: 200px;
  width: 200px;
  position: fixed;
  border-style: dashed;
  border-width: 4px;
  border-color: #aa1e00;
  background-color: #000000;
  animation: blink 0.3s;
  animation-iteration-count: infinite;
}

.updatebox {
  left: 1120px;
  top: 120px;
  position: fixed;
  font-size: 15px;
  text-align: left;
  padding: 3px;
  min-height: 230px;
  max-height: 230px;
  min-width: 290px;
  max-width: 290px;
  border-style: solid;
  border-color: #eca116;
  border-radius: 4px;
  background-image: url("/images/girreaper.gif");
  background-color: #000000;
  background-size: auto 90px;
  background-repeat: no-repeat;
  color: #eca116;
  overflow: auto;
}

.guestbook {
  left: 1140px;
  top: 380px;
  position: fixed;
}

.cbox {
  position: fixed;
  left: 1120px;
  top: 490px;
  height: 230px;
  width: 300px;
  overflow: auto;
  display: flex;
  flex-direction: column-reverse;
  border-style: solid;
  border-color: #eca116;
}

.randomimages {
  width: 680px;
  height: 160px;
  top: 705px;
  left: 410px;
  border-style: solid;
  border-top: none;
  border-color: #eca116;
  background-image: url("/backgrounds/halloween2.jpg");
  position: absolute;
}

.stamps {
  width: 680px;
  height: 58px;
  top: 868px;
  left: 410px;
  border-style: solid;
  border-top: none;
  border-color: #eca116;
  background-image: url("/spookygifs/24.gif");
  background-size: auto 100px;
  background-repeat: repeat;
  position: absolute;
}

.buttonswebrings {
  width: 680px;
  height: auto;
  top: 929px;
  left: 410px;
  border-style: solid;
  border-top: none;
  border-color: #eca116;
  background-image: url("/spookygifs/24.gif");
  background-color: #000000;
  background-size: auto 1000px;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  position: absolute;
}

.ghost-float1 {
  position: fixed;
  top: 10%;
  right: -1200px;
  width: 1156px;
  height: 100px;
  background-image: url("/spookygifs/6.gif");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 999;
  pointer-events: none;
  animation: ghost-fly1 7s linear infinite;
  filter: drop-shadow(0 0 10px rgba(49, 189, 0, 1));
}
@keyframes ghost-fly1 {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: translateX(-25vw) translateY(-27px);
  }
  50% {
    transform: translateX(-50vw) translateY(50px);
  }
  75% {
    transform: translateX(-75vw) translateY(-40px);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100vw) translateY(0);
    opacity: 0;
  }
}

.bat-fly1 {
  position: fixed;
  top: 30%;
  left: -10px;
  width: 1156px;
  height: 256px;
  background-image: url("/spookygifs/23.gif");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 999;
  pointer-events: none;
  animation: bat-fly1 9s linear infinite;
  filter: drop-shadow(0 0 10px rgba(105, 0, 150, 1));
}
@keyframes bat-fly1 {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: translateX(25vw) translateY(-27px);
  }
  50% {
    transform: translateX(50vw) translateY(50px);
  }
  75% {
    transform: translateX(75vw) translateY(-20px);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw) translateY(0);
    opacity: 0;
  }
}

.witch-fly1 {
  position: fixed;
  top: 50%;
  right: -1200px;
  width: 1156px;
  height: 128px;
  background-image: url("/spookygifs/27.gif");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 999;
  pointer-events: none;
  animation: witch-fly1 3s linear infinite;
  filter: drop-shadow(0 0 10px rgba(66, 255, 0, 1));
}
@keyframes witch-fly1 {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: translateX(-25vw) translateY(-20px);
  }
  50% {
    transform: translateX(-50vw) translateY(60px);
  }
  75% {
    transform: translateX(-75vw) translateY(-23px);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(-100vw) translateY(0);
    opacity: 0;
  }
}

.demon-fly1 {
  position: fixed;
  top: 70%;
  left: -10px;
  width: 1156px;
  height: 110px;
  background-image: url("/spookygifs/28.gif");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 999;
  pointer-events: none;
  animation: demon-fly1 15s linear infinite;
  filter: drop-shadow(0 0 2px rgba(255, 252, 0, 1));
}
@keyframes demon-fly1 {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: translateX(25vw) translateY(-27px);
  }
  50% {
    transform: translateX(50vw) translateY(70px);
  }
  75% {
    transform: translateX(75vw) translateY(-15px);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw) translateY(0);
    opacity: 0;
  }
}


.skeleton-walk {
  position: fixed;
  bottom: 0%;
  left: -10px;
  width: 1156px;
  height: 110px;
  background-image: url("/spookygifs/29.gif");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 999;
  pointer-events: none;
  animation: skeleton-walk 4s linear infinite;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 1));
}
@keyframes skeleton-walk {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  25% {
    transform: translateX(25vw) translateY(0px);
  }
  50% {
    transform: translateX(50vw) translateY(0px);
  }
  75% {
    transform: translateX(75vw) translateY(0px);
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw) translateY(0);
    opacity: 0;
  }
}


/* ---------------OTHER------------------ */


.box1 {
  min-width: 900px;
  max-width: 900px;
  max-height: 500px;
  min-height: 670px;
  overflow-y: auto;
  overflow-x: hidden;
  border-width: 4px;
  border-style: solid;
  border-color: #eca116;
  background-image: url("/backgrounds/halloween1.jpg");
  background-size: 200px;
  background-repeat: repeat;
  position: absolute;
}
.scanlines {
  min-width: 890px;
  max-width: 890px;
  max-height: 500px;
  min-height: 670px;
  overflow-y: auto;
  overflow-x: hidden;
  border-width: 4px;
  border-style: solid;
  border-color: #aa1e00;
  background-image: url("/images/scanlines.gif");
  color: black;
  background-repeat: repeat;
  position: absolute;
}

.navbar {
  background-image: url("/spookygifs/15.gif");
  background-size: auto 40px;
  color: #f70217;
  border-style: solid;
  border-width: 5px;
  border-color: #aa1e00;
  border-radius: 10px;
  z-index: 5;
  position: fixed;
  height: auto;
  left: 0;
  top: 0;
  overflow: hidden;
}
.todaysthemeicon {
  min-height: 50px;
  max-height: 50px;
  min-width: 100px;
  max-width: 100px;
  background-image: url("/dynamicstyles/halloween.png");
  background-size: cover;
}
.beatstime {
  min-height: 30px;
  max-height: 30px;
  min-width: 100px;
  max-width: 100px;
  background-color: #ffffff;
  font-size: 15px;
  color: #ffffff;
  background-image: url("/images/beatstime.png");
  background-size: cover;
}


.logo {
  z-index: 10;
  position: fixed;
  left: 110px;
  top: 0;
}

 .milkis {
   border-width:2px;
   border-style: solid;
   border-top: none;
   border-color:#eca116;
   background-image: url("/spookygifs/1.gif");
   background-size: auto 100px;
   background-repeat: no-repeat;
   background-color: #000000;
   height: 320px;
   width: 370px;
   overflow: auto;
   padding: 15px;
}

.infobox1 {
  position: absolute;
  color: #eca116;
  left: 600px;
  top: 69px;
  height: 300px;
  width: 230px;
  overflow-x: hidden;
  overflow-y: hidden;
  border-style: solid;
  border-width: 2px;
  border-color: #eca116;
  background-image: url('/spookygifs/23.gif');
  background-color: #000000;
  background-size: auto 50px;
  background-repeat: repeat;
}

.infobox2 {
  position: absolute;
  color: #eca116;
  font-size: 14px;
  text-shadow: 2px 2px 3px black; 
  height: 118px;
  width: 220px;
  padding: 3px;
  overflow-x: hidden;
  overflow-y: auto;
  border-style: none;
  border-width: 4px;
  border-color: #eca116;
  background-image: url("/backgrounds/bloodheader.gif");
  background-size: auto 50px;
  background-repeat: repeat-x;
  image-rendering: pixelated;
  background-color: #000000;
}
.todaysthemeinfobox1 {
  position: absolute;
  left: 60px;
  top: 80px;
  color: #fbd275;
  font-size: 20px;
  text-shadow: 2px 2px 3px black; 
  height: 300px;
  width: 350px;
  padding: 3px;
  overflow-x: hidden;
  overflow-y: auto;
  border-style: dashed;
  border-width: 2px;
  border-color: #f1fd95;
  background-image: url('/backgrounds/doomresults.png');
  background-size: cover;
  background-repeat: no-repeat;
}
.todaysthemeinfobox2 {
  position: absolute;
  right: 20px;
  top: 100px;
  color: #fbd275;
  font-size: 20px;
  text-shadow: 2px 2px 3px black; 
  height: 400px;
  width: 360px;
  padding: 3px;
  overflow-x: hidden;
  overflow-y: auto;
  border-style: dashed;
  border-width: 2px;
  border-color: #f1fd95;
  background-image: url('/backgrounds/fire.gif');
  background-size: cover;
  background-repeat: no-repeat;
}

/* Draggable Frame */
#draggableFrame {
  position: fixed;
  top: 6px;
  left: 120px;
  width: 210px;
  height: 330px;
  background: rgba(255, 255, 255, 0.8);
  border-image: linear-gradient(to bottom, #b7cfe8, #9bb7d3) 1;
  border-radius: 6px;
  border-width: 4px;
  border-style: solid;
  border-top: none;
  cursor: grab;
  z-index: 1000;
  user-select: none; /* Prevent text selection */
  display: flex;
  flex-direction: column;
}

/* Drag Handle */
#dragHandle {
  width: 100%;
  height: 20px;
  background-image: url("/backgrounds/win7gradient.png");
  color: #000000;
  text-align: left;
  font-size: 14px;
  line-height: 20px;
  cursor: grab;
  padding: 2px;
}

/* Make sure the iframe fits inside */
#draggableFrame iframe {
  width: 100%;
  height: calc(100% - 20px); /* Subtract handle height */
  border: none;
}

/* Prevent selection of other page elements */
body, html {
  user-select: none;
}
