* {
  box-sizing: border-box;
}

@font-face {
  font-family: "MuseoCyrl-900";
  src: url("../fonts/MuseoCyrl-900.woff") format("woff"),
    url("../fonts/MuseoCyrl-900.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Roboto", sans-serif;
  color: #202020;
}

/* шапка сайта */
.header {
  padding: 22px 0;
  background-color: #f1f1f1;
}

.container {
  max-width: 1140px;
  margin: auto;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
  margin: 0 11px;
}

.nav-link:hover {
  color: #f89c02;
}

.login {
  font-size: 14px;
  font-weight: 400;
  color: inherit;
  text-decoration: none;
}

/* главная секция */
.hero {
  padding: 62px 0 71px;
}

.hero-container {
  display: flex;
  align-items: center;
}

.hero-image {
  margin-right: 122px;
}

.author {
  display: block;
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 400;
}

.title {
  margin-bottom: 15px;
  margin-top: 0;
  font-family: "MuseoCyrl-900", sans-serif;
  font-size: 54px;
  font-weight: 700;
}

.subtitle {
  max-width: 370px;
  display: block;
  margin-bottom: 48px;
  font-size: 24px;
  font-weight: 400;
  line-height: 29px;
}

.info {
  margin-bottom: 33px;
  display: flex;
  flex-wrap: wrap;
}

.info_item {
  flex-basis: 45%;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 400;
}

.price {
  margin-bottom: 48px;
  display: flex;
  align-items: center;
}

.price-tag {
  margin-right: 64px;
  font-size: 55px;
  font-weight: 400;
}

.block-favorites {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 23px;
  font-weight: 400;
  text-decoration: none;
  color: #202020;
}

.block-favorites:hover {
  color: #f89c02;
}

.favorites-icon {
  margin-right: 7px;
}

/* .favorites-icon:hover path, */
.block-favorites:hover .favorites-icon path {
  stroke: #f89c02;
  stroke-width: 10%;
}

.favorites-icon_active path {
  stroke: #f89c02;
  fill: #f89c02;
}

.button {
  min-width: 250px;
  padding: 23px 59px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid transparent;
}

.button-full {
  margin-right: 20px;
  background-color: #f89c02;
  color: #ffffff;
  cursor: pointer;
}

.button-empty {
  display: inline-block;
  border: 2px solid #f89c02;
  text-decoration: none;
  color: #f89c02;
  text-align: center;
}

/* о книге */
.about {
  background-color: #f1f1f1;
}

.about-container {
  padding-top: 93px;
  padding-bottom: 96px;
  display: flex;
  align-items: flex-start;
}

.about-book {
  max-width: 470px;
  margin-right: 119px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.h2-title {
  margin-top: 0;
  margin-bottom: 35px;
  font-size: 32px;
  font-weight: 700;
}

.about-author {
  max-width: 552px;
  padding: 68px 53px;
  box-shadow: 0 1px 120px rgba(161, 161, 161, 0.08);
  border-radius: 10px;
  border: 1px solid #f3f3f3;
  background-color: #ffffff;
}

.author-avatar {
  display: flex;
  align-items: center;
  margin-bottom: 27px;
}

.author-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 21px;
  object-fit: cover;
}

.author-name {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 700;
}

.author-link {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}

.author-description {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* Читатели */
.readers {
  padding-top: 87px;
  padding-bottom: 109px;
}

.readers-avatars {
  display: flex;
  /* justify-content: space-between; */
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-right: -30px;
  margin-bottom: -30px;
}

.reader-img {
  margin-bottom: 30px;
  margin-right: 30px;
  width: 165px;
  height: 165px;
  object-fit: cover;
}

/* футер */
.footer {
  background-color: #f1f1f1;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  padding-top: 60px;
  padding-bottom: 93px;
}

.footer-col {
  width: 360px;
  position: relative;
}

.footer-title {
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
}

.footer-list {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.footer-item {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 400;
}

.footer-item:last-child {
  margin-bottom: 0;
}

.footer-link {
  text-decoration: none;
  color: inherit;
}

.return-top {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  background-image: url(../img/icon-arrow.svg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
}