/*
body {
  overflow: hidden;
}
*/

:host {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}

:host.hidden {
  display: none;
}

.background-layer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.8;
  background: var(--color-border);
  z-index: 1;
}

@keyframes side-modal-appear-animation {
  0% {
    opacity: 0;
    margin-right: -100px;
  }
  100% {
    opacity: 1;
    margin-left: 0;
  }
}

:host .content {
  z-index: 1;
  animation: side-modal-appear-animation 0.3s 0s both;
  height: 100%;
  width: 720px;
  background: var(--color-elevated-item-background);
  display: flex;
  overflow: auto;
}
