* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
  font-size: 13px;
  background-color: #000;
}

.static-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  z-index: 15;
  display: block;
  background-image: url("icons/static.gif");
  background-size: 200px 200px;
  background-repeat: repeat;
}

.smpte {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  z-index: 16;
  display: flex;
  flex-wrap: nowrap;
  opacity: 0;
}

.smpte .bar {
  height: 100%;
  width: 100%;
}

.smpte .bar-1 {
  background-color: rgb(255, 255, 255);
}

.smpte .bar-2 {
  background-color: rgb(180, 180, 16);
}

.smpte .bar-3 {
  background-color: rgb(16, 180, 180);
}

.smpte .bar-4 {
  background-color: rgb(16, 180, 16);
}

.smpte .bar-5 {
  background-color: rgb(180, 16, 180);
}

.smpte .bar-6 {
  background-color: rgb(180, 16, 16);
}

.smpte .bar-7 {
  background-color: rgb(16, 16, 180);
}

#player {
  position: fixed;
}

.power-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  z-index: 18;
  display: none;
  background-color: #000;
}

.info,
.guide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 1;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(7px);
  opacity: 0%;
}

.info .wrapper,
.guide .wrapper {
  width: 93%;
  max-width: 520px;
  padding: 1rem;
  border-radius: 0.7rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.info .wrapper .close,
.guide .wrapper .close {
  padding: 0.7rem;
  border-radius: 50%;
  transition: 0.2s ease;
  margin-left: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info .wrapper .close:hover,
.guide .wrapper .close:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.info .wrapper .close img,
.guide .wrapper .close img {
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0.7;
}

.info .wrapper .content {
  padding: 1rem;
  margin-top: 2rem;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  color: #000;
}

.info .wrapper .content .title {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 0.3rem;
}

.info .wrapper .content .text {
  font-size: 1rem;
  color: #222;
  margin-bottom: 2rem;
}

.guide .wrapper .content .item {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.guide .wrapper .content .item .name {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  margin-right: 1.5rem;
}

.guide .wrapper .content .item .value {
  font-size: 0.8rem;
  color: #222;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.control {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 19;
  display: none;
  padding: 0.7rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(7px);
  transition: 0.2s ease;
}

.control .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.control .wrapper:last-child {
  margin-bottom: 0;
}

.control .wrapper .button {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #fff;
  border-radius: 0.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  color: #888;
}

.control .wrapper .button img {
  width: 1.2rem;
  height: 1.2rem;
}

.control .wrapper .long-button {
  background-color: #fff;
  border-radius: 0.3rem;
}

.control .wrapper .long-button .button:first-child,
.control .wrapper .middle-buttons .button:first-child {
  margin-bottom: 0.5rem;
}

.control .wrapper .middle-buttons {
  margin: 0 0.5rem;
}

.control .wrapper .power-button {
  border-radius: 50%;
  background-color: #d63031;
}

.control .wrapper .videoIdElement {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: text;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  user-select: all;
  height: 2rem;
  width: 100%;
  border-radius: 0.3rem;
}

.control .wrapper .videoIdElement .text {
  width: 100%;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 0.7rem;
}

.channel-name {
  position: fixed;
  top: 1rem;
  left: 1rem;
  font-size: 1.5rem;
  color: #00ff22;
  text-transform: uppercase;
  text-shadow: 0px 0px 2px #000;
  z-index: 17;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  transition: 0.2s ease;
  opacity: 0%;
}

.channel-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 18;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  text-shadow: 1px 2px 2px #000;
  color: #feff00;
  font-size: 1rem;
  opacity: 0%;
  white-space: pre;
}

.show {
  opacity: 100%;
  transition: opacity 1s;
}

.volume-steps {
  position: fixed;
  display: flex;
  opacity: 0;
  width: 100%;
  height: 100vh;
  align-items: flex-end;
  justify-content: center;
  top: 0rem;
  left: 0;
  z-index: 17;
  padding-bottom: 7rem;
  transition: 0.2s ease;
}

.volume-steps .wrapper {
  width: 80%;
  max-width: 600px;
}

.volume-steps .text {
  font-size: 2rem;
  color: #00ff22;
  text-transform: uppercase;
  text-shadow: 0px 0px 2px #000;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.volume-steps .steps {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 3rem;
}

.volume-steps .steps .step {
  height: 100%;
  width: 1rem;
  margin-right: 0.2rem;
  background-color: #00ff22;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 18;
  background-color: rgba(255, 0, 0, 0);
}

@media only screen and (min-width: 800px) {
  html,
  body {
    font-size: 17px;
  }
}
