:root {
  /* Variables des couleurs */
  --fond-bas: #221436;
  --fond-haut: #18161B;

  --violet-principal: #BE6ADF;
  --violet-clair: #D695F0;

  --texte: #18161B;
}

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

h1 {
 color: var(--fond-bas);
  font-weight: 600;
  font-size: 3rem;
  opacity: 0.8;
}
h2,
p {
  color: var(--texte);
  font-weight: 500;
  opacity: 1;
}

h3 {
 color: var(--fond-bas);
  font-weight: 600;
  opacity: 0.8;
}

main {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  background: linear-gradient(
    to top,
    var(--fond-bas),
    var(--fond-haut)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.glass {
  background: white;
  min-height: 80vh;
  width: 85em;
  background: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.3)
  );
  border-radius: 2rem;
  z-index: 2;
  backdrop-filter: blur(2rem);
  display: flex;
}
.circle1,
.circle2 {
  background: white;
  background: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.3)
  );
  height: 20rem;
  width: 20rem;
  position: absolute;
  border-radius: 50%;
}

.circle1 {
  top: 3%;
  right: 12%;
}
.circle2 {
  bottom: 3%;
  left: 8%;
}
.dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  background: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.3)
  );
  border-radius: 2rem;
}

.prez {
  padding-left: 5%;
  padding-right: 5%;
}

.link {
  position: relative;
  display: flex;
  margin: 1rem 0;
  padding: 1rem 5rem;
  align-items: center;
  text-align: left;
}

.link h2 {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}

.link i {
  background-image: linear-gradient(to right, var(--violet-principal), var(--fond-bas)); 
  font-size: 3em;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-image 1s;
}

.link:hover {
  cursor: pointer;
}

.link h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 2px;
  background-color: var(--gris-noir); 
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  margin-left: 1em;
}

.link:hover h2::before {
  transform: scaleX(1);
}

.user img {
  max-width: 60%;
  border-radius: 100%;
  margin-top: 1em;
}

hr {
  height: 10px;
  background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border: none;
  border-radius: 1em;
}

.status {
  margin-bottom: 2rem;
}

.soutiens {
  flex: 2;
  margin: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.card {
  background: linear-gradient(
    to left top,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.5)
  );
  border-radius: 1rem;
  margin: 2rem 0rem;
  padding: 2rem;
  box-shadow: 6px 6px 20px rgba(122, 122, 122, 0.212);
  justify-content: space-between;
}

.card:hover {
  background-color: var(--peche);
  cursor: pointer;
}

.card-info h2{
  width: 100%;
  text-align: center;
}


.copyright {
  position: absolute;
  bottom: 0.5em;
  right: 5em;
  color: var(--vert-gris);
}

.presentation {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.donation {
  display: flex;
  flex-direction: column;
  gap: 2em;
  max-width: 100%;
  justify-content: space-between;
  margin-top: 2em;
}



a {
  text-decoration: none;
  color: var(--vert-gris);
}

.card {
  background: linear-gradient(
    to left top,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.5)
  );
  border-radius: 1rem;
  margin: 2rem 0rem;
  padding: 2rem;
  box-shadow: 6px 6px 20px rgba(122, 122, 122, 0.212);
  justify-content: space-between;
}

.card:hover {
  background-color: var(--peche);
  cursor: pointer;
}

.card-info h2{
  width: 100%;
  text-align: center;
}