.brand {
  margin-bottom: 28px;
}

.brand-content {
  height: 1000px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  position: relative;
}

.brand-content-background {
  background-image: url('../../assets/images/Vector\ 1002.jpg');
  z-index: 1;
  height: 100%;
  width: 100vw;
  position: absolute;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.brand-content-card {
  z-index: 2;
  width: 680px;
  box-sizing: border-box;
  padding: 80px;
  background-image: url('../../assets/images/b0fdbd108487a5f1a16b9b5ba871ee0e.jpeg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  margin-top: -375px;
}

.brand-content-card-title {
  font-weight: 900;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: 0px;
  color: #fff;
}

.brand-content-card-text {
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0px;
  color: #fff;
}

.brand-content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 32px;
  grid-template-areas:
    ". . header header"
    "item1 item2 item3 item4";
  margin-top: -170px;
  z-index: 1;
  position: relative;
}

.brand-content-grid-item {
  grid-area: item;
}

.brand-content-grid-item-label {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 8px;
}

.brand-content-grid-item-label-header {
  font-weight: 900;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: 0px;
  color: var(--primary-color);
}

.brand-content-grid-item-label-text {
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0px;
}

.brand-content-grid-item-card {
  background-color: var(--skeleton-color);
  box-sizing: border-box;
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
}

.brand-content-grid-item-card-number {
  font-weight: 900;
  font-size: 100px;
  line-height: 100px;
  letter-spacing: 0px;
  text-align: left;
  color: var(--primary-color);
  padding: 0px 5px;
}

.brand-content-grid-item-card-text {
  font-family: Onest;
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0px;
}

@media screen and (max-width: 1599px) and (min-width: 1280px) {
  .brand-content-card {
    padding: 64px;
  }

  .brand-content-card-title {
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .brand-content-card-text {
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0px;
  }

  .brand-content-grid {
    margin-top: -210px;
    gap: 24px;
    grid-template-columns: repeat(8, 1fr);
    grid-template-areas:
      ". . . header header header header header"
      "item1 item1 item2 item2 item3 item3 item4 item4";
  }

  .brand-content-grid-item-label-header {
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .brand-content-grid-item-label-text {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .brand-content-grid-item-card {
    padding: 20px;
  }

  .brand-content-grid-item-card-number {
    font-size: 78px;
    line-height: 71px;
  }

  .brand-content-grid-item-card-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }
}

@media screen and (max-width: 1279px) and (min-width: 1024px) {
  .brand-content-card {
    padding: 56px;
    margin-top: -57px;
  }

  .brand-content {
    height: 700px;
  }

  .brand-content-card-title {
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .brand-content-card-text {
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0px;
  }

  .brand-content-grid {
    margin-top: -70px;
    gap: 24px;
    grid-template-columns: repeat(8, 1fr);
    grid-template-areas:
      ". . header header header header header header"
      "item1 item1 item2 item2 item3 item3 item4 item4";
  }

  .brand-content-grid-item-label-header {
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .brand-content-grid-item-label-text {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .brand-content-grid-item-card {
    padding: 20px;
  }

  .brand-content-grid-item-card-number {
    font-size: 78px;
    line-height: 71px;
  }

  .brand-content-grid-item-card-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }
}

@media screen and (max-width: 1023px) and (min-width: 640px) {
  .brand-content-card {
    padding: 64px;
    margin-top: 350px;
    width: 568px;
  }

  .brand-content {
    height: 700px;
  }

  .brand-content-card-title {
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .brand-content-card-text {
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0px;
  }

  .brand-content-grid {
    margin-top: 110px;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-template-areas:
      "header header"
      "item1 item2"
      "item3 item4";
  }

  .brand-content-grid-item-label-header {
    font-weight: 900;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
  }

  .brand-content-grid-item-label-text {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .brand-content-grid-item-card {
    padding: 20px;
  }

  .brand-content-grid-item-card-number {
    font-size: 50px;
    line-height: 56px;
  }

  .brand-content-grid-item-card-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }
}

@media screen and (max-width: 639px) {
  .brand-content-card {
    padding: 32px 20px;
    margin-top: 620px;
    width: 100%;
  }

  .brand-content {
    height: 560px;
  }

  .brand-content-card-title {
    font-weight: 900;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 0px;
  }

  .brand-content-card-text {
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0px;
  }

  .brand-content-grid {
    margin-top: 367px;
    gap: 24px;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(5, auto);
    grid-template-areas:
      "header"
      "item1"
      "item2"
      "item3"
      "item4";
  }

  .brand-content-grid-item-label-header {
    font-weight: 900;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
  }

  .brand-content-grid-item-label-text {
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }

  .brand-content-grid-item-card {
    padding: 20px;
  }

  .brand-content-grid-item-card-number {
    font-size: 50px;
    line-height: 56px;
  }

  .brand-content-grid-item-card-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
  }
}