@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  color: #151515;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

header {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner {
  height: 400px;
  background-image: url("./img/banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.content {
  max-width: 1180px;
  margin: 0 auto;
}

h1 {
  margin: 60px 0;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
}

.referrals {
  margin-bottom: 60px;
}

.referrals ul {
  width: 100%;
}

.referrals li {
  list-style: none;
  display: flex;
  padding: 28px 40px;
  box-shadow: 0px -2px 24px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  justify-content: space-between;
  align-items: center;
}

.referral__container {
  display: flex;
  align-items: center;
  width: 30%;
}

.referral__number {
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  margin-right: 64px;
}

.referral__link {
  background: #f47221;
  border-radius: 4px;
  padding: 12px 36px;
  white-space: nowrap;
}

.referral__text {
  max-width: 400px;
  text-align: center;
}

.referral__link a {
  color: #fff;
  text-decoration: none;
}

p {
  margin-bottom: 20px;
}

footer {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 28px 0;
  justify-content: center;
  font-size: 16px;
  background-color: #f7f7f7;
}

@media (max-width: 1180px) {
  .content {
    padding: 0 20px;
  }

  .referral__text {
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 950px) {
  .referrals li {
    flex-direction: column;
    padding: 20px;
  }

  .referral__container {
    width: 100%;
    flex-direction: column;
  }

  .referral__number {
    margin-right: 0;
  }

  .referral__logo,
  .referral__text,
  .referral__number {
    margin-bottom: 20px;
  }

  .referral__link {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
  }
}
