* {
	box-sizing: border-box;
}

body {
	background: #fff3e3;
	margin: 0;
	font-family: 'Merriweather', serif;

}

#playground {
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	position: relative;
}


.slide-container {

	/*min-width: 800px;*/
	max-width: 1440px;
	margin: auto;
	padding: 60px;
	width: 100%;


	box-sizing: border-box;
	display: flex;
	/*align-items: center;*/
	justify-content: center;
	gap: 60px;
	transition: opacity 0.4s;

}



#slide_start .right-block {
	background: url(media/retrat.svg) no-repeat center center;
	background-size: contain;
}

.logo {
	width: clamp(150px, 50vw, 300px);
	margin-bottom: 2rem;

}

#slide_end .logo {
	margin-bottom: 0;
	margin-top: 2rem;
}


.reload{
	display:flex;
	align-items: center;
	margin-left: auto;
	margin-right:auto;
	margin-top:3em;
	margin-bottom:4em;
}
.reload:after{
	content:'';
	background-image: url('media/reload.svg');
	background-size:contain;
	background-repeat:no-repeat;
	width:24px;
	height:24px;
	display:inline-block;
	margin-left: 1em;
}




.question-block {
	flex: 1;

	/*padding: 2rem;*/
	box-sizing: border-box;
	/*display: flex;*/
	flex-direction: column;
	justify-content: center;
}

#slide_start .question-block{
	padding-top: 2rem;
	padding-bottom: 2rem;
}

#slide_end{
	font-size: 1.3em;
	text-align: center;
    width: 75%;
    min-width: 300px;
    max-width: 700px;
}

#slide_end p{
	line-height:1.5;
	color:#422e26;
	margin-bottom:2em;
}

#slide_end p a{
	color:inherit;
	text-decoration:underline;
}


h1 {
	font-family: 'Francois One', sans-serif;
	color: #a23d36;
	font-size: clamp(2rem, 4.5vw, 72px);

	font-weight: normal;
	line-height:1.2;
	margin-top: 0;
	margin-bottom: 2rem;
}

h1.question{
	font-size: clamp(2rem, 3vw, 3rem);
}

.answers {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.answer {
	display: flex;
	align-items: center;
	gap: 20px;
	font-family: 'Merriweather', serif;
	background: transparent;
	border: 5px dotted #422e2688;
	font-size: 1.4rem;
	font-weight: bold;

	padding: 0 0 0 1em;
	font-size: clamp(1.4rem, 2vw, 2rem);

	/*padding: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 3rem);*/



	text-align: left;
	cursor: pointer;
	border-radius: 9999px;
	transition: all 0.2s;
	position: relative;
	outline: none;
	color: #533f34;
}

.answer span {
	flex: 1;
}

.answer:hover:not([disabled]) {
	border-style: solid;
}

.answer .ico_answer {
	flex: 0 0 auto;
	/*position:absolute;
	right:0;
	top:0;      
	height:100%;*/
	width: clamp(1.4rem, 5vw, 5vw);
	aspect-ratio: 1 / 1;
	border-radius: 999px;
	transform: scale(0.8);

}


.answer .ico_answer:before {
	content: '';
	position: absolute;
	width: 50%;
	aspect-ratio: 1 / 1;
	right: 25%;
	top: 25%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;


}


.answer.wrong .ico_answer {
	background-color: #8f2a2b;
}

.answer.correct .ico_answer {
	background-color: #FFF;
}

.answer.wrong .ico_answer:before {
	background-image: url('media/ico_ko.svg');
}

.answer.correct .ico_answer:before {
	background-image: url('media/ico_ok.svg');
}

.answer.correct {
	background: #48603c;
	color: #fff;
	border-color: #48603c;
}

.answer.wrong {
	background-color: #d6000022;
	color: #8f2a2b;
	border-color: #8f2a2b;
}

.answer[disabled]:not(.wrong, .correct) {
	color: #bbb;
	cursor: not-allowed;
	opacity: 0.7;
}

.right-block {
	flex: 1;
	min-width: 300px;

	min-height: 350px;

	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 28px;
	/*box-shadow: 0 8px 32px #0001;*/
}

.feedback {
	position: absolute;
	top: 0;
	bottom: 0;

	z-index: 2;
	background: #422e26;
	color: #fff;
	padding: clamp(10px, 2.5vw, 40px);
	border-radius: 15px;

	min-width: 250px;
	/*max-width: 450px;
	box-shadow: 0 6px 32px 0 #0002;*/
	display: none;
	opacity: 0;
	transition: opacity 0.4s;
}

.feedback.show {
	display: block;
	opacity: 1;
	animation: fadeIn 0.5s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.96);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.feedback .action {
	text-align: center;
}


.feedback h2 {

	margin-top: 0;
	font-size: clamp(1.5rem, 3vw, 48px);
}

.feedback p {
	font-size: clamp(1rem, 1.2vw, 20px);
	line-height: 1.7;
}



.next-btn {

	background: #fff3e3;
	color: #533f34;
	border: none;
	padding: 0.8rem 2rem;
	font-family: 'Francois One', sans-serif;
	font-size: clamp(1rem, 2vw, 26px);
	border-radius: 999px;
	cursor: pointer;
	margin-top: 1.5rem;
	text-decoration: none;

	transition: background 0.2s;
}


.next-btn.alt{
	background-color: #8f2a2b;
	color: #fff3e3;
	padding-right: 3rem;
	padding-left: 3rem;;

}

.next-btn:hover {
	background: #6b8e23;
	color: #fff3e3;
}

@media (max-width: 800px) {
	.slide-container {
		display: block;
		padding: 0;
		/*flex-direction: column;
	max-width: 100vw;
	min-width: 300px;
	padding: 1rem;*/
	}

	.question-block,
	.right-block {
		display:flex;
		padding: 1rem;
		min-height: 100vh;
		min-height: 100svh;
	}

	.right-block.solution {
		display: none;
		position: absolute;
		top: 0;
		_bottom: 0;
		left: 0;
		width: 100%;
		background: none !important;

		height: 100%;
	}

	.answer .ico_answer {
		width: clamp(4rem, 8vw, 8vw);
	}

	.feedback {
		position: relative;
		height: 100%;
		margin: 0 auto;
		max-width: none;
		padding: 30px;

	}

	.feedback.show {
		display: flex;
		flex-direction: column;
		justify-content: center;

		align-self: stretch;
		width: 100%;
		height: auto;
		min-height: 100%;

	}

	.feedback h2 {
		text-align: center;
		font-size: clamp(30px, 8vw, 48px);
	}

	.feedback p {
		font-size: clamp(1rem, 4vw, 25px);
	}

	.question-block {
		position: relative;
	}

	.question-block .underlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;

		opacity: 0.1;

	}

	h1{
		font-size: 48px;
	}

	#slide_end,
	#slide_start{
		text-align:center;
	}

	#slide_end .question-block,
	#slide_start .question-block{
		min-height:auto;
		display:block;
	}

	#slide_start .right-block {
        max-width: 50%;
        min-height: auto;
        aspect-ratio: 1 / 1;
        margin: 1rem auto;
    }

	.next-btn.alt{
		font-size:26px;
		padding-left:2rem;
		padding-right:2rem;
	}



}

#footernotes p {
	margin-top: 7em;
	font-family: sans-serif;
	letter-spacing: 1px;
	font-weight: normal;
	font-size: 14px;
	color: #999999;
}
