@import "./fonts.scss";

body {
	margin: 0;
	padding: 0;
	min-width: 320px;
	font-family: $font;
	font-size: 18px;
	line-height: 1.28;
	color: $text-main;
	background-color: $bg-main;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	@media (max-width: $mobile) {
		font-family: $font-mobile;
	}
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.page-content {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding-top: 90px;
	min-height: 100vh;
	min-height: calc(var(--vh, 1vh) * 100);

	@media (max-width: $mobile) {
		padding-top: 60px;
	}
}

.page-content__inner {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.readers-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	white-space: nowrap;
	clip-path: inset(100%);
	clip: rect(0 0 0 0);
	overflow: hidden;
}

.zero-wrapper {
	width: 100%;
}

.error-block {
	background: #194965;
	div {
		white-space: pre;
		font-family: monospace;
		padding: 0 32px 16px;
		color: #ccdde8;
	}
}
