.container-portfolio{
    position: relative;
    overflow: hidden;
}
.gradient-bg{
    position: absolute;
    inset: 0;
    z-index: -10;    
}

.blob-bleu{
    position: absolute;
    top: -5rem;
    left: -5rem;

    width: 24rem;
    height: 24rem;

    opacity: 0.08;
    z-index: -10;

    border-radius: 30% 70% 70% 30% /
               30% 30% 70% 70%;
}
.gradient-bleu {
  background: linear-gradient(
    135deg,
    #3b82f6,
    #60a5fa
  );
}
.animate-blob {
  animation: blob 8s ease-in-out infinite;
}
@keyframes blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.blob-red{
    position: absolute;
    top: 10rem;
    right: 0;

    width: 20rem;
    height: 20rem;

    opacity: 0.07;
    z-index: -10;

    border-radius: 63% 37% 54% 46% /
               55% 48% 52% 45%;
}
.gradient-red {
  background: linear-gradient(
    135deg,
    #ef4444,
    #f87171
  );
}

.fadeup-portfolio{
    width: 100%;
    max-width: 48rem;

    margin: 0 auto;
    padding: 6rem 0;

    text-align: center;

    animation: fadeUp 0.8s ease-out forwards;
}

/*Filtre*/
.container-filtre{
    width: 100%;
    margin: 0 auto;
    padding-bottom: 2rem;
}
.filtre-portfolio{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem; 
}

.menu-filtre{
    padding: 0.5rem 1rem;

    border-radius: 9999px;

    font-size: 0.875rem;
    line-height: 1.25rem;

    font-weight: 500;

    background-color: #fff;

    box-shadow: var(--shadow-card) !important;
    color: var(--background) !important;
    border: #ffffff;

    transition: all 150ms ease;
}
.menu-filtre:hover {
  color: var(--foreground);
  transform: translateY(-0.125rem);
}

.gap-portfolio{
    margin: 0 auto;
    padding: 1rem;
    max-width: 1400px;
    height: auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.card-portfolio{
    display: flex;
    flex-direction: column;

    border-radius: 1.5rem;

    background-color: #fff;

    padding: 1rem;

    overflow: hidden;
}
.card-portfolio:hover {
  box-shadow: var(--shadow-glow);

  transform: translateY(-0.25rem);
}

.text-description {
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    text-align: left;
    color: hsl(var(--muted-foreground));

    margin-top: 0.25rem;
}

.span-btn{
    display: flex;

    align-items: center;
    justify-content: center;
}

.wp-block-button__link{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.5rem;
    white-space: nowrap;
    border-radius: 0.375rem;

    font-weight: 600;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    text-decoration: none;

    padding: 1rem;
    margin-right: 10%;

    background-color: white !important;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;    
}

.span-categorie{
    font-family: "Inter", sans-serif;
    letter-spacing: 0.05em;
    font-weight: 600;
    font-size: 0.75rem;

    margin-left: 10%;

    line-height: 1rem;
    text-transform: uppercase;
    color: hsl(var(--muted-foreground));    
}