@font-face {
  font-family: "Gilroy";
  src: url("../css/fonts/Gilroy-Regular.woff");

  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("../css/fonts/Gilroy-Medium.woff");

  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("../css/fonts/Gilroy-Semibold.woff");

  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("../css/fonts/Gilroy-Bold.woff");

  font-weight: 700;
  font-style: normal;
}

body {
  font-family: "Gilroy", sans-serif;
  color: rgba(12, 12, 12, 0.7);
  background-color: #fbfbfb;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  cursor: pointer;
}

.container {
  width: 1180px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 50px 0;
}

/*  #region HEADER SEction */

.header {
  border-bottom: 1px solid rgba(12, 12, 12, 0.1);
}
.header-logo {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #0c0c0c;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-nav {
  /* position: relative; */
}

.header-nav-list {
  display: flex;
}
.header-nav-item:not(:last-child) {
  margin-right: 40px;
}
.header-nav-link {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  color: #0c0c0c;
  padding: 30px 0;
  display: block;
  position: relative;
}
.header-nav-link.curent::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  background-color: #3350e9;
  border-radius: 50%;
  left: 50%;
  bottom: 22px;

  transform: translateX(-50%);
}

.header-social-list {
  display: flex;
  gap: 10px;
}
.class {
}
.header-social-item {
}
.header-social-link {
}

/* #endregion header section */

/* #region HERO SECTION */

.hero {
  padding-top: 80px;
}

.hero-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.hero-text-wrap {
}
.hero-title {
  font-weight: 600;
  font-size: 72px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  max-width: 597px;
  margin-bottom: 20px;
}

.hero-title-part {
  color: #3350e9;
}
.hero-descr {
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
  max-width: 480px;
}

.hero-scroll-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.hero-link {
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #0c0c0c;
}

.hero-link:hover,
.hero-link:focus {
  color: #3350e9;
}
/* #endregion hero section */

/* #region about us */
.about {
}

.container {
}

.about-wrap {
  display: flex;
  gap: 40px;
}

.about-text-wrap {
  background: #f3f3f3;
  border-radius: 50px;

  max-width: 580px;
  padding: 80px 60px;
}
.about-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 0.91;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  margin-bottom: 40px;
}
.about-descript {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
  margin-bottom: 20px;
}
.about-descript-part {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
  margin-bottom: 40px;
}
.about-button {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  text-align: center;
  color: #fbfbfb;
  background: #3350e9;
  border-radius: 16px;
  padding: 15px 38px;
  border: none;
}

/* #endregion about us */

/* #region CATALOG */

.catalog {
}

.catalog-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 0.91667;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  margin-bottom: 40px;
}
.catalog-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 23px;
  row-gap: 32px;
}
.catalog-list-item {
  border: 1px solid rgba(12, 12, 12, 0.05);
  border-radius: 30px;
  background: #f3f3f3;
  /* width: calc((100% - (23px * 2)) / 3); */
  flex-basis: calc((100% - (23px * 2)) / 3);
}
.catalog-item-text {
  padding: 10px 32px 32px 24px;
}

.catalog-list-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  margin-bottom: 8px;
}
.catalog-list-price {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.5);
}

/* #endregion CATALOG */

/* #region advert */

.advert {
}
.container {
}
.advert-wrap {
  border-radius: 30px;
  background-image: url(../images/image70.png);
  background-color: #0c0c0c;
  background-size: cover;
  padding: 83px 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.advert-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 0.91;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  max-width: 690px;
}

.title-accent {
  color: rgba(251, 251, 251, 0.5);
}

.advert-button {
  background-color: transparent;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  text-align: center;
  color: #fbfbfb;
  border: 1px solid rgba(251, 251, 251, 0.15);
  border-radius: 16px;
  padding: 15px 44px;
  transition: background-color 250ms ease-in-out, color 250ms ease-in-out;
}
.advert-button:hover,
.advert-button:focus {
  background-color: #fbfbfb;
  color: #0c0c0c;
}

/* #endregion advert */

/* #region sale */

.sale-section {
}
.sale-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 0.91;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  margin-bottom: 40px;
}

.sale-box {
  display: flex;
}

.sale-list-box {
  margin-right: 20px;
}

.sale-list {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
.sale-list-item {
  border: 1px solid rgba(12, 12, 12, 0.05);
  border-radius: 20px;
  background: #f3f3f3;
  flex-basis: calc(100% - (10px * 3) / 4);
  max-width: 132px;

  padding: 16px 18px;
}

.sale-main-picture {
  border: 1px solid rgba(12, 12, 12, 0.05);
  border-radius: 50px;
  max-width: 428px;
  background: #f3f3f3;
  padding: 80px 50px;
  margin-right: 40px;
}

.sale-main-info {
  border-radius: 50px;
  max-width: 530px;
  background: #3350e9;
  padding: 60px;
}

.sale-main-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  margin-bottom: 10px;
}
.sale-tag {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.28571;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.5);
  margin-bottom: 20px;
}
.sale-price {
  display: flex;
  column-gap: 9px;
  align-items: center;
  margin-bottom: 30px;
}
.new-price {
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  border-radius: 8px;
  background: rgba(251, 251, 251, 0.1);
  padding: 8px 12px;
}
.old-price {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-decoration: line-through;
  color: rgba(251, 251, 251, 0.5);
}
.sale-main-descr {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.7);
  margin-bottom: 40px;
}
.sale-main-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 8px;
}
.sale-main-item {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  color: #fbfbfb;
  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
}

/* #endregion sale */

/* #region REVIEWS */

.reviews {
}
.container {
}
.reviews-title {
  font-weight: 600;
  font-size: 48px;
  line-height: 0.91;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  margin-bottom: 40px;
}
.reviews-list {
  display: flex;
  column-gap: 20px;
}
.reviews-item {
  border-radius: 30px;
  padding: 32px 36px;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  /* flex-basis: calc((100% - (20px * 2)) / 3); */
  flex: 1;
}
.reviews-item-title {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #0c0c0c;
  margin-top: 24px;
  margin-bottom: 8px;
}
.reviews-item-descr {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(12, 12, 12, 0.4);
}

/* #endregion REVIEWS */

/* #region CONTACT */

.contact {
  margin-bottom: 50px;
}
.contact-title {
  font-family: "Gilroy", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 0.91;
  letter-spacing: -0.02em;
  color: #0c0c0c;
  margin-bottom: 40px;
}

.contact-big-box {
  display: flex;
  column-gap: 40px;
}

.contact-box {
  display: flex;
  flex-direction: column;
  background-color: #f3f3f3;
  max-width: 580px;
  padding: 50px 60px;
  border-radius: 50px;
}
.contact-descr {
  font-family: "Gilroy", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
  margin-bottom: 32px;
}
.contact-form {
  display: flex;
  flex-direction: column;
}
.input-form {
  border: 1px solid rgba(12, 12, 12, 0.15);
  border-radius: 12px;

  width: 460px;
  height: 52px;
  background-color: inherit;
  margin-bottom: 18px;
  padding-left: 18px;
  outline: none;
  transition: border 250ms ease-in-out;
}
.input-form:hover,
.input-form:focus,
.input-comment:hover,
.input-comment:focus {
  border: 1px solid #3350e9;
}

/* .input-form:not(:last-child) {
  margin-bottom: 18px;
} */
.input-email {
}
.input-tel {
}
.input-comment {
  border: 1px solid rgba(12, 12, 12, 0.15);
  border-radius: 12px;

  background-color: inherit;
  height: 90px;
  margin-bottom: 32px;
  padding-left: 18px;
  outline: none;
  transition: border 250ms ease-in-out;
}
.button-send {
  font-family: "Gilroy", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28571;
  text-align: center;
  color: #fbfbfb;

  border-radius: 16px;
  padding: 17px 63px;
  background: #3350e9;
  /* outline: none; */
  border: none;
  width: 160px;
}

/* #endregion CONTACT */

/* #region FOOTER  */

.footer {
  background-color: #0c0c0c;
  border-radius: 30px;
  padding-top: 40px;
}

.footer-contacts {
  display: flex;
  justify-content: space-between;
  margin-bottom: 126px;
}
.footer-logo {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fbfbfb;
}

.footer-descr {
  font-weight: 600;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
  width: 523px;
}

.footer-contacts-icon {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.footer-contacts-tel {
  font-family: "Gilroy", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  text-transform: uppercase;
  text-align: center;
  color: #fbfbfb;
  padding: 15px;

  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 16px;

  width: 18 0px;
  height: 48px;
}

.social-list {
  display: flex;
  column-gap: 10px;
}
.footer-social-items {
  border: 1px solid rgba(251, 251, 251, 0.1);
  border-radius: 10px;
  padding: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-icon {
  opacity: 0.8;
  fill: #fff;
}

/* second part footer (footer-header) */

.footer-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}
.footer-header-list {
  display: flex;
  column-gap: 40px;
}
.footer-header-item {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  text-align: center;
  color: #fbfbfb;
}
.footer-header-descr {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  color: #fbfbfb;
  max-width: 162px;
}

/* footer terms part  */

.footer-terms {
  border-top: 1px solid rgba(251, 251, 251, 0.1);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
}
.footer-terms-descr {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.5);
}
.footer-terms-link-block {
  display: flex;
  column-gap: 20px;
}
.footer-terms-link {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  text-align: right;
  color: rgba(251, 251, 251, 0.5);
}

/* #endregion FOOTER */
