:root{
    --jaune : #f2c317;
    --noir : #231f20;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/*@font-face {
	font-family: Montserrat;
	src: url('./fonts/Montserrat-Regular.otf');
}
@font-face {
	font-family: Eagle;
	src: url('./fonts/Eagle-Book.otf');
}*/
*{
    box-sizing: border-box;
}

body{
    margin: 0;
    background-color: var(--jaune);
    font-family: 'Montserrat', sans-serif;
    padding: 0 10px;
}

h1, h2, h3, p, label{
    text-align: center;
	 font-weight: 400;
}
h1{
    background-color: var(--noir);
    color: #fff;
    font-size: 32px;
    padding: 10px;
    font-weight: 900;
}

p, label{
    font-size: large;
}

p.text-left {
	text-align: left;
}

img {
max-width: 100%;
height: auto;
}

.content {
min-height: calc(100vh - 90px);
display: flex;
flex-direction: column;
justify-content: baseline;
position: relative;
padding-top: 90px;
}

.home .content {
padding-top: 75px;
min-height: 100vh;
justify-content: center;
}

.quizz .inner {
padding: 20px 0 40px;
}

.logo-bfc {
position: absolute;
right: 0;
top: 0;
width: 100px;
height: 80px;
}
.titre-quizz {
	position: absolute;
left: 0;
top: 0;
width: calc(100% - 100px);
height: 80px;
 font-size: 25px;
        font-weight: 900;
    line-height: 1.2;
	/*background: url('img/banniere-salon-agriculture.jpg') center center no-repeat;
	background-size: cover;*/
}

.bande-images {
position: relative;
display: flex;
flex-direction: row;
width: 100%;
align-items: center;
justify-content: space-around;

}

.img-ronde {
	border-radius: 50%;
	width: 28%;
	/*border: 2px solid #fff;*/
}

.center-top {
	margin-top: -100px;
	}
	.center-bottom {
	margin-bottom: -100px;
	}

.btn-lunch {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    animation: pulse 1.5s infinite;
	width: 200px;
}

.bouton-retour {
	position: absolute;
	width: 100%;
	height: 20px;
	bottom: 0;
	left: 0;
	text-align: center;
	font-size: 12px;
}
.bouton-retour a {
color: #231f20;
text-decoration: none;
text-transform: uppercase;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}


#quizForm {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  transition: height 0.4s ease;
}

.index-q {
font-size: 12px;
font-style: italic;
}

.step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.step.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.step.exit-left {
  transform: translateX(-100%);
  opacity: 0;
  z-index: 1;
}

.step h2 {
    font-weight: 900;
}


.champs {
    margin-bottom: 10px; 
}
.valid {
    text-align: center; 
}

button{
    background-color: var(--noir);
    color: #fff;
    border: none;
    padding: 10px 15px;
    width: 150px;
}

.bouton-suiv {
	margin: 0 auto;
	cursor: pointer;
	display: block;
    font-size: 16px;
    text-transform: uppercase;
}

.titre-result {
	text-align: left;
	display: flex;
	flex-direction: row;
	gap: 0;
	align-items: stretch;
	border: 1px solid var(--noir);
}
.titre-result .cadre-noir {
width: calc(100% - 100px);
display: flex;
flex-direction: column;
justify-content: center;
}
.titre-result .cadre-noir p {
margin: 0;
}
.img-float {
	width: 100px;
	display: flex;
flex-direction: column;
justify-content: center;
}
.result-desc {
	border: 1px solid var(--noir);
	border-top: 0;
	padding: 10px;
	background: #fff;
	margin-top: 0;
}

.totem-desc {
display: flex;
flex-direction: row;
gap: 20px;
align-items: flex-start;
}

.totem-desc img {
	width: 35%;
}
.totem-desc p {
	width: 65%;
	margin-top: 0;
	text-align: left;
	font-weight: 300;
}
.totem-desc p b {
	font-weight: 600;
}
.cadre-noir {
background-color: var(--noir);
    color: #fff;
	padding: 10px;
}

.inputs-choix {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.inputs-choix label {
width: 50%;
padding: 0 15px 15px 25px;
font-weight: 300;
text-align: left;
cursor: pointer; 
position: relative;
display: block;
}

input[type="radio"] {
	position: absolute;
	opacity: 0;
}

/* Aspect de la case */
[type="radio"] + label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 1em;
	height: 1em;
	border: 1px solid #231f20;
	background: #FFF;
	border-radius: .2em;
	transition: all .275s;
}

/* Aspect de la coche */
[type="radio"] + label::after {
	content: '✕';
	speak: never; /* Pour être sûr que le lecteur d'écran ne lira pas "fois" */
	position: absolute;
	top: 2px;
	left: 2px;
	font-size: 1.1em;
	color: #231f20;
	line-height: 1;
	transition: all .2s; /* Petite transition */
	opacity: 0;
}


/* Aspect cochée */
[type="radio"]:checked + label::after {
	opacity: 1;
}