.projects-top-banner-container {
  width: 100%;
  height: 200px;
  background-image: url(./../media/projects-cover.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--color-brand);
  background-blend-mode: hard-light;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 44px;
  font-weight: 600;
  color: #fff;
}
.projects-top-banner-container span {
  background: #f9f9f9bf;
  width: 100%;
  text-align: center;
  color: #0a5688;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.projects-main-container {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-title {
  font-size: 26px;
  text-align: center;
  margin: 4rem 0 0 0;
  padding: 1rem;
  font-weight: 500;
}
.projects-subtitle {
  text-align: center;
  margin-bottom: 4rem;
}

/* Here goes the filter component styles */

[id$="-content-comp"] {
  display: none; /* Hide all sections initially */
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

div#ref-filter-comp {
  background: var(--bg);
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ref-filter-btn {
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  font-size: 18px;
  font-weight: 500;
  border: 1px solid var(--color-grey);
  cursor: pointer;
}
.ref-filter-btn.active-filter {
  background-color: var(--color-brand);
  color: #fff;
}

/* Here goes the projects content */

div#ref-parent-comp {
  width: 100%;
  padding: 5rem 2rem;
}

/* div#facade-content-comp {
  flex-wrap: wrap;
  justify-content: space-between;
}
div#floor-content-comp {
  flex-wrap: wrap;
  justify-content: space-between;
} */
img.ref-content-item {
  width: 25%;
  max-width: 360px;
  height: auto;
  margin-bottom: 5rem;
  border-radius: 0.5rem;
}

.projects-cards {
  width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 4rem 1rem;
}
.projects-cards img {
  border-radius: 1rem;
  width: 100%;
  max-width: 300px;
  height: auto;
  box-shadow: var(--shadow-1);
}

.mobile-filter-btn {
  display: none;
}
.filter-wrap {
  position: relative;
}


@media screen and (max-width: 800px) {
  img.ref-content-item {
    width: 100%;
  }
  .mobile-filter-btn {
    display: block;
    width: 100%;
    cursor: pointer;
    background: var(--color-brand);
    width: 100%;
    height: 60px;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: 500;
    border-radius: 1rem;
    color: #fff;
    gap: 1rem;
  }
  div#ref-filter-comp {
    display: none;
  }
  div#ref-filter-comp.open {
    display: flex;
    position: absolute;
    top: 60px;
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    padding: 1rem;
    border-radius: 1rem;
  }
}
