
body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000; 
  overflow: hidden; 
}

.scene-container {
  position: absolute;
  width: 1920px; 
  height: 1080px; 
  background: url('isaac.png') no-repeat center center;
  background-size: contain;
  box-shadow: 0 0 100px rgba(0,0,0,0.5);
  transform-origin: center center;
  flex-shrink: 0;
}


.folder-viewport {
  position: absolute;
  left: 410px; 
  top: 190px;
  width: 518px;
  height: 710px;
  
  overflow-y: auto;
  overflow-x: hidden;
  padding: 30px; 
  box-sizing: border-box;
  background-color: rgba(227, 211, 182, 0.1); 
}


.folder-viewport::-webkit-scrollbar { width: 8px; }
.folder-viewport::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.05); }
.folder-viewport::-webkit-scrollbar-thumb { background: #8b7d6b; border-radius: 5px; }


.gallery-grid {
  column-count: 2; 
  column-gap: 20px;
  width: 100%;
}

.photo-item {
  display: inline-block; 
  break-inside: avoid;
  width: 100%; 
  margin-bottom: 25px; 
  
  background: #fff;
  padding: 10px 10px 25px 10px;
  box-shadow: 2px 4px 8px rgba(0,0,0,0.4);
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.2) contrast(1.1);
}

.paper-clip {
  position: absolute;
  top: -12px;
  left: 15px;
  width: 12px;
  height: 35px;
  border: 2px solid #999;
  border-radius: 10px;
  z-index: 10;
  background: rgba(200, 200, 200, 0.1);
}

.handwritten {
  margin: 8px 0 0 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-align: center;
}


.photo-item:nth-child(even) { transform: rotate(-2deg); }
.photo-item:nth-child(3n) { transform: rotate(3deg); }
.photo-item:nth-child(5n) { transform: rotate(-1deg) translateY(-5px); }

.photo-item:hover {
  transform: scale(1.1) rotate(0deg) !important;
  z-index: 100;
  box-shadow: 5px 10px 20px rgba(0,0,0,0.5);
}


.zoom-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

.zoom-overlay img {
  max-width: 80vw;
  max-height: 80vh;
  box-shadow: 0 0 50px rgba(0,0,0,1);
  border: 20px solid white; 
  background: white;
  object-fit: contain;
}

.zoom-overlay.active { display: flex; }

.zoom-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.credits {
  margin-top: 10px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 16px;
  color: white;
  text-align: center;
}

.credits a {
  color: lightblue;
  text-decoration: underline;
}

.character-tabs {
  position: absolute;
  left: 1472px; 
  top: 220px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 5;
}

.tab {
  background: #c9b89a; 
  padding: 10px 20px;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  border-radius: 0 5px 5px 0; 
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  border-left: 2px solid rgba(0,0,0,0.1);
}

.tab:hover {
  background: #d9c9ab;
  padding-left: 30px; 
}

.tab.active {
  background: #fdf5e6; 
  padding-left: 35px;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
  z-index: 10;
}