:root {
  --site-bg: url(images/bg.webp);
  --post-bg: black;
  --post-text: #F139C7;
  --button-bg:#F777DC;
  --border-color: black;
  --accent-color: #F139C7;
  --border-shadow: #89235b;
  /*these next two colors are for when you highlight text on the page*/
  --selected-bg: #bde0ff;
  --selected-text: #5244c8;
}

html {scroll-behavior: smooth;}

::selection {
  background: var(--selected-bg);
  color: var(--selected-text);
}

* {
  box-sizing: border-box;
  scrollbar-color: var(--accent-color) var(--post-bg);
  scrollbar-width: thin;
}

body {
  font-family: monospace, Tahoma, sans-serif;
  font-size: 16px;
  background: var(--site-bg);
  background-size: cover;
  color: var(--post-text);
  line-height: 1.6em;
}

main {
  margin: auto;
  width: 55%;
  position: relative;
}

#sidebar a {
  color: var(--post-bg);
}

#sidebar a:hover {
  text-decoration: none;
}

#sidebar nav {
  margin-block: 1.2em;
}

#sidebar nav li::before {
    content: url('images/list.gif');
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    margin-top: 4px;
}

#sidebar nav ul {
  display: flex;
  text-align: center;
  margin-bottom: 1em;
  padding: 0;
  list-style: none;
  gap: 8px;
  justify-content: center;
}

#sidebar nav li a {
  min-width: 150px;
  margin: .3em 0em .3em .3em;
  padding: .3em;
  display: inline-block;
  background: var(--post-bg);
  color: var(--button-bg);
  font-weight: bold;
  border-radius: 0.25rem;
  outline: 2px solid #fff0;
  transition: .2s;
  text-decoration: none;
}

#space {
  margin: 0.1em;
  padding: .3em .00001em;
  display: inline-block;
  border-radius: 0.25rem;
  outline: 2px solid #fff0;
  text-decoration: none;
}

#sidebar nav li a:hover {
  background: var(--button-bg);
  color: var(--accent-color);
  outline: 2px solid var(--post-text);
  outline-offset: 3px;
}

#status {
  background: var(--button-bg);
  background-image: url(images/checker.webp);
  background-size: 50%; 
  font-size: smaller;
  margin: 1em 0;
  padding: .4em .6em;
  border: 2px solid var(--border-color);
  outline: 2px solid var(--button-bg);
  box-shadow: 2px 2px 6px var(--border-shadow);
  height: 120px;
}

span {
  color: var(--post-text);
}

.intro {
  display: flex;
  align-items: center;
  background: var(--post-bg);
  color: var(--button-bg);
  padding: .8em 1em;
  top: 50%;
  height: 97%;
  overflow-y: hidden;
}

.intro p{
  margin-top: 0;
}

.dashboard {
  background: var(--button-bg);
  background-image: url(images/checker.webp);
  background-size: 50%; 
  font-size: smaller;
  padding: 0 .8em 0 .5em;
  border: 2px solid var(--border-color);
  outline: 2px solid var(--button-bg);
  box-shadow: 2px 2px 6px var(--border-shadow);
  height: 600px;
}

.post {
  background: var(--post-bg);
  color: var(--post-text);
  padding: 0 .8rem .2rem .8rem;
  margin: .5rem .1rem .5rem;
  min-width: 100%;
  list-style-type: none;
  overflow-y: scroll;
  height: 580px;
}

.post time{
  color: var(--accent-color);
  font-size: 90%;
}
.post li {
  color: var(--button-bg);
}

.post a {
  color:var(--button-bg);
  text-decoration: none;
}

.post a:visited {
  color:var(--selected-bg);
}

.post a:hover {
  text-decoration: none;
  color:var(--selected-text);
  background:var(--selected-bg);
}

.post h3 {
  font-size: larger;
}

.post h3:not(:first-child) {
    border-top: 2px dashed var(--accent-color);
    padding-top: 10px;
    margin-bottom: 0px;
}

.post>h3 {
    margin-bottom: 0px;
}

#chatbox li {
  padding: .5rem;
  border-bottom: 2px dashed var(--accent-color);
}

.decoration {
   pointer-events: none;
}

#sparklechainleft{
  position: fixed;
  z-index: 97;
  transform-origin: top left;
  transform: scale(120%);
  top: 0px;
  left: 30px;
}

#singlechainleft{
  position: fixed;
  z-index: 97;
  transform-origin: top left;
  transform: scale(120%);
  top: 0px;
  left: 320px;
}

#singlechainright{
  position: fixed;
  z-index: 97;
  transform-origin: top right;
  transform: scaleX(-1) scale(1.2);
  top: 0px;
  right: 350px;
}

#sparklechainright{
  position: fixed;
  z-index: 97;
  transform-origin: top right;
transform: scaleX(-1) scale(1.2);
  top: 0px;
  right: 30px;
}

#spiderwebtop{
  position: fixed;
  z-index: 90;
  transform-origin: top right;
  transform: scale(120%);
  top: 0px;
  right: -10px;
}

#spiderwebleft {
  position: fixed;
  z-index: 90;
  transform-origin: bottom left;
  transform: scale(120%);
  bottom: 40px;
  left: 60px;
}

#curtainleft{
  position: fixed;
  z-index: 97;
  top: 0px;
  left: 0px;
  height: 100vh;
}

#curtainright{
  position: fixed;
  z-index: 97;
  transform: scaleX(-1);
  top: 0px;
  right: 0px;
  height: 100vh;
}

#roseleft{
  position: fixed;
  z-index: 97;
  transform-origin: bottom left;
  transform: scale(120%);
  bottom: -3px;
  left: 0px;
}

#roseright{
  position: fixed;
  z-index: 97;
  transform-origin: bottom right;
  transform: scale(120%);
  bottom: 0px;
  right: 0px;
}

footer {
  color: var(--button-bg);
  position: absolute;
  z-index: 100;
  margin-top: 580px;
  font-size: small;
  width: 900px;
  text-align: center;
}

@media only screen and (max-width: 1182px) {
  .mobile-only {display: block;}
  .pc-only {display: none;}

  .decoration{
    display: none;
  }
  
  #container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
  }

  body {
    margin: 0;
  }

  #sidebar,main {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
  }

  #sidebar {
    margin-left: 0;
  }

  
  #sidebar nav ul {
    padding: 0.2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  #space {
    display: none;
  }

  #status {
    height: auto;
  }

  .intro p {
    font-size: .8rem;
  }
  
  .dashboard {
    font-size: smaller;
    padding: 0 .8em 0 .5em;
    height: 600px;
  }
  
  .post {
    padding: 0 .8rem .2rem .8rem;
    margin: .5rem .1rem .5rem;
    min-width: 100%;
    overflow-y: scroll;
    height: 590px;
}
  
}