:root {
  --navbar-height: 48px;
  --navbar-bg: #2b2b2b;
  --gap: 6px;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: linear-gradient(
        to bottom right,
        rgba(35, 39, 49, 1),
        rgba(22, 24, 27, 1));
  background-attachment: fixed;
}

body {
  margin: 0;
  padding-top: var(--navbar-height);
  color: #eee;
  font-family: Arial, Helvetica, sans-serif;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  background: linear-gradient(
        to bottom right,
        rgba(12, 14, 16, 0.75),
        rgba(26, 29, 36, 0.8));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,.40);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;
}

.navbar .logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.navbar .logo img {
  height: 36px;     
  width: auto;
  display: block;
  margin-top: 4px;
  margin-left: -4px;
}

.navbar nav {
    flex-shrink: 0;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  position: relative; top: 3px;
  gap: 32px;
  margin: 0;
  padding: 0 8px;
}

.navbar nav a {
  font-family: 'Teko', sans-serif;
  color: #ccc;
  text-decoration: none;
  font-size: 1.5rem;
}

.navbar nav a:hover {
  color: #fff;
}

#gallery {
  position: relative;
  margin: var(--gap);
}

.tile {
  position: absolute;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile .pano-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .7rem;
  padding: 2px 7px;
  border-radius: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.active { 
    display: flex; 
}

.lightbox-content {
    position: relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:92vw;
    min-height:92vh;
    overflow:hidden;
}

.lightbox-content img {
    display:block;
    max-width:92vw;
    max-height:92vh;
    transition:opacity .25s ease;
}

.lightbox-content iframe {
  max-width: 92vw;
  max-height: 92vh;
  border: 0;
}

.lightbox-close {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
    pointer-events:auto;
  color: rgba(255,255,255,0.22);
  font-size: 3.0rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover {
  color: rgba(255,255,255,1);
}

.lightbox-arrow {
  color: rgba(255,255,255,0.22);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 12px 18px;
  user-select: none;
  z-index: 2001;
  transition: color .2s ease;
}

.lightbox-arrow:hover {
  color: rgba(255,255,255,1);
}

.lightbox-prev { left: 4px; }
.lightbox-next { right: 4px; }

@font-face {
  font-family: 'Teko';
  src: url('/fonts/teko-v23-latin-regular.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}