@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/exo2/v10/7cH1v4okm5zmbvwkAx_sfcEuiD8j4PKcPg.ttf) format('truetype');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/exo2/v10/7cH1v4okm5zmbvwkAx_sfcEuiD8jvvKcPg.ttf) format('truetype');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/exo2/v10/7cH1v4okm5zmbvwkAx_sfcEuiD8jjPKcPg.ttf) format('truetype');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/exo2/v10/7cH1v4okm5zmbvwkAx_sfcEuiD8jWfWcPg.ttf) format('truetype');
}
html {
  scroll-behavior: smooth;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Exo 2", sans-serif;
}
a {
  color: black;
  text-decoration: none;
}
.container {
  max-width: 1517px;
  margin: 0 auto;
  padding: 75px;
}
.chapter {
  width: 218px;
  margin: 0 auto;
}
.header {
  position: relative;
  /*max-width: 1290px;*/
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}
.header .logo img {
  width: 200px;
}
.header #menu-toggle {
  display: none;
}
.header .burger {
  display: flex;
  align-items: center;
  position: fixed;
  top: 47px;
  right: 76px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  transition: all 0.5s ease;
}
.header .burger > span,
.header .burger > span::before,
.header .burger > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 6px;
  border-radius: 25px;
  background-color: #264653;
  transition: all 0.5s ease;
}
.header .burger > span::before {
  content: "";
  top: -16px;
}
.header .burger > span::after {
  content: "";
  top: 16px;
}
.header .menu {
  font-weight: 300;
  margin: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 29px;
}
.header .menu div a {
  border-radius: 25px;
  padding: 8px 18px 11px 18px;
  transition: 0.6s all ease;
}
.header .menu div a:hover {
  color: white;
}
.header .menu .books a {
  background-color: #feba21;
  font-weight: 500;
  color: white;
}
.header .menu .main a:hover {
  background-color: #005877;
}
.header .menu .audio a:hover {
  background-color: #f4a261;
}
.header .menu .top a:hover {
  background-color: #e44a24;
}
.header .icons {
  margin-left: 233px;
  align-items: center;
  display: flex;
}
.header .icons img {
  width: 40px;
}
.header .icons .saved {
  margin-left: 30px;
}
.header .icons .saved a {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
}
.header .icons .saved a img {
  position: absolute;
  /*top: -6px;*/
  transition: all 0.4s ease;
}
.header .icons .saved a #heart-hover {
  opacity: 0;
}
.header .icons .saved a:hover #heart {
  opacity: 0;
}
.header .icons .saved a:hover #heart-hover {
  opacity: 1;
}
.main-wrap {
  background-color: #ebebeb;
}
.main-wrap .header-books h1 {
  text-align: center;
  font-size: 72px;
  font-weight: 700;
  color: #005877;
}
.main-wrap .genre-list {
  width: 100%;
  margin: 75px 0;
  padding: 75px;
  background-color: white;
  border-radius: 50px;
}
.main-wrap .genre-list .wrap-genres {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.main-wrap .genre-list .wrap-genres .column p {
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  line-height: 45px;
  letter-spacing: 1px;
}
.main-wrap .genre-list .wrap-genres .column p .choosed {
  font-weight: 600;
}
.main-wrap .genre-list .wrap-genres .column p a:hover {
  font-weight: 600;
}
.main-wrap .search-field {
  max-width: 729px;
  margin: 0 auto;
}
.main-wrap .search-field form input {
  padding: 0 64px;
  font-size: 18px;
  font-weight: 300;
  width: 100%;
  height: 52px;
  border: 3px solid #a6a6a6;
  border-radius: 100px;
  background: url(../img/лупа.png) white no-repeat 4% 50%;
}
.main-wrap .header-genre {
  margin: 75px 0;
}
.main-wrap .header-genre h2 {
  padding-top: 7px;
  text-align: center;
  font-size: 30px;
  font-style: italic;
  font-weight: 600;
  color: #005877;
}
.main-wrap .books-grid {
  margin: 75px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  grid-template-rows: repeat(3, 1fr);
  gap: 75px;
}
.main-wrap .books-grid .book-cell {
  height: 720px;
  width: 285px;
}
.main-wrap .books-grid .book-cell img {
  display: block;
}
.main-wrap .books-grid .book-cell .title-read {
  position: relative;
  height: 280px;
  padding: 30px 40px 31px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.main-wrap .books-grid .book-cell .title-read h5 {
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 37px;
  text-align: center;
}
.main-wrap .books-grid .book-cell .title-read .title {
  font-weight: 500;
  margin-bottom: 15px;
}
.main-wrap .books-grid .book-cell .title-read .author {
  font-weight: 300;
  font-style: italic;
  margin-bottom: 30px;
}
.main-wrap .books-grid .book-cell .title-read .btn-read a {
  background-color: #feba21;
  border-radius: 100px;
  border: 4px solid #feba21;
  color: white;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  display: block;
  width: 100%;
  padding: 12px 0;
  transition: all 0.5s ease;
}
.main-wrap .books-grid .book-cell .title-read .btn-read a:hover {
  color: #feba21;
  background-color: white;
}
.main-wrap .up {
  text-align: center;
}
.footer .container {
  background: #264653;
  display: grid;
  grid-template-columns: 230px 285px 285px 523px;
  font-size: 22px;
  color: white;
}
.footer .container p,
.footer .container h3 {
  text-align: center;
}
.footer .container .foot-logo {
  margin-top: 52px;
}
.footer .container .foot-logo p {
  font-weight: 300;
  font-size: 24px;
}
.footer .container .info {
  padding-left: 50px;
  margin-top: 35px;
}
.footer .container .info p,
.footer .container .info a {
  color: white;
  font-weight: 400;
  line-height: 55px;
  letter-spacing: 2px;
}
.footer .container .contacts {
  padding-left: 20px;
}
.footer .container .contacts h3 {
  font-weight: 500;
  letter-spacing: 1px;
}
.footer .container .contacts p {
  letter-spacing: 2px;
  line-height: 35px;
}
.footer .container .contacts .phone h3 {
  padding-bottom: 13px;
}
.footer .container .contacts .social-net h3 {
  padding-top: 42px;
  padding-bottom: 25px;
}
.footer .container .contacts .social-net div {
  width: 281px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
