


  *,
::before,
::after {
	box-sizing: border-box;
	margin: 0;
    padding: 0;

}


body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(img/Death-Stranding.jpg);
   
}
/* personnalisation de mon titre pour le quizz */
.text h1 {
    position: relative;
    top: 100px;
    left: 800px;
	font-family: Russo One, Arial;
	font-weight: lighter;
	letter-spacing: 2px;
	text-align: center;
	padding: 30px 0;
    font-size: 120px;
    
    transform: translate(-50%, -50%);
}

.text h1:nth-child(1) {
    color: transparent;
    -webkit-text-stroke: 2px #03a9f4 ;
   
}

.text h1:nth-child(2) {
    color: rgb(99, 156, 34);
    
    top: -104px;
    animation: animate 3s ease-in-out infinite;
}

/* fin de la perso du titre quizz */

/* animation de mon titre quizz*/
@keyframes animate {

    0%, 100% {
        clip-path: polygon(0% 58%, 6% 55%, 12% 52%, 18% 50%, 24% 50%, 28% 50%, 32% 52%, 35% 55%, 39% 60%, 46% 62%, 52% 63%, 57% 61%, 61% 58%, 64% 55%, 67% 51%, 72% 48%, 75% 49%, 79% 50%, 82% 54%, 85% 57%, 89% 61%, 94% 63%, 99% 64%, 99% 99%, 1% 100%);
    }
    50% {
        clip-path: polygon(0% 54%, 7% 57%, 10% 60%, 15% 65%, 19% 68%, 24% 67%, 29% 64%, 30% 59%, 32% 57%, 36% 52%, 40% 52%, 44% 55%, 46% 58%, 51% 62%, 56% 61%, 58% 58%, 60% 54%, 64% 51%, 68% 52%, 72% 57%, 75% 60%, 79% 62%, 83% 65%, 88% 62%, 92% 58%, 93% 56%, 98% 52%, 99% 99%, 1% 100%);
    }
}
/* fin de l'animation du titre quizz */

main {
	width: 70%;
	margin: -200px auto;
	max-width: 800px;
	height: auto;
}

  /* personalisation de mon question block */

.question-block {
	padding: 15px 25px 25px;
	margin: 20px;
	border-radius: 5px;
    position: relative;
    top: +200px;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 300px;
    background: #111845a6;
    overflow: hidden;
    box-shadow: 0 20px 50px rgb(23, 32, 90);
    border: 2px solid #2a3cad;
    color: white;
    z-index: 1;
}
.question-block:before{
    content: '';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background: rgba(255,255,255,0.1);
    transition:0.5s;
    pointer-events: none;
}
 
.question-block:after {
    content: '';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background: rgba(230, 210, 210, 0.1);
    z-index: -2;
    filter: blur(40px);
}



.question-block:hover:before{
    left:-50%;
    transform: skewX(-5deg);
}
  

.question-block .content{
    position:absolute;
    top:15px;
    left:15px;
    right:15px;
    bottom:15px;
    border:1px solid #f0a591;
    padding:20px;
    text-align:center;
    box-shadow: 0 5px 10px rgba(9,0,0,0.5);
    
}

.question-block span{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    
    
}
  /* ici effet de remplissage dans les question block */
.question-block:nth-child(1):before,
.question-block:nth-child(1):after    {
    background: linear-gradient(235deg, #89ff00, #010615, #00bcd4);
    z-index: -1;
}
 
.question-block:nth-child(2):before,
.question-block:nth-child(2):after    {
    background: linear-gradient(235deg, #ff005e, #010615, #fbff00);
    z-index: -2;
}

.question-block:nth-child(3):before,
.question-block:nth-child(3):after    {
    background: linear-gradient(235deg, #772aff, #010615, #2196f3);
    z-index: -3;
}


/*  fin de ma personnalisation de mon question block */
.question-block h4 {
	padding: 10px 0;
	font-size: 22px;
}

.question-block label {
	font-size: 20px;
}

.question-block input[type="radio"] {
	transform: scale(1.8);
	margin: 10px;
}


/* début de la div des resultats   */
.resultats {
	padding: 25px;
	margin: 10px 0px 70px;
	border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);

    padding: 15px 25px 25px;
	margin: 20px;
	border-radius: 5px;
    position: relative;
    top: +50px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111845a6;
    overflow: hidden;
    box-shadow: 0 20px 50px rgb(23, 32, 90);
    border: 2px solid #2a3cad;
    color: white;
    z-index: 1;
    
}

.resultats h2 {
    text-align: center;
    color: #00bcd4;
}

.aide,
.note {
	text-align: center;
	font-size: 20px;
	margin-top: 10px;
}

/* fin de la div des resultats */

.echec {
	animation: echec 0.3s ease-in-out;
}

@keyframes echec {
	0% {
		transform: translateX(0px);
	}
	33% {
		transform: translateX(50px);
	}
	66% {
		transform: translateX(-5px);
	}
	100% {
		transform: translateX(0px);
	}
}
