body {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);

  width: 100vw;
  width: calc(var(--vw, 1vw) * 100);

  font-family: system-ui, sans-serif;
  text-align: left;
  background: #ffffff;
  color: #000000;
}

h2 {
  margin-bottom: 20px;
}

h3 {
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
}

a:link {
  color: #606060;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

a:visited {
  color: #909090;
  text-decoration: none;
}


#rotate-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 9999;
  font-size: 1.5rem;
}

.site-header {
  height: 10%;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 5%;
}

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

.lightbox-content {
  display: flex;
  gap: 2rem;
  max-width: 90vw;
  max-height: 90vh;
  align-items: center;
}

#lightbox-img {
  max-width: 60vw;
  max-height: 60vh;
  cursor: zoom-out;
}

#lightbox-text {
  color: white;
  max-width: 30vw;
  font-size: 1rem;
  line-height: 1.4;
}

.container {
  height: 90%;
  display: grid;
  grid-template-columns: 1fr 3fr;
  padding-left: 15px;
  padding-right: 15px;
  gap: 15px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* width: 200px;
  position: sticky;
  top: 0; */
}
  
.content {
  overflow-y: scroll;
  /* padding: 2rem; */
  flex: 1;
}

.gallery {
  height: 300px;
  display: flex;
  flex-direction: row;
  overflow-x: scroll;
  gap: 15px;
}

.item {
  display: flex;
  flex-direction: column;
  /* flex: 0 0 auto;
  height: 100%; */
  align-items: center;
}

.item img {
  cursor: zoom-in;
  height: 200px;
  /* max-height: 30vh; */
  /* max-width: 100%; */
  object-fit: contain;
}

.item p {
  text-align: center;
}

.animated-button {
  position: relative;
  --progress: 0;
  width: 100%;
  aspect-ratio: 5 / calc(1+var(--progress));
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-bottom: 10px;
}

.animated-bg {
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: auto;

  object-fit: cover;
  pointer-events: none;
}

  .img-button {
  
    color: #606060;

    width: 100%;
    aspect-ratio: 5 / 1;
  
    border: none;
    cursor: pointer;
    position: relative;
  
    background-size: 100% auto;
    background-position: center;
  
    font-size: 1rem;

    margin-bottom: 10px;
  }
  
  .img-button.is-off {
    aspect-ratio: 5 / 1;
  }

  /* ON state */
  .img-button.is-on {
    aspect-ratio: 5 / 2;
  }
  
  /* Optional hover feedback */
  .img-button:hover {
    filter: brightness(1.05);
  }
  
