body {
  margin: 0;
  font-family: "Oswald", sans-serif;
  /* font-family: "Comfortaa", sans-serif; */
  /* background-color: #EAF6F5; */
}

.container {
  width: 1440px;
  max-width: 90%;
  margin: auto;
  /* background-color: aqua; */
}

header {
  font-family: "Comfortaa", sans-serif;
  height: 70px;
  box-shadow: 0px 1px 6px rgba(215, 125, 49, 0.1);
  /* max-width: 99%;
  margin: auto; */
}

header section.logo {
  font-size: 27px;
}

header section.logo span.blue-dot {
  background-color: #d77d31;
  width: 10px;
  height: 10px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 10px;
}

header nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

header nav ul li {
  display: inline-block;
  margin-left: 26px;
}

header nav ul li.menu-icon {
  display: none;
}

header nav ul li:first-of-type {
  margin-left: 0px;
}

header nav ul li a {
  color: #3e3e3e;
  text-decoration: none;
  font-size: 15px;
}

header nav ul li a:hover {
  color: #d77d31;
}

header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section.hero {
  position: relative;
  box-shadow: 0px 1px 6px rgba(215, 125, 49, 0.1);
  /* max-width: 99%;
  margin: auto; */
}

section.hero img {
  width: 100%;
  height: auto;
}

section.hero .hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

section.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

section.hero h1,
section.hero p {
  /* color: white; */
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 495px;
}

section.hero h1 {
  font-weight: 400;
  font-size: 50px;
  line-height: 56px;
}

section.hero p {
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
}

section.hero button {
  width: 200px;
  height: 50px;
  left: 240px;
  top: 476px;
  /* color */
  background-color: #d77d31;
  border: 1px solid #1b1938;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  text-transform: uppercase;
}

section.hero button:hover {
  background-color: #1b1938;
  border: 1px solid #eaf6f5;
  color: #d77d31;
}

section.best-sellers {
  padding-top: 90px;
}

section.best-sellers h2 {
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 34px;
  font-weight: 400;
  line-height: 42px;
  text-align: center;
}

section.best-sellers hr {
  margin: auto;
  width: 60px;
  border: none;
  height: 6px;
  background-color: #d77d31;
  margin-bottom: 76px;
}

section.best-sellers .container {
  display: flex;
  justify-content: space-around;
}

section.best-sellers .product-slider .product {
  /* border: 1px solid rgba(215, 125, 49, 0.3); */
  border: 1px solid #1b1938;
  border-radius: 8px;
  margin: 0 8px;
  text-align: center;
  width: 33%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

section.best-sellers .product-slider .product.staff::before {
  content: "На оборудовании студии";
  position: absolute;
  top: 12px;
  right: 12px;
  text-align: center;
  color: white;
  background-color: #1b1938;
  border-radius: 16px;
  font-weight: 700;
  font-size: 14px;
  padding: 5px 26px;
}

section.best-sellers .product-slider .product-info {
  margin-top: 50px;
}

section.best-sellers .product-slider .product img {
  max-width: 100%;
  border-color: 1px solid #1b1938;
  border-radius: 25px;
}

section.best-sellers .product-slider .product h5 {
  font-weight: 400;
  font-size: 14px;
  line-height: 30px;
  color: #1b1938;
  margin-top: 0;
  margin-bottom: 10px;
}

section.best-sellers .product-slider .product h4 {
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  margin-top: 0;
  margin-bottom: 10px;
}

section.best-sellers .product-slider .product .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

section.best-sellers .product-slider .product .price h3 {
  font-weight: 700;
  font-size: 28px;
  line-height: 30px;
  margin-top: 0;
  margin-bottom: 0px;
}

section.best-sellers .product-slider .product .price.discount h3 {
  color: #d77d31;
}

section.best-sellers .product-slider .product .price span.original-price {
  margin: 0 10px;
  font-size: 16px;
  line-height: 24px;
  color: #9b9b9b;
  text-decoration: line-through;
}

section.best-sellers .product-slider .product button {
  width: 220px;
  max-width: 100%;
  height: 44px;
  left: 240px;
  top: 476px;
  /* color */
  background-color: #d77d31;
  border: 1px solid #1b1938;
  border-radius: 25px;
  color: white;
  cursor: pointer;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
}

section.best-sellers .product-slider .product button:hover {
  /* color */
  background-color: #1b1938;
  border: 1px solid #1b1938;
  color: #d77d31;
  cursor: pointer;
}

section.newsletter {
  background-color: #eaf6f5;
  /* background-color: #f5f5f5; */
  width: 950px;
  max-width: 100%;
  margin: 80px auto;
  padding: 72px 0;
  text-align: center;
}

section.newsletter h3 {
  font-weight: 400;
  font-size: 24px;
  line-height: 42px;
  margin-top: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

section.newsletter p {
  font-size: 16px;
  line-height: 24px;
  margin-top: 0;
  margin-bottom: 20px;
}

section.newsletter input[type="email"] {
  width: 320px;
  height: 48px;
  /* background-color: #eaf6f5; */
  border: 1px solid #d77d31;
  border-radius: 25px 0 0 25px;
  padding: 0;
  padding-left: 24px;
  font-size: 14px;
  line-height: 21px;
  box-sizing: border-box;
}

section.newsletter input[type="email"]::placeholder {
  color: #3e3e3e;
}

section.newsletter button[type="submit"] {
  height: 48px;
  border: 1px solid #1b1938;
  border-radius: 0 25px 25px 0;
  background-color: #d77d31;
  padding: 0 36px;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #ffffff;
  text-transform: uppercase;
}

section.newsletter button[type="submit"]:hover {
  border: 1px solid #1b1938;
  background-color: #1b1938;
  color: #d77d31;
  cursor: pointer;
}

footer {
  background-color: #1b1938;
  color: white;
  padding: 60px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  width: 950px;
  max-width: 100%;
}

footer ul {
  font-family: "Comfortaa", sans-serif;
  list-style-type: none;
  margin: 0;
  padding: 0;
  /* border: 1px solid #d77d31; */
  width: 25%;
}

footer ul li.list-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 20px;
}

footer ul li {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

footer ul li a {
  color: #eaf6f5;
  text-decoration: none;
  text-transform: lowercase;
}

footer ul li a:hover {
  color: #d77d31;
}

footer ul li:last-of-type {
  margin-bottom: 0;
}

section.copyright {
  text-align: center;
  background-color: #eaf6f5;
  padding: 18px 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
}

/* ################################## */
/* ####### Styles for desctop ####### */
/* ################################## */

@media screen and (max-width: 1440px) {
  .container {
    width: 1180px;
    max-width: 90%;
  }

  section.hero h1,
  section.hero p {
    margin-bottom: 12px;
  }

  section.hero h1 {
    font-size: 44px;
    line-height: 50px;
  }

  section.hero p {
    font-size: 18px;
    line-height: 26px;
  }

  section.hero button {
    font-size: 14px;
  }
  section.best-sellers .product-slider .product h5 {
    font-size: 12px;
    margin-bottom: 8px;
  }

  section.best-sellers .product-slider .product h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  section.best-sellers .product-slider .product .price {
    margin-bottom: 6px;
  }

  section.best-sellers .product-slider .product .price h3 {
    font-size: 24px;
  }

  section.best-sellers .product-slider .product .price span.original-price {
    font-size: 14px;
    line-height: 21px;
  }

  section.best-sellers .product-slider .product button {
    width: 180px;
    height: 40px;
    font-size: 14px;
    line-height: 21px;
  }

  section.newsletter {
    width: 880px;
    margin: 70px auto;
    padding: 50px 0;
  }

  section.newsletter h3 {
    font-size: 22px;
  }

  section.newsletter p {
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 15px;
  }

  section.newsletter input[type="email"] {
    font-size: 12px;
    line-height: 18px;
  }

  section.newsletter button[type="submit"] {
    font-size: 12px;
    line-height: 18px;
  }

  footer {
    padding: 50px 0;
  }

  footer .container {
    width: 1180px;
    max-width: 90%;
  }

  footer ul li.list-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  footer ul li {
    font-size: 14px;
    line-height: 21px;
  }

  section.copyright {
    padding: 14px 0;
    font-size: 14px;
  }
}

/* ################################## */
/* ####### Styles for tablet ######## */
/* ################################## */

@media screen and (max-width: 960px) {
  .container {
    width: 92%;
    max-width: 92%;
  }

  header nav ul li {
    display: none;
    margin-right: 26px;
  }

  header nav ul li.menu-icon {
    display: inline-block;
  }

  section.hero h1 {
    font-size: 40px;
    line-height: 46px;
  }

  section.hero p {
    font-size: 16px;
    line-height: 24px;
  }

  section.hero button {
    font-size: 14px;
  }

  section.best-sellers h2 {
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 38px;
  }

  section.best-sellers hr {
    width: 66px;
    height: 6px;
    margin-bottom: 48px;
  }
  section.best-sellers .product-slider .product.staff::before {
    top: 6px;
    right: 6px;
    font-size: 11px;
    padding: 5px 14px;
  }
  section.best-sellers .product-slider .product h5 {
    font-size: 11px;
    margin-bottom: 5px;
  }

  section.best-sellers .product-slider .product h4 {
    font-size: 13px;
    margin-bottom: 6px;
  }

  section.best-sellers .product-slider .product .price h3 {
    font-size: 16px;
  }

  section.best-sellers .product-slider .product .price span.original-price {
    font-size: 9px;
  }

  section.best-sellers .product-slider .product button {
    width: 146px;
    height: 36px;
    font-size: 12px;
    line-height: 18px;
  }

  section.newsletter {
    width: 100%;
    margin: 48px auto;
  }

  footer .container {
    width: 92%;
    max-width: 92%;
  }
}

/* ################################## */
/* ####### Styles for mpbile ######## */
/* ################################## */

@media screen and (max-width: 576px) {
  .container {
    width: 1180px;
    max-width: 90%;
  }

  header section.logo {
    font-size: 18px;
  }

  section.hero .hero-content {
    position: initial;
    text-align: center;
    margin-top: 26px;
  }

  section.hero .container {
    align-items: center;
  }

  section.hero h1,
  section.hero p {
    margin-bottom: 32px;
  }

  section.hero h1 {
    font-size: 32px;
    line-height: 38px;
  }

  section.hero p {
    display: none;
  }

  section.hero button {
    margin-bottom: 24px;
  }

  section.best-sellers .container {
    flex-wrap: wrap;
  }

  section.best-sellers .product-slider .product {
    width: 100%;
    margin-bottom: 24px;
  }

  section.best-sellers .product-slider .product:last-of-type {
    margin-bottom: 0;
  }

  section.best-sellers .product-slider .product h4 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  section.best-sellers .product-slider .product .price h3 {
    font-size: 20px;
  }

  section.best-sellers .product-slider .product .price span.original-price {
    font-size: 11px;
    line-height: 20px;
  }

  section.best-sellers .product-slider .product button {
    width: 190px;
    height: 36px;
    max-width: 100%;
    font-size: 12px;
    line-height: 18px;
  }

  section.newsletter {
    margin: 64px auto;
    padding: 44px 0;
  }

  section.newsletter input[type="email"] {
    width: 210px;
  }

  section.newsletter button[type="submit"] {
    padding: 0 20px;
  }

  footer {
    padding: 48px 0;
  }

  footer .container {
    flex-wrap: wrap;
    align-items: center;
  }

  footer ul {
    width: 100%;
    margin-bottom: 32px;
    text-align: center;
  }

  footer ul:last-of-type {
    margin-bottom: 0;
  }
}
