
/* Projekter side */

.projects-page-section {
  background: #e5e5e5;
  padding: 80px 8% 100px;
}

.projects-page-header {
  max-width: 560px;
  margin: 0 auto 55px;
}

.projects-page-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 12px;
}

.projects-page-header p {
  font-size: 15px;
  line-height: 1.6;
  color: #2b2b2b;
}

.projects-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  justify-content: center;
  gap: 70px 70px;
}

.projects-page-card {
  color: #2b2b2b;
  text-decoration: none;
  display: block;
  transition: .3s ease;
}

.projects-page-card:hover {
  transform: translateY(-4px);
}

.projects-page-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  margin-bottom: 18px;
  transition: .3s ease;
}

.projects-page-card:hover img {
  transform: scale(1.025);
  opacity: .92;
}

.projects-page-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2b2b2b;
}

.projects-page-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 22px;
  color: #2b2b2b;
}

.projects-page-card span {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .6px;
  color: #2b2b2b;
  transition: .2s ease;
}

.projects-page-card span:hover {
  color: #315E3A;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 12px 16px;
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}


@media (max-width: 768px) {

  .projects-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .projects-page-card {
    display: block;
    width: 100%;
  }

  .projects-page-card img {
    width: 100%;
    height: 135px;
    object-fit: cover;
  }

  .projects-page-card h3 {
    font-size: 14px;
  }

  .projects-page-card p {
    font-size: 12px;
  }

  .projects-page-card span {
    font-size: 12px;
  }
}