/* Bisness login background composition, prepared for the Virmel holding page.
   Use on a page with background: #000. Add aria-hidden="true" to the wrapper.
   Markup:
   <div class="virmel-background" aria-hidden="true">
     <img src="assets/bisness-auth-bg.webp" alt="">
   </div>
   Keep foreground content position: relative; z-index: 1.
*/
.virmel-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.virmel-background img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: scaleY(-1);
  filter: brightness(.5);
  mask-image: linear-gradient(to right, transparent 50%, #000 50%);
  -webkit-mask-image: linear-gradient(to right, transparent 50%, #000 50%);
}
.virmel-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./bisness-auth-corner.svg') center / 100% 100% no-repeat;
}
@media (max-width: 639px) {
  .virmel-background::before,
  .virmel-background img { opacity: .2; }
}
