@font-face {
  font-family: 'Lusitana';
  src:  url('assets/Lusitana/Lusitana-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal
}
@font-face {
  font-family: 'Public Sans';
  src:  url('assets/Public_Sans/PublicSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal
}

html {
  bottom: 0;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
}
body {
  height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
#canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
body {
  font-family: 'Lusitana', serif;
    color: #2E2E2E;
}
.controls-wrapper {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

#info-modal {
  opacity: 1;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 90vh;
  max-width: 800px;
  min-width: 320px;
  background-color: white;
  z-index: 1000;
  overflow-y: auto;
}

/* Mobile responsive modal */
@media (max-width: 768px) {
  #info-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vh;
    z-index: 1000;
  }
  
  .align-horizontal {
    flex-direction: column !important;
    align-items: center;
  }
  
  .controls-icon {
    width: 80px !important;
    height: auto;
    margin: 5px;
  }
  
  .controller-section {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
  }
  
  /* About section mobile optimization */
  #info-modal div[style*="margin: 20px"] {
    margin: 15px !important;
    padding: 0 5px;
  }
  
  #info-modal h3 {
    font-size: 1.3em !important;
    line-height: 1.4;
  }
  
  #info-modal p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    text-align: justify;
  }
  
  /* Fix close button positioning on mobile to not affect content centering */
  .info-modal-close {
    position: fixed !important;
    top: calc(5vh + 10px) !important;
    right: calc(5vw + 10px) !important;
    z-index: 1001 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }
  
  /* Ensure controls wrapper is properly centered on mobile */
  .controls-wrapper {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
  }
}

/* Large screen optimizations */
@media (min-width: 1200px) {
  .controls-icon {
    width: 120px;
  }
  
  h4, h5 {
    font-size: 1.2em;
  }
}
.controller-section {
  border: 1px solid #eee;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
}

.controls-icon {
  width: 100px;
  height: auto;
  margin: 10px;
}

.modal {
  position: absolute;
  right: 0px;
  top: 0px;
  left: 0px;
  bottom: 0px;
  z-index: 998;
  background: none;
}

.border-left {
  border-left: 1px solid #000;
}


#pc-section {
  margin: 15px;

}
.tour {
    width: 100%;
    height: 100%
}
.wi-50 {
  width: 50%;
}
.info-modal-close {
  position: absolute;
  right: 10px;
  z-index: 998;
  background: none;
  color: black;
  font-size: 30px;
  opacity: 0.5;
}
.info-modal-header {
  padding-top: 25px;
}
.text-center {
  text-align:center;
}
.align-vertical {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
}
.align-horizontal {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.space-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#info-box {
  font-family: 'Public Sans', sans-serif;
  font-size: 12px;
  font-weight: 200;
  line-height: 15px;
  position: absolute;
  left: 20px;
  bottom: 20px;
}

.info-box-button {
  font-family: 'Public Sans', sans-serif;
  font-size: 22px;
  font-weight: 200;
  line-height: 25px;
  background-size: 90% 90%;
  border: 0;
  bottom: 0;
  cursor: pointer;
  min-width: 58px;
  min-height: 34px;
  padding: 0;
  position: absolute;
  left: 0;
  transition: background-color .05s ease;
  -webkit-transition: background-color .05s ease;
  z-index: 998;
  border-radius: 8px;
  touch-action: manipulation;
}



h4, h5 {
  margin-top: 10px;
  margin-bottom: 0px;
}
#continue-button {
  font-family: 'Public Sans', sans-serif;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #2E2E2E;
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

#continue-button:hover {
  background-color: #e8e8e8;
  border-color: #bbb;
}

.pointer {
  cursor: pointer;
}

.a-enter-vr-button {
  visibility: hidden;
}

.image-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  background-color: #fff; 
  z-index: 998;
  text-align: center;
}

.image-holder {
  position: absolute;
  left: 50%; 
  top: 50%;
  width: 150px;
  height: 150px;
  margin-left: -75px;
  margin-top: -100px;
}

.loading-image
{
  width: 100%;
  margin-left: -150px;
  margin-top: -150px;   
}

.loading-text
{
  width: 100%;
  margin-left: -300px;
  margin-top: -150px;   
}

/* Percentage text removed - now integrated into the canvas animation */

#loading-canvas {
  width: 150px !important;
  height: 150px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  background-color: #ffffff !important;
  border: 1px solid #eee !important;
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
}

#loading-canvas-wrapper {
  display: inline-block !important;
  padding: 4px !important;
  border-radius: 14px !important;
  background: conic-gradient(from 0deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    rgba(255, 255, 255, 0.3) 100%) !important;
  transition: all 0.3s ease !important;
  margin-bottom: 20px !important;
  position: relative !important;
  z-index: 1 !important;
}
.scrollbar {
  overflow-y: auto;
}
::-webkit-scrollbar {
  -webkit-overflow-scrolling: auto;
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
  background: #888; 
}
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
-webkit-scrollbar {
  -webkit-overflow-scrolling: auto;
  width: 10px;
}
-webkit-scrollbar-track {
  background: #f1f1f1; 
}
-webkit-scrollbar-thumb {
  background: #888; 
}
-webkit-scrollbar-thumb:hover {
  background: #555; 
}
@media all and (min-width: 769px) {
  
  #helper-box {
    width: 100%;
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  #helper-box-text {
    font-family: 'Public Sans', sans-serif;
    font-size: 22px;
    color: gray;
    font-weight: 200;
    line-height: 25px;
    background-size: 90% 90%;
    border: 0;
    bottom: 0;
    cursor: pointer;
    min-width: 58px;
    min-height: 34px;
    padding: 0;
    position: absolute;
    transition: background-color .05s ease;
    -webkit-transition: background-color .05s ease;
    z-index: 998;
    border-radius: 8px;
  }
}
@media all and (max-width: 768px) {
  ::-webkit-scrollbar {
    -webkit-overflow-scrolling: touch;
  }
  -webkit-scrollbar {
    -webkit-overflow-scrolling: touch;
  }
  #continue-button {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .wi-50 {
    width: 100% !important;
  }
  .controls-wrapper {
    width: 90%;
  }
  .controls-icon {
    max-height: 60px;
    max-width: 60px;
  }
  .info-modal-header {
    padding-top: 0px;
  }
  #helper-box {
    width: 100%;
    position: absolute;
    left: 50%;
    top: 20px;
  }
  #helper-box-text {
    font-family: 'Public Sans', sans-serif;
    font-size: 22px;
    color: gray;
    font-weight: 200;
    line-height: 25px;
    background-size: 90% 90%;
    border: 0;
    top: 0;
    cursor: pointer;
    min-width: 58px;
    min-height: 34px;
    padding: 0;
    position: absolute;
    left: 0;
    transition: background-color .05s ease;
    -webkit-transition: background-color .05s ease;
    z-index: 998;
    border-radius: 8px;
  }
}
@media all and (max-width: 2000px) {
  .controls-icon {
    max-height: 120px;
    max-width: 120px;
  }
}

@media all and (min-width: 2000px) {
  .controls-icon {
    max-height: 200px;
    max-width: 200px;
  }
  .controller-section {
    border: 0px solid #2E2E2E;
    min-height: 15%;
  }
  h2 {
    font-size: 3em;
  }
  .info-modal-close {
    font-size: 60px;
  }
  .controls-wrapper {
    width: 100%;
  }
  h4 {
    font-size: 3em;
  }
  h5 {
    font-size: 2em;
  }
} 