// -----[ MIXINS ]-------------------------------------------------------------
$source: '../img/';

@mixin img-url ($url){
	background-image: url($source + $url);
}

@mixin single-transition {
	transition: all ease-out 150ms
}

//line top/bottom
%short-line {
	position: relative;

	&::before {
		background: #384862;
		content: '';
		height: 4px;
		left: 0;
		position: absolute;
		top: 0;
		width: 75px;
	}
}

//shape
%shape-small {
	position: relative;

	&::before {
		background: no-repeat 0 0;
		@include img-url('bg/shapes/small.svg');
		content: '';
		height: 283px;
		left: calc(50% - 200px);
		position: absolute;
		top: 50%;
		width: 175px;
		z-index: 1;
	}
}

%circle-dot {
	position: relative;

	&::before {
		background: #313d51;
		border: 4px solid $white;
		border-radius: 100%;
		box-shadow: 0 0 0 2px #313d51;
		content: '';
		height: 15px;
		left: 0;
		margin: 0 auto;
		position: absolute;
		right: 0;
		top: -7px;
		width: 15px;
	}
}

%double-arrow {
	position: relative;

	&::after {
		background-repeat: no-repeat;
		bottom: -22px;
		content: '';
		height: 11px;
		left: 0;
		margin: 0 auto;
		position: absolute;
		right: 0;
		width: 46px;
	}
}