body {
  margin: 0;
  display: flex;
  height: 100vh;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

h3 {
  color: #006699;
  padding-left: 20px;
  font-size: 80%;
  box-shadow: rgba(0, 0, 0, 0.8);
  display: flex;
  
}

#levtechlogo {
  width: 50%;
}
.sidebar {
  width: 300px;
  background-color: #ffffff;
  color: #333;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}
#logo img{
  border-radius: 50%;
  width: 150px;
  height: 150px;
}
#logo{
  display: flex;
  justify-content: center;
}
.header-branding {
  background-color: #006699;
  color: white;
  padding: 20px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header-branding h2 {
  margin: 0;
  font-size: 1.2em;
  text-align: center
}

.header-branding p {
  margin-left: 70px;
  font-size: 0.8em;
  opacity: 0.8;
}

#language-switcher {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #f9fcff;
  border-bottom: 1px solid #004b99;
}

.lang-btn {
  flex-grow: 1;
  margin: 0 5px;
  background-color: #ffffff;
  border: none;
  color: rgb(0, 0, 0);
  padding: 5px;
  border-radius: 4px;
  border: 10px solid #004b99;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.2s;
}

.lang-btn.active-lang {
  background-color: #0099ff;
  color: rgb(255, 255, 255);
}


.sidebar button {
  background-color:transparent;
  border: none;
  color: #333;
  padding: 12px 20px;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid #adabab;
  font-size: 0.95em;
  transition: background-color 0.2s;
  width: 100%;
}

.sidebar button:hover {
  background-color: #006699;
  color: rgb(255, 255, 255);
}

.sidebar button.active-nav {
  background-color: #006699;
  color: rgb(255, 255, 255);
  font-weight: bold;
  border-bottom: 1px solid #E6F0F8;
}

.corr {
  display: none;
}


.viewer-container {
  flex-grow: 1;
  position: relative;
}

#viewer {
  width: 100%;
  height: 100%;
}

.bottom-bar {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 8px 15px;
  border-radius: 5px;
}

.bottom-bar p {
  margin: 0;
}

.bottom-bar button {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 6px 8px;
  border-radius: 5px;
  cursor: pointer;
}

.bottom-bar button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

#helpButton {
  background-color: #007bff;
  padding: 6px 10px;
  font-weight: bold;
}

#mapButton {
  background-color: #007bff;
  padding: 6px 10px;
  font-weight: bold;
}
#mobilemapButton {
  background-color: #007bff;
  padding: 6px 10px;
  font-weight: bold;
  display: none;
  pointer-events: none;
      
}

#helpButton:hover {
  background-color: #0056b3;
}


.custom-hotspot-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 20;
  position: relative;
}

.custom-hotspot-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/next.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(270deg);
  transform-origin: center;
}

.custom-hotspot-icon:hover {
  box-shadow: 0 0 15px rgba(0, 248, 50, 0.8);
}

.custom-hotspot-icon .pnlm-tooltip {
    color: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    visibility: hidden; 
}


.hamburger-menu {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background-color: rgba(0, 102, 153, 0.9);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 5px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px); 
}

.modal-content {
    background-color: #fefefe;
    margin: 10vh auto;
    padding: 30px;
    border: 1px solid #006699;
    width: 90%; 
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation-name: animatetop;
    animation-duration: 0.4s;
    color: #333;
    line-height: 1.6;
}

.modal-content h2 {
    color: #006699;
    margin-top: 0;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.modal-content ul {
    list-style-type: none;
    padding-left: 0;
}

.modal-content li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.modal-content li::before {
    content: "▶";
    color: #006699;
    font-size: 0.8em;
    position: absolute;
    left: 0;
    top: 0;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 36px;
    font-weight: lighter;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.close-button:hover,
.close-button:focus {
    color: #000;
}

.map-hotspot {
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: rgba(255, 0, 0, 0.85);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 2px solid white;
}

#loaderScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #006699;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 3000;
}

.loader-box {
  text-align: center;
  font-family: Arial, sans-serif;
}

.loader-text {
  font-size: 24px;
  margin-bottom: 20px;
}

#loader-countdown {
  font-size: 48px;
  font-weight: bold;
}
.promo{
  padding-top: 40%;
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 10vh; opacity: 1}
}


@media (max-width: 768px) {

  body {
    flex-direction: column;
    overflow-y: hidden;
  }
  #levtechlogo {
    width: 30%;
  }

@media (max-width: 768px) {

  .bottom-bar {
    bottom: 65px;
    /* lifts the bar above phone navbar */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
  }

  #location-text {
    font-size: 12px;
    text-align: center;
    max-width: 60%;
  }

  #helpButton {
    padding: 5px 8px;
    font-size: 12px;
  }


  /* Optional: Move hotspot icon slightly up */
  .custom-hotspot-icon {
    margin-bottom: 40px;
  }

}
  .sidebar {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: none;
  }


  .sidebar.sidebar-open {
    transform: translateX(0);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.7);
  }


  .viewer-container {
    width: 100vw;
    height: 100vh;
    flex-grow: 1;
  }


  .hamburger-menu {
    display: block;
  }

  .header-branding {
    padding-top: 50px;
  }
  #mapButton {
    display: none !important;
    pointer-events: none;
  }
}

@media (max-width: 600px) {
  #mobilemapButton {
    display: block;
    pointer-events: auto;
  }
}
