/* Header */

section#header {
  width: 100%;
  position: relative;
  background-color: var(--color-white);
  padding: 100px 0;
}

section#header .wrapper {
  background: url("../src/images/bg.png") no-repeat center top;
  background-size: 1200px auto;
  padding-bottom: 50px;
}

section#header .intro {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

#header .customers {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 15px 41px 9px rgba(0, 0, 0, 0.06);
}

#header .customers .customer {
  display: grid;
  grid: 1fr / 1fr 1fr;
}

#header .customers .customer .badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#header .customers .customer .block-info {
  padding: 20px 40px;
  background-color: var(--color-white);
}

#header .customers .customer .block-quote {
  padding: 20px 40px;
  background-color: var(--color-light);
}

#header .customers .customer .block-quote > i {
  font-size: 3.8rem;
  color: var(--color-gray);
}

#header .customers .customer .block-quote .who {
  display: flex;
  align-items: center;
  gap: 20px;
}

#header .customers .customer:nth-child(even) .block-quote {
  order: -1;
}

#header .brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  gap: 30px;
}

#header .brands img {
  flex: 0 1 auto;
}

@media (max-width: 1000px) {
  #header .customers .customer {
    grid-template-columns: 1fr;
  }

  #header .customers .customer .block-quote {
    order: 6 !important;
  }
}

@media (max-width: 600px) {
  #header .customers .customer {
    text-align: center;
  }

  #header .customers .customer .badge {
    align-self: center;
  }

  #header .customers .customer .who {
    justify-content: center;
  }
}

/* Partnership */

#partnership .card {
  margin-top: -220px;
}

#partnership .card .grid {
  display: grid;
  grid: 1fr / 1fr 2fr;
  align-items: center;
  justify-items: center;
  grid-gap: 30px;
}

@media (max-width: 900px) {
  #partnership .card {
    text-align: center;
  }

  #partnership .card .grid {
    grid-template-columns: 1fr;
  }

  #partnership .card .grid img {
    max-height: 200px;
  }
}
