body {
  background-color: #101010;
  color: #ececec;
  font-family: "Bricolage Grotesque";
  font-weight: 200;
  overflow-x: hidden;
}

#container {
  margin-top: 5rem;
  margin-inline: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  max-width: 60ch;
}

#subtitle {
  font-size: 1.75rem;
  font-weight: 300;
}

button, input{
  cursor: pointer;
}
.question_label {
  color: #9785e6;
}


.q2 {
  display: flex;
  flex-direction: column;
}


.q5 ul {
  width: 100%;
  display: flex;
  align-items: center;

  list-style-type: none;
}

.q5 ul  input[type="checkbox"] {
  display: none;
}

.q5 ul label {
  border: 1px solid #101010;
  padding: 5px;
  display: block;
  position: relative;
  margin: 10px;
  cursor: pointer;
}

.q5 ul label::before {
  background: #fff;
  color: #333;
  content: "";
  display: block;
  border-radius: 50%;
  border: 1px solid #808080;
  position: absolute;
  top: -5px;
  left: -5px;
  width: 25px;
  height: 25px;
  text-align: center;
  transition: 0.2s linear;
  transform: scale(0);
}

label img {
  height: 150px;
  transition: 0.2s linear;
  transform-origin: 50% 50%;
}

.q5 input[type="checkbox"]:checked + label {
  border-color: #ececec;
  box-shadow: 2px 3px 25px rgba(255,255, 255, 0.2);
}
.q5 input[type="checkbox"]:checked + label::before{
  content:"✔";
  line-height: 27px;
  background-color: #ececec;
  transform: scale(1);
}



/* style de la popup */

#result{
  margin: 0;
  position:fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
}

#result::backdrop {
  background: hsl(0 0 0 / .4);
}

#emoji {
  font-size: 5rem;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* correction */

.correction {
  color:rgba(100, 255 , 100, 0.8);
}
input.correction,select.correction{
  background-color: rgba(100, 255 , 100, 0.8);
  color: #101010;
  border: none;
  padding: 5px;
}

label.correction img {
  border: 1px solid rgba(100, 255 , 100, 0.8);
  padding: 10px;
}
