@font-face {
  font-family: 'VT323 Regular';
  src: url('/fonts/VT323Regular.eot'); 
  src: url('/fonts/VT323Regular.eot?#iefix') format('embedded-opentype'), 
       url('/fonts/VT323Regular.woff2') format('woff2'), 
       url('/fonts/VT323Regular.woff') format('woff'), 
       url('/fonts/VT323Regular.ttf') format('truetype'), 
       url('/fonts/VT323Regular.svg#svgVT323Regular') format('svg');
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #ffffff #000000;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #000000;
}

*::-webkit-scrollbar-thumb {
  background-color: #000000;
  border-radius: 0px;
  border: 0px solid #ffffff;
}
body {
      background-image: url("/backgrounds/grid.jpg");
      background-size: auto 800px;
      background-repeat: repeat;
      background-color: #000000;
      color: #fff;
      font-family: monospace;


      display: flex;
      font-size: 15px;
    }
    a:visited, a:link {
      color: white;
      text-decoration: none;
    }
    .navbar {
  background-color: #000000;
  color: #ffffff;
  border-style: solid;
  border-width: 3px;
  border-color: #ffffff;
  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/aquatic.png");
  background-size: cover;
}
.beatstime {
  min-height: 30px;
  max-height: 30px;
  min-width: 100px;
  max-width: 100px;
  background-color: #ffffff;
  font-family: "VT323 Regular";
  font-size: 15px;
  color: #ffffff;
  background-image: url("/images/beatstime.png");
  background-size: cover;
}
.logo {
  z-index: 10;
  position: fixed;
  left: 120px;
  top: 0;
}
details summary {
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 2px;
  margin-bottom: 4px;
}
.tardquest {
  border: solid 4px white;
  position: absolute;
  top: 100px;
  left: 200px;
  background-color: #000000;
}
.updatebox {
  border-color: #ffffff;
  border-width: 4px;
  border-style: solid;
  background-color: #000000;
  min-width: 210px;
  max-width: 210px;
  min-height: 630px;
  max-height: 630px;
  position: absolute;
  top: 120px;
  left: 1000px;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: left;
  padding: 3px;
  font-size: 12px;
}
.infobox {
  border-color: #ffffff;
  border-width: 4px;
  border-style: solid;
  background-color: #000000;
  min-width: 600px;
  max-width: 600px;
  min-height: 500px;
  max-height: 500px;
  position: absolute;
  top: 790px;
  left: 220px;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: left;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 13px;
  padding-right: 13px;
  font-size: 16px;
}
.standalonedl {
  border-color: #ffffff;
  border-width: 4px;
  border-style: solid;
  background-color: #000000;
  min-width: 400px;
  max-width: 400px;
  min-height: 300px;
  max-height: 300px;
  position: absolute;
  top: 810px;
  left: 880px;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: left;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 13px;
  padding-right: 13px;
  font-size: 12px;
  overflow: auto;
}

/* 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;
}