.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 7rem;
  margin-bottom: 2rem;
  width: 100%;
  height: 20rem;
}
.banner-img {
  pointer-events: none;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: contrast(70%) brightness(70%);
  z-index: -1;
  display: block;
}
.banner .title {
  color: var(--text-light);
  font-family: var(--title-font);
  font-size: 3.7rem;
  text-align: center;
  position: absolute;
}

.content {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
}
.text {
  font-size: 1.7rem;
  margin-bottom: 3rem;
  text-align: center;
}
.cards-wrapper {
  margin-top: 4rem;
  width: 80%;
  margin: 0 auto;
  display: flex;
  gap: 5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card-ctn {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  background-color: var(--secondary-color);
}
.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--background-color);
}
.card-content {
  padding: 1rem;
}
.card-title {
  color: var(--primary-color);
  font-size: 2rem;
  font-family: var(--title-font);
  margin-bottom: 1rem;
}
.card-text {
  font-size: 1.5rem;
  color: var(--text-light);
}



/* MIN OF 600PX */
@media only screen and (min-width: 600px ) {
  .text {
    font-size: 2rem;
  }
  .card-ctn {
    width: 600px;
  }
}

/* MIN OF 1024PX */
@media only screen and (min-width: 1040px) {
  .cards-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .card-ctn {
    width: 500px;
    height: 575px;
  }
}