/*
See https://stackblitz.com/edit/angular-splash-screen?file=src%2Fapp%2Fapp.component.ts,src%2Fmain.ts,src%2Fpolyfills.ts,src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.module.ts,src%2Findex.html
inline spinner styles to be able to display spinner right away
*/

body,
html {
	height: 100%;
}

/* ###### TYPOGRAPHY DEFINITION - START ###### */
/* Copy from typography-override */
@font-face {
  font-family: 'Industry', sans-serif;
  font-weight: 400;
  font-style: normal;
  src: url("src/assetsy/Industry-Book.woff2") format("woff2");
}

.mat-headline-6 {
  font-family: 'Industry', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.5rem;
  letter-spacing: 0.011rem;
}
/* ###### TYPOGRAPHY DEFINITION - END ###### */

.app-loading-message {
	height: 0;
  margin-top: 200px;
  position: absolute;
}

.app-loading {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.app-loading .logo {
  height: 0;
  margin-top: -100px;
  position: relative;
}

.app-loading .spinner {
	height: 200px;
	width: 200px;
	animation: rotate 2s linear infinite;
	transform-origin: center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

.app-loading .spinner .path {
	stroke-dasharray: 1, 200;
	stroke-dashoffset: 0;
	animation: dash 1.5s ease-in-out infinite;
	stroke-linecap: round;
	stroke: #ddd;
}

@keyframes rotate {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0;
	}
	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35px;
	}
	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -124px;
	}
}
