@import url("https://use.typekit.net/jmx1ukq.css");

body {
	position: relative;
	font-family: stolzl, sans-serif;
	color: #000;
	width: 100vw;
	height: 100vh;
	min-height: 100vh;
	min-width: 100vw;
	min-height: -webkit-fill-available;
	background: transparent;
}

html, body {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

model-viewer {
	width: 100%;
	height: 100%;
	z-index: 0;
}

@media only screen and (max-width: 768px) {
	model-viewer {
		padding-bottom: 100px;
	}
}

a {
	color: #000;
	text-decoration: none;
}

.switcher-container {
	position: fixed;
	top: 30px;
	right: 30px;
	width: 100%;
	text-align: right;
	z-index: 2;
}

.switcher-container a.info-button {
	line-height: 44px;
	border-radius: 50px;
	font-size: 22px;
	text-align: center;
	display: inline-block;
	box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
	padding: 5px 10px;
	font-weight: bold;
	z-index: 3;
	position: absolute;
	right: 180px;
	width: 40px;
	top: 0;
	background: #fff;
}

.switcher-container a.info-button img {
	width: 20px;
	padding-top: 15px;
	display: inline-block;
}

.switcher-container a:hover {
	box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2) !important;
}

.switcher-container a.switch-button {
	line-height: 50px;
	border-radius: 50px;
	font-size: 15px;
	text-align: center;
	display: inline-block;
	box-shadow: 0px 4px 30px rgb(0 0 0 / 10%);
	padding: 5px 50px 5px 30px;
	font-weight: bold;
	z-index: 3;
	text-transform: uppercase;
	position: relative;
	background: #fff;
}

.switcher-container a.switch-button::after {
	transition: all 500ms;
	content: "";
	height: 10px;
	width: 15px;
	background-size: contain;
	background-image: url('./assets/caret.svg');
	position: absolute;
	right: 25px;
	top: 50%;
	transform: translateY(-50%) rotate(0);
}

.switcher-container a.switch-button.active::after {
	transform: translateY(-50%) rotate(180deg);
}

.switcher-container-list ul {
	transition: all 500ms;
	position: fixed;
	top: -100vh;
	right: 25px;
	left: 25px;
	list-style: none;
	margin: 0;
	opacity: 0;
	max-width: calc(100% - 50px);
	max-height: 400px;
	background: #fff;
	box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
	border-radius: 20px;
	padding: 30px 20px;
	height: 0;
	overflow-y: scroll;
	z-index: 1;
}

.switcher-container-list ul.active {
	opacity: 1;
	top: 110px;
	height: 50vh;
}

.switcher-container-list ul li {
	display: block;
}

.switcher-container-list ul li a {
	padding: 10px 5px;
	font-size: 18px;
	font-weight: bold;
	display: block;
}

#qr-button, #button-load, .spec-button, .dealer-button {
	transition: all 300ms;
	font-family: stolzl, sans-serif;
	line-height: 40px;
	border-radius: 50px;
	padding: 5px 25px 5px 50px;
	font-size: 16px;
	text-transform: uppercase;
	background-position: 20px center;
	font-weight: normal;
	height: 40px;
	box-shadow: 0px 4px 30px rgb(0 0 0 / 10%);
	background-color: #000;
}

#qr-button:hover{
	background-color: #e73e4b;
}

.spec-button {
	bottom: 0;
	left: 0;
	height: 50px;
	display: inline-block;
	padding: 5px 30px;
	font-size: 15px;
	margin-top: 50px;
	font-weight: bold;
}

.dealer-button {
	bottom: 0;
	left: 0;
	height: 50px;
	display: inline-block;
	padding: 5px 30px;
	font-size: 15px;
	font-weight: bold;
	margin-top: 30px;
}

@media only screen and (max-width: 768px) {
	#qr-button, #button-load {
		font-size: 15px;
		padding-top: 0;
		padding-bottom: 0;
	}
}

#qr-button:hover {
	background: #fff;
	color: #000;
	background-position: 20px center;
	background-image: url('../assets/view_in_ar_black_24dp.svg');
	background-repeat: no-repeat;
}

#qrcode-container {
	height: 95%;
	max-height: 500px;
	width: 95%;
	max-width: 700px;
	left: 0;
	right: 0;
	margin: 0 auto;
	box-shadow: 0px 4px 30px rgb(0 0 0 / 10%);
	background: #fff;
	border-radius: 10px;
	color: #000;
	top: 50%;
	transform: translateY(-50%);
}

.qr-subtitle {
	color: #000;
}

#closeQRbutton {
	top: 15px;
	border-radius: 100%;
	right: 15px;
}

.switcher-container-specs {
	transition: all 500ms;
	position: absolute;
	bottom: -100vh;
	left: 0;
	right: 0;
	margin: 0 auto;
	border-radius: 20px;
	background: #fff;
	height: 50vh;
	min-height: 400px;
	z-index: 1000;
	box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	padding: 50px;
	font-size: 15px;
	line-height: 22px;
	color: #666;
	font-weight: bold;
	padding-top: 80px;
	overflow-y: scroll;
}

.switcher-container-specs.active {
	bottom: 0;
}

.switcher-container-specs h3 {
	margin-bottom: 25px;
	font-size: 25px;
	line-height: 28px;
	color: #000;
	font-weight: bold;
}

.switcher-container-specs {
	font-weight: bold;
}

.switcher-container-specs .close-btn {
	position: absolute;
	padding: 4px;
	top: 25px;
	border-radius: 100%;
	right: 25px;
	z-index: 1010;
	background-color: rgba(0,0,0,1);
	cursor: pointer;
	width: 24px;
	height: 24px;
	background-image: url(../assets/clear-24px.svg);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
