/*** CSS by Luigi Astarita @ JAM Studio ***/
/* Copyright 2026 JAM Studio */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Variabili  */

:root {
	--c-base: #242730;
	--c-main: #f5bf15;
	--c-grigiobg: #F3F3F3;
	--c-rosso: #EF3340;
	--c-azzurro: #0083E4;
	--c-verde: #4EBA00;
	--c-grigio: #999;
}

body {
	font-family: "Inter", sans-serif;
	color: #FFF;
	background: #141618;
}

h1,
h2,
h3,
h4,
h5,
h6 {}

a {
	color: var(--c-azzurro);
	text-decoration: none;
	transition: color .2s;
}

a:hover {
	color: var(--c-blu);
}

p {
	margin-bottom: 0;
}

.console {
	display: none;
}

/* Limite animazioni */

#visibles {
	position: fixed;
	bottom: 50px;
	width: 100%;
	height: 1px;
	z-index: 1000;
	display: block;
}

@media (max-width: 575.98px) {
	#visibles {
		bottom: 50px;
	}
}

/*** Generale ***/

.container {
	background: #17191b;
}

.header {
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	margin-bottom: 2rem;
}

.header-sx,
.header-dx {
	display: flex;
	align-items: center;
	padding: 1rem;
}

@media (min-width: 992px) {
	.header-dx {
		justify-content: flex-end;
		text-align: right;
	}
}

@media (max-width: 991.98px) {
	.header-sx {
		padding-bottom: 0;
	}

	.header-dx {
		padding-top: 0;
	}
}

.header-sx img {
	width: 170px;
}

@media (max-width: 575.98px) {
	.header-sx img {
		margin-bottom: 1rem;
	}
}

.footer {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .2);
	margin-top: 2rem;
}

.courier {
	font-family: 'Courier New', Courier, monospace;
	text-transform: uppercase;
	font-size: .9rem;
	color: var(--c-grigio);
}

.alert {
	border-radius: 3px;
}

.alert-danger {
	background: var(--c-rossojam);
	border-color: var(--c-rossojam);
	color: #FFF;
}

/*** Inserisci password ***/

.login-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 4rem 1rem;
}

@media (min-width: 992px) {
	.login {
		border-left: 1px solid rgba(255, 255, 255, .2);
	}
}

.login-logo img {
	width: calc(100% - 2rem);
	max-width: 470px;
	height: auto;
}

.login form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	padding: 2rem;
}

.login .eyebrow {
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: .5rem;
}

.login .eyebrow::before {
	content: "";
	display: inline-block;
	background: var(--c-main);
	width: 24px;
	height: 3px;
}

.login h1 {
	font-size: clamp(30px, 4.1vw, 46px);
	font-weight: 700;
}

.login p {
	color: rgba(255, 255, 255, .7);
	margin-bottom: 1rem;
}

.login .input-group {
	background: #202326;
	border-radius: 3px;
	border: 1px solid #3b3e41;
	padding: .4rem;
}

.login .input-group .form-control {
	background: transparent;
	border: none;
	color: #FFF;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	font-size: 1.2rem;
}

.login .input-group .btn {
	background: transparent;
	border: none !important;
	box-shadow: none !important;
	outline: none !important;
	color: #FFF;
}

.login .input-group .btn svg * {
	fill: transparent;
	stroke: var(--c-grigio);
}

.login .btn-enter {
	background: var(--c-main);
	padding: 1rem;
	border: none;
	border-radius: 3px;
	margin-top: 1rem;
	font-weight: 600;
	font-size: 1.2rem;
}

/* Password toggler */

.input-group-pwd .toggle-password {
	padding: 0 .6rem;
}

.input-group-pwd:not(.showpwd) .toggle-password svg:last-of-type,
.input-group-pwd.showpwd .toggle-password svg:first-of-type {
	display: none;
}

.input-group-pwd .toggle-password svg {
	width: 22px;
	height: auto;
	margin-top: -2px;
}

.login .alert {
	margin: 1rem 0 0 0;
}

/* Questionario */

.questionario {
	padding: 1rem 3rem;
}

@media (max-width: 575.98px) {
	.questionario {
		padding: 0 1rem;
	}
}

.questionario .eyebrow {
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: .5rem;
}

.questionario .eyebrow::before {
	content: "";
	display: inline-block;
	background: var(--c-main);
	width: 24px;
	height: 3px;
}

.questionario h1 {
	font-size: clamp(30px, 4.1vw, 46px);
	font-weight: 700;
}

.questionario p {
	color: rgba(255, 255, 255, .7);
	margin-bottom: 1rem;
}

.questionario .btn-enter {
	background: var(--c-main);
	padding: 1rem 3rem;
	border: none;
	border-radius: 3px;
	margin-top: 1rem;
	font-weight: 600;
	font-size: 1.2rem;
}

@media (max-width: 575.98px) {
	.questionario .btn-enter {
		width: 100%;
	}
}

.domanda {
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
	padding: 1.2rem 1.5rem;
	margin-top: 1rem;
}

.domanda-punti {
	float: right;
}

.domanda-titolo {
	font-size: clamp(20px, 2vw, 1.5rem);
	font-weight: 700;
	display: block;
}

.domanda .form-check {
	position: relative;
	padding: 0;
}

.domanda .form-check-input {
	position: absolute;
	top: 1rem;
	left: .9rem;
	margin: 0;
	accent-color: #bc8800;
	border: 1px solid rgba(255, 255, 255, .7);
	background: transparent;
	box-shadow: none;
}

.domanda .form-check-input:checked {
	border-color: var(--c-main);
	/* background: rgba(245, 191, 21, .1); */
}

.domanda .form-check-label {
	border: 1px solid rgba(255, 255, 255, .1);
	padding: .7rem .7rem .7rem 2.5rem;
	margin-top: .4rem;
	display: flex;
	gap: .4rem;
	cursor: pointer;
	color: rgba(255, 255, 255, .7);
}

.domanda .form-check-input:checked+.form-check-label {
	color: #FFF;
	background: #3b3524;
	border: 1px solid var(--c-main);
}

/* Esito */

.esito {
	padding: 1rem 3rem;
	text-align: center;
}

@media (max-width: 575.98px) {
	.esito {
		padding: 0 1rem;
	}
}

.esito .eyebrow {
	font-weight: 400;
	display: flex;
	align-items: center;
	gap: .5rem;
	justify-content: center;
	text-align: center;
	margin-bottom: .5rem;
}

.esito .eyebrow::before {
	content: "";
	display: inline-block;
	background: var(--c-main);
	width: 24px;
	height: 3px;
}

.esito h1 {
	font-size: clamp(30px, 4.1vw, 46px);
	font-weight: 700;
	line-height: 110%;
}

.esito p {
	color: rgba(255, 255, 255, .7);
	margin-bottom: 1rem;
}

.esito .btn-enter {
	background: var(--c-main);
	padding: 1rem 3rem;
	border: none;
	border-radius: 3px;
	margin-bottom: 1rem;
	font-weight: 600;
	font-size: 1.2rem;
}

@media (max-width: 575.98px) {
	.esito .btn-enter {
		width: 100%;
	}
}

.punteggio {
	font-size: 5rem;
	line-height: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding: .5rem 0;
}

.punteggio strong {
	font-size: 5rem;
	line-height: 3.7rem;
}

.punteggio span {
	font-size: 2rem;
	line-height: 2rem;
	opacity: .5;
}

.timbro {
	text-transform: uppercase;
	font-family: 'Courier New', Courier, monospace;
	font-size: 1.4rem;
	padding: .5rem 1rem;
	transform: rotate(-5deg);
	display: inline-block;
	font-weight: 600;
}

.positivo {
	color: var(--c-verde);
	border: 3px solid var(--c-verde);
}

.negativo {
	color: var(--c-rosso);
	border: 3px solid var(--c-rosso);
}



























/*** Logo JAM ***/

.jamstudio {
	--colore-logo: #FFF;
	border: none;
	margin: 2rem auto;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 26px;
	height: 32px;
	overflow: hidden;
	padding: 0;
	transition: width .2s;
}

@media (max-width: 767.98px) {
	.jamstudio {
		width: 232px;
	}
}

.jamstudio:hover {
	width: 232px;
}

.jamstudio svg {
	width: 232px;
	height: 32px;
	flex-shrink: 0;
}

@media (max-width: 767.98px) {
	.jamstudio svg {
		transform: translateX(-19px);
	}
}

.jamstudio svg path,
.jamstudio svg polygon {
	fill: var(--colore-logo);
}