@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

.black-friday {
  padding-top: 40px;
  background-color: #f7f7f7
}

.black-friday__container {
  max-width: 1090px;
}

.black-friday__banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 328px;
  padding: 30px 72px;
  overflow: hidden;
  border-radius: 43px;
  background: #000 url("../images/black-friday/bf-banner-bg.webp") no-repeat right center / auto 100%;
  color: #fff;
}

.black-friday__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 312px;
}

.black-friday__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  transform: translateY(1px);
}

.black-friday__discount {
  margin: 0;
  font-size: 128px;
  font-weight: 900;
  line-height: 1.03;
}

.black-friday__description {
  margin: 0;
  font-size: 19.604px;
  font-weight: 500;
  line-height: 25px;
}

.black-friday__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  min-height: 54px;
  padding: 16px;
  border-radius: 53px;
  background: #ffc208;
  color: #1e1f27;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.15px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.black-friday__button:hover {
  background: #ffd13b;
}

.black-friday__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 899px) {
  .black-friday {
    padding-top: 24px;
  }

  .black-friday__banner {
    min-height: 190px;
    padding: 16px 40px;
    border-radius: 21px;
    background-image:
      url("../images/black-friday/bf-banner-bg-tablet.webp"),
      radial-gradient(ellipse 80% 150% at 84.72% 83.44%, #211c0b, #100e06 50%, #080703 75%, #000);
    background-size: auto 100%, 100% 100%;
  }

  .black-friday__content {
    width: 189px;
  }

  .black-friday__text {
    transform: none;
  }

  .black-friday__discount {
    font-size: 64px;
  }

  .black-friday__description {
    font-size: 12px;
    line-height: 1.3;
  }

  .black-friday__button {
    width: 100%;
    min-height: 34.02px;
    padding: 10px;
    border-radius: 22px;
    font-size: 13px;
    line-height: 13.86px;
    letter-spacing: 0.0945px;
  }
}

@media (max-width: 599px) {
  .black-friday__container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .black-friday__banner {
    padding-right: 16px;
    padding-left: 16px;
    background-image:
      url("../images/black-friday/bf-banner-bg-mobile.webp"),
      radial-gradient(ellipse 80% 150% at 84.72% 83.44%, #211c0b, #100e06 50%, #080703 75%, #000);
  }
}
