a-scene {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
}

a-assets, a-scene audio, a-scene img, a-scene video {
  display: none;
}


@font-face {
  font-family: 'Astonpoliz';
  src: url('Bauhaus/Astonpoliz.ttf') format('truetype');
}



.footer .about-btn {
  z-index: 11;
  right: 0;
  top: 0;
  color: #000000;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: absolute;
  display: block;
  margin: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 1.5vmin;
  text-decoration: none;
}

.footer .about-btnn {
  z-index: 11;
  left: 0;
  top: 0;
  color: #ffffff;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  position: absolute;
  display: block;
  margin: 20px;
  font-family: "Roboto", sans-serif;
  font-size: 3vmin;
  text-decoration: none;
}

@media screen and (max-width: 620px) {
  .footer .about-btn {
    margin: 5px;
    color: #ffffff;
    font-size: 3vmin;
    left: 0;
    top: 0;
    position: relative;
  }
  .footer .about-btnn {
    margin: 5px;
    color: #ffffff;
    font-size: 4vmin;
    left: 0;
    top: 0;
    position: relative;
  }
}

.footer .about-btnn1 {
  z-index: 11;
  left: 0.4vmin;
  top: 4vmin;
  color: #ffffff;
  padding-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  position: absolute;
  display: block;
  margin: 20px;
  font-family: "Roboto";
  font-size: 1.5vmin;
  text-decoration: none; }

  @media screen and (max-width: 620px) {
    .footer .about-btnn1 {
      margin: 5px;
      color: #CADDF3;
      font-size: 3vmin;
      left: 0;
      top: 0;
      position: relative; } }
  @media screen and (max-height: 620px) {
    .footer .about-btnn1 {
      margin: 5px;
      color: #CADDF3;
      font-size: 3vmin;
      left: 0;
      top: 0;
      position: relative; } }

.footer .about-btnn2 {
        z-index: 11;
        left: 0.4vmin;
        top: 6.5vmin;
        color: #CADDF3;
        padding-bottom: 2px;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        position: absolute;
        display: block;
        margin: 20px;
        font-family: "Roboto";
        font-size: 1.5vmin;
        text-decoration: none; }
        @media screen and (max-width: 620px) {
          .footer .about-btnn2 {
            font-size: 15px; } }
        @media screen and (max-height: 620px) {
          .footer .about-btnn2 {
            font-size: 15px; } }


@media screen and (max-width: 620px) {
  .footer .terms {
    margin: 0 0 20px 0;
    text-align: left;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .footer .credits {
    text-align: justify !important;
  }

  .footer .credits:after {
    content: '';
    display: inline-block;
    width: 100%;
    margin: 0 20px 30px 20px;
  }

  .footer .credits li {
    display: inline-block;
    margin: 0 0 0 0 !important;
  }
}

.footer .credits {
  z-index: 11;
  position: absolute;
  width: calc(40% - 40px);
  min-width: 1vmin;
  left: 0;
  bottom: 0;
  padding: 0;
  text-align: left;
  margin: 0 1vmin 0.8vmin 1vmin;
}

.footer .credits li {
  display: inline-block;
  margin: 0 0.5vmin 0 0.5vmin;
}

.footer .credits li:nth-of-type(1) img {
  width: 8.5vmin;
  height: 8.5vmin;
  border-radius: 15px;
  opacity: 0.85;
}

.footer .credits li:nth-of-type(2) img {
  width: 12.75vmin;
  height: 8.5vmin;
}

@media screen and (max-width: 460px) {
  .footer .credits li:nth-of-type(1) img {
    height: 22vmin;
    width: 22vmin;
    position: absolute;
    left: 10px;
    bottom: 10px;
    
  }
  .footer .credits li:nth-of-type(2) img {
    height: 0vmin;
    width: 0vmin;
    position: absolute;
    left: 21vmin; /* Adjusted this value */
    bottom: 10px;
  }
}


.footer .credits li:nth-of-type(3) img {
  width: 8.5vmin;
  height: 8.5vmin;
}

@media screen and (max-width: 460px) {
  .footer .credits li:nth-of-type(3) img {
    width: 8.5vmin;
  }
}

/* Custom styles */
body {
  background-color: #c2c2c2;
}

#loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(60deg, #9e9e9e, #7b7b7b, #cecece, #9a9a9a, #464646);
  background-size: 300% 300%;
  animation: GradientAnimation 30s ease infinite, fadeInBackground 0.3s ease-in-out forwards;
  align-items: center;
  justify-content: center;
  z-index: 100000; /* Ensure the loading screen is on top of other elements */
  display: flex;
  flex-direction: column; /* Stack children in a column */
}


.loading-text {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  font-size: 2vmin;
  opacity: 100%;
  font-weight: 200;
  letter-spacing: 0.1em;
  font-family: "Roboto", sans-serif;
   text-transform: uppercase;
}

.dot {
  display: inline-block;
  animation: blink 1.4s infinite both;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.loading-img {
  position: absolute;
  bottom: 30%;
  width: 200px; /* Set a specific width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px;
  opacity: 0.7;
}

.loading-title {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
  opacity: 100%;
  font-size: 4.5vmin;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.1em;
}

.loading-credits{
  position: absolute;
  bottom: 2.5%;
  font-size: 1.25vmin;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
  color: #000000;
}


@media screen and (max-width: 460px) {
  .loading-text {
    top: 35%;
    font-size: 6.5vmin;
    white-space: nowrap; /* Prevents text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds ellipsis for overflowed text */
  }

  .loading-credits{
    position: absolute;
    bottom: 2.5%;
    font-size: 3.25vmin;
    font-weight: 300;
    font-family: 'Astonpoliz', sans-serif; /* Use the custom font */
    color: #000000;
  }

  .loading-title  {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    opacity: 100%;
    font-size: 6vmin; /* Adjusted font size */
    font-weight: 300;
    font-family: 'Astonpoliz', sans-serif; /* Use the custom font */
    white-space: nowrap; /* Prevents text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Adds ellipsis for overflowed text */
  }
}

#mobile-popup {
  display: none; /* Default to hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  z-index: 100; /* To ensure it's above everything else */
  justify-content: center;
  align-items: center;
  font-family: 'Astonpoliz', sans-serif;
 
}

#popup-content-title {
  background-color: #ffffff9d;
   backdrop-filter: blur(2px);
  padding: 10px;
  color: #000000;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.148);
  border-radius: 5px;
  max-width: 90%;
  text-align: justify;
  margin-top: 1px;
  font-size: 4vmin;
}

#popup-content {
  background-color: #ffffff9d;
   backdrop-filter: blur(2px);
  padding: 10px;
  color: #000000;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.148);
  border-radius: 5px;
  max-width: 90%;
  text-align: justify;
  margin-top: 1px;
  font-size: 4vmin;
}

#popup-content img {
  max-width: 100%; /* Ensures the image is not wider than the popup */
  height: auto; /* Keeps the image aspect ratio intact */
  border-radius: 10px; /* Adds rounded corners to the image */
  padding: 0px;
}


#popup-content-preview-info {
  color: #000000;
  text-align: justify;
  font-size: 4vmin;
}

button#close-popup-mobile {
  background: rgba(0, 0, 0, 0.694);
  color: #ffffff;
  margin-top: 1px;
  font-family: 'Astonpoliz', sans-serif;
  text-align: center;
  justify-content: center;
  font-size: 5vmin;
  border-radius: 30px;
  border: none; /* Add this line to remove the border */
  cursor: pointer; /* Optional: Changes cursor to pointer on hover for better UX */
}


#info-world-container {
  position: fixed;
  top: 15px; /* Adjust as needed for spacing from the top edge */
  left: 15px; /* Adjust as needed for spacing from the right edge */
  z-index: 1000; /* Ensure it's above other elements */
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
  
}

#info-world {
  position: relative;
  color: #000000;
  background-color: #64646479;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 2.2em; /* Adjust size as needed */
  text-decoration: none; /* Remove default underline */
  cursor: pointer;
  transition: color 0.3s ease; /* Transition for the text color */
  overflow: hidden; /* Ensures the pseudo-element is bound by the a tag's dimensions */
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: 'Astonpoliz', sans-serif; /* Use the custom font */
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
 
}

#info-world:hover {
  color: #0000ff; /* Optionally change color on hover */
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
}

#info-world::after {
  border-radius: 20px;
  content: '';
  position: absolute;
  width: 10%; /* Adjust this value to change the underline's width */
  height: 4px; /* Height of the underline */
  bottom: 0;
  left: 50%; /* Center the underline */
  transform: translateX(-50%); /* Offset the left position to truly center it */
  background-color: #eaff00; /* Color of the underline */
  transition: width 0.3s ease-in-out;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
}

#info-world:hover::after {
  width: 80%;
}

@media (max-width: 768px) { /* Adjust the max-width as needed for your mobile breakpoint */
  #info-world-container {
    top: 15px;
    right: 15px;
    left: 5px;
     /* Positions the container from the left */
  }

  #info-world {
    font-size: 1em; /* Smaller font size for mobile */
    /* You can adjust other styles for mobile here if needed */
  }

  #info-world::after {
    height: 2px; /* Thinner underline for mobile */
  }
}


.info-popup {
  display: none; /* Initially hidden, display using JavaScript or additional classes */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(60deg, 
              #ffffff77 0%, #c2c2c286 33.3%, /* Blue */
              #76767693 33.3%, #e6e7db73 66.6%, /* Yellow */
              #ffffffb7 66.6%, #bcb8d17d 100%); /* Red */
  background-size: 150% 150%;
  animation: GradientAnimation 30s ease infinite, fadeInBackground 0.3s ease-in-out forwards;
  backdrop-filter: blur(5px); /* Apply a blur filter to the background */
  z-index: 2000; /* Ensure it is above everything else */
  font-family: 'Astonpoliz', sans-serif; /* Use the custom font */
}



@keyframes GradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInBackground {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


.info-title {
  font-size: 2em; /* Slightly larger than normal text */
  margin-bottom: 10px; /* Spacing below the title */
  text-align: left;
  font-weight: 400; /* Bold text */
  
}

@media (max-width: 768px) {
  .info-title {
    font-size: 1.8em;
  }
}

.info-popup p {
  font-size: 1.1em;
  margin-top: 5px; /* Reduced top margin */
  margin-bottom: 10px; /* Reduced bottom margin */
  color: #000000; /* Lighter text color */
  font-weight: 300; /* Bold text */
 
}

@media (max-width: 768px) {
  .info-popup p{
    font-size: 1.2em;
  }
}

.info-popup img {
  display: block; /* Makes the image a block element */
  margin: 0 auto; /* Centers the image */
  max-width: 100%; /* Ensures the image is not larger than its container */
  height: auto; /* Maintains the aspect ratio of the image */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

/* WebKit scrollbar styles */
.info-block::-webkit-scrollbar {
  width: 12px; /* Width of the vertical scrollbar */
  border-radius: 6px; /* Rounded corners of the scrollbar thumb */
}

.info-block::-webkit-scrollbar-track {
  background: #f1f1f122; /* Color of the scrollbar track */
  border-radius: 6px; /* Rounded corners of the scrollbar thumb */
}

.info-block::-webkit-scrollbar-thumb {
  background-color: #72809d79; /* Color of the scrollbar thumb */
  border-radius: 6px; /* Rounded corners of the scrollbar thumb */
  border: 1px solid #f1f1f154; /* Creates padding around the scrollbar thumb */
}

/* Firefox scrollbar styles */
.info-block {
  scrollbar-width: thin; /* "auto" or "thin" */
  scrollbar-color: #a7a7a7 #f1f1f100; /* thumb and track color */
}

.info-block {
  padding: 20px;
  margin: auto;
  border-radius: 10px; /* Or as needed */
  
  text-align: justify;
  /* Center the block in the viewport */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 20%; /* Responsive width */
  width: 50%;
  max-height: 80%; /* Maximum height */
  max-width: 80%; /* Maximum height */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
  font-weight: 300; /* Lighter font weight */
  overflow-y: auto; /* Scroll if content is too long */
}

.info-block a {
  color: rgb(150, 150, 150);
  font-size: 0.85em;
  font-weight: 300;
}

a:visited {
  color: rgb(8, 0, 255); /* Color for visited links */
  font-size: 0.85em;
  font-weight: 300;
}

@media (max-width: 768px) {
  .info-block{
    font-size: 0.85em;
    width: 95%; /* Responsive width */
    overflow-y: auto; /* Scroll if content is too long */
    max-height: 85%; /* Maximum height */
  }
}


/* Smaller Title Style */
.info-small-title {
  font-size: 2em; /* Smaller than the main title */
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  
}

@media (max-width: 768px) {
  .info-small-title {
    font-size: 1.5em;
    text-align: left;
  }
}

.info-small-title-second {
  font-size: 2em; /* Smaller than the main title */
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
  
  
}

/* Additional Text Style */
.additional-text {
  color: #000000; /* Different color for this text */
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: left;
}

.close-popup {
  float: right;
  font-size: 28px;
  font-weight: bold;
  border: none;
  background: none;
  cursor: pointer;
  top: 0px;
  right: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

.close-popup:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); 

}

.info-icons {
  display: flex;
  justify-content: center; /* Center the icons horizontally */
  align-items: center; /* Center the icons vertically */
  padding: 10px 0; /* Add some padding at the top and bottom */
  gap: 40px; /* Adds space between flex items; adjust as needed */


}

/* Style for each icon */
.info-icon {
  width: 50px; /* Set the icon size as needed */
  height: auto; /* Maintain aspect ratio */
  transition: opacity 0.3s ease; /* Smooth transition for hover effect */
  opacity: 0.5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

/* Hover effect for icons */
.info-icon:hover {
  opacity: 1; /* Slightly dim the icon on hover */
}



.a-enter-vr-button {
  background: rgba(129, 129, 129, 0.808) url("/Images/Vrbutton0.png") 50% 50% no-repeat;
}

.a-enter-ar-button {
  background: rgba(0, 0, 0, 0.20) url("/Images/Vrbutton0.png") 50% 50% no-repeat;
}

.a-enter-vr.fullscreen .a-enter-vr-button {
  background-image: url("/Images/Vrbutton0.png")
  ;
}

.a-enter-vr-button,
.a-enter-ar-button {
  background-size: 90% 90%;
  border: 0;
  bottom: 0;
  cursor: pointer;
  min-width: 8vmin;
  min-height: 8vmin;
  padding-right: 0;
  padding-top: 0;
  position: absolute;
  right: 0;
  transition: background-color .05s ease;
  -webkit-transition: background-color .05s ease;
  z-index: 99999;
  border-radius: 8px;
  touch-action: manipulation; 
}

.a-enter-ar-button {
  background-size: 100% 90%;
  border-radius: 7px;
}

.a-enter-ar-button:active,
.a-enter-ar-button:hover,
.a-enter-vr-button:active,
.a-enter-vr-button:hover {
  background-color: #0d00ff;
}

.a-enter-vr-button.resethover {
  background-color: rgba(0, 0, 0, 0.35);
}

.a-enter-vr-modal {
  background-color: #666;
  border-radius: 0;
  display: none;
  min-height: 32px;
  margin-right: 70px;
  padding: 9px;
  width: 280px;
  right: 2%;
  position: absolute;
}

.a-enter-vr-modal:after {
  border-bottom: 10px solid transparent;
  border-left: 10px solid #666;
  border-top: 10px solid transparent;
  display: inline-block;
  content: '';
  position: absolute;
  right: -5px;
  top: 5px;
  width: 0;
  height: 0;
}

  #music-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9999;
    width: 4vmin;
    height: 4vmin;
    cursor: pointer;
    background-image: url('assets/images/MusicOn.png');
    background-size: cover;
    background-color: #64646479;
    border-radius: 100px;
  }

  /* Mobile-specific styles */
  @media (max-width: 600px) {
    #music-toggle {
      top: 10px;
      right: 10px;
      width: 8vmin;
      height: 8vmin;
    }
  }

  #loading-shape-container {
  width: 100px;
  height: 100px;
  position: relative; 
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.triangle, .square, .circle {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; 
  animation-duration: 1s; 
  animation-fill-mode: forwards; 
}

.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86.6px solid yellow; 
  position: absolute;
  top: 0;
  
 
  display: block; 
}

.square {
  width: 100%;
  height: 100%;
  background-color: red;
  display: none; 
}

.circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: blue;
  display: none; 
}


  #loading-text {
    margin-top: 20px;
    font-size: 24px;
    font-family: 'Astonpoliz', sans-serif; 
  }


  @media (max-width: 768px) {
  #loading-text {
    font-size: 6vmin;
  }
}
  #quote-text {
    
    margin-bottom: 10vmin;
    font-size: 4vmin;
    font-family: 'Astonpoliz', sans-serif; 
    animation-duration: 1s;
    animation-fill-mode: forwards;
    font-style: italic;
    text-align: center;
  }

  @media (max-width: 768px) {
  #quote-text {
    font-size: 8vmin;
    padding: 5vmin; 
    margin: 2vmin;
  }
}