.md-overlay-wrapper {
  align-items: center;
  justify-content: center;
  display: flex;
  left: 0;
  top: 0;
  z-index: 1000;

  &[data-fullscreen='false'] {
    position: absolute;
    height: 100%;
    width: 100%;
  }

  &[data-fullscreen='true'] {
    position: fixed;
    height: 100vh;
    width: 100vw;
  }

  &[data-color='primary'] {
    background-color: var(--mds-color-theme-common-overlays-primary-normal);
  }

  &[data-color='secondary'] {
    background-color: var(--mds-color-theme-common-overlays-secondary-normal);
  }
}
