/* =========================
   PORTFOLIO PAGE
========================= */

.portfolio-page-section{
  position:relative;

  padding:100px 0;

  background:#050505;

  overflow:hidden;
}

/* BACKGROUND */

.portfolio-page-section::before{
  content:'';

  position:absolute;

  top:-120px;
  left:-120px;

  width:320px;
  height:320px;

  border-radius:50%;

  background:#1f2937;

  filter:blur(140px);

  opacity:.18;
}

.portfolio-page-section::after{
  content:'';

  position:absolute;

  bottom:-150px;
  right:-150px;

  width:380px;
  height:380px;

  border-radius:50%;

  background:#374151;

  filter:blur(160px);

  opacity:.18;
}

/* =========================
   HEADING
========================= */

.portfolio-heading{
  position:relative;

  z-index:2;

  text-align:center;

  max-width:760px;

  margin:auto auto 60px;
}

/* BADGE */

.portfolio-badge{
  display:inline-flex;
  align-items:center;

  gap:10px;

  padding:10px 18px;

  border-radius:999px;

  background:rgba(255,255,255,0.05);

  border:1px solid rgba(255,255,255,0.08);

  color:#d1d5db;

  font-size:13px;
  font-weight:500;

  margin-bottom:22px;
}

.portfolio-badge span{
  width:8px;
  height:8px;

  border-radius:50%;

  background:#ffffff;
}

/* TITLE */

.portfolio-heading h1{
  color:#ffffff;

  font-size:52px;
  font-weight:800;

  line-height:1.2;

  margin-bottom:20px;
}

/* TEXT */

.portfolio-heading p{
  color:#9ca3af;

  font-size:15px;

  line-height:1.9;
}

/* =========================
   FILTERS
========================= */

.portfolio-filters{
  display:flex;
  align-items:center;
  justify-content:center;

  gap:14px;

  flex-wrap:wrap;

  margin-bottom:60px;
}

/* BUTTON */

.portfolio-btn{
  padding:12px 24px;

  border:none;

  border-radius:999px;

  background:rgba(255,255,255,0.04);

  border:1px solid rgba(255,255,255,0.08);

  color:#d1d5db;

  font-size:14px;
  font-weight:600;

  cursor:pointer;

  transition:.35s;
}

.portfolio-btn.active{
  background:#ffffff;

  color:#000000;
}

.portfolio-btn:hover{
  background:#ffffff;

  color:#000000;
}

/* =========================
   GRID
========================= */

.portfolio-grid{
  display:grid;

  grid-template-columns:repeat(3,1fr);

  gap:28px;
}

/* CARD */

.portfolio-card{
  position:relative;

  border-radius:30px;

  overflow:hidden;

  background:rgba(255,255,255,0.03);

  border:1px solid rgba(255,255,255,0.06);

  transition:.4s;
}

.portfolio-card:hover{
  transform:translateY(-10px);

  background:rgba(255,255,255,0.05);
}

/* IMAGE */

.portfolio-image{
  height:240px;

  background:#111111;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#ffffff;

  font-size:70px;

  position:relative;

  overflow:hidden;
}

/* GLOW */

.portfolio-image::before{
  content:'';

  position:absolute;

  width:220px;
  height:220px;

  border-radius:50%;

  background:rgba(255,255,255,0.06);

  filter:blur(60px);
}

/* CONTENT */

.portfolio-content{
  padding:30px 26px;
}

/* SMALL */

.portfolio-content span{
  display:inline-block;

  color:#d1d5db;

  font-size:13px;
  font-weight:600;

  margin-bottom:14px;

  text-transform:uppercase;
}

/* TITLE */

.portfolio-content h3{
  color:#ffffff;

  font-size:24px;
  font-weight:700;

  margin-bottom:14px;
}

/* TEXT */

.portfolio-content p{
  color:#9ca3af;

  font-size:14px;

  line-height:1.9;

  margin-bottom:24px;
}

/* LINK */

.portfolio-content a{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:12px 22px;

  border-radius:14px;

  background:#ffffff;

  color:#000000;

  font-size:14px;
  font-weight:600;

  text-decoration:none;

  transition:.35s;
}

.portfolio-content a:hover{
  transform:translateY(-4px);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

  .portfolio-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .portfolio-heading h1{
    font-size:44px;
  }

}

@media(max-width:768px){

  .portfolio-page-section{
    padding:80px 0;
  }

  .portfolio-heading{
    margin-bottom:50px;
  }

  .portfolio-heading h1{
    font-size:36px;
  }

  .portfolio-heading p{
    font-size:14px;
  }

  .portfolio-grid{
    gap:20px;
  }

  .portfolio-image{
    height:200px;

    font-size:60px;
  }

  .portfolio-content{
    padding:24px 20px;
  }

  .portfolio-content h3{
    font-size:20px;
  }

}

@media(max-width:576px){

  .portfolio-page-section{
    padding:70px 0;
  }

  .portfolio-heading h1{
    font-size:30px;
  }

  .portfolio-heading p{
    font-size:13px;
  }

  .portfolio-filters{
    justify-content:flex-start;

    overflow-x:auto;

    flex-wrap:nowrap;

    padding-bottom:6px;

    scrollbar-width:none;
  }

  .portfolio-filters::-webkit-scrollbar{
    display:none;
  }

  .portfolio-btn{
    white-space:nowrap;

    padding:10px 18px;

    font-size:13px;
  }

  .portfolio-grid{
    grid-template-columns:1fr;
  }

  .portfolio-image{
    height:180px;

    font-size:52px;
  }

  .portfolio-content h3{
    font-size:18px;
  }

  .portfolio-content p{
    font-size:13px;
  }

}