@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sen:wght@400;700;800&display=swap');

:root {
    --primary-color: rgb(254, 98, 73);
    --secondary-color: rgb(255, 231, 229);
}
body {
    font-family: "Jost";
    width: 100%;
    background-image: url(../img/bg.jpg);
    background-size: cover;
    overflow: hidden;
    height: 100SVH;
}
main {
    height: 100vh;  
    padding-top: 20px;
    margin: 0 auto;
    text-align: center;
    width: 500px;
}
header {
    height: 59px;
    width: 100%;
    position: relative;
    top: 49px;
    border-radius: 10px;
}
.container {
	position: relative;
}
.stepnumber {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 10;
    top: -20px;
    left: 0;
    justify-content: space-evenly;

}
.number-single {
    border-radius: 50%;
    background-color: rgb(176, 176, 176);
    width: 55px;
    height: 55px;
    display: grid;
    place-content: center;
    font-size: 28px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
}
.number-single::before {
    content: "";
    background-color: var(--primary-color);
    transition: 0.5s;
    height: 100%;
    width: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.step-count {
    position: relative;
    z-index: 10;
}
.timer {
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 27.52px 4.48px rgba(161, 161, 161, 0.22);
    width: 130px;
    height: 130px;
    position: relative;
    top: -40px;
    display: grid;
    place-content: center;
    border: solid 10px #006f01;
}
.timer span {
    font-size: 40px;
    color: #006f01;
    font-weight: bold;
}
.timer.fin {
		border: solid 10px #a52a2a;
}
.timer.fin span {
    color: #a52a2a;

}
.number-single.active::before {
    width: 100%;
}
 
.step-inner {
    height: CALC(100SVH - 80px);
    width: 100%;
    background-color: var(--secondary-color);
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    z-index: 1;
    position: relative;
    margin-top: 0;
}
.steps {
    display: flex;
    flex-direction: column;
    padding: 100px 0 0 0;
    overflow: hidden;
}
.quiz-question2 {
    font-size: 20px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    width: CALC(100% - 40px);
    border: 1px solid #717171;
    text-align: center;
    padding: 10px;
    background: #fe6249;
    margin: -10px 20px 10px 20px;
    border-radius: 10px;
    position: relative;
}
.quiz-question2 i {
	position: absolute;
	right: 10px;
	top: 15px;
	display: none;
}
textarea {
	margin: 10px 20px;
	width: CALC(100% - 40px);
	height: 80px;
	padding: 10px;
}
footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	left: 0;
	height: 40px;
	line-height: 40px;
	z-index: 66666;
	background: #b0b0b0;
}
footer div {
	width: 100%;
	line-height: 40px;
	height: 40px;
}
UL.prenom {
	position: absolute;
	bottom: 5px;
	left: 10px;
	list-style: none;
	line-height: 20px;
	margin: 0 auto;
	padding: 0 10px;
	border-radius: 10px;
	width: CALC(100% - 20px);
	z-index: 12356;
	text-align: left;
}
UL.prenom LI {
	float: left;
	width: 100%;
	background: #dedede;
	margin-bottom: 2px;
	margin-right: 5px;
	border-radius: 6px;
	padding: 2px 10px;
}
UL.prenom LI I {
	margin-right: 5px;
	font-size: 12px;
}
UL.prenom LI .fa-xmark {
	color: red;
}
UL.prenom LI .fa-check {
	color: #006400;
}
UL.prenom LI SPAN {
	display: inline-block;
	font-size: 14px;
}
UL.prenom LI SPAN:first-child {
	width: 15px;
}
UL.prenom LI EM {
	font-size: 12px;
	font-weight: bolder;
	font-style: normal;
	float: right;
}
UL.prenom LI.active {
	background: #006400;
	color: #fff;
}
.btn {
	margin: 10px 20px;
}


fieldset
{
    flex: 1;
    margin-top: 50px;
}

.radio-field
{
    width: 100%;
    height: 90px;
    padding-left: 40px;
    display: grid;
    align-content: center;
    position: relative;
    margin-bottom: 10px;
}
.radio-field input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: solid 2px rgb(180,180,180);
    background-color: rgb(255, 255, 255);
    transition: 0.5s;
    cursor: pointer;
}
.radio-field label
{
    font-size: 28px;
    color: rgb(180, 180, 180);
    position: relative;
    z-index: 10;
    pointer-events: none;
    transition: 0.5s;
      
}
.radio-field input:checked
{
    border: solid 6px var(--primary-color);
}
.radio-field input:checked~label
{
    color: var(--primary-color);
}
.next-prev
{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    margin-top: 50px;
}
.next-prev button
{
    width: 50%;
    background-color: rgb(255, 255, 255);
    height: 80px;
    border: 0;
    font-size: 18px;
    text-transform: uppercase;
    color: rgb(124, 120, 120);
    font-weight: bold;
}
.next-prev button i
{
    position: relative;
    top: 1px;
    margin: 0 10px;
}
.next-prev .next{
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
}
#error div {
    position: fixed;
    top: 20px;
    left: 20px;
}

.envoi {
	text-align: center;
	margin: 10px auto;
}
.envoi SPAN {
	text-align: center;
	display: none;

}
.envoi .check i {
	font-size: 30px;
	color: #006f01;
}
.envoi .down i {
	font-size: 30px;
	color: #ff3c1a;
}

.lettre {
	float: left;
	width: CALC(100% - 40px);
	margin: 10px 20px;
}
.lettre DIV {
	float: left;
	width: CALC((100% - 50px) / 6);
	box-shadow: 0 0 3px 3px #ffa595;
	border-radius: 10px;
	line-height: 50px;
	font-weight: bolder;
	font-size: 16px;
	cursor: pointer;
	margin-right: 10px;
	background: #ffcec6;
}
.lettre DIV:last-child {
	margin-right: 0;
}
.lettre .active {
    box-shadow: 0 0 5px 5px #006f01;
	background: #15ff17;
}



#response {
	text-align: left;
	margin: 0 20px;
}
#response DIV {
	margin-bottom: 10px;
}
#response LABEL {
	font-weight: bolder;
	display: inline-block;
	width: 100px;
}