@font-face {
	font-family: Apercu;
	font-display: swap;
	font-weight: 300;
	src: url('./Apercu-Light-Pro.woff2') format('woff2'),
		url('./Apercu-Light-Pro.woff') format('woff');
}

@font-face {
	font-family: Apercu;
	font-display: swap;
	font-weight: 400;
	src: url('./Apercu-Regular-Pro.woff2') format('woff2'),
		url('./Apercu-Regular-Pro.woff') format('woff');
} 

* {
	box-sizing: border-box;
}

html,
body {
	font-size: 16px;
	background-color: #fff;
	color: #000;
	height: 100%;
	margin: 0;
	font-family: 'Apercu', Arial, Helvetica, sans-serif;
}

body {
	height: 100%;
	display: flex;
	flex-direction: column;
	margin: 0;
}

#root {
	flex: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	margin: 0;
}

.container {
	align-items: center; 
	display: flex; 
	justify-content: center; 
	height: 100%;
}

.generic-error-block {
	display: flex;
	flex-direction: column;
	font-family: Apercu;
	-webkit-box-align: center;
	align-items: center;
	white-space: pre-wrap;
	text-align: center;
	position: relative;
	margin: 2.5rem 1rem 0px;
	margin-top: -15vh;
}

.generic-error-block__heading {
	font-size: 2rem;
	font-weight: 300;
	line-height: 120%;
}

.generic-error-block__text {
	margin: 0.5rem 0px 1.5rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 130%;
}

.generic-error-block__img {
	width: 100%;
	max-width: 512px;
}

.generic-error-block__button {
	margin-top: 4.5rem;
	margin-bottom: 2.5rem;
	text-decoration: none;
	border-radius: 10rem;
	font-family: inherit;
	font-weight: 400;
	font-style: normal;
	font-size: 1rem;
	height: 2.75rem;
	display: flex;
	-webkit-box-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	align-items: center;
	border-style: solid;
	border-width: 2px;
	letter-spacing: 0px;
	width: auto;
	text-align: center;
	white-space: nowrap;
	padding: 0px 1.75rem;
	background: rgb(130, 35, 210);
	border-color: rgb(130, 35, 210);
	color: rgb(255, 255, 255);
	cursor: pointer;        
}

@media only screen and (min-width: 600px) {
	.generic-error-block {
		margin-left: 1.5rem;
		margin-right: 1.5rem;
	}

	.generic-error-block__heading {
		font-size: 3rem;
		line-height: 110%;
	}

	.generic-error-block__text {
		font-size: 1.5rem;
		font-weight: 300;
		margin: 1rem 0px 0.5rem;
	}

	.generic-error-block__button {
		margin-top: 1.5rem;
	}
} 