/* =========================
   GLOBAL
========================= */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;

  font-family: "Helvetica Neue Condensed Bold",
               "Helvetica Neue",
               "Arial Narrow",
               Arial,
               sans-serif;

  background: black;
  color: white;
}

/* =========================
   BACKGROUND
========================= */
.scene {
  position: relative;
  width: 100%;
}

.canvas {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;

  width: 280px;
  height: 100vh;

  display: flex;
  flex-direction: column;

  background: rgba(0,0,0,0.75);
  border-right: 1px solid rgba(255,255,255,0.2);
}

/* =========================
   SIDEBAR HEADER
========================= */
.title-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 22px 16px;

  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.title {
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;

  cursor: pointer;
  transition: color 0.15s ease;
}

.title:hover {
  color: rgba(180, 180, 180, 1);
}

/* =========================
   AUDIO CONTROLS
========================= */
.audio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.audio-controls button {
  padding: 6px 10px;

  font-size: 12px;
  font-family: inherit;
  text-transform: lowercase;

  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;

  cursor: pointer;
}

.audio-controls button:hover {
  background: white;
  color: black;
}

#volumeSlider {
  width: 80px;
  accent-color: white;
}

/* =========================
   SIDEBAR BUTTONS
========================= */
.sidebar button {
  width: 100%;
  padding: 16px;

  font-size: 16px;
  font-family: inherit;
  text-transform: lowercase;
  letter-spacing: 1px;

  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);

  color: white;
  text-align: left;

  cursor: pointer;
}

.sidebar button:hover {
  background: white;
  color: black;
}

.sidebar button.active {
  background: white;
  color: black;
}

/* =========================
   GALLERY
========================= */
.content {
  position: absolute;
  top: 0;
  left: 280px;
  right: 0;

  padding: 20px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.content img {
  width: 100%;
  height: 280px;
  object-fit: cover;

  opacity: 0.65;
  cursor: pointer;

  transition: 0.2s;
}

.content img:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* =========================
   IMAGE VIEWER
========================= */
#viewer {
  position: fixed;
  inset: 0;

  display: none;
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.95);
}

#viewer img {
  max-width: 92vw;
  max-height: 92vh;
}

/* =========================
   HOME CENTER
========================= */
.home-center {
  position: absolute;

  top: 160px;
  left: 52%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   HOME PANELS
========================= */
.info {
  width: 360px;
  padding: 24px;

  font-size: 18px;
  line-height: 1.6;

  text-align: center;

  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.2);

  color: rgba(255,255,255,0.9);
}

.about {
  width: 360px;
  padding: 24px;

  margin-top: 420px;

  font-size: 14px;
  line-height: 1.6;

  text-align: center;

  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.2);

  color: rgba(255,255,255,0.75);
}

/* =========================
   SOCIAL BUTTONS
========================= */
.home-socials {
  margin-top: 220px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.home-socials button {
  width: 360px;
  padding: 14px;

  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.2);

  color: white;
  cursor: pointer;

  text-align: center;
}

.home-socials button:hover {
  background: white;
  color: black;
}