// filepath: c:\Users\factum\Documents\GitHub\krpano-template-2025\shared\style.css
@-ms-viewport {
  width: device-width;
}

@media only screen and (min-device-width: 800px) {
  html {
    overflow: hidden;
  }
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  color: #CCCCCC;
  background-color: black;
}

#title {
  padding: 10px;
  width: 100%;
  height: auto;
  text-align: center;
  position: absolute;
  z-index: 1000;
  top: 0;
}

#pano {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}

#copyright {
  padding: 10px;
  width: 100%;
  height: auto;
  text-align: center;
  position: absolute;
  z-index: 1001;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0);
  color: #ffffffaf;
}

#artwork-info {
  padding: 20px;
  position: absolute;
  z-index: 1000;
  top: 50px;
  left: 20px;
  max-width: 300px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  display: none;
  overflow-y: auto;
  max-height: 70vh;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#artwork-info.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  #artwork-info {
    max-width: 80%;
    max-height: 60vh;
  }
  
  #title {
    font-size: 16px;
  }
  
  .artwork-title {
    font-size: 20px;
  }
  
  .artwork-author {
    font-size: 18px;
  }
}

.artwork-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.artwork-author {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
}

.artwork-details {
  font-size: 16px;
  margin-bottom: 5px;
}

.info-button {
  position: absolute;
  z-index: 1002;
  top: 15px;
  left: 15px;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.2s;
}

.info-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}