//# All MIxin style here 

@mixin breakpoint($point) {
    @if $point==xxsmall {
        @media (min-width: 375px) {
            @content ;
        }
    }
    @else if $point==max-xxsmall {
        @media (max-width:374px) {
            @content ;
        }
    }
    @if $point==xsmall {
        @media (min-width: 450px) {
            @content ;
        }
    }
    @else if $point==max-xsmall {
        @media (max-width:449px) {
            @content ;
        }
    }
    @if $point==xxs {
        @media (min-width: 470px) {
            @content ;
        }
    }
    @else if $point==max-xxs {
        @media (max-width:469px) {
            @content ;
        }
    }
    @if $point==xs {
        @media (min-width: 500px) {
            @content ;
        }
    }
    @else if $point==max-xs {
        @media (max-width: 499px) {
            @content ;
        }
    }
    @if $point==sm {
        @media (min-width: 576px) {
            @content ;
        }
    }
    @else if $point==max-sm {
        @media (max-width: 575px) {
            @content ;
        }
    }
    @else if $point==md {
        @media (min-width: 768px) {
            @content ;
        }
    }
    @else if $point==max-md {
        @media (max-width: 767px) {
            @content ;
        }
    }
    @else if $point==lg {
        @media (min-width: 992px) {
            @content ;
        }
    }
    @else if $point==max-lg {
        @media (max-width: 991px) {
            @content ;
        }
    }
    @else if $point==xl {
        @media (min-width: 1200px) {
            @content ;
        }
    }
    @else if $point==max-xl {
        @media (max-width: 1199px) {
            @content ;
        }
    }
    @else if $point==xxl {
        @media (min-width: 1400px) {
            @content ;
        }
    }
    @else if $point==max-xxl {
        @media (max-width: 1399px) {
            @content ;
        }
    }
    @else if $point==xxxl {
        @media (min-width: 1600px) {
            @content ;
        }
    }
    @else if $point==max-xxxl {
        @media (max-width: 1599px) {
            @content ;
        }
    }
    @else if $point==xl2 {
        @media (min-width: 1700px) {
            @content ;
        }
    }
    @else if $point==max-xl2 {
        @media (max-width: 1699px) {
            @content ;
        }
    }
    @else if $point==xl3 {
        @media (min-width: 1800px) {
            @content ;
        }
    }
    @else if $point==max-xl3 {
        @media (max-width: 1799px) {
            @content ;
        }
    }
    @else if $point==xl4 {
        @media (min-width: 1900px) {
            @content ;
        }
    }
    @else if $point==max-xl4 {
        @media (max-width: 1899px) {
            @content ;
        }
    }
}


$space-count: 20;
/*-- Padding Left And Right --*/
@for $i from 1 through $space-count {
    .px-#{5 * $i} {
      padding-right: 5px *$i;
      padding-left: 5px *$i;
    }
  }
  
  /*-- Padding Top And Bottom --*/
  @for $i from 1 through $space-count {
    .py-#{5 * $i} {
      padding-top: 5px *$i;
      padding-bottom: 5px *$i;
    }
  }
  
  /*-- Padding Top --*/
  @for $i from 1 through $space-count {
    .pt-#{5 * $i} {
      padding-top: 5px *$i;
    }
  }
  
  /*-- Padding Bottom --*/
  @for $i from 1 through $space-count {
    .pb-#{5 * $i} {
      padding-bottom: 5px *$i;
    }
  }
  
  /*-- Padding Left --*/
  @for $i from 1 through $space-count {
    .pl-#{5 * $i} {
      padding-left: 5px *$i;
    }
  }
  
  /*-- Padding Right --*/
  @for $i from 1 through $space-count {
    .pr-#{5 * $i} {
      padding-right: 5px *$i;
    }
  }


@mixin before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
}


@mixin flex {
	display: flex;
	align-items: center;
}
@mixin transition {
	transition: all 0.4s ease-in-out;
}

@mixin imgw {
	width: 100%;
	height: 100%;
}

@mixin background-content($repeat: no-repeat, $size: cover, $position: center center) {
	background-repeat: $repeat;
	background-size: $size;
	background-position: $position;
}

@mixin mask-content($repeat: no-repeat, $size: cover, $position: center center, $width: 100%) {
    mask-repeat: $repeat;
    -webkit-mask-repeat: $repeat;   
    mask-size: $size;
    -webkit-mask-size: $size; 
    mask-position: $position;
    -webkit-mask-position: $position; 
    width: $width;
}

@mixin flexbox() {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
} 