#materials-hero {
  background: url("../images/materials.jpg") no-repeat center/cover;
  position: relative;
  z-index: 1;
}

#materials-hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

.material-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
  align-items: center;
}

.material-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.material-features {
  margin-top: 20px;
}

.material-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.material-gallery .img {
  position: relative;
}

.material-gallery .overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  /* background: linear-gradient(to-top, red, blue); */
}

.material-gallery .img {
  /* border-radius: 10px; */
  overflow: hidden;
}

.material-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  /* border-radius: 10px; */
}

.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-item i {
  color: var(--primary);
}

/* CTA */
.materials-cta {
  margin-top: 80px;
  text-align: center;
}

.materials-cta .btn {
  margin-top: 20px;
}

/* MOBILE */
@media(max-width: 768px){
  .material-block {
    grid-template-columns: 1fr;
  }

  .material-gallery img {
    height: 140px;
  }
}