:not(:defined) > * {
  display: none;
}

@font-face {
  font-family: MontserratRegular;
  src: url("./assets/fonts/Montserrat-Regular.ttf");
}

@media screen and (orientation: landscape) {
  body .rounded-div2 {
    transform: scale(0.7) translateX(-50%);
    transform-origin: top left;
  }
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  font-family: MontserratRegular, Helvetica Neue, sans-serif;
}

model-viewer {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}


.progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.logo-size {
  max-width: 100%;
  max-height: 100%;
}

.update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

.main-background-class {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 5;
}

#main-background {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#roundedDiv3 {
  display: none;
}

.rounded-div1 {
  width: 80%;
  height: 70px;
  background-color: #154379;
  border: 3px solid #154379;
  border-radius: 20px; /* Rounded corners */
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rounded-div2 {
  width: 80%;
  height: 68%;
  background-color: #ffffff;
  border: 3px solid #154379;
  border-radius: 20px; /* Rounded corners */
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 7%;
  left: 50%;
  transform: translateX(-50%);
}

.rounded-div2 img {
  margin-bottom: 10px; /* Adds space between the image and the paragraph */
}

.rounded-div2 p {
  color: #154379;
  font-size: 20px; /* Adds space between the image and the paragraph */
  margin-left: 5%;
  margin-right: 5%;
}

.image-box {
  position: relative;
  width: 100%;
  height: 60%;
}

.image-scan {
  max-width: 90%;
  max-height: 100%;
}

#scanImageMove
{
  position: absolute;
   animation: moveImage 5s linear infinite; /* Apply the animation to image-box */
}

#ar-button, .continue-button{
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: rgba(21,67,121, 0.5);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 2%;
  padding: 28px 40px;
  font-family: MontserratRegular, Helvetica Neue, sans-serif;
  font-size: 20px;
  color:#ffffff;
  height: 36px;
  line-height: 3px;
  border-radius: 50px;
  border: 3px solid #154379;
  z-index: 9999;
  text-align: center;
}


#ar-button:active, .continue-button:active {
  background-color: #E8EAED;
}

#ar-button:focus .continue-button:focus {
  outline: none;
}

#ar-button:focus-visible, .continue-button:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
  from { transform: translateX(100px); }
  to   { transform: translateX(-100px); }
}

@keyframes moveImage {
  0% {
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0%);
  }

  25% {
    top: 50%;
    left: 100%;
    transform: translateX(-100%) translateY(-50%); /* Move to the first position */
  }

  50% {
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-100%); /* Move to the second position */
  }

  75% {
    top: 50%;
    left: 0%;
    transform: translateX(0%) translateY(-50%); /* Move back to the original position */
  }

  100%{
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0%);
  }
}

model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 60px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
  display: block;
}

model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}