* {
  margin: 0;
  padding: 0;
}

.logo img {
  width: 100px;
  height: auto;
  margin: 16px 0;
}

.detailloyer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  width: auto;
  margin: 2%;
}

ol li {
  margin: 10px 0;
}

ul li {
  text-decoration: none;
  list-style-type: none;
}

ul li::before {
  content: "-";
  margin-right: 20px;
}

.title {
  font-size: 20px;
  margin: 10px 0;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
  text-decoration: underline;
}

.signaturePadd {
  display: flex;
  justify-content: space-between;
}

/* Style par défaut pour les éléments canvas */
canvas {
  width: 350px;
  max-width: 350px;
  height: 250px;
}

.canvas-image {
  width: 350px;
  max-width: 350px;
  height: 250px;
}

/*responsive a max 992 pour signaturePadd et canvas*/

@media screen and (max-width: 992px) {
  .signaturePadd {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  canvas {
    width: 100%;
    max-width: 100%;
    height: 250px;
  }
}

.lds-facebook {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-facebook div {
  display: inline-block;
  position: absolute;
  left: 8px;
  width: 16px;
  background: #fff;
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}
@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }
  50%,
  100% {
    top: 24px;
    height: 32px;
  }
}

.allPage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.368);
  pointer-events: none;
  display: none;
}

.allPage.active {
  display: block;
}

.lds-facebook {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* animation de l'infinie bas vers le bottom zero puis  l'inverse pour toast*/

.cursort {
  cursor: pointer;
}

.pdf-page {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
}

ul {
  list-style: disc;
  padding-left: 20px;
}

.page-number {
  text-align: center;
  font-size: 18px;
  margin-top: 20px;
}



/*toast*/

#toast {
  position: fixed;
  bottom: 2%;
  width: 80%;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  padding: 20px 20px;
  display: block;
  z-index: 9999;
  transform: translateY(150%);
}
.toast.show {
  animation: showtoast 1s,  forwards;
}
.toast.hidden {
  animation: hidetoast 1s,  forwards;
}

@keyframes showtoast {
  from {
    transform: translateY(150%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes hidetoast {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(150%);
    opacity: 0;
  }
}
#close-icon {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #fff;
  cursor: pointer;
}

#close-icon:hover {
  color: #ff0000; /* Couleur de l'icône lorsqu'on passe la souris dessus */
}


/*Not found Page*/

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}



#notfound {
  position: relative;
  height: 100vh;
}

#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.notfound {
  max-width: 520px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
}

.notfound .notfound-404 {
  position: relative;
  height: 200px;
  margin: 0px auto 20px;
  z-index: -1;
}

.notfound .notfound-404 h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 236px;
  font-weight: 200;
  margin: 0px;
  color: #211b19;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.notfound .notfound-404 h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  color: #211b19;
  background: #fff;
  padding: 10px 5px;
  margin: auto;
  display: inline-block;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
}



@media only screen and (max-width: 767px) {
  .notfound .notfound-404 h1 {
    font-size: 148px;
  }
}

@media only screen and (max-width: 480px) {
  .notfound .notfound-404 {
    height: 148px;
    margin: 0px auto 10px;
  }
  .notfound .notfound-404 h1 {
    font-size: 86px;
  }
  .notfound .notfound-404 h2 {
    font-size: 16px;
  }
  .notfound a {
    padding: 7px 15px;
    font-size: 14px;
  }
}
