/***********************************
****************TITLE***************
***********************************/

.course-title {
	font-size: 2rem;
	text-align: center;
	font-weight: bold;
}


/***********************************
****************PROGRESS***************
***********************************/

.progress-wrapper {
	text-align: center;
}

progress {
	width: 80%;
	height: 40px;
	margin-left: auto;
	margin-right: auto;
}

/***********************************
****************LAYOUT***************
***********************************/

.lesson h2, .exercice h2 {
	font-family: 'Chilanka', cursive;
}

.lesson h2 {
	margin-bottom : -.25em;
}

.lesson .context-color{
	padding: 1em;
	margin-bottom: 1em;
	background-color: white;
	border-radius: .5em;
}

.lesson .context-color h2{
	margin-top : 0;
}

/***********************************
****************FORM***************
***********************************/
.question h1 {
	margin-bottom: 0.25em;
}

.question-form {
	text-align: center;
}

.question-form .form-container{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	text-align: left;
}

.question-form .form-container > div {
	width: 20em;
}

#question-form div div label ul li {
	list-style-type: none;
	text-align: left;
}

.question-form input[type="button"]{
	margin-top: 2em;
	padding: 1em;
	padding-right: 2em;
	padding-left: 2em;
	font-size:2rem;
	background-color: #3B87FB;
}

.question-form input[type="button"]:hover{
	background-color: #3B87FB80;
}

.answer {
	padding : 2em;
	border: 1px solid black;
}

.answer:hover {
	background-color: #3B87FB80;
}

.img-statement{
	text-align: center;
	margin: 2em;
}

.img-statement img{
	max-width: 100%;
}

/***********************************
****************MODAL************
***********************************/

.modal {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 2em;
	background-color: #3B87FB;
	border-radius : .5em;
}

.modal-paragraph {
	padding : 0;
}

.background-modal {
	background-color: #00000020;
	position: fixed;
	width:100vw;
	height: 100vh;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow : scroll;
}

.next-button {
	margin: 0;
	text-align: right;
}

.confirm-button{
	text-align: center;
	margin-top: 2em;
}

.confirm-button input {
	padding: 2em 3em;	
	border-radius: .5em;
	background-color: #ffe2ff50;
}

.confirm-button:hover input {
	background-color: #FFFFFF80;
	color:white;
}



/***********************************
*************ENDCOURSE**************
***********************************/

.checked {
	font-size: 6rem;
	color :green;
	text-align: center;
}

.endcourse h2 {
	margin-top: 2em;
}

.restart-button{
	text-align: center;
	margin: 2em;
}

.restart-button button {
	padding : 3em;
	background-color: #3B87FB;
	border-radius: .5em;
	font-weight: bold;
}

.restart-button button:hover {
	background-color: #3B87FB90;
}

.restart-button button a {
	color: black;
	text-decoration: none;
	font-size:2rem;
}
