#desktopAlert {
  position: absolute;
  width: 100%;
  height: max(100vh, 100%);
  top: 0px;
  left: 0px;
  /* pointer-events: none; */
  z-index: 99999;

  display: flex;

  align-items: center;
  align-items: center;
  justify-content: center;
  /* gap: 50px; */
}
#desktopAlert {
  --m: 70px;
}
#desktopAlert h1 {
  font-size: 36px;
  color: white;
  font-family: Times, "Times New Roman", sans-serif;
  margin-bottom: var(--m);
  text-align: center;
  margin-top: 0;
  font-style: normal;
  font-weight: 400;
  max-width: 10em;
}
#desktopAlert p {
  font-family: "Didot";
  color: #ffffff;
  font-size: 14px;
  text-align: center;
  line-height: 140%;

  max-width: 21em;

  font-family: Times, "Times New Roman", sans-serif;
  margin-bottom: var(--m);
}
#desktopAlert > div {
  width: 50%;
  /* max-width: min(90vw, 1500px); */
  display: flex;
  justify-content: center;
  margin-left: auto;
}
#desktopAlert .spacer {
  display: block;
  height: 100%;
  width: 50%;
  margin-left: 0;
}

#desktopAlert > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;

  /* width: 100%; */
}

#desktopAlert .Logo {
  background-size: contain;
  font-size: 14px;
  background-repeat: no-repeat;
  width: 20em;
  height: 2em;
  background-position: center;
}
#desktopAlert::after {
  content: "";
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: -1;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  /* transform: rotate(180deg); */
}

/* .HF #desktopAlert::after {
  background-image: url("./js/hf/assets/images/backgrounds/hfdesktop.jpg");
  background-image: url("./js/hf/assets/images/backgrounds/hfdesktop2.jpg");
} */

.HF #desktopAlert::after {
  /* background-image: url("./js/hf/assets/images/backgrounds/BG_sml.jpg"); */
  background-image: url("./js/hf/assets/images/backgrounds/BG_sml2.jpg");
  background-size: 100% 100%;
}
.HF .watch,
.PDA .watch,
.PDA .moon {
  /* background-image: url("./js/hf/assets/images/backgrounds/watch_sml.png"); */

  position: absolute;
  height: 100%;
  width: 50%;
  right: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.HF #desktopAlert .watch {
  background-image: url("./js/hf/assets/images/backgrounds/watch_and_flower2.png");
  width: 100%;
  background-position: right;
  margin-right: 10vw;
}
.PDA .watch {
  background-image: url("./assets/PDA/images/backgrounds/pda-watch.png");
}
.PDA #desktopAlert .moon {
  background-image: url("./assets/PDA/images/backgrounds/pda-moon.png");
  top: 50px;
  right: 12vw;
  --dim: 100px;
  height: var(--dim);
  width: var(--dim);
}

@media only screen and (max-aspect-ratio: 3 / 2) {
  .HF .watch {
    background-size: cover;
  }
}
.HF .branch {
  display: none !important;
}
@media only screen and (max-aspect-ratio: 14 / 9) {
  /* .HF .watch {
    background-image: url("./js/hf/assets/images/backgrounds/watch_sml.png");
    background-size: contain;
  }

  .HF .branch {
    background-image: url("./js/hf/assets/images/backgrounds/flower-sml.png");
    position: absolute;
    height: 100%;
    width: 50%;
    right: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    display: block !important;
  } */
}
@media only screen and (max-aspect-ratio: 8 / 10) {
  .HF .branch,
  .HF .watch {
    display: none !important;
  }
  .HF #desktopAlert::after {
    /* background-image: url("./js/hf/assets/images/backgrounds/hfdesktop.jpg"); */
    background-image: url("./js/hf/assets/images/backgrounds/hfdesktop2.jpg");
    background-size: cover;
  }
  #desktopAlert .spacer {
    width: 30%;
  }
  .PDA .watch {
    background-size: cover;
  }
}
@media only screen and (max-width: 1250px) {
  .PDA #desktopAlert .moon {
    right: 50px;
  }
}

.PDA #desktopAlert::after {
  /* background-image: url("./assets/PDA/images/backgrounds/pdadesktop-wide.jpg"); */
  background-image: url("./assets/PDA/images/backgrounds/pda-gradient.jpg");
}

.PDA .Logo {
  background-image: url("./assets/PDA/images/backgrounds/VCA_Logo.png");
}
.HF .Logo {
  background-image: url("./js/hf/assets/images/backgrounds/VCA_Logo.png");
}
#desktopAlert p + p {
  font-size: 25px;
  letter-spacing: 1px;
  margin-bottom: 0;
  margin-top: 0;
}

#start {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  padding-top: 30px;
  padding-bottom: 20px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.HF #start {
  background-image: url(./js/hf/assets/images/backgrounds/hf-landing-bg-3.jpg);
  z-index: 800;
}
.HF.loaded #start {
  z-index: 802;
}
.PDA #start {
  background-image: url(./assets/PDA/images/backgrounds/pda-landing-bg-3.jpg);
}

#qrcode {
  padding: 20px !important;

  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Times, "Times New Roman", sans-serif;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 133px !important;
  height: 133px !important;
}

.PDA #qrcode {
  background-color: rgba(0, 0, 0, 0);
  background-image: url(./qrcodes/pda-desktop-qrcode.png);
}
.HF #qrcode {
  background-color: rgba(0, 0, 0, 0);
  background-image: url(./qrcodes/hf-desktop-qrcode.png);
  /* background-image: url(./qrcodes/hf-desktop-qrcode2.png); */
  /* filter: invert(1); */
}
#start h1 {
  max-width: 95vw;
  text-align: center;
  color: white;
  font-style: normal;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: 28px;
}
#start h1 span + span,
#desktopAlert h1 span + span {
  font-size: 0.5em;
  /* vertical-align: top; */
  transform: translateY(-0.75em);
  display: inline-block;
}
#start button {
  background: none;
  color: white;
  border: none;
}
.HF #startButton {
}
#start #startButton {
  background: none;

  color: white;

  --e: 14px;

  /* color: #000000; */
  font-size: var(--e);
  padding: 1em 0em;
  margin: 0 !important;
  font-weight: normal !important;
  line-height: 1.2 !important;
  height: calc(40px * var(--e) / 10) !important;
  letter-spacing: 1.5px;
  border-radius: 0px;
  text-align: center !important;

  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-bottom: 1px solid rgba(230, 230, 230, 1);
  white-space: normal;
  /* text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.44); */
}
#start > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  box-sizing: border-box;
}

#start footer {
  display: flex;

  align-items: center;
  justify-content: space-between;
  color: white;
  margin-top: 30px;
  font-size: 14px;

  box-sizing: border-box;
  /* width: 320px;
  max-width: 320px; */
  max-width: 95vw;
}
#start footer button {
  padding: 10px;
}

#cpraOverlay {
  background: rgba(0, 0, 0, 0.5);
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  padding: 10px;
  box-sizing: border-box;
}

#cpraOverlay > div {
  background-color: white;

  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;

  font-family: Arial, Helvetica, sans-serif;
  flex-direction: column;
  max-height: calc(100% - 6rem);

  width: 100%;
  height: 100%;
  width: calc(100% - 20px);
  height: 100%;
  box-sizing: border-box;
}
#cpraOverlay h2 {
  background-color: #eef2e3;
  width: 100%;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 27px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 2px !important;
  text-align: center !important;
  font-size: 18px;
  font-weight: 200 !important;
  height: 80px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  height: 100px;
}
#cpraOverlay > div > button {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 100%;
  background: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #757575;
  color: black;
  background-image: url(./assets/images/close-sm2x.png);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}
#cpraOverlay > div > div:not(.spacer) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 5px;
  /* padding: 15px;
  border: 1px solid rgba(200, 200, 200, 0.3);
  max-width: calc(100% - 20px);
  min-width: calc(100% - 20px); */
  min-width: calc(-20px + 100%);
  box-sizing: border-box;
}
#cpraOverlay > div.spacer {
  opacity: 0;
}
#cpraOverlay > div a {
  border: 1px solid #aaaaaa;
  width: 280px;
  padding: 0.5em 1em;
  color: black;
  text-align: center;
  text-decoration: none;
  border-radius: 3px;

  background: #fff;
  color: #000000;
  font-size: 10px !important;
  padding: 6px 3px !important;
  margin: 0 !important;
  font-weight: normal !important;
  line-height: 1.2 !important;
  height: 40px !important;
  letter-spacing: 1.5px;
  border-radius: 0px;
  text-align: center !important;

  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(34, 34, 34);
  white-space: normal;
}
#cpraOverlay > div a:last-child {
  padding: 16px 8px !important;
  height: auto;
  height: auto !important;
  line-height: 160% !important;
}
#cpraOverlay > div a:hover {
  border: 1px solid black;
}

#cpraOverlay > div a:focus::after {
  border: 1px solid #aaaaaa;
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 3px;
}

@media only screen and (max-height: 800px) {
  #desktopAlert {
    --m: 52px;
  }
}

@media only screen and (max-height: 690px) {
  #desktopAlert {
    --m: 43px;
  }
  #desktopAlert h1 {
    font-size: 30px;
  }
  #desktopAlert p {
    font-size: 14px;
  }
  #desktopAlert p + p {
    font-size: 17px;
    margin-top: 0;
  }
  #qrcode {
    height: min(128px, 20vh) !important;
    width: min(128px, 20vh) !important;
  }
}

@media only screen and (max-height: 590px) {
  #desktopAlert {
    --m: 20px;
  }
  #desktopAlert h1 {
    font-size: 25px;
  }
  #desktopAlert p + p {
    font-size: 15px;
  }
}
/* 
@media only screen and (max-width: 1520px) {
  #desktopAlert .spacer {
    width: 40%;
  }
} */
