
$shadow_sizes: (
  large: 1.25rem 1.375rem 4.75rem,
  normal: 1.25rem 1.375rem 2.75rem,
  small: 1.25rem 1.375rem 2rem,
);

$shadow_opacity: (
  hard: 0.92,
  normal: 0.42,
  light: 0.22
);

$glow_opacity: (
  hard: 0.22,
  normal: 0.42,
  light: 0.92
);

.xtd-shadow{
  @each $size, $size_value in $shadow_sizes{
    &--#{$size}{
      @each $opacity, $opacity_value in $shadow_opacity{
        &-#{$opacity}{
          box-shadow: $size_value 0rem rgba(0,0,0,$opacity_value) !important;
        }
      }
    }
  }
}

.xtd-glow{
  @each $size, $size_value in $shadow_sizes{
    &--#{$size}{
      @each $opacity, $opacity_value in $glow_opacity{
        &-#{$opacity}{
          box-shadow: $size_value 0rem rgba(255,255,255,$opacity_value);
        }
      }
    }
  }
}

$text_shadow_sizes: (
  large: 1px 1px 3.5rem,
  normal: 1px 1px 2rem,
  small: 1px 1px 1rem,
);

.xtd-text-shadow{
  @each $size, $size_value in $text_shadow_sizes{
    &--#{$size}{
      @each $opacity, $opacity_value in $shadow_opacity{
        &-#{$opacity}{
          text-shadow: $size_value rgba(0,0,0,$opacity_value);
        }
      }
    }
  }
}
