#change-portrait, #change-phone {
	top: 0;
	left: 0;
	position: fixed;
	height: 100%;
	width: 100%;
	display: none;
	z-index: 6;
	font-size: 28px;
	background-color: #F3F4EF;
	color: #762322;
}
#change-portrait div, #change-phone div {
	width: calc(100% - 60vh - 13vw);
	position: absolute;
	top: 50%;
	left: 5vw;
	transform: translateY(-50%);
}
#change-portrait img, #change-phone img {
	display: block;
	height: 60vh;
	width: 60vh;
	position: absolute;
	right: 24px;
	top: 50%;
	right: 5vw;
	transform: translateY(-50%);
}
@media screen and (orientation: landscape) {
	#change-portrait {
		display: block;
	}
}
@media screen and (min-width: 800px) and (min-height: 600px) {
	#change-phone {
		display: block;
	}
}

#loading {
	position: fixed;
	backface-visibility: hidden;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	text-align: center;
	color: #fff;
	transition: .2s opacity ease-in-out;
	z-index: 6;
	padding-top: 30vh;
	background-color: #772524;
}
#loading-tutorial {
	position: absolute;
	top: 0px;
	left: 0px;
	min-width: 100%;
	min-height: 100%;
	backface-visibility: hidden;
	text-align: center;
	color: #fff;
	padding-top: 20vh;
	transition: 0.3s opacity ease-in-out;
	background-color: #772524;
}
#loading-tour-card {
	position: absolute;
	top: 0px;
	left: 0px;
	min-width: 100%;
	min-height: 100%;
	backface-visibility: hidden;
	text-align: center;
	color: #000;
	padding-top: 25%;
	transition: 0.3s opacity ease-in-out;
	background-color: #F3F4EF;
}
#loading-card {
	border-radius: 16px;
	position: absolute;
	top: 2px;
	left: 4px;
	min-width: calc(100% - 8px);
	min-height: calc(100% - 2px);
	backface-visibility: hidden;
	text-align: center;
	color: #000;
	padding-top: 25%;
	transition: 0.3s opacity ease-in-out;
	background-color: #F3F4EF;
	z-index: 3;
}
.hidden {
	opacity: 0;
}
.spinner {
	animation: rotator 1.2s linear infinite;
	margin-bottom: 16px;
}
.spinner circle {
	stroke-dasharray: 187;
	stroke-dashoffset: 0;
	transform-origin: center;
	animation: dash 1.2s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}
@keyframes rotator {
	0% {
		transform: rotate(0);
	}
	100% {
		transform: rotate(270deg);
	}
}
@keyframes dash {
	0% {
		stroke-dashoffset: 187;
	}
	50% {
		stroke-dashoffset: 46.75;
		transform: rotate(135deg);
	}
	100% {
		stroke-dashoffset: 187;
		transform: rotate(450deg);
	}
}
@keyframes colors {
	0% {
		stroke: #4285F4;
	}
	25% {
		stroke: #DE3E35;
	}
	50% {
		stroke: #F7C223;
	}
	75% {
		stroke: #1B9A59;
	}
	100% {
		stroke: #4285F4;
	}
}
@supports ((-webkit-backdrop-filter: saturate(180%) blur(8px)) or (backdrop-filter: saturate(180%) blur(8px))) {
	#loading {
		-webkit-backdrop-filter: saturate(180%) blur(8px);
		backdrop-filter: saturate(180%) blur(8px);
		background-color:rgba(25, 25, 25, 0.75);
	}
}
.card-image-error {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
	background-position: center 50%;
	background-repeat: no-repeat;
	background-size: 56px;
}
.card-image-error:after {
	content: 'Error loading image';
	line-height: 20px;
	display: block;
	position: absolute;
	top: calc(50% + 38px);
	left: 50%;
	transform: translateX(-50%);
}

#message-container {
	position: fixed;
	background-color: rgba(0, 0, 0, .75);
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 999;
}
#message-container > div {
	position: absolute;
	top: 50%;
	left: 16px;
	right: 16px;
	transform: translateY(-50%);
	background-color: #fff;
	border-radius: 8px;
	padding: 12px;
}

#message-container > div > div {
	background-color: #772524;
	color: #fff;
	width: 100%;
	padding: 6px;
	text-align: center;
	border-radius: 4px;
	margin-top: 3px;
}