:root {
  --accent: #9f00ff;
  --background: #000;
  --text: #fff;
  --header: #000;
}

.light {
  --background: #fff;
  --text: #000;
  --header: #fff;
}

body {
  font-family:Courier;
  color: var(--text);
  background-color: var(--background);
}

h1 {
  color:var(--accent);
  margin:0;
  text-align: center;
}

#title {
  margin-top:-20px;
}

#container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

#mainstuff {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  padding:5px;
}

.rightside {
  width:270px;
  display: flex;
  flex-direction: column;
}

.rightside p {
  font-size:12px;
  margin-left:20px;
}

.leftside {
  width: 270px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.leftbox {
  border:3px inset var(--accent);
}

.leftbox a {
  color: var(--accent);
}

.leftbox li:hover {
  transform: scale(1.05);
}

.leftbox li:active {
  transform: scale(1);
}

#main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.center {
  display: flex;
  gap: 5px;
  padding-bottom:5px;
}

#intro {
  border:3px inset var(--accent);
  padding:3px;
  text-align: center;
}

#cat {
  white-space: pre;
  font-family:monospace;
  padding:3px;
  user-select: none;
  position: relative;
}

@keyframes scroll {
  0% {transform: translateY(0); }
  100% {transform: translateY(calc(-31px * 11)); }
}

#buttons {
  white-space: nowrap;
  max-height: 248px;
  overflow: hidden;
  position: relative;
}

#buttonsInner {
  animation: scroll 10s linear infinite;
}

#buttonsInner span {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

#buttonsInner:hover {
  animation-play-state: paused;
}

#buttonsInner img {
  width: 88px;
  position: relative;
  z-index:1;
}

#buttonsInner img:hover {
  transform:scale(1.1);
  z-index:2;
}

#othersitebuttons {
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  padding:5px;
  padding-right:0;
}

#othersitebuttons img:hover {
  transform: scale(1.1);
}

#othersitebuttons img:active {
  filter:brightness(0.8);
  transform: scale(0.95);
}

#sitebuttons {
  display: flex;
  padding:5px;
  gap:3px;
}

#sitebuttons a {
  flex:1;
}

.siteButton {
  width:100%;
  display:inline-block;
  cursor: pointer;
}

.siteButton:hover {
  transform: scale(1.05);
}

.siteButton:active {
  filter:brightness(0.8);
  transform: scale(0.95);
}

.rightbox {
    border:3px inset var(--accent);
    margin-bottom:5px;
}

.mainbox {
  border: 3px inset var(--accent);
  margin-bottom: 5px;
}

.mainbox p {
  padding-left:5px;
}

.mainbox2 {
  flex: 1;
  border: 3px inset var(--accent);
  text-align: center;
}

#serverlink {
  font-weight:bold;
  color: var(--text);
  text-decoration: none;
}

.mainbox2 a {
  color: var(--accent);
  display: block;
}

.mainbox2 ul {
  text-align: left;
  list-style-type:none;
  white-space: normal;
  text-indent: -10px;
  padding-left: 25px;
  padding-right:15px;
}

.mainbox2 ul li:before {
  content:"-";
  padding-left:0;
  padding-right:5px;
}

#MCmap {
  zoom: 50%;
  flex:1;
  min-height:600px;
  padding-bottom: 0;
  border: 6px inset var(--accent);
}

#guestbook {
  height:500px;
}

#chatbox {
  border:3px inset var(--accent);
  min-height:562px;
  z-index: "1";
}

ul {
  padding-left:0;
  list-style-type:none;
  white-space: nowrap;
  padding-right:5px;
}

ul li:before {
  content:">";
  padding-left:15px;
  padding-right:5px;
}

#musicbox {
  margin-bottom:5px;
}

#musicbox button {
  width:169px;
  height:auto;
  padding:5px 0;
  margin-bottom: 5px;
  background:var(--background);
  border:3px inset var(--accent);
}

#musicbox button:hover {
  cursor:pointer;
  background:var(--accent);
}

#musicbox button:active {
  transform: scale(0.95);
}

#musicContent {
  padding-top:10px;
  display: flex;
  flex-direction: column;
  color: var(--text);
  letter-spacing: 0;
  align-items: center;
}

#volumeSlider {
  margin:10px;
  width: 169px;
  height: 5px;
  background: var(--accent);
}

#volumeSlider::-webkit-slider-thumb {
  border-radius:0;
  border:3px inset var(--accent);
  width: 10px;
  height: 10px;
  background: var(--accent);
  cursor: pointer;
}

#volumeSlider::-moz-range-thumb {
  border-radius:0;
  border:3px inset var(--accent);
  width: 10px;
  height: 10px;
  background: var(--accent);
  cursor: pointer;
}

#songname {
  font-size:12px;
  color:var(--text);
  padding-top:3px;
  padding-bottom:5px;
  text-decoration: none;
}

.subheader {
  color:var(--header);
  font-weight:bold;
  letter-spacing:3px;
  padding:5px 0 5px 5px;
  background-color:var(--accent);
}

#buttonheader{
  color:var(--header);
  font-size:0.9rem;
  font-weight:bold;
  letter-spacing:3px;
  padding:5px 0 5px 5px;
  background-color:var(--accent);
}

#cover {
  width:90%;;
  border:3px inset var(--accent);
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

#pausePlay {
  color:var(--text);
}

#pausePlay.autoplay-blocked {
  animation: pulse 1.2s infinite;
}

#themeToggle {
  position: absolute;
  top: -20px;
  right: 10px;
  transition: transform 0.1s ease;
}

#themeToggle:active {
  transform: translateY(15px);
}

.imgWrap {
  position: relative;
  width: 30%;
  border: 3px inset var(--accent);
}

#logo1 {
  display: block;
  width: 100%;
  transition: .5s ease;
}

#logo2 {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
}

.imgWrap:hover #logo2 {
  opacity: 1;
}

.imgWrap:hover #logo1 {
  opacity: 0;
}

#replaceMe {
  gap:5px
}

.skinbox {
  padding-left:5px;
  flex: 1;
  border: 3px inset var(--accent);
}

.skinbox p {
  font-size:12px;
  white-space:normal;
  padding:5px;
  margin:0;
}

.skinbox p span{
  font-weight: bold;
  font-size:16px;
}

.skinbox a {
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  font-size:16px;
}

.skinRender {
  max-width:10%;
  height:auto;
  margin:auto;
}