:root {
    --main-color: #000000;
    --text-color: #c9c9c9;
    --sec-color: #9cea88;
    --sec1-color: #c9c9c9;
  }

::selection {
  color: rgb(217, 130, 255);
  background: rgb(2, 13, 117);
}

.loading{
  z-index: -3;
  height: auto;
  max-width: 200px;
  width: 30%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  filter: opacity(50%) brightness(0) saturate(100%)
  }


* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: linear-gradient(rgb(88, 88, 202) 0%, rgb(243, 255, 243) 40% 60%, rgb(67, 139, 88) 100%);
  background-position: center;
  background-size: 100% 100%;
}

body {
  margin: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: fixed;
}

.italic {
  font-style: italic;
}

#infoPopup {
  z-index: 999;
  background: var(--main-color);
  color: var(--text-color); 

  position: fixed;
  overflow: visible;
  width: 350px;
  height: fit-content;
  max-height: 80vh;
  margin: 39px;
  padding: 25px 30px 68px 30px;
  border-radius: 30px;
  border: 1px solid var(--sec1-color);

  font-family: "chivo-mono", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  
  opacity: 0;
  transition: opacity 2s ease;
  display: none;
}

#contentScroll {
  overflow-y: scroll;
  overflow-x: hidden;
  width: 100%;
  height:auto;
  max-height: calc(80vh - 80px);
}

.close {
  z-index: 999;
  position: absolute;
  bottom: 0px;
  left: calc(50%);
  transform: translate(-50%, 0%);

  background-color: var(--main-color);
  width: 100%;
  height: 50px; 
  border-radius: 0 0 30px 30px;
  border-top: 1px solid var(--sec1-color);
  padding: 15px; 

  font-size: 15px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--sec-color);
  cursor: pointer;
  user-select: none;

  text-align: center;
}

.close:hover {
  background-color: var(--sec1-color);
  color: var(--main-color);
}

#title {
  font-family: "ocr-a-std", monospace;
  font-weight: 400;
  font-size: 15px;
  text-transform: uppercase;

  color: var(--text-color);
  padding: 0;
  margin: 0;
}

#subTitle {
  color: var(--sec-color);
  font-size: 25px;
  line-height: 25px;
  font-family: "benda", sans-serif;
  font-weight: 400;
  text-align: right;

  padding: 0 0 0 20%;
  margin: 5px 0px -5px 0;
  padding-top: 0px;
  transform: rotate(-5deg);
}

.line {
  padding: 0;
  width: 100%;
  height: 1px; 
  background-color: var(--text-color);
}

li {
  counter-increment: li;
}

li::marker {
  content: counter(li) ".   ";
  position: absolute;
  top: -10px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  color: var(--sec-color);
}

.instruction {
  font-size: 13px;
  line-height: 16px;
  padding-bottom: 15px;
  margin-left: 20%;
}

.instruction:last-of-type {
  padding-bottom: 0px;
}

.mainText {
  font-size: 12px;
  text-align: left;
  line-height: 21px;
}

.infoText {
  color: var(--text-color);
  font-size: 11px;
  line-height: 14px;
  text-align: left;
  padding-right: 40%;
  text-transform: uppercase;
}

.subHead {
  font-size: 10px;
  font-family: "ocr-a-std", monospace;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--sec-color);

  width: 100%;
  display: flex;
  justify-content: space-between;
}

.right {
  color: var(--text-color);
}

#infoPopup.visible {
  display: block;
  opacity: 1;
}

button {
  position: relative;
  
  font-family: "Roboto Condensed", sans-serif;
  font-stretch: condensed;
  font-size: 16px;
  line-height: 1.1em;
  text-transform: lowercase;
  user-select: none;
  padding: 0 4px;
  
  cursor: pointer;
  color: rgb(0, 0, 0);
   border-radius: 5px;
  border: 1px solid rgb(0, 0, 0);
  background-color: rgb(191, 246, 171);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.594);
}

button:hover {
  background-color: rgb(148, 223, 102);
}

video {
  z-index: -2;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;

}

.create {
  z-index: -1;
  position: fixed;
  height:0; 
  width:fit-content; 
  top: 45px;
  left: 55px;
  white-space: nowrap;
}

audio {
  width: 100%;
  height: 40px;
}
  
.create button:nth-of-type(1) {
  transform: rotate(-90deg);
  top: 95px;
  left: -23px;
}
.create button:nth-of-type(2) {
  transform: rotate(-80deg);
  top: 57px;
  left: -60px;
}
.create button:nth-of-type(3) {
  transform: rotate(-60deg);
  top: 30px;
  left: -80px;
}
.create button:nth-of-type(4) {
  transform: rotate(-30deg);
  top: 8px;
  left: -88px;
}
.create button:nth-of-type(5) {
  transform: rotate(0deg);
  top: -5px;
  left: -90px;
}
.create button:nth-of-type(6) {
  transform: rotate(0deg);
  top: -5px;
  left: -90px;
}
.create button:nth-of-type(7) {
  transform: rotate(0deg);
  top: -5px;
  left: -90px;
}
.create button:nth-of-type(8) {
  transform: rotate(20deg);
  top: -2px;
  left: -95px;
}

.back {
    z-index: -1;
    position: fixed;
    height:0; 
    width:fit-content; 
    overflow: visible;
    bottom: 55px;
    right: 45px;
    white-space: nowrap;
}
  
.back button:nth-of-type(1) {
  transform: rotate(0deg);
  bottom: 5px;
  right: -43px;
}
.back button:nth-of-type(2) {
  transform: rotate(-45deg);
  bottom: 17px;
  right: -40px;
}
.back button:nth-of-type(3) {
  transform: rotate(-90deg);
  bottom: 54px;
  right: -13px;
}

@media (max-width: 450px) {

  #infoPopup {
    position: fixed;
    width: calc(100vw - 80px);
    height: fit-content;
    max-height: calc(100vh - 80px);
  }
}
