html,
body {
  margin: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr;
  place-items: end center;
  height: 100vh;
  width: 100vw;
}

.scene {
  position: relative;
  display: grid;
  align-self: end;
  place-items: end center; 
  
  grid-template-rows: min-content;
  line-height: 0;
  
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;

  max-height: 100vh;
  width: fit-content;
}

.scene-fix {
  grid-area: 1 / 1;
  position: relative;
  
  vertical-align: bottom;
  align-self: end;
  
  display: block;
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  
  object-fit: contain;
}