body {
  font-family: "helvetica neue", arial, helvetica, sans-serif; padding: 0; margin:0;
}

model-viewer#hykeBoat {
  width: 100%;
  height: 100vh;
}

model-viewer#hykeBoat::part(ar-button) {
    display: none;
  }

.Hotspot {
  background-color: #ffffff; /* Hvit bakgrunn */
  color: #00b5c3; /* Mørkegrå tekstfarge */
  border: none; /* Ingen ramme */
  border-radius: 2px; /* Avrundede hjørner */
  padding: 0.3rem 0.5rem 0.3rem 0.6rem;
  font-family: Arial, sans-serif;
  font-size: 0.6rem;
  font-weight: bold; /* Fet skrifttype */
  cursor: pointer; /* Peker-cursor ved hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Boks-skygge for 3D-effekt */
  transition: background-color 0.3s, box-shadow 0.3s; /* Overgangseffekt for hover */
}

.Hotspot:hover {
  background-color: #e0e0e0; /* Lys grå bakgrunn ved hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Større boks-skygge ved hover */
}

#backButton {
  position: absolute;
  left: 2vw;
  bottom: 10vh;
  background: #ffffff;
  color: #00b5c3;
  border: none;
  border-radius: 2px;
  padding: 0.3rem 1.8rem;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

#annotationBox {
  position: absolute;
  top: 20px; /* Juster denne verdien for å flytte boksen vertikalt */
  left: 20px; /* Juster denne verdien for å flytte boksen horisontalt */
  background-color: #00b5c3;
  color: white;
  padding: 10px 10px 5px 18px;
  border-radius: 3px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  z-index: 100;
  display: none; /* Skjules som standard */
}

#annotationBox h2 {
  margin-top: 0.2rem; /* Reduces space above the heading */
  margin-bottom: 0; /* Reduces space below the heading */
}

#annotationBox p {
  margin-top: .6rem; /* Reduces space above the heading */
}

#hykeLogo {
  height: 50px; /* Juster etter ønsket størrelse */
  width: auto; /* Beholder bildets aspektforhold */
  padding: 1rem 0 0 1rem;
  position: absolute;
}

.attribution {
  position: fixed; /* Fixed positioning to keep it visible all the time */
  right: 3px; /* Distance from the right edge of the viewport */
  bottom: 3px; /* Distance from the bottom edge of the viewport */
  font-size: 10px; /* Set the size of the text */
  color: #999; /* Set the color of the text, change as needed */
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
  padding: 3px 4px 3px 7px; /* Padding around the text */
  border-radius: 2px; /* Rounded corners for the background */
  z-index: 1000; /* Ensure it sits on top of other content */
}

.attribution a {
  color: #999; /* Color of the link, change as needed */
  text-decoration: none; 
}

.attribution:hover {
  text-decoration: underline; }


/* Mobile adjustments */
@media screen and (max-width: 768px) {
 model-viewer {
      object-position: 110% center; /* shift content right */
    }

  #annotationBox {
    max-width: 180px;     /* Smaller width for mobile */
    font-size: 0.8rem;    /* Smaller text */
    padding: 6px 8px 4px 10px; /* Tighter padding */
  }

  #annotationBox h2 {
    font-size: 1rem; /* Scale down heading */
  }

  #annotationBox p {
    font-size: 0.75rem;
  }

  #backButton {
    left: 8px;
    bottom: 8px;       /* Always stick to bottom-left corner */
    font-size: 1.2rem;  /* Slightly smaller on mobile */
    padding: 0.3rem 1rem;
  }

  .attribution {
    font-size: 8px;
  }
}

