:root {
  --stripe-color: #000;
  --maincolor: var(--bg);
}

@keyframes smoothBg {
  from {
    background-position:
      50% 50%,
      50% 50%;
  }

  to {
    background-position:
      350% 50%,
      350% 50%;
  }
}

.raysContain {
  top: 0;
  z-index: -1;
  width: 100%;
  height: auto;
  position: absolute;
}

.rays {
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  position: absolute;
  display: flex;
  place-content: center;
  place-items: center;
  --solid-color: rgb(70, 70, 70);
  --stripes: repeating-linear-gradient(
    100deg,
    var(--stripe-color) 0%,
    var(--stripe-color) 7%,
    transparent 10%,
    transparent 12%,
    var(--stripe-color) 16%
  );

  --rainbow: repeating-linear-gradient(
    100deg,
    var(--solid-color) 10%,
    var(--solid-color) 15%,
    var(--solid-color) 20%,
    var(--solid-color) 25%,
    var(--solid-color) 30% /* Archived Colors */
      /* #60d9fa 10%,
      #9579f9 15%,
      #60a0fa 20%,
      #b75eea 25%,
      #60e3fa 30% */
  );
  background-image: var(--stripes), var(--rainbow);
  background-size: 300%, 200%;
  background-position:
    50% 50%,
    50% 50%;

  filter: blur(10px) opacity(50%) saturate(200%);

  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);

  &::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--stripes), var(--rainbow);
    background-size: 200%, 100%;
    animation: smoothBg 60s linear infinite;
    background-attachment: fixed;
    mix-blend-mode: difference;
    filter: blur(10px) opacity(50%) saturate(200%);
  }
}
