/* hi there! please credit me @ goldenfreddy.neocities.org if you copy any of the coding here! thanks :) */

* {
  box-sizing: border-box;
  word-break: break-word;
}

:root {
  background: black url("/images/discoroom.png") no-repeat;
  background-size: cover;
	background-attachment: fixed;
  background-position: center;
  animation: breath 6s ease infinite;
  cursor: url("/images/starcursorA.png"), auto;
  font-family: "TF2Secondary";
}

@font-face {
  font-family: "TF2Secondary";
  src: url("/fonts/TF2Secondary.ttf")format("truetype");
}

body {
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body::before {
  content: "";
  display: block;
  position: fixed;
  background-image: url("/images/discogradient.gif");
  mix-blend-mode: screen;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.4;
  background-size: cover;
  pointer-events: none;
}

a:link {
  color: #ffe49c;
  text-decoration: none;
}

a:visited {
  color: #ffe49c;
  text-decoration: none;
}

a:hover {
  color: lightyellow;
  text-decoration: none;
  font-weight: 900;
  cursor: url("/images/starcursorB.png"), auto;
}

::selection {
  background-color: rgba(255, 105, 149, 0.5);
}

audio {
  display: none;
}

.maincontain {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.mainbox {
  position: relative;
  width: 43em;
  height: 42em;
  border: solid white 3px;
  outline: dotted white 3px;
  border-radius: 100%;
  padding: 40px 80px;
  overflow: hidden;
  word-break: break-word;
  box-shadow: inset 0px -60px 60px 20px #12002F, inset 8px 8px 24px 0px rgba(239, 255, 254, 1);
}

.mainbox:before {
  content: "";
  display: block;
  position: absolute;
  background-image: url("/images/discoball.gif");
  mix-blend-mode: screen;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.65;
  background-size: contain;
  pointer-events: none;
}

.discoflex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  gap: 5px;
  margin: 15px 0;
  letter-spacing: 2px;
}

.fooheader {
  flex-basis: 1;
  display: block;
  position: relative;
  text-align: center;
  color: white;
  font-size: 25pt;
  text-shadow: 1px 1px 2px red, 0 0 1em blue, 0 0 0.2em blue;
  text-transform: uppercase;
}

.maincontent {
  flex-basis: 1;
  display: block;
  position: relative;
  text-align: center;
  color: white;
  font-size: 15pt;
  text-shadow: 1px 1px 2px red, 0 0 1em blue, 0 0 0.2em blue;
}

@keyframes breath {
  0%   { background-size: 100% auto; }
  50% { background-size: 103% auto; }
  100% { background-size: 100% auto; }
}

/* ================================================== mobile zone ================================================== */

@media screen and (orientation: portrait), (max-width: 880px) {

@keyframes breath {
  0%   { background-size: 310% auto; }
  50% { background-size: 320% auto; }
  100% { background-size: 310% auto; }
}

.mainbox {
  width: 680px;
  height: 650px;
  min-width: 680px;
  min-height: 650px;
}}