* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  touch-action: auto;
}

:root {
  --background-one-color: rgba(249, 251, 231, 1);
  --background-two-color: rgba(240, 237, 212, 1);
  --success-color: rgba(236, 205, 180, 1);
  --counter-color: rgba(254, 161, 161, 0);
  --text-color: rgba(63, 59, 59, 1);
  --border-color: rgb(255, 255, 255);
  --box-shadow: rgba(0, 0, 0, 0.1);
}


body {
  background: var(--background-one-color);
  height: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.wrap {
  padding-top: 2rem;
  margin: 1rem;
  padding: 1rem;
  font-size: 0.9rem;
  background-color: var(--background-two-color);
  border-radius: 7px;
}

.intro {
  padding-top: 2rem;
}

.joke {
  text-decoration: line-through;
}

.like-mum {
  font-style: italic;
}

.renard {
  position: absolute;
  top: 0%;
  left: 70%;
  rotate: 15deg;
  z-index: 1;
  margin-top: 1rem;
  height: 100px;
  width: 100px;
}

.content {
  padding-top: 2rem;
}

li::marker {
  content: "💜";
}

li {
  padding-left: 0.5rem;
  padding-bottom: 0.5rem;
}

ul {
  padding-left: 2rem;
  margin-bottom: 3rem;
}

.numbers {
  background: var(--counter-color);
  border-radius: 16px;
  box-shadow: 0 4px 30px var(--box-shadow);
  backdrop-filter: blur(3.9px);
  -webkit-backdrop-filter: blur(3.9px);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  text-align: center;
  height: 10vh;
  width: 100%;
  margin-bottom: 2rem;
  display: inline-flex;
  justify-content: center;
}

.bloc {
  background: var(--success-color);
  border-radius: 5px;
  box-shadow: 0 4px 30px var(--box-shadow);
  backdrop-filter: blur(3.9px);
  -webkit-backdrop-filter: blur(3.9px);
  border: 1px solid var(--border-color);
  margin-left: 10px;
  margin-right: 10px;
  height: 50px;
  width: 80px;
  display: flex;
  flex-direction: column;
  vertical-align: middle;
  padding-top: 5px;
}

em {
  font-size: 0.7rem;
}

p {
  margin-bottom: 2rem;
}

/* Test button check box */

input[type="radio"] {
  display: none;
}

input[type="radio"]+label.piet {
  display: inline-block;
  cursor: pointer;
  outline: 0;
  width: 128px;
  height: 128px;
  background-image: url(../img/piet.jpeg);
  background-repeat: no-repeat;
  background-position: 0 0;
  text-indent: -99999px;
  background-size: cover;
  border-radius: 100%;
  margin-bottom: 20px;
}

input[type="radio"]:checked+label.piet {
  border: 2px solid var(--border-color);
}

input[type="radio"]+label.cha {
  display: inline-block;
  cursor: pointer;
  outline: 0;
  width: 128px;
  height: 128px;
  background-image: url(../img/cha.jpeg);
  background-repeat: no-repeat;
  background-position: 0 0;
  text-indent: -99999px;
  background-size: cover;
  border-radius: 100%;
  margin-bottom: 20px;
}

input[type="radio"]:checked+label.cha {
  border: 2px solid var(--border-color);
}

.formStyle {
  border: 1px solid var(--background-two-color);
  padding: 1rem;
  border-radius: 1%;
  display: flex;
  flex-direction: column;
  background-color: var(--success-color);
}

textarea {
  width: 100%;
  height: 70px;
  margin-top: 1rem;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 1rem;
}

#firstName,
#email {
  width: 100%;
  text-align: center;
  margin-bottom: 0.4rem;
  border-radius: 20px;
}

.ask {
  width: 50%;
  padding-top: 1rem;
  text-align: center;
}

.options {
  text-align: center;
}

footer {
  width: 100%;
  background-color: var(--background-two-color);
  display: inline-flex;
  line-height: 45px;
  height: 45px;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  /* Styles appliqués pour les écrans d'ordinateur avec une largeur minimale de 768 pixels */

  .wrap {
    width: 60%;
    height: 90%;
    background-color: var(--background-two-color);
    margin: 0 auto;
    border-radius: 7px;
    margin-top: 15px;
    margin-bottom: 15px;
  }


}

/* Modal CSS */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  overflow: auto;
  z-index: 1;
}

.modal-content {
  background-color: rgb(255, 255, 255);
  opacity: 1;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
}

@media screen and (max-width: 600px) {
  .modal-content {
    max-width: 90%;
  }
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

.button-container button {
  margin: 0 10px;
  padding: 8px 20px;
  border: none;
  background-color: #007bff;
  border-radius: 25px;
  border: 1px solid white;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bolder;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.button-container button:hover {
  background-color: #0056b3;
}

.modal-confetti {
  position: absolute;
  top: 400;
  left: 200;
  width: 100%;
  height: 100%;
  z-index: 1000;
  pointer-events: none;
  /* Permet aux confettis d'apparaître au-dessus de la modal */
}

.ask-vivi {
  font-weight: bold;
  text-align: center;
}