@use "./_keyframes.scss";

.bimdata-loading {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--color-white);
  font-family: var(--primary-font);
  z-index: 2;
  &::after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    opacity: 0.9;
    z-index: -1;
  }
  &--square {
    width: 20px;
    height: 20px;
    position: relative;
    border: 2px var(--color-white) solid;
    animation: bimdataloading 1.4s linear infinite;
  }
  &--text {
    margin-top: 12px;
    display: block;
  }
  p {
    text-align: center;
    margin: 0;
  }
}
