:root {
  --containerbox: url('/assets/backgrounds/bgreen.webp');
  --sitebg: url('/assets/backgrounds/bstarry.webp');
  --cork: url('/assets/backgrounds/corkboard.webp');
}

@media screen and (max-width: 800px) {
  .left, .main, .right {
    width: 100%; /* The width is 100%, when the viewport is 800px or smaller */
  }
}

* {
  box-sizing: border-box;
}

/* ROOTS */

@font-face {
  font-family: 'handcaps';
  src: url('/fonts/handcaps/Handcaps.woff2') format('woff2'),
    url('/fonts/handcaps/Handcaps.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* MAIN */

body {
  background-image: var(--sitebg);
  padding: 10px;
  margin: 0;
  font-family: 'handcaps', system-ui, sans-serif;
}

.container {
  font-size: 17px;
  color: orangered;
  margin: 0 auto;
  margin-top: 1%;
  margin-bottom: 5%;
  padding: 2em;
  max-width: 1050px;
  max-height: 100%;
  text-align: center;
  align-items: center;
  justify-content: center;
  border: 10px solid darkgreen;
  border-radius: .5em;
  background-image: var(--containerbox);
}

.container a {
  color: royalblue;
  text-decoration: none;
}

.container a:hover {
  color: seagreen;
}

.container details:hover {
  color: seagreen;
}

nav {
  font-family: 'handcaps', system-ui, sans-serif;
  font-size: 22px;
  margin-top: 1%;
  padding: 7px;
  position: static;
  bottom: 0;
  text-align: center;
  justify-content: space-between;
  max-width: 750px;
  background-color: darkorange;
  border: 5px groove orangered;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 5px;
}

nav a:hover {
  color: seagreen;
}

details > summary {
  list-style: none;
}

details summary:-webkit-details-marker {
  display:none;
}

hr {
  color: darkgreen;
}

/* OTHER BOXES */

.navbuttons {
  margin-left: 23%;
  display: inline;
  max-width: 1500px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0 auto;
}

.navbuttons2 {
  margin-left: 8%;
  display: inline;
  max-width: 150px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3px;
}

.corkboard {
  font-size: 17px;
  color: orangered;
  margin: 0 auto;
  width: 1612px;
  height: 981px;
  background-image: var(--cork);
}

.corkboard a {
  color: royalblue;
  text-decoration: none;
}

.corkboard a:hover {
  color: seagreen;
}

.artinfo {
  display: inline-block;
  max-height: 300px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.artinfo img {
  max-height: 300px;
}

.musicbox {
  font-size: 25px;
  width: 950px;
  height: 500px;
  overflow: auto;
  text-align: left;
  color:royalblue;
}

.pixels {
  background-color: mediumseagreen;
  border-radius: 5em;
  color: white;
  padding: 1.5em 1.5em;
  justify-content: center;
  gap: 0.5em;
}

.pixels img {
  max-height: 100px;
}

.pixels details {
  display: inline-block;
}

.stamps {
  padding: 1.5em 1.5em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
}

.stamps a img {
  width: 80px;
  height: 50px;
}

.banner_ads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.banner_ads img {
  max-height: 135px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.badges img {
  max-height: 31px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  display: inline-block;
  width: 1000px;
  justify-content: space-evenly;
  gap: 0.5px;
}

.gallery img {
  max-height: 200px;
}

.collection {
  display: flex;
  flex-wrap: wrap;
  align-items: left;
  justify-content: center;
  gap: 0.5em;
}

.collection img {
  max-height: 200px;
}

.zine {
  display: flex;
  flex-wrap: wrap;
  align-items: left;
  justify-content: center;
  gap: 2%;
}

.zine img {
  max-height: 375px;
}

.smores {
  display: flex;
  flex-wrap: wrap;
  align-items: left;
  justify-content: left;
  gap: 5%;
  border: 2px solid black;
}

/* FUN CODE */

.charlie_potd {
  background-image: url('/assets/charlie.png');
  background-size: contain;
  background-repeat: no-repeat;
  max-width: 850px;
  height: 600px;
}

.charlie_potd p {
  font-size: 25px;
  margin-left: 49%;
  margin-right: 12%;
  padding-top: 2em;
  line-height: 1.0em;
}

  .dragme{
			position: relative;
			cursor: move;
		}

.puzzle img {
  max-height: 100px;
}

/* FLOATING IMAGES/TEXT */

#float_boxbb {
  position: absolute;
  margin-left: 13%;
  margin-top: 0%;
}

#float_bcling {
  position: absolute;
  width: 120px;
  margin-top: 82px;
  margin-left: 389px;
}

#float_ccling {
  position: absolute;
  width: 240px;
  margin-top: 78px;
  margin-left: 1274px;
}

#purchase {
  font-size: 20px;
  width: 395px;
  height: 375px;
  overflow: auto;
  text-align: left;
  color:royalblue;
}

#newsletter {
  font-size: 20px;
  width: 1000px;
  height: 550px;
  overflow: auto;
  text-align: left;
  color:royalblue;
}

/* SCAVENGER HUNT */

#peek img {
  max-width: 50px;
}

#peekbox {
  font-size: 20px;
  display: none;
  margin: 0 auto;
  padding: 2em;
  max-width: 600px;
  max-height: 70%;
  position: fixed;
  margin-left: 50px;
  margin-top: 450px;
  align-items: center;
  justify-content: center;
  border: 5px solid darkgreen;
  border-radius: .5em;
  background-color: forestgreen;
  color: white;
}

#peekbox img {
  max-width: 120px;
}

#coinpeek {
  position: absolute;
  margin-left: 30%;
  margin-top: 890px;
}

#conpeek {
  position: absolute;
  margin-left: 398px;
  margin-top: 10%;
}

#ldpeek {
  position: absolute;
  margin-left: 30%;
  margin-top: 69px;
}

#wcpeek {
  position: absolute;
  margin-left: 70%;
  margin-top: 561px;
}

#tvpeek {
  position: absolute;
  margin-left: 950px;
  margin-top: 67px;
}

#codpeek {
  position: absolute;
  margin-left: 1458px;
  margin-top: 20%;
}

#pyupeek {
  position: absolute;
  margin-left: 376px;
  margin-top: 15%;
}

/* OTHER SITES */

#rhythmring *{
    color: white;
    fill: black;
}

#rhythmring-img {
    content: url("https://maddycha.com/rhythm-ring/imgs/widget/g3.png") !important;
}