@import url('https://fonts.googleapis.com/css2?family=Aldrich&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Bitcount+Prop+Single+Ink:wght@100..900&display=swap');


.aldrich-regular {
  font-family: "Aldrich", sans-serif;
  font-weight: 400;
  font-style: normal;
}


body {
    width: 100vw;
    height: 100vh;
    background-color: #f9f9f9;
    display: flex;
}

/* Zone de navigation */

.nav-link {
    height: 100%;
    width: 20%;
    transition: 0.4s 0.2s ease-out;
}

.nav-link ul {
  display: flex;
  flex-direction: column;
  height: auto;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.FromRight {
  transform: translateX(-50px);
  opacity: 0;
}

.FromLeft {
  transform: translateX(60px);
  opacity: 0;
}

.nav-link h1 {
    color: #010b10;
    padding: 20px 0;
    margin: 30px 10px;
    background-color: #ffffff;
    border-radius: 10px;
    font-family: "Aldrich", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.items-links {
    margin: 1rem 0;
}

#generate {
    background: linear-gradient(
    -90deg,
    #f47fff 0%,
    #5865f2 75%,
    #5865f2 100%
  );
  transition: 0.5s ease-out;
}
#generate:hover {
    background: linear-gradient(
    90deg,
    #f47fff 25%,
    #5865f2 75%,
    #5865f2 0%
  );
}

.active {
    stroke: #000;
}

.dedicace {
    position: absolute;
    bottom: 10px;
    color: rgb(0, 0, 0);
    left: 20px;
}

/* View */
.body {
    width: 80vw;
    margin-left: auto;
    display: flex;
}

.change {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

/* Historique Code */

#Historique_Code {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: space-between;
    position: absolute;
    transition: transform 0.4s 0.6s ease-out,
                opacity 0.4s 0.6s ease-out;
}


/* Generez le Qr-Code */

#Generate-Qr {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: absolute;
    transition: transform 0.7s 0.7s ease-out,
                opacity 0.7s 0.7s ease-out;
}

.block-generate {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 5rem;
}

/* Telecharger le Qr-code */

.upload-Qr {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.7s 1.6s ease-out;
}

.upload-Qr ul {
  list-style: none;
  margin: 20px 0;
}

#Message p , .xel {
  font-family: "Aldrich", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
        margin: 0;
    }
    .nav-link {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-link h1 {
        margin: 10px 0;
    }
    .nav-link ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .dedicace {
        display: none;
    }
    /* .tooltip {
      transform: translateY(-50%);
    } */
    .body {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    .change {
        display: flex;
        flex-direction: column;
        height: auto;
        position: relative;
        margin: 0;
    }
    #Historique_Code{
        position: relative;
        height: 100%;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    .upload-Qr {
        padding: 20px 0;
        margin: 0;
    }
}


.example-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bolder; 
  background-color: #000; 
  border-radius: 30px; 
  padding: 20px; 
  height: 70px;
  width: 300px;
}

.example-1 .icon-content {
  margin: 0 10px;
  position: relative;
  font-weight: bolder; 
}

.example-1 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff; 
  color: #000; 
  padding: 6px 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  transition: all 0.3s ease;
  font-weight: bolder; 
}

.example-1 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.example-1 .icon-content .link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff; 
  background-color: #000; 
  transition: all 0.3s ease-in-out;
  font-weight: bolder; 
}

.example-1 .icon-content .link:hover {
  box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-1 .icon-content .link svg {
  width: 30px;
  height: 30px;
  fill: #fff; 
}

.example-1 .icon-content .link[data-social="spotify"]:hover {
  color: #00a2ff;
}

.example-1 .icon-content .link[data-social="pinterest"]:hover {
  color: #ff009d;
}

.example-1 .icon-content .link[data-social="dribbble"]:hover {
  color: #686868;
}

.example-1 .icon-content .link[data-social="telegram"]:hover {
  color: #23b100;
}

/* Loader */ 
.loading {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.loader {
  width: 40px;
  height: 40px;

}

.box1,
.box2,
.box3 {
  border: 4px solid #3872d8;
  box-sizing: border-box;
  position: absolute;
  display: block;
}

.box1 {
  width: 40px;
  height: 15px;
  margin-top: 25px;
  margin-left: 0px;
  animation: abox1 1s 0.5s forwards ease-in-out infinite;
}

.box2 {
  width: 15px;
  height: 15px;
  margin-top: 0px;
  margin-left: 0px;
  animation: abox2 1s 0.5s forwards ease-in-out infinite;
}

.box3 {
  width: 15px;
  height: 15px;
  margin-top: 0px;
  margin-left: 15px;
  animation: abox3 1s 0.5s forwards ease-in-out infinite;
}

@keyframes abox1 {
  0% {
    width: 40px;
    height: 15px;
    margin-top: 25px;
    margin-left: 0px;
  }

  12.5% {
    width: 40px;
    height: 15px;
    margin-top: 25px;
    margin-left: 0px;
  }

  25% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 0px;
  }

  37.5% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 0px;
  }

  50% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 0px;
  }

  62.5% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 0px;
  }

  75% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }

  87.5% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }

  100% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }
}

@keyframes abox2 {
  0% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }

  12.5% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }

  25% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }

  37.5% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }

  50% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }

  62.5% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 25px;
  }

  75% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 25px;
  }

  87.5% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 25px;
  }

  100% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 25px;
  }
}

@keyframes abox3 {
  0% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 25px;
  }

  12.5% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 25px;
  }

  25% {
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-left: 25px;
  }

  37.5% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 25px;
  }

  50% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 25px;
  }

  62.5% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 25px;
  }

  75% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 25px;
  }

  87.5% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 25px;
  }

  100% {
    width: 15px;
    height: 15px;
    margin-top: 25px;
    margin-left: 25px;
  }
}


/* Tooltip */
.tooltip-container {
  position: relative;
  background-color: #f47fff;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 17px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  fill: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.tooltip-container .borde-back {
  width: 60px;
  height: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: none;
}

.tooltip-container .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background-color: #5865f2;
  cursor: pointer;
}

.tooltip {
  position: absolute;
  top: -2;
  left: -45px; 
  transform: translateX(-22%); 
  width: 13rem;
  height: 52px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s;
  border-radius: 50px;
  background-color: #f47fff;
  background-image: linear-gradient(
    -90deg,
    #f47fff 0%,
    #5865f2 75%,
    #5865f2 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 5px;
  color: #fff;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.tooltip::before {
  position: absolute;
  content: "";
  height: 0.6em;
  width: 0.6em;
  right: -0.2em; 
  top: 50%; 
  transform: translateY(-50%) rotate(45deg); 
  background: var(--background);
}

.tooltip-container:hover .tooltip {
  left: 100%; 
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: -10;
}
.tooltip-container:hover {
  transform: translateX(-50px);
  transition: 0.5s linear;
}

.historique-element div {
  box-sizing: border-box;
  max-width: 80%;
}

.historique-element div p {
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

