:root {
  --background: rgba(255, 133, 255, 0.7);
  --text: #ffffff;
  --radius: 10px;
  --margin: 5px;
  --marginModifiers: 0px;
}

* {
  box-sizing: border-box;
}

.clear {
  clear: both;
}

.rightText {
  text-align: right;
}

html, body {
  width: 100%;
  height: 100%;
}

hr {
  border: none;
  border-top: 1px solid var(--text);
}

body, input, button {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
}

body {
  color: var(--text);
  background-color: transparent;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
body.test {
  background-image: url("../img/beat-saber-5.jpg");
}

a {
  color: var(--text);
  font-style: italic;
}
a:hover {
  font-style: normal;
}

svg.roundBar {
  background: transparent;
  transform: rotate(-90deg);
}
svg.roundBar > circle {
  fill: transparent;
  stroke-linecap: round;
}
svg.roundBar > circle.remaining {
  stroke: var(--text);
  opacity: 0.25;
  stroke-width: 2px;
}
svg.roundBar > circle.progress {
  stroke: var(--text);
  stroke-width: 8px;
  transition: 0.2s all;
}

.debugger {
  background-color: var(--background);
  color: var(--text);
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 200px;
  overflow: auto;
  font-size: 12px;
}

#versionWarning {
  position: absolute;
  bottom: 1px;
  left: 25%;
  font-size: 10px;
  width: 500px;
  margin-left: -250px;
  text-decoration: underline;
  /* just for testing */
  background: linear-gradient(to right, #ff55ff, #5555ff, #55ffff, #ffff55, #ff5555);
  -webkit-background-clip: text;
  text-align: center;
  /*background-clip: text;*/
  color: transparent;
  animation: rainbow 10s ease-in-out infinite;
  background-size: 400% 100%;
}

@keyframes rainbow {
  0%, 10% {
    background-position-x: 0;
  }
  50% {
    background-position-x: 100%;
  }
}
#songInfo {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  text-align: right;
  vertical-align: text-bottom;
  opacity: 1;
  transition: 1s all;
}
#songInfo.inactive {
  opacity: 0;
}
#songInfo .textBottom {
  position: absolute;
  bottom: var(--margin);
  right: var(--margin);
}
#songInfo .textBottom #beatMapCover {
  background-color: var(--background);
  padding: 5px;
  float: right;
  border-radius: 0 var(--radius) var(--radius) 0;
}
#songInfo .textBottom #beatMapCover.noKey {
  border-top-left-radius: var(--radius);
}
#songInfo .textBottom #beatMapCover #cover {
  height: 150px;
  width: 150px;
  background-image: url("../img/BS_Logo.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: var(--radius);
}
#songInfo .textBottom .previousBSRWrapper {
  display: block;
  position: absolute;
  right: 0;
  top: -30px;
}
#songInfo .textBottom .previousBSRWrapper .line {
  background-color: var(--background);
  padding: 0 10px;
  line-height: 30px;
  width: fit-content;
  margin-left: auto;
  font-size: 18px;
  max-width: 520px;
  font-size: 12px;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
#songInfo .textBottom #infoText {
  float: left;
  display: flex;
  flex-direction: column;
}
#songInfo .textBottom #infoText .line {
  padding: 0 10px;
  line-height: 30px;
  width: fit-content;
  margin-left: auto;
  font-size: 18px;
  max-width: 520px;
  background-color: var(--background);
  border-radius: var(--radius) 0 0 var(--radius);
}
#songInfo .textBottom #infoText #mapName {
  line-height: 40px;
  font-size: 34px !important;
}
#songInfo:not(.top) #previousBSR[style*="display: block"] ~ #beatMapCover {
  border-top-right-radius: 0;
}
#songInfo.flip {
  text-align: left;
}
#songInfo.flip .textBottom {
  right: inherit;
  left: var(--margin);
  width: 50%;
}
#songInfo.flip .textBottom .previousBSRWrapper {
  left: 0;
  right: auto;
}
#songInfo.flip .textBottom .previousBSRWrapper .line {
  margin-left: inherit;
}
#songInfo.flip .textBottom #previousBSR[style*="display: block"] ~ #beatMapCover {
  border-top-left-radius: 0;
}
#songInfo.flip .textBottom #beatMapCover {
  float: left;
  border-radius: var(--radius) 0 0 var(--radius);
}
#songInfo.flip .textBottom #beatMapCover.noKey {
  border-top-right-radius: var(--radius);
}
#songInfo.flip .textBottom #infoText .line {
  margin-left: inherit;
  border-radius: 0 var(--radius) var(--radius) 0;
}
#songInfo.top .textBottom {
  top: var(--margin);
}
#songInfo.top .textBottom #previousBSR[style*="display: block"] ~ #beatMapCover {
  border-bottom-right-radius: 0;
}
#songInfo.top .textBottom #beatMapCover {
  border-top-right-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
}
#songInfo.top .textBottom #beatMapCover.noKey {
  border-top-left-radius: 0;
  border-bottom-left-radius: var(--radius);
}
#songInfo.top .textBottom .previousBSRWrapper {
  top: 160px;
}
#songInfo.top .textBottom .previousBSRWrapper .line {
  border-radius: 0 0 var(--radius) var(--radius);
}
#songInfo.top .textBottom #infoText {
  display: flex;
  flex-direction: column-reverse;
}
#songInfo.top.flip #previousBSR[style*="display: block"] ~ #beatMapCover {
  border-bottom-left-radius: 0;
  border-top-left-radius: var(--radius);
}
#songInfo.top.flip #beatMapCover {
  border-radius: var(--radius) 0 0 var(--radius);
}
#songInfo.top.flip #beatMapCover.noKey {
  border-top-left-radius: var(--radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: var(--radius);
}

#modifiers {
  bottom: 200px;
  position: absolute;
  text-align: right;
  font-size: 14px;
  transition: 1s all;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: flex-start;
  right: var(--margin);
  margin-right: var(--marginModifiers);
}
#modifiers.inactive {
  right: -250px;
}
#modifiers > div:not(#practiceModeSpacer) {
  background-color: var(--background);
  padding: 5px;
  width: fit-content;
  display: none;
}
#modifiers > div:not(#practiceModeSpacer).active {
  display: block;
}
#modifiers:not(.flip) > div {
  border-radius: var(--radius) 0 0 var(--radius);
}
#modifiers:not(.flip) > div.first {
  border-top-right-radius: var(--radius);
}
#modifiers:not(.flip) > div.last {
  border-bottom-right-radius: var(--radius);
}
#modifiers.flip {
  right: inherit;
  left: var(--margin);
  margin-right: inherit;
  margin-left: var(--marginModifiers);
  align-items: flex-start;
}
#modifiers.flip.inactive {
  left: -250px;
}
#modifiers.flip > div {
  border-radius: 0 var(--radius) var(--radius) 0;
}
#modifiers.flip > div.first {
  border-top-left-radius: var(--radius);
}
#modifiers.flip > div.last {
  border-bottom-left-radius: var(--radius);
}
#modifiers #practiceModeSpacer {
  height: 25px;
}

.marqueeBody {
  max-width: 400px !important;
  overflow: hidden;
  padding-right: 5px;
  /*
  // todo :: transparent gradient edges
  // neat idea but background blends into itself due to alpha usage...
  &:after {
    content: ' ';
    position: absolute;
    height: 30px;
    margin-top: 30px;
    width: $marqueeWidth;
    margin-left: calc(-390px);
    background: linear-gradient(90deg, var(--background) 0%, transparent 3%, transparent 97%, var(--background) 100%);
    border-radius: var(--radius);
  }

  &#mapName:after {
    height: 40px;
    margin-top: -40px;
  }
  */
}
.marqueeBody > .marquee {
  width: max-content;
  white-space: pre;
}
.marqueeBody > .marquee.start {
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% {
    color: var(--text);
    transform: translateX(0%);
  }
  10% {
    color: var(--text);
    transform: translateX(0%);
  }
  90% {
    color: var(--text);
    transform: translateX(-100%);
  }
  90.00001% {
    color: var(--background);
    transform: translateX(100%);
  }
  100% {
    color: var(--text);
    transform: translateX(0%);
  }
}
#counterSection {
  background-color: var(--background);
  position: absolute;
  height: 90px;
  width: 500px;
  bottom: var(--margin);
  left: 50%;
  margin-left: calc(-500px / 2);
  transition: 1s all;
  border-radius: var(--radius);
}
#counterSection > .ears {
  position: absolute;
  width: 500px;
  transition: 1s all;
}
#counterSection > .ears#fullCombo {
  text-align: center;
}
#counterSection > .ears#ranked {
  padding-left: 20px;
}
#counterSection > .ears#stars {
  padding-right: 20px;
  text-align: right;
}
#counterSection > .ears > div {
  background-color: var(--background);
  margin: 0 auto;
  display: inline-block;
  padding: 5px;
}
#counterSection.heartRate {
  width: 590px;
  margin-left: calc(-590px / 2);
}
#counterSection.heartRate > .ears {
  width: 590px;
}
#counterSection.inactive {
  bottom: -150px;
}
#counterSection > div {
  float: left;
}
#counterSection .holders {
  width: 230px;
}
#counterSection .holders .line {
  margin: 8px 0;
  font-size: 17px;
  line-height: 19px;
  text-align: center;
}
#counterSection .holders .line:first-child {
  line-height: 19px;
  height: 21px;
}
#counterSection .holders .line #score {
  font-size: 24px;
}
#counterSection .holders .line > div {
  display: inline-block;
  width: 90px;
  font-size: 14px;
}
#counterSection .holders .line > div > span {
  font-size: 10px;
  margin-right: 10px;
}
#counterSection .holders.ranked {
  margin: 2px 0;
}
#counterSection .barHolder {
  width: 90px;
}
#counterSection .barHolder > #rank {
  position: absolute;
  /*line-height: 25px;*/
  line-height: 90px;
  text-align: center;
  font-size: 58px;
  width: 90px;
  opacity: 0.3;
  font-weight: 100;
}
#counterSection .barHolder > #rank.acc_ss {
  font-size: 46px;
}
#counterSection .barHolder > #rank.acc_sss {
  font-size: 36px;
}
#counterSection .progressInfo {
  position: absolute;
  font-size: 14px;
  text-align: center;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#counterSection:not(.flip) .ears {
  margin-top: -29px;
}
#counterSection:not(.flip) .ears > div {
  border-radius: var(--radius) var(--radius) 0 0;
}
#counterSection.flip {
  bottom: inherit;
  top: var(--margin);
}
#counterSection.flip.inactive {
  top: -150px;
}
#counterSection.flip .ears {
  margin-top: 90px;
}
#counterSection.flip .ears > div {
  border-radius: 0 0 var(--radius) var(--radius);
}

#heartGraphHolder {
  position: absolute;
}
#heartGraphHolder.background {
  border-radius: var(--radius);
  background-color: var(--background);
}

.tabManager > .tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-bottom: 1px solid var(--text);
  margin-bottom: 5px;
}
.tabManager > .tabs > .tab {
  padding: 4px 6px;
  cursor: pointer;
}
.tabManager > .tabs > .tab:hover, .tabManager > .tabs > .tab.active {
  font-style: oblique;
  background-color: var(--text);
  color: var(--background);
}
.tabManager > .tabs > .tab:not(:last-child) {
  border-right: 1px solid var(--text);
}
.tabManager > .tabContents > .tabContent {
  display: none;
  height: 350px;
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
}
.tabManager > .tabContents > .tabContent.active {
  display: block;
}
.tabManager > .tabContents > .tabContent:first-child {
  text-align: center;
}

#options {
  background-color: var(--background);
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s linear;
  width: 600px;
  height: 520px;
  margin-left: calc(-600px / 2);
  margin-top: calc(-520px / 2);
  border-radius: var(--radius);
  /*
  // todo :: I need to find a better style for them
  */
}
#options #huh {
  font-size: 9px;
}
#options.show {
  visibility: visible;
  opacity: 1;
}
#options > .urlText #urlText {
  width: 100%;
  height: 60px;
  resize: none;
}
#options #copyright {
  float: right;
  text-align: right;
  font-size: 10px;
  margin-top: 5px;
}
#options h1 {
  font-size: 26px;
}
#options h1:first-child {
  margin-top: 5px;
}
#options button, #options input[type=submit], #options input[type=button] {
  padding: 4px;
  margin: 4px;
  background-color: var(--background);
  border: 1px solid var(--text);
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius);
}
#options button:hover, #options input[type=submit]:hover, #options input[type=button]:hover {
  background-color: var(--text);
  color: var(--background);
  border: 1px solid var(--background);
}
#options input[type=checkbox] {
  /*
  border: 1px solid var(--text);
  background-color: var(--background);
  appearance: none;
  width: 16px;
  height: 16px;
  display: inline-block;
  cursor: pointer;

  &:checked {
    &:before {
      content: 'x';
      position: relative;
      display: block;
      width: 10px;
      height: 10px;
      background-color: var(--text);
      color: var(--background);
      margin-top: 2px;
      margin-left: 2px;
      font-size: 10px;
      text-align: center;
      line-height: 1;
    }
  }
  */
}
#options input[type=checkbox] ~ span {
  cursor: pointer;
  /*
  position: relative;
  top: -4px;
  padding-left: 5px;
  */
}
#options div.settingsLine > select {
  margin-right: 5px;
}
#options div.settingsLine > input[type=range] {
  width: 200px;
}
#options input[type=range] {
  height: 5px;
  border-radius: var(--radius);
  background: var(--text);
  outline: none;
  opacity: 0.7;
  width: 100px;
  margin-right: 10px;
  transition: opacity 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
#options input[type=range]:hover {
  opacity: 1;
}
#options input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--text);
  cursor: pointer;
}
#options div[data-tab-content=colors] #bgColor, #options div[data-tab-content=colors] #color {
  margin-bottom: 25px;
}
#options div[data-tab-content=colors] input[type=range] {
  width: 430px;
}
#options div[data-tab-content=colors] .alphaInfo {
  float: right;
  font-size: 10px;
}
#options div[data-tab-content=colors] .colorLine label {
  display: inline-block;
  width: 80px;
}
#options div[data-tab-content=colors] .colorLine input[type=range] ~ span {
  text-align: right;
  display: inline-block;
  width: 35px;
}
#options div[data-tab-content=heartRate] label {
  display: inline-block;
  width: 150px;
}
#options div[data-tab-content=heartRate] select, #options div[data-tab-content=heartRate] input.long {
  width: 365px;
}
#options div[data-tab-content=heartRate] input[type=number] {
  width: 100px;
}
#options div[data-tab-content=heartRate] #pulsoidThanks,
#options div[data-tab-content=heartRate] #hypeRateThanks {
  margin-top: 15px;
  margin-bottom: 15px;
  display: none;
}
#options div[data-tab-content=heartRate] #heartRateConnectionState {
  display: inline-block;
  width: 200px;
}

#versionHint {
  background-color: var(--background);
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s linear;
  width: 600px;
  height: 260px;
  margin-left: calc(-600px / 2);
  margin-top: -130px;
  border-radius: var(--radius);
  text-align: center;
}
#versionHint.inactive {
  top: -200%;
  visibility: hidden;
  opacity: 0;
}
#versionHint h2 {
  margin-top: 0;
}
#versionHint button {
  padding: 4px;
  margin: 4px;
  background-color: var(--background);
  border: 1px solid var(--text);
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius);
}
#versionHint button:hover {
  background-color: var(--text);
  color: var(--background);
  border: 1px solid var(--background);
}

@media screen and (max-width: 1280px) {
  body {
    zoom: 75%;
  }
  #songInfo.top #bsr {
    line-height: 23px;
  }
  #counterSection:not(.flip) .ears {
    margin-top: -30px;
  }
}
@media screen and (min-width: 1281px) and (max-width: 1440px) {
  body {
    zoom: 90%;
  }
  #songInfo.top #bsr {
    line-height: 23px;
  }
}
@media screen and (min-width: 1921px) and (max-width: 2560px) {
  body {
    zoom: 110%;
  }
}
@media screen and (min-width: 2561px) and (max-width: 2160px) {
  body {
    zoom: 125%;
  }
}

/*# sourceMappingURL=freakylay.css.map */
