.contact-content .materials-headline {
  min-height: 100vh;
}
.contact-card {
  display: flex;
  flex-direction: row;
  border-radius: 20px;
  padding: 2rem;
  background-color: #f9f7f6;
  gap: 2rem;
}

.contact-form {
  background-color: #f9f7f6;
  padding: 0;
}

.friendly-message {
  min-height: 200px;
}

.friendly-message h2 {
  color: #0a0604FF;
}
.friendly-message p {
  color: #0a0604FF;
  text-align: start;
  margin: 0;
}

.faqs {
  position: relative;
  padding-top: 2.5rem;
  left: 50%;
  margin-left:-50vw;
  width:100vw;
  background-color: #d9cec7;
  display: flex;
  flex-direction: column;
}

.faq-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-left: 4rem;
  padding-right: 4rem;
  padding-bottom: 4rem;
  gap: 1rem;
}

.faq-card {
  display: flex;
  flex-direction: column;
  background-color: #f9f8f6;
  border: solid #836a59 1px;
  border-radius: 20px;
  padding: 1rem;
}

.faqs h1,
.faq-card strong,
.faq-card p {
  color: #836a59;
}

.faq-card p {
  margin-top: 0.5rem;
}

.contact-cropped-img {
  flex: 1 1 100%;
  /*Image width minus the object-position offset
   * to keep border radius intact at large screen
   * sizes*/
  max-width: calc(100% -25px);
  min-height: 100%;
  overflow: hidden;
  border-radius: 20px;
  img {
    height: 100%;
    object-position: calc(50% + 25px) 50%;
  }
}

@media screen and (max-width: 767px) {
  .faq-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 1rem;

    padding-right: 1rem;
    padding-bottom: 1rem;
  }

  .contact-card {
    padding: 1rem;
  }

  .friendly-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)),
      url("../img/contact.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: 300px;
  }
  .friendly-message h2 {
    color: white;
  }
  .friendly-message p {
    color: white;
  }
  .contact-cropped-img {
    display: none;
  }
}

@media screen and (max-width: 499px) {
  .faq-content {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
