.divider{
  width: 215%;
  height: 168px;
  position: absolute;
  z-index: 1;
  right: -9px;
  top: -125px;
  background: url("../Home/Images/divider.png") repeat left top;
  background-size: 500px;
}

.divider1{
  width: 215%;
  height: 168px;
  position: fixed;
  z-index: 0;
  right: -9px;
  bottom: -125px;
  background: url("../Home/Images/divider1.png") repeat left bottom;
  background-size: 500px;
}


.banners{
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  color: whitesmoke;
  padding-top: 20px;
filter:
 drop-shadow(0.5px 0px 0 black)
 drop-shadow(-0.5px 0px 0 black)
 drop-shadow(-0.5px 0px 0 black)
 drop-shadow(1px 0.5px 0 black)
 drop-shadow(0 -0.5px 0 black)
 drop-shadow(-0.5px 0.5px 0 black)
 drop-shadow(0.5px -0.5px 0 black)
 drop-shadow(-0.5px 0px 0 black)
}

#GamWalk{
  width: 40px;
}



body {
  margin: 0;
  background-image: url('https://storage.homestuck.com/story/homestuck/media/images/panels/act-5-act-1/02472.gif');
  background-size: cover;
  background-attachment: fixed;
  background-position: bottom;
  font-family: 'Courier New', Courier, monospace;
  cursor: url('data:image/x-icon;base64,AAACAAEAICAQAAAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAAAIAAAAAAAAAAAAAEAAAAAAAAAD3FJ8AAAAAAOcEjwBiATwAvgF0ANIBgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEREREREREREAABEREAAREREREREREREQMzMBEQMzABERERERERERA1REMBA1RDMBEREREREREDVEREMDJEREMBEREREREQMlUzREMlQzRDAREREREREDJTADRDJTADQwERERERERAyUzADQyQwA0MBERERERERAyIjADNUMzRDARERERERERAzMAADVDRDMBERERERERERAAMwA1QzMAERERERERERERA1QwNEMAEREREREREREREQNUMDRDABEREREREREREREDVDA0QwAREREREREREREAA1VDNEMAEREREREREREQMzNVVERDARERERERERERAyJTUyVUQwEREREREREREQMjJVMyVTAREREREREREREQMDVTAzMBEREREREREREREQADMwAAEREREREREREREREREAAREREREREREREREDERERERERERERERERERERAzEREREREREREREREREREQABERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERH//w+P//4HA//8AgH/+AAA//AAAP/wAAD/8AAA//gAAP/8AAH//gAD//8AD///AA///wAP//wAD//4AB//8AAf//AAP//4AH///AD///+P//+f////j////4///////////////////////////////////////////////////w=='), auto; 
}

.loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #000;
  z-index: 9999;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-image {
  width: min(300px, 55vw);
  max-width: 300px;
}

.loader-progress {
    color: #440a7f;
  font-family: 'Courier New', Courier, monospace;
  font-size: 26px;
  font-weight: bold;
}


* {
  box-sizing: border-box;
}

#container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background-image: url('../Home/Images/rainbowstarsbgm.gif');
  background-color: black;
  filter: drop-shadow(30px 0px 10px black) drop-shadow(-30px 0px 10px black);
}

#container a {
  color: limegreen;
  font-weight: bold;
  text-decoration: none;
  cursor: url("https://www.dropbox.com/scl/fi/m5il15wnm4lbi5lefll14/cursor.cur?rlkey=ul713lrd29h7if5veissaqzqo&st=6bffuat6&dl=1"), auto;
}

#header {
  width: 100%;
}

#ball,
.nav-ball{
  margin-right: 8px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

#navbar {
  background-color: transparent;
  width: 100%;
  padding: 10px 0 0;
}

#navbar .nav-menu {
  flex-wrap: wrap;
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: space-evenly;
  align-items: flex-start;
}

#navbar .nav-item {
  position: relative;
  padding-top: 0;
}

#navbar .nav-link {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  color: #6c00da;
  font-size: large;
  text-decoration: none;
  border-color: gold;
  border-style: ridge;
  padding: 6px 10px;
  background-color: black;
}

#navbar .nav-link:hover,
#navbar .nav-link:focus {
  color: lime;
  text-decoration: underline;
  text-decoration-style: wavy;
  cursor: url("https://www.dropbox.com/scl/fi/m5il15wnm4lbi5lefll14/cursor.cur?rlkey=ul713lrd29h7if5veissaqzqo&st=6bffuat6&dl=1"), auto;
}

#navbar .dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background-color: #13092D;
  border: 4px ridge gold;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  z-index: 20;
}

#navbar .nav-item:hover .dropdown-menu,
#navbar .nav-item:focus-within .dropdown-menu {
  display: flex;
}

#navbar .dropdown-menu a {
  display: block;
  color: #f7c6ff;
  font-family: 'Courier New', Courier, monospace;
  font-size: medium;
  text-decoration: none;
  padding: 4px 6px;
}

#navbar .dropdown-menu a:hover {
  color: lime;
  background-color: rgba(237, 100, 245, 0.2);
  cursor: url("https://www.dropbox.com/scl/fi/m5il15wnm4lbi5lefll14/cursor.cur?rlkey=ul713lrd29h7if5veissaqzqo&st=6bffuat6&dl=1"), auto;
}

button{
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-decoration: underline;
  font-size: 20px;
  background: none;
  border: none;
  font-weight: bold;
  color: blue;
}

button:hover{
cursor: url("https://www.dropbox.com/scl/fi/m5il15wnm4lbi5lefll14/cursor.cur?rlkey=ul713lrd29h7if5veissaqzqo&st=6bffuat6&dl=1"), auto;
color: lime;
}

#flex {
  display: flex;
}

main {
  background-color: transparent;
  flex: 1;
  padding: 20px;
  order: 2;
}

h1,
h2,
h3 {
  color: #ED64F5;
}

h1 {
  font-size: 25px;
}

@media only screen and (max-width: 800px) {
  #flex {
    flex-wrap: wrap;
  }

  main {
    order: 1;
  }
}

.wlp-player { background: black; border: 5px solid orange; width: 200px; font-family: 'Courier New', Courier, monospace; display: inline-block; color: #ccc; position: fixed; top: 20px; left: 20px; z-index: 10; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.65); }
.wlp-header { background: orange; color: #fff; padding: 5px; font-weight: bold; font-size: 12px; letter-spacing: 1px; cursor: grab; user-select: none; touch-action: none; }
.wlp-header.dragging { cursor: grabbing; }
.wlp-list {resize: vertical; height: 118px; overflow-y: scroll; border-top: 2px inset #444; border-bottom: 2px inset #444; background: #000; padding: 2px; font-size: 12px; font-family: 'Courier New';}
.wlp-track { padding: 4px; border-bottom: 1px dashed #222; transition: background 0.1s;  cursor: url("https://www.dropbox.com/scl/fi/m5il15wnm4lbi5lefll14/cursor.cur?rlkey=ul713lrd29h7if5veissaqzqo&st=fj9g8a7v&dl=1"), auto; }
.wlp-track:hover { background: #222; }
.wlp-track.active { color: #00ff00; background: #1a1a1a; font-weight: bold; }
.wlp-controls { display: flex; background: #222; padding: 6px; }
.wlp-btn {text-decoration: none; background: black; border: 2px outset orange; color: #fff; flex: 1; margin: 0 2px; font-weight: bold; font-size: 11px; padding: 4px 0;  cursor: url("https://www.dropbox.com/scl/fi/m5il15wnm4lbi5lefll14/cursor.cur?rlkey=ul713lrd29h7if5veissaqzqo&st=fj9g8a7v&dl=1"), auto; }
.wlp-btn:active { border: 2px inset #555; }


@keyframes squiggly-anim {
  0% {
    -webkit-filter: url("#squiggly-0");
    filter: url("#squiggly-0");
  }
  25% {
    -webkit-filter: url("#squiggly-1");
    filter: url("#squiggly-1");
  }
  50% {
    -webkit-filter: url("#squiggly-2");
    filter: url("#squiggly-2");
  }
  75% {
    -webkit-filter: url("#squiggly-3");
    filter: url("#squiggly-3");
  }
  100% {
    -webkit-filter: url("#squiggly-4");
    filter: url("#squiggly-4");
  }
}

#text,
.squiggly {
  animation: squiggly-anim 2s linear infinite;
}

.svg-container {
  width: 0;
  height: 0;
  overflow: hidden;
}

dialog{
        border: 5px solid  #2b0057;
        border-radius: 10px;
        background-color: #000;
}


.box{
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 20;
  background: url("sparkles.gif") #76a8b20a;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  opacity: 0;
}

.box.animate{
animation: fadeSlide 8s ease-in-out forwards;
}



.box2 {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 20;
  background: url("icp1.png");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  opacity: 0;
}

.box2.animate2 {
animation: fadeSlide2 11s ease-in-out forwards;
}


@keyframes fadeSlide {
  0% { opacity: 0; }
  30% { opacity: 20; transform: translateX(0); }
  100% { opacity: 0; }
}

@keyframes fadeSlide2 {
  40% { opacity: 0; }
  60% { opacity: 60%; transform: translateX(0); }
  100% { opacity: 0; }
}

#gamzeepray{
  max-width: 320px;
 position: relative;
 z-index: 1;
 margin: 0 auto;
filter:
 drop-shadow(0.5px 0px 0 #9cef00)
 drop-shadow(-0.5px 0px 0 #9cef00)
 drop-shadow(-0.5px 0px 0 #9cef00)
 drop-shadow(1px 0.5px 0 #9cef00)
 drop-shadow(0 -0.5px 0 #9cef00)
 drop-shadow(-0.5px 0.5px 0 #9cef00)
 drop-shadow(0.5px -0.5px 0 #9cef00)
 drop-shadow(-0.5px 0px 0 #9cef00)
}


@font-face {font-family: Chainsaw Carnage; src: url("../Art Gallery/ChainsawCarnage.ttf"); }
#art-cred{
  font-family: Chainsaw Carnage;
  width: 20%;
  font-size: 25px;
  position: absolute;
  z-index: 0;
 bottom: 385px;
  right: 540px;
  rotate: -6deg;
  color: #a1a100;
}

/* Mobile / tablet only — desktop layout stays the same above 920px */
@media only screen and (max-width: 920px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    padding-bottom: 48px;
  }

  .divider,
  .divider1 {
    width: 100%;
    right: 0;
    left: 0;
    background-size: 280px;
  }

  .divider1 {
    z-index: 0;
    pointer-events: none;
  }

  .wlp-player {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 24px) !important;
    max-width: 280px;
    display: block;
    margin: 10px auto 12px;
    z-index: 5;
    box-sizing: border-box;
  }

  #header,
  #headerArea,
  #navbar {
    position: relative;
    z-index: 4;
    max-width: 100%;
  }

  #header h1,
  #rainbow,
  h1#text,
  .about-title {
    font-size: clamp(1.4rem, 7vw, 2.4rem) !important;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  #rainbow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  #navbar .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 0 10px 12px;
  }

  #navbar .nav-item {
    max-width: 100%;
  }

  #navbar .nav-link {
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
  }

  #navbar .dropdown-menu {
    position: static;
    display: flex;
    width: 100%;
    box-sizing: border-box;
  }

  #container,
  #flex,
  main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  #container {
    filter: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding-bottom: 56px;
  }

  #flex {
    display: block;
  }

  main {
    padding: 12px;
    overflow: hidden;
  }

  .frame-scale {
    overflow: visible;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  main img {
    max-width: 100%;
    height: auto;
  }

  .frame-wrap img {
    max-width: none;
  }

  .about-box {
    padding: 12px !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .about-heading {
    font-size: 1.05rem !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .about-panel {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  main p {
    text-indent: 1em !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  #art-cred {
    position: static !important;
    width: auto !important;
    bottom: auto !important;
    right: auto !important;
    rotate: 0deg;
    font-size: 16px;
    display: block;
    margin: 8px auto 10px;
  }

  #gamzeepray {
    max-width: min(280px, 100%);
    width: 100%;
    height: auto;
  }

  dialog {
    width: min(600px, 94vw);
    max-width: 94vw;
    margin: auto;
  }

  dialog iframe,
  .feed-frame {
    width: 100% !important;
    height: min(540px, 72vh) !important;
    max-width: 100%;
  }

  button {
    min-height: 44px;
    font-size: 16px;
    white-space: normal;
    max-width: 100%;
  }
}

