:root {
	--colore_bianco: #ffffff;
	--colore_testi: #231f20;
	--colore_giallo: #f8ca17;
	--colore_oro: #86754F;
	--transition: .4s;
}
@font-face {
	font-family: 'Tisa';
	src: url('../font/TisaSansPro.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
body, html {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	background-color: var(--colore_giallo);
	font-family: 'Tisa';
	color: var(--colore_testi);
	/*overflow: hidden;*/
}
/* font-size */
h1 {
	font-size: calc(16px + (40 - 16) * ((100vw - 320px) / (1920 - 320))) !important; line-height: 150% !important;
}
h3,
h4,
.intro {
	font-size: calc(13px + (26 - 13) * ((100vw - 320px) / (1920 - 320))) !important; line-height: 150% !important;
}
#popup,
.button,
#nav-step a {
	font-size: calc(12px + (26 - 12) * ((100vw - 320px) / (1920 - 320))) !important; line-height: 150% !important;
}
.counter-steps {
	font-size: calc(12px + (22 - 12) * ((100vw - 320px) / (1920 - 320))) !important; line-height: 150% !important;
}
.language {
	font-size: calc(10px + (18 - 12) * ((100vw - 320px) / (1920 - 320))) !important; line-height: 150% !important;
}
@media (min-width: 1920px) {
	h1 {
		font-size: 40px !important;
	}
	h3,
	h4,
	.intro {
		font-size: 26px !important;
	}
	#popup,
	.button,
	#nav-step a {
		font-size: 26px !important;
	}
	.counter-steps {
		font-size: 22px !important;
	}
	.language {
		font-size: 18px !important;
	}
}
/* font-size */
a {
	text-decoration: underline;
	color: var(--colore_testi);
	transition: var(--transition);
}
.language {
	font-weight: 100;
	font-style: italic;
	display: inline-block;
	margin-top: 30px;
}
.language:hover {
	color: var(--colore_oro);
}
h4 {
	font-weight: 100;
	line-height: unset !important;
}
h1,
h3,
h4 {
	margin: 0;
}
h3 {
	margin-bottom: 40px;
}
#logo {
	max-width: 550px;
	width: 40%;
	margin: 0 auto 30px auto;
}
#logo img {
	width: 100%;
}
.container-video {
	width: 100%;
	min-height: -moz-available;
	min-height: -webkit-fill-available;
	min-height: fill-available;
	min-height: 100%;
	text-align: center;
	overflow: hidden;
	position: relative;
}
.container-video,
.quiz,
.quiz-text-container,
.counter-steps,
.answer,
#nav-step,
#popup {
	display: none;
}
video {
	width: 100%;
	max-height: 100%;
	border: 0;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.quiz-text-container,
.counter-steps {
	text-align: left;
}
.quiz-text,
.container-answer {
	padding: 0 30px;
	max-width: 1040px;
	width: calc(100% - 60px);
	margin: 0 auto;
}
.quiz {
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
}
.container-interno,
.container-iniziale {
	/*
	width: 100%;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	*/
	display: flex;
	height: calc(100% - 60px);
	flex-direction: column;
	justify-content: center;
	overflow-y: auto;
	position: relative;
	z-index: 90;
	padding: 30px 60px;
}
.container-iniziale {
	max-width: 980px;
	width: calc(100% - 120px);
	text-align: center;
	align-items: center;
	margin: 0 auto;
	padding: 15px 60px;
	height: calc(100% - 30px);
}
.intro {
	margin-top: 15px;
	margin-bottom: 50px;
}
.quiz::before {
	content: "";
	opacity: 0.06;
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 100%;
	height: 100%;
	max-width: 1920px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 90%;
	background-image: url("../img/logo-big.png");
}
.options {
	margin-left: 0;
	padding-left: 30px;
	list-style-type: none;
}
.options li {
	position: relative;
	margin-bottom: 25px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
}
.options li h4 {
	cursor: pointer;
	position: relative;
	padding-left: 4%;
	z-index: 10;
	display: inline-block;
	margin-top: -3px;
	margin-left: -2.5%;
	line-height: unset !important;
}
.options li span::before {
	content: "";
	display: block;
	padding-bottom: 100%;
}
.options li span,
.options li span::after {
	content: "";
	border-radius: 50%;
	position: absolute;
	top: 0px;
	left: 0px;
}
.options li span {
	width: 2.2%;
	background-color: var(--colore_bianco);
	border: 2px solid var(--colore_testi);
	z-index: 2;
	position: relative;
	top: unset;
	left: unset;
	display: inline-block;
}
.options li span::after {
	width: calc(100% - 10px);
	height: calc(100% - 10px);
	margin: 3px;
	background-color: var(--colore_testi);
	border: 2px solid var(--colore_testi);
	opacity: 0;
	transition: var(--transition);
	z-index: 5;
}
.options li.active span::after {
	opacity: 1;
}
#popup {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgb(35, 31, 32, .9);
	z-index: 99;
}
.container-popup {
	background-color: var(--colore_bianco);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 4% 5%;
	max-width: 700px;
	width: 60%;
	border-radius: 25px;
	text-align: center;
}
.container-popup .text {
	height: 90%;
	overflow-y: auto;
	text-align: left;
	margin-bottom: 60px;
}
.chiudi-popup {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
}
.counter-steps {
	font-weight: bold;
	color: var(--colore_oro);
	margin-bottom: 15px;
}
.button,
#nav-step a {
	text-decoration: none;
	color: var(--colore_bianco);
	background-color: var(--colore_oro);
	border-radius: 8px;
	padding: 9px 60px 5px 60px;
	min-width: calc(20% - 120px);
	display: inline-block;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: .5px;
	box-shadow: 6px 6px 12px var(--colore_oro);
	transition: var(--transition);
}
.button:hover,
#nav-step a:hover {
	opacity: .9;
}
#nav-step {
	position: relative;
	max-width: 1800px;
	width: 100%;
	z-index: 90;
	margin-bottom: -15px;
	margin-left: auto;
	margin-right: auto;
}
#nav-step .prev span {
	transform: scale(-1);
	position: relative;
	top: -6px;
	display: inline-block;
}
#nav-step a {
	margin: 15px;
}
#ruota-schermo {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: var(--colore_giallo);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	z-index: -1;
	transition: var(--transition);
}
#ruota-schermo h1 {
	font-size: 26px !important;
	text-transform: uppercase;
}
#ruota-schermo img {
	width: 35%;
	margin-bottom: 30px;
}
/* media query */
@media (max-height: 400px) {
	.container-interno,
	.container-iniziale {
		justify-content: flex-start;
		overflow-y: auto;
	}
	#logo {
		width: 30%;
		margin: 0 auto 15px auto;
	}
	.intro {
		margin-bottom: 15px;
	}
	.language {
		margin-top: 15px;
	}
	.counter-steps {
		margin-bottom: 5px;
	}
	h3 {
		margin-bottom: 15px;
	}
	.options li {
		margin-bottom: 18px;
	}
	.option li h4 {
		margin-top: 0px;
	}

	.options li span::after {
		width: calc(100% - 8px);
		height: calc(100% - 8px);
		margin: 2px;
	}
	#nav-step .prev span {
		top: -3px;
	}
	.container-popup {
		border-radius: 18px;
		top: 15px;
		bottom: 15px;
		transform: translateX(-50%);
		padding: 3% 4%;
		border-radius: 15px;
	}
	.container-popup .text {
		height: calc(94% - 30px);
	}
	.chiudi-popup {
		bottom: 20px;
	}
}
@media (orientation: portrait) {
	#ruota-schermo {
		opacity: 1;
		z-index: 999999;
	}
}