/* BOOT SCREEN */
#boot {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  background-color: black;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: var(--z-boot);
  box-sizing: border-box;
}

.init {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
  margin: 0;
}

.circle {
  width: 300px;
  height: 300px;
  border: 13px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.dot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: red;
  box-shadow: 0 0 30px red;
  animation: blink 0.6s infinite alternate;
}

@keyframes blink {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.1;
  }
}

.title {
  font-family: INNERTEL, 'Arial Black';
  font-size: 50px;
  letter-spacing: 4px;
  color: #444;
  margin-bottom: 20px;
}

.title2 {
  font-family: MIB;
  font-size: 2.4rem;
  letter-spacing: 4px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #444;
}

.subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 40px;
}

.progress-container {
  width: 100%;
  max-width: 260px;
  height: 12px;
  background-color: #111;
  border: 1px solid #444;
  border-radius: 8px;
  margin: 0 auto;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #444;
  transition: width 0.1s linear;
}

/* BSOD */

#bsod {
  position: fixed;
  inset: 0;
  background-color: var(--bg-bsod);
  color: #fff;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  display: none;
  z-index: var(--z-boot);
  cursor: none;
}

#bsod-content {
  width: 80%;
  max-width: 950px;
  margin: auto;
  text-align: left;
  padding-top: 10vh;
}

.smiley-face {
  font-size: 8vh;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 3vh;
}

.main-text {
  font-size: 2.5vh;
  margin-bottom: 4vh;
  font-weight: 300;
}

.progress-container-bsod {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #000;
  padding: 10px;
}

.qr-code img {
  width: 12vh;
  height: 12vh;
  background-color: white;
}

.stop-code-info {
  font-size: 1.8vh;
  font-weight: 300;
}

#percentage-counter {
  font-size: 2.5vh;
  margin-bottom: 2vh;
}

.info-text {
  margin-top: 2vh;
  line-height: 1.5;
}

#line-counter {
  margin-top: 1vh;
}

/* DESKTOP OVERRIDES */
@media (min-width: 940px) {
  .init {
    max-width: none;
    padding: 0;
  }

  .circle {
    width: 330px;
    height: 330px;
  }

  .dot {
    width: 90px;
    height: 90px;
  }

  .title {
    font-family: INNERTEL;
    font-size: 65px;
    letter-spacing: normal;
  }

  .title2 {
    font-size: 3rem;
    margin: 20px 0;
  }

  .subtitle {
    font-size: 1rem;
  }

  .progress-container {
    max-width: 280px;
    height: 14px;
  }

  .progress-bar {
    transition: width 0.2s ease-in-out;
  }
}
