.project-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 22rem;
  max-width: 35rem;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
  gap: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-card img {
  height: 11rem;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.project-card .status {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 4px;
  background-color: var(--color-secondary);
  font: var(--label-font);
}

.project-card p {
  font: var(--label-font);
}

.project-card .bottom-section {
  display: flex;
  flex-direction: column;
  height: 8rem;
  padding: 0rem 0.5rem;
  gap: 3.5rem;
  align-self: stretch;
  flex-shrink: 0;
}

.project-card .bottom-section h3 {
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.project-card:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

/* PAGINA CV */
.info-card {
  display: flex;
  flex-direction: column;
  max-width: 44.4375rem;
  padding: 0.5rem 1rem 1rem 1rem;
  gap: 0.75rem;
  flex: 1 0 0;
  border-radius: 0.5rem;
  border: 1px solid var(--color-bg-light);
  background: var(--color-secondary);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.info-card .top-section {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  border-bottom: 1.5px solid var(--color-primary);
  padding-bottom: 0.75rem;
}

.info-card .top-section p,
.info-card .top-section .date {
  color: var(--color-text-muted);
}
