:root {
  --containerbox: url('/assets/backgrounds/bgreen.webp');
  --sitebg: url('/assets/backgrounds/bstarry.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 {
  color: white;
  margin: 0 auto;
  margin-top: 8.5%;
  padding: 2em;
  max-width: 1050px;
  height: 680px;
  align-items: center;
  justify-content: center;
  border: 10px solid darkgreen;
  border-radius: .5em;
  background-image: var(--containerbox);
}

.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;
}

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

/* FLOATING IMAGES/TEXT */

#homebubble {
  width: 780px;
  position: absolute;
  margin-left: 30%;
  margin-top: 0%;
}

#homebubp {
  font-size: 35px;
  color: white;
  position: absolute;
  margin-left: 33%;
  margin-right: 30%;
  padding-top: 12%;
  line-height: 1.2em;
}

#float_charlie {
  width: 250px;
  position: absolute;
  margin-left: 65%;
  margin-top: 2%;
}

#float_bb {
  width: 200px;
  position: absolute;
  margin-left: 23%;
  margin-top: 2%;
}

#float_artButton {
  width: 250px;
  position: absolute;
  margin-left: 2%;
  margin-top: 16%;
}

#float_boardButton {
  width: 250px;
  position: absolute;
  margin-left: 18%;
  margin-top: 19%;
}

#float_funButton {
  width: 250px;
  position: absolute;
  margin-left: 35%;
  margin-top: 16%;
}

/* 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: 70%;
  margin-top: 842px;
}

/* OTHER SITES */

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

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