:root {
  --black: #353535;
  --white: #fff;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: "Times New Roman", Times, serif;
  line-height: 2em;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
}

main {
  flex: 1 0 auto;
  font-size: 1.8em;   
}

@media (min-width: 768px) {
  main {
    font-size: 2em;
  }
}


a {
  color: inherit;
}

.caption {
  font-size: 0.5em;
  text-transform: uppercase;
}

.footer {
  line-height: 1.2;
  margin-top: 1em;
}

/* base: mobile & tablet (up to <992px) */
.poster-img {
  display: block;
  width: 100%;    
  max-width: 100%; 
  height: auto;
}

/* desktop: */
@media (min-width: 992px) {
  .poster-img {
    width: 100%;
    max-height: 100vh;
    object-fit: contain;
  }
}