//
// Scaffolding
// --------------------------------------------------

html {
	font-size: 10px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	font-family: $font-family-base;
	font-size: $font-size-base;
	line-height: $line-height-base;
}

input,
button,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

a {

	color: #ec5840;
	text-decoration: underline;

	&:hover,
	&:focus {
		text-decoration: $link-hover-decoration;
	}
}

figure {
	margin: 0;
}
img {
	vertical-align: middle;
}

[role="button"] {
	cursor: pointer;
}

.circle {

	.knob-button {
		padding: 2%;
		border-radius: 50%;
	}
}

.bordered {
	.knob-button {
		border: 1px solid;
	}
}

$baseColor: red;

@mixin darkenBg($baseColor) {
	background-color: $baseColor;

	&:hover {

		background-color: darken($baseColor, 5%)
	}
}


.loading {
	text-align: center;
	svg {
		width: 48px
	}
}

.anim-rotate {
	animation: rotate 1.9s infinite linear;
}

@keyframes rotate {
	from {
		transform: rotate(0) scale(1) skew(1deg) translate(0);
	}

	to {
		transform: rotate(360deg) scale(1) skew(1deg) translate(0);
	}
}