* {
  box-sizing: border-box;
  /* hard reset margins */
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  background: white;
  padding: 2em;
}

#container {
  background: white;
  overflow: hidden;
  position: fixed;
  /* center content: */
  display: grid;
  place-content: center;
  /* offset from body by 50px */
  inset: 0px;
  z-index: 2;
  transition: opacity 250ms ease-out;
  opacity: 1;
}
#container.hidden{
  opacity: 0;
  pointer-events: none;
}

#content {
  position: absolute;
  user-select: none;
  transition: transform 1s cubic-bezier(0.33, 1, 0.68, 1), opacity 250ms ease-out;
  will-change: transform;
  opacity: 0;
  cursor: pointer;
}

#content.visible {
  opacity: 1;
}
