
#dynamicBackground {
    position: fixed; /* Utilisez absolute si fixed ne fonctionne pas comme prévu */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Assurez-vous qu'il est derrière tout le contenu */
    background: linear-gradient(45deg, #b92b27, #1565C0, #FF0099);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInOut_meme {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.fadeInOut_meme {
  animation: fadeInOut_meme 1s ease-in-out;
}




#logo_img {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  height: 150px;
}

#reactions{
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  /*width: 800px;*/
  /*height: 450px;*/
  
  top: 50%;
  left: 87%;
  transform: translate(-50%, 40px);
}

.reaction.up, .reaction.down{
  display:inline-block;  
  position: absolute;
  top: 390px;
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 8px;
  border-radius: 20px;
  overflow:visible; 
  background-color: #f55e77;
}

.reaction.up{
  stroke: #52c41a;
  fill: #d9f7be;
}

.reaction.down{
  stroke: #f759ab;
  fill: #ffd6e7;
}


/* SOCIALS BAR */

.social-icons {
  position: absolute;
  top: 20px; 
  right: 30px; 
  display: flex;
  gap: 30px; 
  z-index: 1000; 
}

.social-icons a {
  color: #fff;
  text-decoration: none;
}

.social-icons i {
  font-size: 30px;
}

.social-icons a:hover {
  color: #ccc; 
}





/* Leaderboard */

* {
  font-size: 62, 5%;
  box-sizing: border-box;
  margin: 0;
}

body {
  height: 100%;
  width: 100%;
  min-height: 100vh;
  background-color: #fbfaff;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  width: 40rem;
  margin-top: 10rem;
  /*height: 43rem;*/
  background-color: #ffffff;
  -webkit-box-shadow: 0px 5px 15px 8px #e4e7fb;
  box-shadow: 0px 5px 15px 8px #e4e7fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.5rem;
  z-index: 3;
}

#header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2rem;
}

.share {
  width: 4.5rem;
  height: 3rem;
  background-color: #f55e77;
  border: 0;
  border-bottom: 0.2rem solid #c0506a;
  border-radius: 2rem;
  cursor: pointer;
}

.share:active {
  border-bottom: 0;
}

.share i {
  color: #fff;
  font-size: 2rem;
}

h1 {
  font-family: "Rubik", sans-serif;
  font-size: 1.7rem;
  color: #141a39;
  text-transform: uppercase;
  cursor: default;
}

#leaderboard {
  width: 100%;
  position: relative;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #141a39;
  cursor: default;
}

tr {
  transition: all 0.2s ease-in-out;
  border-radius: 0.2rem;
  cursor: pointer;
}

tr:not(:first-child):hover {
  background-color: #fff;
  transform: scale(1.1);
  -webkit-box-shadow: 0px 5px 15px 8px #e4e7fb;
  box-shadow: 0px 5px 15px 8px #e4e7fb;
}

tr:nth-child(odd) {
  background-color: #f9f9f9;
}

tr:nth-child(1) {
  color: #fff;
}

td {
  height: 5rem;
  font-family: "Rubik", sans-serif;
  font-size: 1.4rem;
  padding: 1rem 2rem;
  position: relative;
}

.number {
  width: 1rem;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: left;
}

.name {
  text-align: left;
  font-size: 1.2rem;
}

.points {
  font-weight: bold;
  font-size: 1.3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.points:first-child {
  width: 10rem;
}

.gold-medal {
  height: 3rem;
  margin-left: 1.5rem;
}

.ribbon {
  width: 42rem;
  height: 5.5rem;
  top: -0.5rem;
  background-color: #5c5be5;
  position: absolute;
  left: -1rem;
  -webkit-box-shadow: 0px 15px 11px -6px #7a7a7d;
  box-shadow: 0px 15px 11px -6px #7a7a7d;
}

.ribbon::before {
  content: "";
  height: 1.5rem;
  width: 1.5rem;
  bottom: -0.8rem;
  left: 0.35rem;
  transform: rotate(45deg);
  background-color: #5c5be5;
  position: absolute;
  z-index: -1;
}

.ribbon::after {
  content: "";
  height: 1.5rem;
  width: 1.5rem;
  bottom: -0.8rem;
  right: 0.35rem;
  transform: rotate(45deg);
  background-color: #5c5be5;
  position: absolute;
  z-index: -1;
}

#buttons {
  width: 100%;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.exit {
  width: 11rem;
  height: 3rem;
  font-family: "Rubik", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #7e7f86;
  border: 0;
  background-color: #fff;
  border-radius: 2rem;
  cursor: pointer;
}

.exit:hover {
  border: 0.1rem solid #5c5be5;
}

.continue {
  width: 11rem;
  height: 3rem;
  font-family: "Rubik", sans-serif;
  font-size: 1.3rem;
  color: #fff;
  text-transform: uppercase;
  background-color: #5c5be5;
  border: 0;
  border-bottom: 0.2rem solid #3838b8;
  border-radius: 2rem;
  cursor: pointer;
}

.continue:active {
  border-bottom: 0;
}


.meme-icon {
  width: 30px; 
  height: auto; 
  border-radius: 50%; 
  object-fit: cover; 
  margin-right: 6px; 
  vertical-align: middle;
}

@media (max-width: 740px) {
    * {
      font-size: 70%;
    }

    main {
      margin-top: 20rem;
    }

    #logo_img {
      height: 115px;
    }

    .meme-icon {
      width: 30px; 
      height: auto; 
      margin-right: 4px;
    }
  .container .name {
    font-size: 20px;
  }
  .container .title {
    font-size: 17px;
  }
  .container .message {
    font-size: 22px;
  }
}

@media (max-width: 500px) {
    * {
      font-size: 55%;
    }

    main {
      margin-top: 25rem;
    }

    #logo_img {
      height: 110px;
    }

    .meme-icon {
      width: 20px; 
      height: auto; 
      margin-right: 2px;
    }
  .container .name {
    font-size: 20px;
  }
  .container .title {
    font-size: 17px;
  }
  .container .message {
    font-size: 22px;
  }
}

@media (max-width: 390px) {
    * {
      font-size: 45%;
    }
    main {
      margin-top: 25rem;
    }

    #logo_img {
      height: 100px;
    }

    .meme-icon {
      width: 10px; 
      height: auto; 
      margin-right: 1px;
    }
  .container .name {
    font-size: 20px;
  }
  .container .title {
    font-size: 17px;
  }
  .container .message {
    font-size: 22px;
  }
}


/* VOTE SNIPPET */

.widget {
  background: rgba(255, 255, 255, 0.2);
  
  border: 3px solid rgba(255, 255, 255, 0.2); /* Light border */
  border-radius: 10px; /* Rounded corners */
  padding: 20px; /* Padding inside the widget */
  color: #fff; /* White text color */
  width: 25vw;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* Subtle glow effect */
  backdrop-filter: blur(4px); /* Frosted glass effect */
  -webkit-backdrop-filter: blur(4px);
  margin: 20px; /* Spacing around the widget */
  font-family: 'Rubik', sans-serif; /* Font from your design */

  position: fixed; 
  left: 0; 
  top: 30%;
  transform: translateY(-50%);
  z-index: 3;
}

#vote-widget{
  z-index: -3;
}

.widget-logo {
  position: absolute;
  top: -15px; /* Ajustez selon la taille de votre logo pour le positionnement vertical */
  left: -15px; /* Ajustez selon la taille de votre logo pour le positionnement horizontal */
  width: 30px; /* Taille de la bulle */
  height: 30px; /* Taille de la bulle */
  border-radius: 50%; /* Rend l'image ronde */
  border: 2px solid #FFF; /* Optionnel : bordure blanche autour de l'image */
  box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Optionnel : légère ombre pour un effet de profondeur */
}



@media screen and (max-width: 1530px) { 
  .widget {
    display: none;
  }
}


.widget-header h3 {
  font-size: 3rem;
  margin: 0;
  padding-bottom: 10px;
  /*border-bottom: 3px solid rgba(255, 255, 255, 0.2);  Separator */
  text-align: center; /* Centered heading */
}

.widget-body {
  position: relative;
  display: flex;
  flex-direction: column; /* Stack input and button vertically */
  gap: 10px; /* Spacing between elements */
  align-items: center; /* Center align items */
  z-index: 3;
}


.meme_input {
  position: relative;
}

.meme_input input {
  text-transform: uppercase;
}

.dollar-sign {
  position: absolute;
  left: 15px; /* Ou la valeur appropriée pour aligner avec votre input */
  top: 50%;
  transform: translateY(-50%);
  color: white; /* Ou la couleur appropriée */
  font-size: 1.4rem; /* Ou la taille appropriée */
  /* Ajouter d'autres styles si nécessaire */
}

#vote-input {
  background: transparent; /* Transparent background */
  border: 1px solid #8a8fb9; /* Border color */
  border-radius: 5px; /* Rounded corners for input */
  color: #fff; /* White text color */
  padding: 10px; /* Padding inside the input */
  width: calc(100% - 10px); 

  padding-left: 35px;
}

#vote-btn {
  background-color: #04bd00;
  font-size: 2rem;
  border: none; /* No border */
  border-radius: 20px; /* Rounded corners for button */
  padding: 10px 20px; /* Padding inside the button */
  color: #fff; /* White text color */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s; /* Transition for a hover effect */
  
}

#vote-btn:hover {
  background-color: #268b4d; /* Darker purple on hover */
}

.wallet_vote_grid {
  width: 100%;
  
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 10px; 
}

.connect_button-container {
  display: flex;
  justify-content: flex-begin; 
}

.connect_button-container button {
  padding: 10px 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 2px solid transparent; /* Bordure transparente pour un effet subtil */
  border-radius: 30px; /* Coins arrondis pour un look moderne */
  background-color: #ed2d90; /* Un bleu vif, ajustez selon votre palette de couleurs */
  color: white; /* Couleur du texte */
  font-size: 1rem;
  font-weight: bold; /* Rend le texte plus lisible */
  cursor: pointer; /* Indique qu'il s'agit d'un élément cliquable */
  outline: none; /* Enlève le contour par défaut lors du focus */
  transition: all 0.3s ease; /* Transition douce pour les interactions */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

.connect_button-container button:hover {
  background-color: #b5053c; /* Assombrir le bouton au survol pour un feedback visuel */
  color: #FFF;
  border-color: #0056b3; /* Optionnel: Changez la couleur de la bordure au survol */
  transform: translateY(-2px); /* Léger déplacement vers le haut pour un effet de "soulèvement" */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Ombre plus prononcée pour l'effet au survol */
}

.connect_button-container button:active {
  transform: translateY(1px); /* "Presse" le bouton lors du clic */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ombre réduite pour l'effet enfoncé */
}

.conversion-text {
  position: relative;
  display: flex;
  right: 0;
  bottom: 0;
  align-items: center;
  justify-content: right;
  font-size: 0.9rem; /* Ajustez la taille de police si nécessaire */
}

.solana-logo {
  width: 20px; /* Ajustez selon la taille souhaitée */
  height: auto;
  margin-left: 5px;
}



#vote-input::placeholder {
  color: #fff; /* La couleur du placeholder */
  font-family: "Rubik", sans-serif;
  
  opacity: 1; /* S'assure que la couleur du placeholder n'est pas transparente */
}

/* Pour assurer la compatibilité avec tous les navigateurs pour le placeholder */
#vote-input:-ms-input-placeholder {
  font-family: "Rubik", sans-serif;
  
  color: #fff;
}

#vote-input::-ms-input-placeholder {
  font-family: "Rubik", sans-serif;
  
  color: #fff;
}

#vote-input::-webkit-input-placeholder {
  font-family: "Rubik", sans-serif;
  font-weight: bold;
  color: #fff;
}


/* ACTIVE VOTES SNIPPET */

#active-votes-widget {
  position: fixed; /* Position fixe sur la page */
  width: 25vw;
  left: 0; /* Collé au côté gauche de l'écran */
  top: 52%;
  transform: translateY(-50%); /* Ajustement pour centrer */
}

#active-votes-widget h2 {

  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 10px;
  text-align: center;

}

/* Style pour le nombre de votes */
#votes-count {
  font-size: 1.8rem;
  font-weight: bold; 
  color: white; 
}


/* VISITORS COUNT SNIPPET */

#visitors-widget {
  position: fixed; /* Position fixe sur la page */
  width: 25vw;
  left: 0; /* Collé au côté gauche de l'écran */
  top: 70%;
  transform: translateY(-50%); /* Ajustement pour centrer */
}

#visitors-widget h2 {

  font-size: 2.5rem;
  margin: 0;
  padding-bottom: 10px;
  text-align: center;

}

/* Style pour le nombre de visiteurs */
#visitors-count {
  font-size: 1.8rem;
  font-weight: bold; 
  color: white; 
}


@media (max-width: 740px) {
  .widget-header h3 {
    font-size: 4rem;
  } 
  #active-votes-widget h2 {
    font-size: 3rem;
  }

  #vote-input {
    font-size: 3rem;
  }

  .dollar-sign {
    font-size: 3.5rem;
    left: 10px;
  }

  #vote-btn {
    font-size: 3rem;
  }
}

@media (max-width: 500px) {
  .widget-header h3 {
    font-size: 5rem;
  }
  #active-votes-widget h2 {
    font-size: 4rem;
  }

  #vote-input {
    font-size: 3rem;
  }

  .dollar-sign {
    font-size: 4rem;
  }
}

@media (max-width: 390px) {
  .widget-header h3 {
    font-size: 6rem;
  }

  #active-votes-widget h2 {
    font-size: 5rem;
  }

  #vote-input {
    font-size: 3rem;
  }

  .dollar-sign {
    font-size: 4rem;
  }
}


/* VOTE BUTTON */

.animated-button {
  position: absolute;
  display: none;
  z-index: 3;
  top: 4rem;
  left: 50%; /* Position centrale */
  transform: translateX(-50%); /* Centrage horizontal */
  padding: 10px 20px; /* Espacement interne */
  border: 3px solid transparent; /* Bordure transparente pour un effet de transition */
  background-color: #7f5af0; /* Couleur de fond initiale */
  color: #FFFFFF; /* Couleur du texte */
  font-size: 3rem; /* Taille du texte */
  font-weight: bold; /* Gras pour le texte */
  border-radius: 20px; /* Coins arrondis */
  cursor: pointer; /* Curseur de pointeur pour indiquer la possibilité de cliquer */
  transition: all 0.5s ease; /* Transition douce pour les effets */
  outline: none; /* Enlève le contour lors de la sélection */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Ombre pour un effet de profondeur */
}

.animated-button:hover {
  background-color: #ffffff; /* Couleur de fond au survol */
  color: #7f5af0; /* Couleur du texte au survol */
  border-color: #7f5af0; /* Bordure visible au survol */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Ombre plus grande pour l'effet de survol */
}

.animated-button:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Ombre réduite lors du clic */
  transform: translateX(-50%) translateY(2px); /* Léger déplacement vers le bas lors du clic */
}

@media screen and (max-width: 1530px) { 
  .animated-button {
    display: block;
  }
}

@media (max-width: 740px) {
  .animated-button {
    display: block;
    top: 10rem;
    font-size: 4rem;
  }

}

@media (max-width: 500px) {
    .animated-button {
    display: block;
    top: 13rem;
    font-size: 5rem;
  }
}

@media (max-width: 390px) {
    .animated-button {
    display: block;
    top: 13rem;
    font-size: 5rem;
  }
}



/* MEMES WORDS ANIMATION */

#words-container {
  position: fixed;
  bottom: 10px;
  right: 5vw;
  z-index: 1000;
}

.floating-word {
  background-color: #fff;
  font-family: "Rubik", sans-serif;
  font-weight: bold;
  border-radius: 25px;
  padding: 5px 15px;
  margin-bottom: 10px;
  opacity: 0;
  position: absolute;
  right: 20px; /* Commencez à partir du coin inférieur droit */
  bottom: 20px; /* Espace à partir du bas */
  animation: floatUpAndFade 4s ease-in-out forwards;
}

.word-text {
  position: relative; /* Nouveau: nécessaire pour le positionnement de .plus-one */
  display: inline-block; /* Assure que le span comporte des dimensions */
}

.plus-one {
  content: "+1";
  position: absolute;
  top: -10px; right: -10px;
  background-color: red;
  color: white;
  font-size: 0.7rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Animation keyframes */
@keyframes floatUpAndFade {
  0% {
    opacity: 0;
    bottom: 10px; /* Position de départ au fond */
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    bottom: 300px;
  }
}

@media (max-width: 900px) {
  #words-container {
    display: none;
  }
}



/* ANIMATION DE RESPONSIVE WIDGET */

/* Animation pour déplacer le contenu principal */
@keyframes slideOutLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100vw); /* Déplace le contenu hors de l'écran à gauche */
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(-100vw);
  }
  to {
    transform: translateX(0); /* Déplace le contenu au centre de l'écran */
  }
}

/* Animation pour faire apparaître les widgets */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}



.back_button_vote{
  position: absolute;
  display: flex;
  display: none;
  padding: 0.6rem;
  z-index: 4;
  border-radius: 50%;
  color: white;
  background: orange;
  cursor: pointer;
  top: 18%;
  left: 10%;
}




/* TOAST BAR FRIENDLY NOTIFICATIONS */



.toast {
  position: fixed;
  z-index: 100;
  max-width: 60vw;
  bottom: 25px;
  right: 30px;
  border-radius: 12px;
  background: #fff;
  padding: 20px 35px 20px 25px;
  box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transform: translateX(calc(100% + 30px));
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.toast.active {
  transform: translateX(0%);
}

.toast .toast-content {
  display: flex;
  align-items: center;
}

.toast-content .check {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  min-width: 35px;
  background-color: rgb(236, 166, 13);
  color: #fff;
  font-size: 20px;
  border-radius: 50%;
}

.toast-content .message {
  display: flex;
  flex-direction: column;
  margin: 0 20px;
}

.message .text {
  font-size: 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  color: #666666;
}

.message .text.text-1 {
  font-weight: 600;
  color: #333;
}

.toast .close {
  position: absolute;
  z-index: 120;
  color: #000;
  top: 10px;
  right: 15px;
  padding: 5px;
  cursor: pointer;
  opacity: 0.7;
}

.toast .close:hover {
  opacity: 1;
}

.toast .progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;

}

.toast .progress:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(236, 166, 13);
}

.progress.active:before {
  animation: progress 5s linear forwards;
}

@keyframes progress {
  100% {
    right: 100%;
  }
}





/*THREE DOTS NOTIF TEMPLATE*/



.three_dots {
        position: fixed;
        box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.8);
        width: 55%;
        max-width: 500px;
        /*height: 40%;*/
	top: 50%;
	left: 48%;
	transform: translate(-50%, -50%);
	text-align: center; /* not part of solution */
        background-image: linear-gradient(to right top, #051937, #004d7a, #008793, #00bf72, #a8eb12);
        margin: 20px 20px 20px 20px;
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        border-radius: 20px;
        z-index: 5;
        display: none;

}

.three_dots h1 {
  color: white;
  font-weight: bold;
}

.three_dots span {
  color: black;
  font-weight: bold;
  font-size: 0.8rem;
}

.vote_disclaimer{
  position: absolute;
  width: 100%;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Rubik", sans-serif;
}

.vote_disclaimer h3 {
  color: #b6d7a8;
  font-size: 18px;
}

.sol_conversion {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Rubik", sans-serif;
}

.sol_conversion h4 {
  color: #c5d97a;
  font-size: 35px;
}

@media (max-width: 630px) {

  .vote_disclaimer h3 {
    font-size: 11px;
  }
  .sol_conversion h4 {
    font-size: 22px;
  }
}

.zone-absolue {
  position: absolute; 
  top: 80%; 
  left: -2%; 
  display: flex; 
  align-items: center;
  font-family: "Rubik", sans-serif;
}

.zone-absolue img {
  border-radius: 50%; /* Rendre l'image ronde */
  width: 50px; /* Ajustez la taille de l'image selon vos besoins */
  height: 50px; /* Ajustez la hauteur pour conserver l'aspect rond */
  margin-right: 10px; /* Espace entre l'image et le texte */
}

.zone-absolue p {
  font-weight: bold;
  font-size: 20px;
  color: white;
  margin: 0; /* Retirer la marge par défaut du paragraphe */
}


/**
 * ==============================================
 * Dot Spin
 * ==============================================
 */

.three_dots .snippet {
  position: relative;
  //background: #fff;
  padding: 32px 5%;
  margin: 20px 0;
  //box-shadow: 0 4px 12px -2px rgba(0, 32, 128, .1), 0 0 0 1px rgba(60, 80, 120, 0.1);
  border-radius: 16px;
}


.three_dots .stage {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 18px 0;
    margin: 0 -5%;
    overflow: hidden;
}


.three_dots .dot-spin {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: transparent;
  color: transparent;
  //box-shadow: 0 -18px 0 0 #9880ff, 12.727926px -12.727926px 0 0 #9880ff, 18px 0 0 0 #9880ff, 12.727926px 12.727926px 0 0 rgba(152, 128, 255, 0), 0 18px 0 0 rgba(152, 128, 255, 0), -12.727926px 12.727926px 0 0 rgba(152, 128, 255, 0), -18px 0 0 0 rgba(152, 128, 255, 0), -12.727926px -12.727926px 0 0 rgba(152, 128, 255, 0);
  animation: dot-spin 1.5s infinite linear;
}

@keyframes dot-spin {
  0%, 100% {
    box-shadow: 0 -18px 0 0 #9880ff, 12.727926px -12.727926px 0 0 #9880ff, 18px 0 0 0 #9880ff, 12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), 0 18px 0 -5px rgba(152, 128, 255, 0), -12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), -18px 0 0 -5px rgba(152, 128, 255, 0), -12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0);
  }
  12.5% {
    box-shadow: 0 -18px 0 -5px rgba(152, 128, 255, 0), 12.727926px -12.727926px 0 0 #9880ff, 18px 0 0 0 #9880ff, 12.727926px 12.727926px 0 0 #9880ff, 0 18px 0 -5px rgba(152, 128, 255, 0), -12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), -18px 0 0 -5px rgba(152, 128, 255, 0), -12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0);
  }
  25% {
    box-shadow: 0 -18px 0 -5px rgba(152, 128, 255, 0), 12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0), 18px 0 0 0 #9880ff, 12.727926px 12.727926px 0 0 #9880ff, 0 18px 0 0 #9880ff, -12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), -18px 0 0 -5px rgba(152, 128, 255, 0), -12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0);
  }
  37.5% {
    box-shadow: 0 -18px 0 -5px rgba(152, 128, 255, 0), 12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0), 18px 0 0 -5px rgba(152, 128, 255, 0), 12.727926px 12.727926px 0 0 #9880ff, 0 18px 0 0 #9880ff, -12.727926px 12.727926px 0 0 #9880ff, -18px 0 0 -5px rgba(152, 128, 255, 0), -12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0);
  }
  50% {
    box-shadow: 0 -18px 0 -5px rgba(152, 128, 255, 0), 12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0), 18px 0 0 -5px rgba(152, 128, 255, 0), 12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), 0 18px 0 0 #9880ff, -12.727926px 12.727926px 0 0 #9880ff, -18px 0 0 0 #9880ff, -12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0);
  }
  62.5% {
    box-shadow: 0 -18px 0 -5px rgba(152, 128, 255, 0), 12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0), 18px 0 0 -5px rgba(152, 128, 255, 0), 12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), 0 18px 0 -5px rgba(152, 128, 255, 0), -12.727926px 12.727926px 0 0 #9880ff, -18px 0 0 0 #9880ff, -12.727926px -12.727926px 0 0 #9880ff;
  }
  75% {
    box-shadow: 0 -18px 0 0 #9880ff, 12.727926px -12.727926px 0 -5px rgba(152, 128, 255, 0), 18px 0 0 -5px rgba(152, 128, 255, 0), 12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), 0 18px 0 -5px rgba(152, 128, 255, 0), -12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), -18px 0 0 0 #9880ff, -12.727926px -12.727926px 0 0 #9880ff;
  }
  87.5% {
    box-shadow: 0 -18px 0 0 #9880ff, 12.727926px -12.727926px 0 0 #9880ff, 18px 0 0 -5px rgba(152, 128, 255, 0), 12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), 0 18px 0 -5px rgba(152, 128, 255, 0), -12.727926px 12.727926px 0 -5px rgba(152, 128, 255, 0), -18px 0 0 -5px rgba(152, 128, 255, 0), -12.727926px -12.727926px 0 0 #9880ff;
  }
}




/* CONFIRM BOX STYLES*/


.wrap {
  margin: auto;
  position: fixed;
  
  width: 25rem;
  height: 18rem;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  
}
.modal {
  //background-color: #fff;
  background-image: linear-gradient(120deg, #a6c0fe 0%, #f68084 100%);
  box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.8);

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  

  padding: 2em 3em;
  text-align: center;
  border-radius: 3em;
  display: none;
}
.modal.is-active {
  display: block;
  z-index: 4;
  
  
}
.modal-image {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  //box-shadow: 0 0 0 2px #48db71;
  //padding: 11px 10px 2px;
  margin-bottom: 1em;
}

.modal-image img {
  width: 80px;
  height: 80px;
  //margin: 0 auto;
  border-radius: 50%;
}


.wrap h1 {
  font-size: 4em;
  color: white;
  font-weight: bold;
}
.wrap p {
  margin-bottom: 2em;
  font-family: "Rubik", sans-serif;
  color: #666;
}
.btn-open {
  display: none;
}
.btn-open.is-active {
  display: none;
}
button {
  font-size: 1.25em;
  font-weight: bold;
  background-color: rgb(235, 157, 39);
  border: none;
  padding: 0.5em 1em;
  color: #fff;
  box-shadow: 0 0 0 2px #000 inset;
  border-radius: 0.25em;
  cursor: pointer;
  transition: background 0.4s ease, color 0.4s ease;
}
button:hover {
  box-shadow: 0 0 0 2px #000 inset;
  color: rgb(0, 0, 0);
  background-color: transparent;
}






/* MEME PROFILES CARDS */

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}
.card {
  width: 300px;
  max-width: 300px;
  //min-height: 490px;
  position: relative;
  text-align: center;
  margin: 32px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  font-family: "Rubik", sans-serif;
  //pointer-events: auto;
}

.close_icon{
  width: 30px;
  height: 30px;
  position: absolute;
  top: 4%;
  right: 4%;
  color: black;
  cursor: pointer;
  pointer-events: auto;
}


.pic-container {
  width: 110px;
  height: 110px;
  border-radius: 100%;
  margin: 40px auto 20px;
}
.pic {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  margin: auto;
  position: relative;
  top: 5px;
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.2);
}
.container .name {
  color: #394f63;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
}
.container .title {
  color: #3d77c2;
  font-size: 17px;
  padding: 8px;
}
.container .description {
  font-size: 18px;
  font-weight: 300;
  padding: 10px 22px;
}
.container .message {
  font-size: 22px;
  background: #0088ff;
  background: -webkit-linear-gradient(to right, #1da1f2, #0088ff);
  background: linear-gradient(to right, #1da1f2, #0088ff);
  box-shadow: 0 0 20px 4px #ffffff, 0 0 20px 0px #0088ff;
  border-radius: 32px;
  padding: 10px;
  margin: 16px 28px;
  cursor: pointer;
}
.container .message:hover {
  box-shadow: 0 0 20px 0px #ffffff, 0 4px 20px 0px #0088ff;
  transition: 0.3s;
}
.links {
  margin: 15px 0;
}
.container .links a, .container .message a {
  text-decoration: none;
  color: #fff;
}

.container span {
  font-size: 18px;
}

.message a {
  font-size: 22px;
}


.tg,
.x,
.chart,
.website {
  position: relative;
  background: red;
  display: inline-block;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0px 4px;
}
.tg {
  background: linear-gradient(45deg, #3b5998, #0078d7);
  box-shadow: 0px 4px 30px rgba(43, 98, 169, 0.5);
}
.x {
  background: linear-gradient(45deg, #324e63, #414447);
  box-shadow: 0px 4px 30px rgba(55, 75, 90, 0.6);
}
.chart {
  background: linear-gradient(45deg, #d5135a, #ff0000);
  box-shadow: 0px 4px 30px rgba(223, 45, 70, 0.6);
}
.website {
  background: linear-gradient(45deg, #d5135a, #f05924);
  box-shadow: 0px 4px 30px rgba(223, 45, 70, 0.6);
}
.tg:hover {
  transition: 0.3s;
  box-shadow: 0px 8px 30px rgb(43, 98, 169);
}
.x:hover {
  transition: 0.3s;
  box-shadow: 0px 8px 30px rgb(55, 75, 90);
}
.chart:hover {
  transition: 0.3s;
  box-shadow: 0px 8px 30px rgb(223, 45, 70);
}
.website:hover {
  transition: 0.3s;
  box-shadow: 0px 8px 30px rgb(223, 45, 70);
}

.container i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  
  font-size: 28px;
}

@media screen and (max-width: 1530px) { 
  .container i {
    font-size: 28px;
  }
  .container .name {
    font-size: 20px;
  }
  .container .title {
    font-size: 17px;
  }
}

@media (max-width: 740px) {
  .container i {
    font-size: 28px;
  }
}

@media (max-width: 500px) {
  .container i {
    font-size: 28px;
  }
}

@media (max-width: 390px) {
  .container i {
    font-size: 28px;
  }
}



/* Animation d'apparition */
@keyframes zoomIn_detail {
  from {
    transform: translate(-50%, 0%) scale(0);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0%) scale(1);
    opacity: 1;
  }
}

/* Animation de disparition */
@keyframes slideOutLeft_detail {
  from {
    transform: translate(-50%, 0%);
    opacity: 1;
  }
  to {
    transform: translate(-150%, 0%);
    opacity: 0;
  }
}

/* Classes pour gérer l'affichage et les animations */
.show_detail {
  animation: zoomIn_detail 0.3s forwards;
}

.hide_detail {
  animation: slideOutLeft_detail 0.4s forwards;
}



