#scanDiv {
  background-image: url('../assets/ui/Scan.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.load-text {
    font-size: 5vw;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: white;
    text-shadow: 0 4px 8px #000;
}

#overlayBlack {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(102, 102, 102, 0) 100%);
  width: 100%;
  height: 40%;
  top: 0;
  left: 0;
  position: absolute;
}

.zi801 {
  z-index: 801;
}

body {
  font-family: Outfit;
  color: white;
}

.yellow-color {
  font-family: Outfit;
  font-weight: 700;
  color: #fff200;
}

.yellow-text {
  color: #fff200;
}

/* texts */
.textHead {
  text-shadow: 0 4px 8px #000;
  font-family: Outfit;
  font-size: 4.3vw;
  font-style: normal;
  font-weight: 700;
  width: max-content;
  line-height: 20.25px;
  border-radius: 125px;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.6vw 4vw;
}

.text1 {
  text-shadow: 0 4px 8px #000;
  font-family: Outfit;
  font-size: 3.5vw;
  font-style: normal;
  font-weight: 700;
  line-height: 20.25px;
}

.text2 {
  text-shadow: 0 4px 8px #000;
  font-family: Outfit;
  font-size: 4.3vw;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

/* selection tab */
.language-selector-container {
  margin-bottom: 15vw;
  position: relative;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.language-selector {
  cursor: pointer;
  outline: none;
  width: 81%;
  text-align: left;
  font-size: 3.2vw;
  color: black;
  font-weight: normal;
  padding: 10px 10px 10px 21px;
  appearance: none;
  position: relative;
  z-index: 10;
  border-radius: 24px;
  background: radial-gradient(
      107.08% 85.59% at 86.3% 87.5%,
      rgba(0, 0, 0, 0.23) 0%,
      rgba(0, 0, 0, 0) 86.18%
    ),
    radial-gradient(
      83.94% 83.94% at 26.39% 20.83%,
      rgba(255, 255, 255, 0.59) 0%,
      rgba(255, 255, 255, 0) 69.79%,
      rgba(255, 255, 255, 0) 100%
    ),
    #f1f1f1;
  box-shadow: -3px -3px 9px 0px rgba(255, 255, 255, 0.25) inset,
    0px 3px 9px 0px rgba(255, 255, 255, 0.3) inset, 0px 1px 1px 0px rgba(255, 255, 255, 0.6) inset,
    0px -8px 26px 0px rgba(0, 0, 0, 0.3) inset, 0px 1px 5px 0px rgba(255, 255, 255, 0.6) inset;
  border: none;
}

.language-selector option {
  font-weight: normal;
}

.language-selector option strong {
  font-weight: bold;
}

.custom-arrow {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 20;
}

.custom-arrow svg {
  width: 28px;
  height: 28px;
  fill: #000000;
}

#videoTitle0,
#videoTitle1,
#videoTitle2 {
  border-radius: 0.78125rem;
  border: 2px solid #fff;
  text-overflow: ellipsis;
  color: black;
  width: 13rem;
  white-space: nowrap;
  overflow: hidden;
  background: radial-gradient(
      76.16% 76.16% at 31.97% 19.67%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 69.79%,
      rgba(255, 255, 255, 0) 100%
    ),
    #fff200;
  box-shadow: 0 0 10px 0 #fff;
  padding: 0.7rem 1rem;
  font-weight: 500;
}

.video-prompt {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  margin: 0 0 -0.4rem 0;
}

#profanity,
#errorDiv {
  color: black;
  border-radius: 12.5px;
  background: radial-gradient(
      76.16% 76.16% at 31.97% 19.67%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0) 69.79%,
      rgba(255, 255, 255, 0) 100%
    ),
    #fff200;
  text-align: center;
  text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.25);
  font-family: Outfit;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  gap: 2vw;
  line-height: normal;
  padding: 0.8rem 0rem;
  width: 42%;
  border: 3px dashed #000;
}

/* Video Overlay Styles */
#embedDiv {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 0;
}

#ytEmbed {
  width: 100vw;
  height: 56.25vw;
  /* 16:9 aspect ratio */
  max-height: 100vh;
  max-width: 177.78vh;
  /* 16:9 aspect ratio when height constrained */
  border: none;
}

/* Add to Home Screen Instructions */
.add-to-home-screen {
  position: fixed;
  bottom: -25rem;
  width: 133vw;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  pointer-events: auto;
  transform: translateX(-50%) translateY(100%);
  left: 50%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-to-home-screen.visible {
  transform: translateX(-50%) translateY(0);
}

.add-to-home-screen.hidden {
  display: none;
}

.home-screen-circle {
  position: relative;
  width: 150vw;
  height: 150vw;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 -60px 40px -20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16%;
}

.home-screen-circle::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
}

.cross-home-screen {
  position: absolute;
  top: -4.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 0.1s;
  pointer-events: none;
  padding: 0.5rem;
}

.cross-home-screen.visible {
  opacity: 1;
  pointer-events: auto;
}

.home-screen-content {
  text-align: center;
  color: #000000;
  width: 90%;
  max-width: 300px;
}

.home-screen-instructions {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 800;
  text-shadow: none;
  color: #000000;
}

.home-screen-instructions p {
  margin: 0;
  color: #000000;
}

.home-screen-instructions .yellow-text {
  color: #98989d;
  font-weight: 700;
}

.save-scan-text {
  color: #fff;
  text-align: center;
  font-family: Outfit;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.384px;
}
