/* ==========================================================================
   Osmo Supply — Falling 2D Elements (Matter.js)
   Unveraendert uebernommen. Hier bitte nichts umbauen.
   ========================================================================== */

.section-resource {
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100svh;
  padding: 2vw;
  display: flex;
  overflow: hidden;
  position: relative;
}

.resource-name__svg {
  width: 100%;
}

.canvas-matter {
  width: 100%;
  margin-bottom: 0;
  position: absolute;
  bottom: 0%;
  left: 0%;
  overflow: hidden;
  pointer-events: none;
}

.canvas-matter__before {
  padding-top: 100%;
}

.canvas-matter__target {
  transform: scale3d(1none, 1none, 1none);
  transform-style: preserve-3d;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

#canvas-target canvas {
  position: relative;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  max-width: unset;
  pointer-events: all;
  max-width: calc(100% + 2px);
  max-height: calc(100% + 2px);
  min-width: calc(100% + 2px);
  min-height: calc(100% + 2px);
}
