.projects {
}

.projects .projecs__title {
  width: 100%;
  text-align: center;
  margin: 20px 0;
}

.filter {
  text-align: center;
}

@media (max-width: 767px) {
  .filter {
    position: relative;
  }
}

.filter a {
  margin: 0 15px;
  text-transform: uppercase;
  color: black;
  display: block;
}

.filter a:hover {
  color: var(--e-global-color-accent);
}

.filter a.active {
  font-weight: bold;
  color: var(--e-global-color-accent);
}

.projects .projecs__title h2.subtitle {
  font-family: var(--e-global-typography-b7dff14-font-family), Sans-serif;
  font-size: var(--e-global-typography-b7dff14-font-size);
  font-weight: var(--e-global-typography-b7dff14-font-weight);
  text-transform: var(--e-global-typography-b7dff14-text-transform);
  line-height: var(--e-global-typography-b7dff14-line-height);
  letter-spacing: var(--e-global-typography-b7dff14-letter-spacing);
}

.projects .item {
  width: 100%;
  height: 390px;
  position: relative;
  display: block;
  padding: 0;
}

.projects .item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0;
  transition: opacity 300ms ease;
}

.projects .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.projects .item .meta {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 150px;
  height: 150px;
  border-radius: 100%;
  border: 2px solid var(--e-global-color-primary);
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  z-index: 1;
  color: var(--e-global-color-primary);
  opacity: 0;
  transition: opacity 300ms ease;
}

.projects .item .meta strong {
  font-weight: 900;
}

.projects .item:hover::after {
  opacity: 0.8;
}

.projects .item:hover .meta {
  opacity: 1;
}

.projects__item.read-more {
  text-align: center;
}

.projects__item.read-more a {
  margin: 40px 0;
}

/* lines */
.projects__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}

.projects__row::before {
  content: '';
  position: absolute;
  width: 150vw;
  height: 1px;
  background: var(--e-global-color-2875037);
  left: -50vw;
}

.projects__row:nth-of-type(2)::before {
  content: none;
}

.projects__row:last-of-type::before {
  bottom: 0;
}

.projects__item {
  border-top: 1px solid var(--e-global-color-2875037);
  border-right: 1px solid var(--e-global-color-2875037);
  border-bottom: 0;
  border-left: 0;
  padding: 15px;
}

.projects__row:nth-of-type(2) .projects__item {
  border-top: none;
}

.projects__row:last-of-type .projects__item {
  border-top: none;
  /* border-bottom: 2px solid var(--e-global-color-2875037); */
}

.projects__item:first-of-type {
  border-left: none;
}

.projects__item:nth-of-type(3) {
  border-right: none;
}

@media (max-width: 1000px) {
  .projects .projecs__title h2.elementor-heading-title {
    font-size: 40px;
    line-height: 40px;
  }
}

@media (max-width: 767px) {
  .projects__row {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .projects__row::before {
    content: none;
  }

  .projects__item {
    padding: 10px 5px;
    border: none !important;
  }
}
