* {
  box-sizing: border-box;
}

:root {
  --sky: rgb(0, 174, 255);
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #fff;
  color: #000;
  overflow: hidden;
}

.bold {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
}

.thin {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 100;
}

.layout {
  height: 100vh;
  width: 100vw;
}

.home-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-header p {
  margin: 0;
  width: 100%;
  line-height: 0.7;
  font-size: 16vw;
  letter-spacing: -0.03em;
}

/* ---------- split panel ---------- */

.split {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
}

.pane {
  min-width: 0;
  height: 100%;
}

#paneLeft {
  flex: 0 0 var(--left, 50%);
}

#paneRight {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.label-view {
  container-type: inline-size;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.image-label {
  margin: 0;
  padding: 0 10px;
  font-size: 34cqw;
  line-height: 1;
  white-space: nowrap;
}

.label-view:hover .image-label {
  color: var(--sky);
}

.gallery {
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0 10px 24px;
}

.thumb {
  width: 100%;
  height: auto;
  display: block;
  background: #d9d9d9;
}

.divider {
  position: fixed;
  top: 0;
  bottom: 0;
  left: var(--left, 50%);
  width: 24px;
  transform: translateX(-50%);
  cursor: col-resize;
  z-index: 50;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
}

.divider::before,
.divider::after {
  content: "";
  width: 0.5px;
}

.divider::before {
  background: red;
}

.divider::after {
  background: var(--sky);
}
