@media screen and (max-width: 1517px) {
  .container .header {
    width: 100%;
  }
  .container .header .icons {
    margin-left: 196px;
  }
  .book .container .book-wrap .book-info .book-descrip {
    width: 100%;
  }
  .book .container .book-wrap .book-info .book-descrip .text-descrip {
    width: 100%;
  }
  .book .container .book-wrap .author-info .author .info .author-text .text {
    width: 450px;
  }
  .footer .container {
    grid-template-columns: repeat(3, 20%) 40%;
  }
  .footer .container .info {
    padding-left: 30px;
    font-size: 20px;
  }
}
@media screen and (max-width: 1340px) {
  .container .header {
    width: 100%;
  }
  .container .header .icons {
    margin-left: 144px;
  }
  .container .header .menu {
    font-size: 25px;
  }
  .container .header .menu div {
    margin-right: 26px;
  }
  .book .container .book-wrap .author-info .lines img {
    width: 200px;
    height: 460px;
  }
  .book .container .book-wrap .author-info .author .info .author-text .text {
    width: 100%;
  }
  .footer .container {
    grid-template-columns: repeat(2, 30%) 40%;
    grid-template-rows: repeat(2, 50%);
  }
  .footer .container .foot-logo {
    grid-row: 1/3;
    text-align: center;
    margin: auto 0;
  }
  .footer .container .info {
    padding: 0;
  }
  .footer .container .info p {
    line-height: 45px;
  }
  .footer .container .info .first-row {
    grid-row: 1/2;
  }
  .footer .container .info .second-row {
    grid-row: 2/3;
  }
  .footer .container .contacts {
    grid-column: 3/4;
    grid-row: 1/3;
    padding-top: 64px;
  }
}
@media screen and (max-width: 1205px) {
  .container .header .icons {
    margin-left: 107px;
  }
}
@media screen and (max-width: 1140px) {
  .container .header .logo a img {
    width: 170px;
  }
  .container .header .icons {
    margin-left: 97px;
  }
  .container .header .menu {
    font-size: 20px;
    margin: 0;
  }
  .book .container .book-wrap .book-prop {
    grid-template-columns: 1fr;
  }
  .book .container .book-wrap .book-prop .book-func {
    padding-top: 25px;
  }
  .book .container .book-wrap .book-info {
    grid-template-columns: 1fr;
    height: 100%;
  }
  .book .container .book-wrap .author-info .author {
    padding-top: 50px;
  }
  .book .container .book-wrap .author-info .author .info .author-text {
    padding-top: 7px;
  }
  .book .container .book-wrap .author-info .author .info .author-text .text {
    padding-bottom: 17px;
  }
  .book .container .book-wrap .author-info .author .info .about img {
    width: 150px;
  }
  .book .container .book-wrap .author-info .author a {
    font-size: 22px;
  }
}
@media screen and (max-width: 1050px) {
  .container .header .menu {
    margin: 0 55px;
  }
  .container .header .icons {
    margin-left: 20px;
  }
}
@media screen and (max-width: 992px) {
  .container {
    padding: 45px;
  }
  .container .header {
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(2, 1fr);
  }
  .container .header .logo {
    grid-column: 1/2;
  }
  .container .header .menu {
    margin: 0 37px;
    grid-column: 1/3;
    grid-row: 2/3;
  }
  .container .header .menu div {
    margin: 0;
  }
  .container .header .icons {
    grid-column: 2/3;
    margin-left: auto;
  }
  .container .header .icons .account a img {
    width: 30px;
  }
  .container .header .icons .saved {
    width: 30px;
    height: 30px;
  }
  .container .header .icons .saved a img {
    width: 28px;
    margin: 0 auto;
  }
  .book .container .book-wrap .author-info {
    height: 100%;
    padding-bottom: 45px;
  }
  .book .container .book-wrap .author-info .lines {
    display: none;
  }
  .book .container .book-wrap .author-info .author {
    padding: 0;
  }
  .book .container .book-wrap .author-info .author .info {
    flex-direction: column;
    height: 100%;
  }
  .book .container .book-wrap .author-info .author .info .about {
    padding-top: 45px;
    text-align: center;
  }
  .book .container .book-wrap .author-info .author .info .about img {
    width: 230px;
  }
  .book .container .book-wrap .author-info .author .info .author-text {
    padding: 0;
    text-align: center;
    margin-top: 45px;
  }
  .book .container .book-wrap .author-info .author .info .author-text h5 {
    font-size: 27px;
  }
  .footer .container {
    display: flex;
    flex-direction: column;
  }
  .footer .container .foot-logo .copyright {
    font-size: 28px;
  }
  .footer .container .info p a {
    font-size: 24px;
    letter-spacing: 0px;
  }
  .footer .container .contacts .phone {
    padding-bottom: 35px;
    font-size: 24px;
    line-height: 20px;
  }
  .footer .container .contacts .social-net h3 {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .book .container {
    padding: 50px;
  }
  .book .container .book-wrap .book-route {
    width: 100%;
  }
  .book .container .book-wrap .book-prop {
    padding: 0 50px;
    grid-template-columns: 100%;
  }
  .book .container .book-wrap .book-prop .book-charach {
    width: 100%;
  }
  .book .container .book-wrap .book-prop .book-func {
    width: 100%;
  }
  .book .container .book-wrap .book-prop .book-func div a {
    width: 100%;
  }
  .book .container .book-wrap .book-info {
    padding: 0 50px;
  }
}
@media screen and (max-width: 576px) {
  .container {
    padding: 40px;
  }
  .container .header {
    position: fixed;
    background-color: white;
    width: 100%;
    top: 0;
    left: 0;
    height: 120px;
    z-index: 20;
  }
  .container .header .burger {
    opacity: 1;
    z-index: 4;
    width: 40px;
    height: 40px;
    top: 40px;
    right: 40px;
  }
  .container .header .logo {
    position: absolute;
    top: 33px;
    left: 40px;
  }
  .container .header .logo a img {
    width: 125px;
  }
  .container .header #menu-toggle:checked ~ .burger > span {
    transform: rotate(45deg);
    background-color: white;
  }
  .container .header #menu-toggle:checked ~ .burger > span::before {
    top: 0;
    transform: rotate(0);
    background-color: white;
  }
  .container .header #menu-toggle:checked ~ .burger > span::after {
    top: 0;
    transform: rotate(90deg);
    background-color: white;
  }
  .container .header #menu-toggle:checked ~ .menu {
    visibility: visible;
    opacity: 1;
    padding: 35px 35px 25px;
  }
  .container .header #menu-toggle:checked ~ .menu div {
    margin-top: 50px;
  }
  .container .header #menu-toggle:checked ~ .menu div a {
    color: white;
    font-size: 22px;
  }
  .container .header #menu-toggle:checked ~ .icons {
    visibility: visible;
    opacity: 1;
    top: 380px;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    margin: 0;
  }
  .container .header #menu-toggle:checked ~ .icons .saved,
  .container .header #menu-toggle:checked ~ .icons .account {
    width: 30px;
    height: 30px;
  }
  .container .header .menu {
    display: block;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    right: 0;
    width: 350px;
    height: 380px;
    margin: 0;
    z-index: 2;
    box-shadow: 2px -11px 12px 4px grey;
    background-color: #2a9d8f;
  }
  .container .header .menu div {
    display: block;
  }
  .container .header .icons {
    display: block;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 0;
    width: 350px;
    height: 75px;
    margin: 0;
    background-color: white;
    box-shadow: 2px 2px 12px 4px grey;
    z-index: 1;
  }
  .book {
    margin-top: 30px;
  }
  .book .container {
    padding: 40px;
  }
  .book .container .book-wrap .book-route img {
    width: 105px;
  }
  .book .container .book-wrap .book-route .route {
    width: 155px;
    margin: 0 auto;
    font-size: 14px;
    letter-spacing: 0;
    margin-bottom: 50px;
  }
  .book .container .book-wrap .book-title {
    margin-bottom: 50px;
  }
  .book .container .book-wrap .book-title .author {
    font-size: 27px;
  }
  .book .container .book-wrap .book-title .title {
    font-size: 24px;
  }
  .book .container .book-wrap .book-prop {
    padding: 0 30px;
  }
  .book .container .book-wrap .book-prop .book-charach h4 {
    font-size: 14px;
    padding-top: 5px;
  }
  .book .container .book-wrap .book-prop .book-charach div {
    margin-bottom: 3px;
  }
  .book .container .book-wrap .book-prop .book-charach .rating-wrap {
    width: 65%;
    margin-bottom: 3px;
  }
  .book .container .book-wrap .book-prop .book-charach .rating-wrap .stars {
    margin-top: 3px;
  }
  .book .container .book-wrap .book-prop .book-charach .rating-wrap .stars img {
    width: 20px;
    margin-right: 0;
  }
  .book .container .book-wrap .book-prop .book-charach .num-of-pages .pages {
    font-size: 20px;
  }
  .book .container .book-wrap .book-prop .book-charach .contents h4 a img {
    width: 23px;
  }
  .book .container .book-wrap .book-prop .book-charach .add-to-saved h4 a img {
    width: 23px;
  }
  .book .container .book-wrap .book-prop .book-func div a {
    padding: 10px 0;
    font-size: 14px;
  }
  .book .container .book-wrap .book-info {
    padding: 0 20px;
    margin: 20px 0;
    grid-template-columns: 100%;
  }
  .book .container .book-wrap .book-info .book-descrip h3 {
    font-size: 18px;
  }
  .book .container .book-wrap .book-info .book-descrip .chapter img {
    width: 105px;
  }
  .book .container .book-wrap .book-info .book-descrip .text-descrip {
    font-size: 14px;
    padding-bottom: 25px;
  }
  .book .container .book-wrap .book-info .book-image img {
    width: 112px;
  }
  .book .container .book-wrap .author-info {
    padding: 30px;
  }
  .book .container .book-wrap .author-info .author {
    width: 100%;
  }
  .book .container .book-wrap .author-info .author .info .about {
    padding-top: 0;
  }
  .book .container .book-wrap .author-info .author .info .about h4 {
    font-size: 14px;
  }
  .book .container .book-wrap .author-info .author .info .about img {
    width: 118px;
  }
  .book .container .book-wrap .author-info .author .info .author-text {
    margin-top: 30px;
  }
  .book .container .book-wrap .author-info .author .info .author-text h5 {
    font-size: 12px;
  }
  .book .container .book-wrap .author-info .author .info .author-text .text {
    font-size: 13px;
    letter-spacing: 0;
  }
  .book .container .book-wrap .author-info .author .info .author-text .all-books a {
    font-size: 15px;
  }
  .book .container .book-wrap .author-info .author .info .author-text .all-books h6:after {
    top: 1px;
    left: 9px;
    content: url(../img/arrow-320.png);
  }
  .footer .container {
    padding: 30px;
  }
  .footer .container .foot-logo img {
    width: 166px;
  }
  .footer .container .foot-logo .copyright {
    font-size: 17px;
  }
  .footer .container .info p,
  .footer .container .info a {
    line-height: 25px;
  }
  .footer .container .info p a {
    font-size: 17px;
  }
  .footer .container .second-row {
    margin-top: 0;
  }
  .footer .container .contacts {
    padding-top: 30px;
    padding-left: 0;
  }
  .footer .container .contacts .phone h3,
  .footer .container .contacts .phone p {
    font-size: 18px;
    letter-spacing: 0;
  }
  .footer .container .contacts .social-net div {
    width: 60%;
  }
}
@media screen and (max-width: 400px) {
  .container .header .menu {
    width: 270px;
  }
  .container .header #menu-toggle:checked ~ .menu div a {
    font-size: 18px;
  }
  .container .header .icons {
    width: 270px;
  }
  .container .header .burger {
    width: 30px;
    height: 30px;
    top: 44px;
  }
  .container .header .burger span {
    height: 4px;
  }
  .container .header .burger span:before,
  .container .header .burger span:after {
    height: 4px;
  }
  .container .header .burger span:before {
    top: -12px;
  }
  .container .header .burger span:after {
    top: 12px;
  }
  .book .container .book-wrap .book-prop .book-charach .rating-wrap {
    width: 100%;
  }
  .footer .container .contacts .social-net {
    width: 100%;
  }
}
