body {
  background: black;
  /* display: flex; */
  color: #fff;
  height: 100vh;
  margin: 0;
}

.container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.card {
  width: 238px;
  height: 379px;
  background: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Single color variable */
/* :root {
  --play-color: blue;
} */

.play-button {
  width: 55px;
  height: 55px;
  background: rgb(151, 128, 252);
  /* background-color: #d9d9d9; */
  border: 4px solid #011bd7;
  border-radius: 50%;
  position: relative;
}

/* Outer Blue Triangle (border) */
.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 22px solid #011bd7; /* Bigger blue triangle */
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

/* Inner White Triangle (fill) */
.play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 14px solid rgb(151, 128, 252); /* Smaller white triangle inside */
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.portfolio-section {
  max-width: 1200px;
  margin: auto;
  padding: 120px 20px 40px;
  text-align: center;
}
.portfolio-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  /* margin-bottom: px; */
  font-weight: bold;
  /* color: antiquewhite; */
}

/* Filter Menu */
.filter-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 20px;
  margin-bottom: 80px;
  margin-top: 100px;
}
.filter-menu button {
  background: none;
  border: none;
  color: #aaa;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-menu button:hover,
.filter-menu button.active {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .container {
    flex-direction: column; /* stack cards vertically */
    align-items: center;
  }
    .portfolio-title {
    font-size: 1.5rem;
  }
 .filter-menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    margin: 20px 0;
    padding-bottom: 10px;
    scrollbar-width: none; /* hide scrollbar in Firefox */
  }

  .filter-menu::-webkit-scrollbar {
    display: none; /* hide scrollbar in Chrome/Safari */
  }

  .filter-menu button {
    background: #222;
    color: #ccc;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .filter-menu button:hover,
  .filter-menu button.active {
    background: #444;
    color: #fff;
    text-decoration: none;
  }
}
