/* ===========================
   Palette
   =========================== */
:root {
  --terracotta: #E2725B;
  --clay-brown: #C65D42;
  --dusty-rose: #D8A39D;
  --sage: #A3B18A;
  --deep-sage: #567A5F;
  --warm-sand: #F4E1D2;
  --ivory: #FAF9F6;
  --ink: #1B1B1B;

  --serif: 'DM Serif Text', serif;
  /* --serif: 'STIX Two Text', serif; */
  --sans-serif: 'Inter', sans-serif;
}

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overscroll-behavior: none;
}

html, body
{
    width: 100%;
    height: 100%;
}

div.global-container
{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

div.header-space
{
    width: 100%;
    font-family: 'MonteCarlo', cursive;
    /* font-family: var(--serif); */
    font-size: clamp(1rem, 18vw, 6rem);
    white-space: nowrap;
    line-height: 1;
    z-index: 1;
    color: var(--ivory);
    text-align: center;
    margin-top: 1vh;
    margin-bottom: 7vh;
    opacity: 0.9;
    text-shadow: black 3px 3px;
}
div.header-space-half
{
    height: 10vw;
}
.small-header-text
{
    font-size: 2rem;
    letter-spacing: 1px;
    text-shadow: black 2px 2px;
    opacity: 0.5;
}
div.museum-wall-texture-2
{
  background-image: url('img/textures/museum-wall.jpg');
  background-repeat: repeat;
  /* background-attachment: local; */
}

div.museum-wall
{
    position: relative;
    width: 100%;
    height: 100%;
}

div.museum-wall-inner
{
    position: relative;
    display: flex;
    height: 100%;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth!important;
    gap: calc(10vw + 100px);
    padding-left: 50vw;
    padding-right: 50vw;
}

div.museum-wall-inner::-webkit-scrollbar
{
    display: none;
}

div.image-container
{
    text-align: center;
    scroll-snap-align: center;
    padding-bottom: 10vh;
    position: relative;
    padding-top: 2vh;
}

div.photo
{
    box-shadow: 0 0 100px rgba(0,0,0,0.7), 0 0 100px rgba(0,0,0,0.7) inset;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
}
div.landscape_photo
{
    max-width: 600px;
    width: clamp(0px, 90vw, calc(40vh * (6 / 4))); /* Sets width to 80% of viewport width */
    aspect-ratio: 6 / 4; /* Maintains a 6:4 aspect ratio */
}

div.museum_label
{
    max-width: 300px;
    width: 73vw;
    /* min-height: 150px; */
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    color: rgba(0, 0, 0);
    font-family: var(--serif);
    padding: clamp(0px, 1.5vh, 16px);
    box-shadow: black 4px 4px;
    margin-top: 8vh;
    background-image: url('img/textures/plaster-texture.jpg');
    font-size: clamp(0px, 1.5vh, 16px);
}

div.museum_label h3
{
    letter-spacing: 1.2px;
}

div.scroll-dots
{
    position: fixed;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.scroll-dots .dot
{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--ivory);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.scroll-dots .dot.active
{
    background-color: var(--terracotta);
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
}

.scroll-dots .dot:hover
{
    cursor: pointer;
}

div.footer
{
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-family: var(--sans-serif);
}

.frame {
  max-width: calc(600px + 240px);   /* adjust as needed */
  width: calc(clamp(0px, 90vw, calc(40vh * (6 / 4))) + 25vmin);   /* adjust as needed */
  height: auto;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  pointer-events: none;
}

div.author img.author-image
{
  width: clamp(80px, 30vw, 182px);
  height: auto;
  margin-right: 16px;
  float: inline-start;
}
div.author 
{
  font-family: 'STIX Two Text', serif;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  width: 90vw;
  text-align: justify;
}
img.fleuron
{
  width: 30%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  opacity: 0.8;
  pointer-events: none;
}

a
{
  color: var(--terracotta);
}

a:hover
{
    text-decoration: underline;
}