body {
  margin: 0;
  font-family: helvetica, sans-serif;
  background: white;
  color: white;
  overflow: hidden;
}

/* Full-width top nav */
.nav-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 12px;
  z-index: 20;
  box-sizing: border-box;
}

.nav-bar a {
  color: black;
  text-decoration: none;
}
.nav-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://i.imgur.com/OI5q2Um.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
}
.nav-bar a:visited {
  color: black;
  text-decoration: none;
}
.nav-bar a:hover {
  color: black;
  text-decoration: none;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-title {
  font-size: 18px;
  color: black;
  letter-spacing: -1px;
  white-space: nowrap;
}

.container {
  position: relative;
  top: 60px;
  width: 100vw;
  height: calc(100vh - 60px);
}

#image-wrapper {
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

#image-wrapper.reveal {
  background: white;
}

.image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.image.reveal {
  position: relative;
  width: 400px;
  height: auto;
  object-fit: contain;
  z-index: 10;
}

.grid {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(40, 2.5vw);
  grid-template-rows: repeat(30, 2.5vw);
  z-index: 5;
}

.cell {
  background: white;
  box-shadow: inset 0 0 0 0.25px #ccc;
}

.controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 14px;
  z-index: 10;
}

button {
  background-color: white;
  border: 1px solid black;
  padding: 8px 20px;
  font-size: 13px;
  font-family: Helvetica, sans-serif;
  cursor: pointer;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  color: black;
}

button:hover {
  background-color: black;
  color: white;
}

#reveal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  display: none;
  justify-content: center;
  align-items: center;
}

#reveal-button {
  font-size: 16px;
  padding: 12px 32px;
}
