@media (max-width: 768px) {
  html, body {
    height: 100%;
    overflow: auto;
  }

  header#headerTitle {
    font-size: clamp(1.5rem, 7vw, 4rem);
    height: 12vh;
  }

  .image-container {
    height: auto;
    max-height: 48vh;
    padding-top: 1vh;
    padding-bottom: 1vh;
    box-sizing: border-box;
  }

  #sluggy-wrapper {
    height: 100%;
    max-height: 48vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  #sluggy-img {
    max-height: 100%;
    max-width: 90vw;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
  }

  #slug-fact {
    max-height: 13vh;
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.4;
  }

  .footer-toolbar {
    height: 8vh;
    font-size: 1.2rem;
  }

  #factModal:not(.show),
  #submitModal:not(.show),
  #shareModal:not(.show),
  #loginModal:not(.show) {
    display: none !important;
  }
}