@font-face {
	font-family: Matter;
	src: url('../fonts/matter/Matter-Regular.woff2');
	src: url('../fonts/matter/Matter-Regular.woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: Matter;
	src: url('../fonts/matter/Matter-SemiBold.woff2');
	src: url('../fonts/matter/Matter-SemiBold.woff');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: Matter;
	src: url('../fonts/matter/Matter-SemiBoldItalic.woff2');
	src: url('../fonts/matter/Matter-SemiBoldItalic.woff');
	font-weight: 600;
	font-style: italic;
}

/*
 * OVERALL
 */
body {
	font-family: Matter, sans-serif;
	font-size: 20px;
	line-height: 1.5;
	color: #1D1F20;
	font-weight: 400;
	font-style: normal;
	align-self: stretch;
}

h1 {
	align-self: stretch;
	font-size: 40px;
	font-weight: 600;
	padding: 0 10px;
}

a {
	color: #1D1F20;
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 125%; /* 20px */
	padding: 20px;
}

a:hover {
	opacity: 0.8;
}

.logo {
	filter: invert(95%) sepia(7%) saturate(59%) hue-rotate(169deg) brightness(91%) contrast(100%);
	position: fixed;
	bottom: 48px;
}

#bnpl-waiting-container-mobile {
	display: none;
}

.waiting-screen-section {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}



@media screen and (max-width: 767.98px) {
	body {
		font-size: 16px;
		line-height: 125%; /* 20px */
	}

	h1 {
		font-size: 24px;
		line-height: 118%; /* 28.32px */
	}


	#bnpl-waiting-container-desktop {
		display: none;
	}
	#bnpl-waiting-container-mobile {
		display: block;
	}
}

/*
 * DESKTOP
 */
#bnpl-waiting-container-desktop {
	max-width: 600px;
	margin: 80px auto 0;
}

#desktop-qr-container {
	width: 392px;
	height: 392px;
	padding: 36px;
	border-radius: 16px;
	border: 4px #EFF0F1 solid;
	margin: 24px 0 48px;
}

#desktop-qr-container img {
	width: 100%;
	height: 100%;
}

#desktop-waiting-section h1 {
	margin: 120px 0 96px;
}

#desktop-spinner {
	margin-bottom: 96px;
}

@media screen and (max-height: 920px) {
	.desktop-logo {
		position: static;
		padding: 48px 0;
	}
}


/*
 * MOBILE
 */

.mobile-waiting-screen-section {
	padding: 32px;
}

.mobile-icon-container {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 16px;
	border: 1px solid #E5E6E7;
	width: 80px;
	height: 80px;

	margin: 72px 0 48px;
}

.button {
	display: flex;
	height: 56px;
	padding: 12px 16px;
	justify-content: center;
	align-items: center;
	align-self: stretch;

	border-radius: 32px;
	background: #8C5AC8;
	color: #fff;
}

#bnpl-link {
	margin: 48px 0 24px;
}

#mobile-link-section .small-spinner-container {
	height: 56px;
	margin: 48px 0 24px
}

@media screen and (max-height: 660px) {
	.mobile-logo {
		position: static;
		padding: 48px 0;
	}
}


/*
 * SPINNERS
 */
.small-spinner {
	-webkit-animation:spin 1s linear infinite;
	-moz-animation:spin 1s linear infinite;
	animation:spin 1s linear infinite;
	width: 32px;
	height: 32px;
}


.spinner-container {
	height: 160px;
	width: 160px;
	position: relative;
}
.spinner-container .text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.spinner {
	-webkit-animation:spin 1s linear infinite;
	-moz-animation:spin 1s linear infinite;
	animation:spin 1s linear infinite;
}

@-moz-keyframes spin {
	100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
		transform:rotate(360deg);
	}
}
