:root {
    --lpurple: #9c45ff;
    --dpurple: #250046;
    --mpurple: #6100b6; 
    --backgrnd: #000000;
    --page: #707070c8;
}

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden; /* prevent page scrolling and extra scroll space */
  color: white;
}
body {
  background-color: var(--backgrnd);
}
.center {
  text-align: center;
  justify-content: center;
}
a:not(.button) {
  font-size: larger;
  text-decoration: none;
  color: white;
}
a:hover:not(.button) {
  text-decoration: underline;
}
a:hover:not(.button)::before {
  content: ">"
}
a:hover:not(.button)::after {
  content: "<"
}
a:active:not(.button) {
  text-decoration: underline;
}
p, a:not(.button) {
  -webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
  font-family: 'CourierNew';
  font-weight: 700;
}
#particle-canvas {
  position: fixed;
  inset: 0;            /* top:0; right:0; bottom:0; left:0; */
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}
div.content {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}
div.page {
  text-align: center;
  border-radius: 25px;
  margin: auto;
  padding-bottom: 1ch;
  width: min(960px, 75%);
  background-color: var(--page);
}
button {
  cursor: pointer;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-color: var(--lpurple);
  border-width: 1px;
  background-color: var(--dpurple);
  border-radius: 7.5px;
}
div.buttons-container {
  justify-content: center;
  gap: 10px;
  align-items: center;
  display: flex;
}

div.optimize-container {
  font-weight: lighter;
  position: absolute;
  right: 2px;
  bottom: 2px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  border-radius: 10px;
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cccccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider::before {
  border-radius: 50%;
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: #3fdf47;
}
input:checked + .slider::before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}
