@import url("https://fonts.googleapis.com/css2?family=Jolly+Lodger&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Freckle+Face&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nosifer&display=swap");

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

body {
  font-family: "Freckle Face", system-ui;

  font-size: 150%;
  background-color: #f4f4f4;
  color: #ffffff;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 30px;
  font-family: "Jolly Lodger", system-ui;
  font-size: 200%;
}

h1 {
  font-size: 2rem;
  color: #ff6347;
}

h2 {
  color: #f56411;
}

a {
  color: white;
}

#centre {
  background-color: #000000;
  padding: 10px;
  overflow: hidden;
}

#colonnes {
  background-color: #000000;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#tasks ul {
  list-style-type: none;
  padding-left: 0;
}

#tasks li {
  margin: 10px 0;
}

.task {
  width: 25px;
  height: 25px;
  appearance: none;
  background-color: black;
  border: 3px solid #fd7613;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
.task:checked {
  background-color: #fd7613;
  border-color: #fd6113;
}
.task:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: black;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.task:hover {
  border-color: #fd6113;
}
.task:checked:active {
  transform: scale(1.1);
}

#progress {
  margin: 20px 0;
}

#progressBarContainer {
  width: 100%;
  height: 50px;
  border-radius: 27px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-color: white;
  border-width: 10px;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: url(https://cdn.glitch.global/fb3c1b73-6c85-439a-abed-7eb5388fbc30/8d0f581a79cd4c7ef4fc70c3f4019e42.gif?v=1730926573470);
  border-radius: 27px;
  transition: width 0.5s ease-in-out;
  position: relative;
}

#bigBoss {
  text-align: center;
  margin-top: 30px;
  font-family: "Nosifer", sans-serif;
  font-size: 70%;
}

#percentageText {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
  color: black;
  font-weight: 900;
  font-size: 170%;
}

#backgroundFeu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* plein écran */
  z-index: -1;
}

#imageContainer {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  z-index: 1000;
}

#imageContainer2 {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  z-index: 1000;
}

#pokemon {
  width: 80%;
}

#carte {
  width: 130%;
}


#closeButton {
  position: absolute; 
  top: 10px;
  left: 1px;
  padding: 0px;
  background-color: #f6734d;


  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1002;
  font-size: 50px;
}

#closeButton2 {
  position: absolute; 
  top: 10px;
  left: 1px;
  padding: 0px;
  background-color: #f6734d;


  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  z-index: 1002;
  font-size: 50px;
}