html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;

  padding: 0 10px;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

a {
  background-color: transparent;
}

b {
  font-weight: bolder;
}

img {
  border-style: none;
}

button,
input {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button {
  text-transform: none;
}

button {
  -webkit-appearance: button;
}

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

body,
h1,
h2,
p,
li {
  margin: 0;
}

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

input,
button {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

img {
  max-width: 100%;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

body {
  min-width: 320px;
  width: 100%;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: #ffffff;
  background: #f5f2e9;
  color: #000000;

  overflow-x: hidden;
}

.wrapper {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 767px) {
  .wrapper {
    padding: 0 10px;
  }
}

.header__inner {
  display: table;
  width: 100%;
  font-size: 0;
}

.header__logo,
.header__search-wrapper {
  display: table-cell;
  vertical-align: middle;
  height: 100px;
}

@media (max-width: 767px) {
  .header__logo,
  .header__search-wrapper {
    height: auto;
  }
}

.header__logo {
  width: calc(100% - 380px);
}

.header__search-wrapper {
  width: 380px;
}

@media (max-width: 767px) {
  .header__search-wrapper {
    width: 40px;
  }
}

.header__form {
  width: 100%;
  position: relative;
}

.header__input {
  width: 100%;
  background: #efefef;
  border-radius: 50px;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: #9f9f9f;
  padding: 12px 15px;
  border: none;
}

.header__btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: url("../img/icon-search.png") no-repeat center, #b118e5;
  border: none;
  /* cursor: pointer; */
}

.header__nav {
  background: #272727;
}

.header__nav-list {
  display: inline-block;
}

@media (max-width: 767px) {
  .header__nav-list {
    display: none;
  }
}

.header__item {
  margin-right: 30px;
}

.header__nav-item {
  display: inline-block;
  vertical-align: middle;
  font-weight: 500;
  font-size: 20px;
  line-height: 41px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
}

.header__nav-item:hover {
  text-decoration: underline;
}

.header__user-btn {
  float: right;
  position: relative;
}

.header__user-btn::after {
  content: "";
  width: 20px;
  height: 20px;
  background: url("../img/icon-login.png") no-repeat center;
  display: inline-block;
  vertical-align: middle;
}

.header__menu {
  display: none;
}

.header__menu a {
  display: inline-block;
  padding: 13px 0;
}

@media (max-width: 767px) {
  .header__menu {
    display: inline-block;
  }
}

.promo__info {
  padding: 20px 0;
  display: table;
  width: 100%;
  border-bottom: 1px solid #9c9c9c;
}

@media (max-width: 767px) {
  .promo__info {
    padding: 15px 0;
  }
}

.promo__author-img {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  float: left;
}

@media (max-width: 767px) {
  .promo__author-img {
    width: 40px;
    height: 40px;
  }
}

.promo__author-info {
  font-weight: bold;
  font-size: 18px;
  line-height: 21px;
  color: #5c0da0;
  padding-left: 10px;
  display: table-cell;
  vertical-align: middle;
  height: 60px;
}

.promo__author-info span {
  display: block;
  font-weight: 300;
}

@media (max-width: 767px) {
  .promo__author-info {
    font-size: 18px;
    line-height: 21px;
    height: 30px;
  }
}

.promo__author,
.promo__social-list {
  display: table-cell;
  vertical-align: middle;
  width: 50%;
}

.promo__social-item {
  float: right;
  height: 40px;
  width: 40px;
  margin-left: 15px;
}

.promo__social-item a {
  display: block;
}

.promo__social-item a svg {
  fill: #dddddd;
  transition: all 0.3s;
  height: 40px;
  width: 40px;
}

.promo__social-item:hover svg {
  fill: #b118e5;
}

@media (max-width: 767px) {
  .promo__social-item {
    width: 30px;
    height: 30px;
    margin-left: 15px;
  }
  .promo__social-item svg {
    width: 30px;
    height: 30px;
  }
}

.promo__title {
  font-weight: bold;
  font-size: 48px;
  line-height: 58px;
  color: #000000;
  margin-bottom: 25px;
}

@media (max-width: 767px) {
  .promo__title {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 5px;
  }
}

.promo__stats-list {
  padding: 15px 0;
  border-bottom: 1px solid #9c9c9c;
}

@media (max-width: 767px) {
  .promo__stats-list {
    padding: 5px 0;
  }
}

.promo__stats-item {
  font-weight: 300;
  font-size: 18px;
  line-height: 21px;
  color: #000000;
  display: inline-block;
  margin-right: 15px;
}

@media (max-width: 767px) {
  .promo__stats-item {
    font-size: 14px;
    line-height: 16px;
  }
}

.promo__stats-item::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.promo__stats-item--hurt::before {
  background: url("../img/icon-hurt.png") no-repeat center;
}

.promo__stats-item--comments::before {
  background: url("../img/icon-comment.png") no-repeat center;
}

.article {
  padding-top: 20px;
  padding-bottom: 90px;
}

@media (max-width: 767px) {
  .article {
    padding-bottom: 20px;
  }
}

.artcile__text {
  font-weight: normal;
  font-size: 20px;
  line-height: 30px;
  color: #000000;
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .artcile__text {
    font-size: 18px;
    line-height: 25px;
  }
}

.artcile__text-big {
  background: url("../img/icon-quotes.png") no-repeat left 30px top 10px,
    #f5f5f5;
  font-weight: normal;
  font-size: 24px;
  line-height: 36px;
  color: #000000;
  border-left: 3px solid #ea4747;
  padding: 50px 30px 10px;
  position: relative;
  margin-bottom: 25px;
}

@media (max-width: 767px) {
  .artcile__text-big {
    font-size: 22px;
    line-height: 30px;
    padding: 30px 10px 10px;
    background: url("../img/icon-quotes.png") no-repeat left 10px top, #f5f5f5;
  }
}

.article__img {
  margin-bottom: 20px;
}

.artcile__prod-img {
  margin: 0 auto;
}

.article__btn {
  display: block;
  max-width: 450px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
  font-weight: bold;
  font-size: 20px;
  line-height: 36px;
  text-align: center;
  color: #ffffff;
  background: #ea4747;
  border-radius: 50px;
  margin: 0 auto;
  padding: 22px 0;
  transition: all 0.3s;
  cursor: pointer;
}

.article__btn:hover {
  color: #000000;
  background: yellow;
}

@media (max-width: 767px) {
  .article__btn {
    font-size: 18px;
    line-height: 26px;
    padding: 7px;
    max-width: 250px;
  }
}

.comments__header {
  background: #272727;
}

.comments__title {
  font-weight: 500;
  font-size: 20px;
  line-height: 36px;
  color: #ffffff;
  padding: 3px 0;
}

.comments__list {
  padding-top: 35px;
  margin-bottom: 35px;
}

.comments__item {
  padding: 20px 0 20px 100px;
  border-bottom: 1px solid #9c9c9c;
  position: relative;
}

.comments__item--reply {
  margin-top: 20px;
  border-bottom: none;
  border-left: 1px solid #9c9c9c;
  padding: 0 0 0 130px;
}

.comments__item--reply .commtens__ava {
  left: 20px;
  top: 0;
}

@media (max-width: 767px) {
  .comments__item {
    padding: 10px 0 20px 50px;
  }
  .comments__item--reply {
    padding: 0 0 0 50px;
  }
  .comments__item--reply .commtens__ava {
    left: 5px;
    top: 0;
  }
}

.commtens__ava {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 20px;
  left: 0;
}

@media (max-width: 767px) {
  .commtens__ava {
    width: 40px;
    height: 40px;
    left: 0;
    top: 10px;
  }
}

.comments__name {
  font-weight: 500;
  font-size: 20px;
  line-height: 25px;
  color: #5c0da0;
}

@media (max-width: 767px) {
  .comments__name {
    font-size: 18px;
    line-height: 25px;
  }
}

.comments__text {
  font-weight: normal;
  font-size: 20px;
  line-height: 36px;
  color: #000000;
}

@media (max-width: 767px) {
  .comments__text {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 5px;
  }
}

.comments__date {
  font-weight: 300;
  font-size: 18px;
  line-height: 21px;
  color: #000000;
}

@media (max-width: 767px) {
  .comments__date {
    font-size: 14px;
    line-height: 16px;
  }
}

.comments__img {
  width: 480px;
  margin-top: 10px;
}

.link {
  color: red;
  font-weight: bolder;
}

.link:hover {
  text-decoration: underline;
}

.ac_footer {
  position: relative;
  top: 10px;
  height: 0;
  text-align: center;
  margin-bottom: 70px;
  color: #a12000;
}

.ac_footer a {
  color: #a12000;
}

.ac_footer p {
  text-align: center;
}

form .error {
  color: #ff0000;
  display: block;
}

.footer_links {
  margin: 30px 0 30px 0;
}
