/* CSS */
.realized-projects {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.project-card {
  background: var(--light-color);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 2px 4px var(--primary-color);
  transition: transform 0.2s;
}

.project-card img {
  width: 100%;
  display: block;
  height: auto;
}

.project-card p {
  padding: 0;
  font-size: 1.3rem;
  font-weight: 500;
  text-align: left;
  color: var(--primary-color);
}

.project-card:hover {
  transform: translateY(-5px);
}

.house_inf {
  padding: 0.7em 2em;
}

.house_info {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3em;
}

.house_info p {
  color: rgb(87, 87, 87);
  font-size: 1em;
}

/* Responsivita pro mobil */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }


}

@media (min-width: 769px) {

  .house_info {
    margin-right: 1em;
  }
}