* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #183b56;
  margin: 0;
  position: static;
  overflow-y: auto;
}

img {
  max-width: 100%;
}

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

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

.input {
  height: 56px;
  padding: 17px 48px;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #959ead;
  border: none;
  border-radius: 8px;
  outline: none;
}

.input--error:invalid {
  color: red;
}

.input--error:valid {
  color: #183b56;
}

.input-wrapper {
  position: relative;
  margin-bottom: 6px;
  height: 70px;
}

.invalid {
  bottom: 4px;
  position: absolute;
  color: red;
  font-size: 12px;
}

.button {
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  background-color: #ffffff;
}

.hold {
  overflow-y: clip;
}

#recommend, #books, #blog {
  scroll-behavior: smooth;
}

/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.header {
  padding: 37px 0 26px;
}

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

.header__menu {
  margin-left: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__menu-nav {
  display: flex;
  justify-content: space-between;
  margin-right: 63px;
  padding: 0;
  list-style: none;
}

.header__menu-item {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  margin: 0;
  margin-right: 24px;
  padding: 0;
}

.header__menu-item:last-child {
  margin-right: 0;
}

.header__button {
  padding: 11px 32px 11px 32px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  border: 2px solid #1565d8;
  color: #1565d8;
}

.header__burger-menu {
  display: none;
}

.burger-button {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  border: none;
  display: none;
  cursor: pointer;
}

.burger-line {
  width: 22px;
  height: 2px;
  background: #3A4C66;
  border-radius: 2px;
}

.main {
  padding-top: 69px;
  padding-bottom: 50px;
}

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

.main__info {
  width: 585px;
}

.main-title {
  width: 445px;
  margin-top: -10px;
  margin-bottom: 28px;
  font-family: Roboto Condensed;
  font-weight: bold;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: 0.2px;
}

.main-title-gold {
  color: #faad13;
}

.main-name {
  margin-bottom: 36px;
  font-family: Roboto;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.main-description {
  margin-bottom: 56px;
  font-size: 18px;
  line-height: 32px;
  color: #5a7184;
}

.main__button-buy {
  margin-right: 26px;
  padding: 18px 38px 18px 35px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #1565d8;
}

.main__button-read {
  padding: 14px 50px 15px 51px;
  color: #1565d8;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 25px;
  text-transform: uppercase;
  border: 2px solid #1565d8;
  background-color: #ffffff;
}

.main__book {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 488px;
  height: 580px;
  background-color: rgba(179, 186, 197, 0.1);
}

.main__book-image {
  width: 250px;
  height: 374px;
}

.books {
  padding: 50px 0 0px;
}

.books__wrapper {
  padding-bottom: 79px;
  display: flex;
  border-bottom: 1px solid #eceef2;
}

.books__title {
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0.2px;
}

.books__price {
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.2px;
  color: #1565d8;
}

.button-buy {
  width: 101px;
  padding: 6px 20px 8px;
  background: #183b56;
  border-radius: 2000px;
  color: #ffffff;
}

.cards-title {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0.2px;
}

.recommend {
  margin-right: 31px;
  width: 751px;
}

.recommend__title {
  margin-bottom: 30px;
}

.recommend__wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 27px;
  border-radius: 8px;
}

.recommend__card {
  margin-right: 1px;
  width: 358px;
  display: flex;
  margin-bottom: 32px;
  padding: 10px;
  border: 1px solid #eceef2;
}

.recommend__card:nth-child(5), .recommend__card:nth-child(6) {
  margin-bottom: 0;
}

.recommend-image {
  width: 160px;
  height: 238px;
  margin-right: 20px;
  object-fit: cover;
  border-radius: 8px;
}

.recommend__info-title {
  margin-top: 13px;
  margin-bottom: 16px;
}

.recommend__info-genre {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 22px;
}

.recommend__info-bottom {
  margin-top: 24px;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
}

.recommend__info-button {
  margin-right: 22px;
}

.recommend__info-heart {
  position: relative;
  width: 18px;
  height: 21px;
}

.recommend-link {
  display: flex;
  justify-content: center;
  max-width: 100%;
  padding: 26px;
  align-items: center;
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #1565d8;
  background-color: rgba(21, 101, 216, 0.1);
  border-radius: 8px;
}

.recommend .button-like {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 21px;
}

.top__wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 24px 22px 26px 24px;
  background-color: rgba(179, 186, 197, 0.1);
  border-radius: 8px;
}

.top__title {
  margin-bottom: 30px;
}

.top__card {
  display: flex;
  width: 314px;
  margin-bottom: 35px;
}

.top__card:nth-child(4) {
  margin-bottom: 24px;
}

.top-image {
  width: 120px;
  height: 177.5px;
  margin-right: 17px;
  object-fit: cover;
  border-radius: 8px;
}

.top__info {
  padding: 9px 0px 9px 9px;
  display: flex;
  flex-direction: column;
}

.top__info-title {
  margin-bottom: 15px;
  overflow: auto;
  max-height: 64px;
}

.top__info-price {
  margin-bottom: 22px;
}

.top-line {
  margin: 0;
  width: 312px;
  margin-bottom: 25px;
  border: 1px solid #eceef2;
}

.top-link {
  width: 100%;
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #1565d8;
}

.sections {
  padding: 60.5px 0 99px;
}

.sections__wrapper {
  position: relative;
}

.sections__slider-button {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 99;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  box-shadow: 0px 12px 16px rgba(0, 0, 0, 0.08);
}

.sections__slider-button:disabled {
  display: none;
}

.sections__slider-button--prev {
  left: -30px;
  background-image: url(../img/sections-prev.svg);
}

.sections__slider-button--next {
  background-image: url(../img/sections-next.svg);
  right: -26px;
}

.sections__slider-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 265px;
  height: auto;
  padding: 40px 0 30px;
  border: 1px solid #eceef2;
  border-radius: 8px;
  text-align: center;
}

.sections__slider-info {
  margin-bottom: auto;
}

.sections-image {
  object-fit: cover;
}

.sections-image-wrapper {
  width: 64px;
  height: 64px;
  margin-bottom: 38px;
}

.sections__title {
  margin-bottom: 12px;
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0.2px;
}

.sections__description {
  font-size: 16px;
  line-height: 22px;
  color: #5a7184;
}

.unreleased {
  background-color: #183b56;
  padding-top: 62px;
  padding-bottom: 77px;
}

.unreleased-container {
  margin-top: 60px;
}

.unreleased-wrap {
  position: relative;
}

.unreleased-slide {
  width: 204px;
  margin-right: 30px;
}

.unreleased-slide--last {
  margin-right: 0px;
}

.unreleased__title {
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.unreleased__img {
  width: 100%;
  height: 298px;
  object-fit: cover;
  border-radius: 8px;
  overflow: hidden;
}

.unreleased-button {
  padding: 0;
  position: absolute;
  top: -4px;
  right: 0;
  border: none;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: centers;
  background-color: transparent;
  z-index: 90;
}

.unreleased-button--prev {
  right: 78px;
}

.unreleased-button:disabled {
  cursor: default;
  box-shadow: none;
  opacity: 0.5;
}

.author {
  padding: 77px 0 100px;
}

.author__wrapper {
  max-width: 1005px;
  margin: 0 auto;
}

.author__head {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 19px;
}

.author__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 380px 1fr;
  gap: 30px;
  flex-direction: column;
}

.author__video {
  grid-column: span 1;
  position: relative;
}

.author__video-wrapper {
  position: relative;
  height: 200px;
  margin-bottom: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.author__video-wrapper--two {
  background-image: url(../img/author-2.jpg);
}

.author__video-wrapper--three {
  background-image: url(../img/author-3.jpg);
}

.author__video-wrapper--four {
  background-image: url(../img/author-4.jpg);
}

.author__video-main {
  background-image: url(../img/author-1.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  grid-column: span 3;
}

.author__video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.author__video-icon-other {
  top: 52%;
}

.author__bottom {
  display: flex;
  justify-content: space-between;
}

.author__name {
  margin-bottom: 10px;
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0.2px;
}

.author__about {
  font-size: 16px;
  line-height: 22px;
}

.author__title {
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: 0.2px;
}

.author__description {
  width: 383px;
  margin-right: 35px;
  font-size: 18px;
  line-height: 32px;
  scrollbar-width: none;
}

.author__description::-webkit-scrollbar {
  width: 0px;
  background: rgba(255, 255, 255, 0);
}

.author__favorite {
  margin-top: 7px;
  width: 18px;
  height: 21px;
  padding: 0;
}

.button-favorite {
  width: 100%;
  height: 100%;
  fill: #1565d8;
  stroke-width: 2px;
}

.button-favorite:active {
  fill: #faad13;
}

.publishers {
  background-color: #b3bac5;
  padding: 80px 0 100px;
}

.publishers__title {
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  letter-spacing: 0.2px;
  color: #ffffff;
  margin-bottom: 52px;
}

.publishers__wrapper {
  margin: 0 auto;
  width: 1048px;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr 1fr;
  grid-column-gap: 90px;
  grid-row-gap: 52px;
}

.publishers-wrap {
  display: none;
}

.blog {
  padding: 100px 0 97px;
}

.blog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.blog__title {
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: 0.2px;
}

.blog__button {
  padding: 10px 54px;
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  letter-spacing: 0.2px;
  color: #1565d8;
  border: 2px solid #1565d8;
  border-radius: 2000px;
}

.blog__button--hidden {
  display: none;
}

.blog__items {
  display: grid;
  grid-template-columns: 556px 1fr;
  grid-template-rows: repeat(3, 1fr);
  grid-row-gap: 27px;
  grid-column-gap: 30px;
}

.blog__card {
  grid-row: span 1;
  display: flex;
}

.blog__card-main {
  grid-row: span 3;
  flex-direction: column;
}

.blog__card-image {
  border-radius: 30px;
  width: 250px;
}

.blog__card-image-main {
  margin-bottom: 27px;
  width: 556px;
}

.blog__card-image-other {
  margin-right: 36px;
}

.blog__card-picture {
  border-radius: 8px;
  object-fit: cover;
}

.blog__card-info-main {
  width: 536px;
  padding-left: 10px;
}

.blog__card-info-other {
  padding: 6px 0 9px;
  width: 262px;
  display: flex;
  flex-direction: column;
}

.blog__card-title {
  margin-bottom: 18px;
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: 0.2px;
  owerflow: auto;
  max-height: 64px;
}

.blog__card-title-main {
  margin-bottom: 16px;
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.2px;
}

.blog__card-description {
  font-size: 18px;
  line-height: 32px;
  color: #5a7184;
  overflow: auto;
  max-height: 96px;
}

.blog__card-date {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 20px;
  color: #5a7184;
  text-transform: uppercase;
}

.blog__card-link {
  margin-top: auto;
  text-transform: uppercase;
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0.2px;
  color: #1565d8;
}

.blog__bottom {
  text-align: center;
}

.subscribe__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  padding: 60px 63px 80px 60px;
  background-image: url(../img/sub-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.subscribe__title {
  width: 393px;
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.subscribe__shape {
  margin-bottom: -36px;
  width: 447px;
}

.subscribe__form {
  position: relative;
  min-height: 52px;
}

.subscribe__input {
  width: 100%;
  position: absolute;
  top: 0;
  padding-right: 178px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #959ead;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #C3CAD9;
}

.subscribe__button {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 169px;
  height: 56px;
  border: 3px solid #ffffff;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
  background-color: #faad13;
}

.subscribe-wrap {
  display: none;
}

.form-icon {
  position: absolute;
  width: 16px;
  height: 18px;
  top: 18px;
  left: 20px;
}

.input-wrapper {
  padding-top: 15px;
}

.input-wrapper-subscribe {
  height: 71px;
}

.invalid {
  bottom: 0;
}

.footer {
  padding: 108px 0 80px;
}

.footer__wrapper {
  display: flex;
  margin-bottom: 72px;
}

.footer__columns {
  display: flex;
}

.footer__main {
  margin-right: 59px;
}

.footer__product {
  margin-right: 82px;
}

.footer__service {
  margin-right: 82px;
}

.footer__company {
  margin-right: 94px;
}

.footer__tagline {
  margin-top: 25px;
  width: 233px;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 28px;
}

.footer__link {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 40px;
}

.footer__link-google {
  margin-right: 2px;
}

.footer__link-twitter {
  margin-right: 2px;
}

.footer__link-instagram {
  margin-right: 2px;
}

.footer__link-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer__title {
  margin-bottom: 31px;
  font-weight: bold;
  font-size: 18px;
  line-height: 25px;
}

.footer__list {
  padding: 0;
  margin: 0;
}

.footer__list-item {
  margin-bottom: 24px;
  list-style: none;
  font-size: 16px;
  line-height: 22px;
}

.footer__copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__icon {
  margin-bottom: 21px;
}

.footer__text {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}

.modal__overlay {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.3);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal__overlay--visible {
  visibility: visible;
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.modal__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 121;
  transform: translate(-50%, -50%);
  width: 500px;
  padding: 30px 70px;
  background-color: #183b56;
  border-radius: 8px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
}

.modal__dialog--visible {
  visibility: visible;
  opacity: 1;
}

.modal__title {
  margin-bottom: 15px;
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  flex-basis: 100%;
}

.modal__input {
  position: absolute;
  top: 0;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #959ead;
  width: 100%;
  height: 50px;
}

.modal__button {
  width: 100%;
  height: 58px;
  padding: 10px;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
  background-color: #faad13;
  text-transform: uppercase;
}

.thanks {
  padding-top: 100px;
}

.thanks__info {
  margin-bottom: 30px;
}

.thanks__title {
  font-family: Roboto Condensed;
  font-style: normal;
  font-weight: bold;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: 0.2px;
  margin-bottom: 20px;
}

.thanks__text {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.2px;
}

.button-return {
  display: inline-block;
  padding: 18px 38px 18px 35px;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #1565d8;
}

.button-return:hover {
  color: #ffffff;
}

.error__info {
  text-align: center;
}

.button-to-top {
  position: fixed;
  padding: 5px;
  bottom: 80px;
  right: 30px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 30px;
  background: #faad13;
  cursor: pointer;
  border: none;
}

.button-to-top:hover {
  background: #ffffff;
  border-radius: 8px;
  border: 2px solid #1565d8;
}

.button-to-top-show {
  display: block;
}

.to-top-image {
  transform: rotate(-90deg);
  margin: 0;
  width: 30px;
  height: 30px;
}

/* max-width: 1200px */
@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .main-description {
    width: 500px;
  }
  .main__card {
    margin-right: 0;
  }
  .books__wrapper {
    flex-wrap: wrap;
  }
  .recommend {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 60px;
    margin-right: 0;
  }
  .recommend__card {
    text-align: center;
    flex-direction: column;
    align-items: center;
    width: 295px;
    padding: 24px;
  }
  .recommend__card:nth-child(4) {
    margin-bottom: 0;
  }
  .recommend-image {
    margin-right: 0;
  }
  .recommend__info-genre {
    margin-bottom: 20px;
  }
  .recommend__info-bottom {
    margin-top: 18px;
  }
  .top {
    width: 100%;
  }
  .top__wrapper {
    padding: 24px 15px;
    flex-direction: row;
    justify-content: space-between;
  }
  .top__card {
    text-align: center;
    flex-direction: column;
    width: 220px;
  }
  .top-image {
    margin-right: 0;
    margin-bottom: 13px;
    align-self: center;
  }
  .top__info {
    align-items: center;
    padding-top: 0;
    padding-left: 0;
  }
  .top-line {
    width: 100%;
  }
  .top-link {
    align-self: center;
  }
  .sections__slider-item {
    padding: 30px 6px;
  }
  .sections__slider-button {
    top: 40%;
  }
  .sections__slider-button--prev {
    left: -15px;
  }
  .sections__slider-button--next {
    right: -15px;
  }
  .sections-image-wrapper {
    margin-bottom: 30px;
  }
  .sections__title {
    font-size: 18px;
    line-height: 1.6;
  }
  .unreleased-slide {
    margin-right: 48px;
  }
  .unreleased-slide--last {
    margin-right: 0px;
  }
  .publishers__wrapper {
    width: auto;
    grid-column-gap: 80px;
    grid-row-gap: 40px;
  }
  .blog__items {
    grid-template-columns: 450px 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 20px;
  }
  .blog__card-image-main {
    width: auto;
    margin-bottom: 27px;
    width: auto;
    height: 324px;
  }
  .blog__card-image-other {
    margin-right: 25px;
  }
  .blog__card-picture {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .blog__card-info-main {
    width: 430px;
  }
  .blog__card-info-other {
    width: 200px;
  }
  .blog__card-title {
    font-size: 16px;
    line-height: 1.6;
  }
  .blog__card-title-main {
    font-size: 20px;
    line-height: 1.6;
  }
  .blog__card-description {
    font-size: 14px;
    line-height: 1.6;
  }
  .blog__card-date {
    margin-bottom: 10px;
    font-size: 12px;
  }
  .subscribe__wrapper {
    padding: 60px 40px 80px;
  }
  .subscribe__shape {
    width: 427px;
  }
  .subscribe__input {
    padding-right: 160px;
  }
  .subscribe__button {
    min-width: 150px;
  }
  .footer__main {
    margin-right: 60px;
  }
  .footer__product {
    margin-right: 60px;
  }
  .footer__service {
    margin-right: 60px;
  }
  .footer__company {
    margin-right: 70px;
  }
}

@media (min-width: 993px) {
  .button {
    transition: .2s linear;
  }
  .button--blue:hover {
    background-image: linear-gradient(to right, #EC1F46 0%, #faad13 51%, #EC1F46 100%);
    background-size: 200% auto;
    background-position: right center;
  }
  .button--white:hover {
    background-image: linear-gradient(to right, #EC1F46 0%, #faad13 51%, #EC1F46 100%);
    background-size: 200% auto;
    background-position: right center;
    border-color: transparent;
    color: #ffffff;
  }
  .button-buy:hover {
    background-color: #faad13;
    color: #ffffff;
  }
  a {
    transition: color 0.15s ease;
  }
  a:hover {
    color: #faad13;
  }
}

/* max-width: 992px */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  .header__menu {
    margin-right: auto;
  }
  .main__wrapper {
    width: 100%;
    flex-direction: column;
  }
  .main__info {
    width: auto;
    margin-bottom: 75px;
    margin-top: 0;
  }
  .main-description {
    width: 100%;
    overflow: initial;
    height: auto;
  }
  .main-title {
    margin-top: 0;
  }
  .main__book {
    width: 100%;
    align-self: center;
  }
  .main__book-image {
    width: 300px;
    height: 460px;
  }
  .recommend__wrapper {
    justify-content: space-between;
  }
  .recommend__card {
    flex-direction: row;
    width: 350px;
    padding: 10px;
    margin-bottom: 15px;
  }
  .recommend__card:nth-child(4) {
    margin-bottom: 15px;
  }
  .recommend-image {
    margin-right: 20px;
  }
  .recommend__info {
    text-align: left;
  }
  .top__wrapper {
    justify-content: space-between;
  }
  .top__card {
    flex-direction: row;
    width: 314px;
    margin-bottom: 20px;
  }
  .top__info {
    margin-left: 9px;
    align-items: start;
    text-align: left;
  }
  .unreleased-slide {
    margin-right: 54px;
  }
  .unreleased-slide--last {
    margin-right: 0px;
  }
  .author {
    padding: 50px 0 70px;
  }
  .author__title {
    font-size: 42px;
    line-height: 1.6;
  }
  .author__description {
    width: 340px;
    margin-right: 0;
    font-size: 16px;
    line-height: 1.6;
  }
  .author__items {
    gap: 20px;
  }
  .author__wrapper {
    width: 100%;
  }
  .author__video-wrapper {
    margin-bottom: 18px;
  }
  .author__name {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 6px;
  }
  .author__about {
    font-size: 14px;
    line-height: 1.6;
  }
  .publishers {
    padding: 60px 0 70px;
  }
  .publishers__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 40px;
  }
  .publishers__wrapper {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
  }
  .blog {
    padding: 70px 0;
  }
  .blog__items {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr repeat(3, 150px);
    grid-gap: 28px;
  }
  .blog__card-main {
    grid-row: span 1;
  }
  .blog__card-image-main {
    height: auto;
  }
  .blog__card-info-main {
    width: 100%;
    padding-left: 0;
  }
  .blog__card-info-other {
    width: 260px;
  }
  .blog__card-title {
    font-size: 22px;
    line-height: 32px;
  }
  .blog__card-title-main {
    font-size: 24px;
    line-height: 32px;
  }
  .blog__card-description {
    font-size: 18px;
    line-height: 32px;
  }
  .blog__card-date {
    font-size: 14px;
    line-height: 20px;
  }
  .subscribe {
    background-color: #fff;
  }
  .subscribe__wrapper {
    height: auto;
    padding: 60px 40px 60px;
    flex-direction: column;
    align-items: start;
  }
  .subscribe__title {
    margin-bottom: 32px;
    font-size: 30px;
    line-height: 1.6;
  }
  .footer__wrapper {
    flex-wrap: wrap;
  }
  .footer__columns {
    flex-basis: 100%;
    justify-content: space-between;
    margin-bottom: 47px;
  }
  .footer__main {
    margin-right: 0;
    order: 2;
  }
  .footer__product {
    margin-right: 0;
  }
  .footer__service {
    margin-right: 0;
  }
  .footer__company {
    margin-right: 0;
  }
}

/* max-width: 768px */
@media (max-width: 768px) {
  body {
    padding-top: 88px;
  }
  .container {
    width: 90%;
  }
  .header {
    padding: 30px 0;
  }
  .header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 110;
    background-color: #ffffff;
  }
  .header__menu {
    align-items: flex-end;
  }
  .header__menu--hidden {
    display: none;
  }
  .header__menu--burger {
    padding-top: 30px;
    flex-direction: column;
  }
  .header__menu-nav {
    flex-direction: column;
    text-align: right;
    margin-right: 0;
    margin-bottom: 40px;
  }
  .header__menu-item {
    margin-bottom: 10px;
    margin-right: 0;
  }
  .header__burger-menu--visible {
    display: block;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    background-color: #ffffff;
  }
  .burger-button {
    display: flex;
  }
  .main {
    padding: 36px 0;
  }
  .recommend__card {
    flex-basis: 48%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 18px;
  }
  .recommend-image {
    margin-right: 0;
  }
  .recommend__info {
    text-align: center;
  }
  .top__card {
    flex-direction: column;
    flex-basis: 48%;
  }
  .top__info {
    text-align: center;
    align-items: center;
  }
  .sections__slider-button {
    top: 50%;
  }
  .unreleased {
    padding-top: 48px;
    padding-bottom: 133px;
  }
  .unreleased-slide {
    width: 100%;
    margin-right: 0px;
    text-align: center;
  }
  .unreleased__title {
    text-align: center;
  }
  .unreleased__img {
    width: 300px;
    height: 434px;
  }
  .unreleased-button {
    top: auto;
    bottom: -88px;
  }
  .unreleased-button--next {
    transform: translateX(100%);
    right: 47%;
  }
  .unreleased-button--prev {
    transform: translateX(-100%);
    left: 47%;
  }
  .unreleased-button__svg {
    width: 48px;
    height: 48px;
  }
  .author__head {
    margin-top: 0;
    margin-bottom: 35px;
    flex-direction: column;
    align-items: center;
  }
  .author__title {
    font-size: 36px;
    margin-bottom: 23px;
  }
  .author__description {
    width: 460px;
    text-align: center;
    height: auto;
    font-size: 18px;
    line-height: 25px;
  }
  .author__items {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 360px 286px;
  }
  .author__video-main {
    grid-column: span 2;
  }
  .author__video:last-child {
    display: none;
  }
  .author-wrap {
    display: none;
  }
  .publishers__title {
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    line-height: 30px;
    width: 350px;
    margin-bottom: 27px;
  }
  .publishers__wrapper {
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
  }
  .publishers__image {
    margin: auto;
  }
  .publishers-wrap {
    display: block;
  }
  .blog__card-title {
    font-size: 18px;
    line-height: 1.6;
  }
  .blog__card-title-main {
    font-size: 20px;
    line-height: 1.6;
  }
  .blog__card-image-main {
    margin-bottom: 20px;
  }
  .blog__card-title-main {
    margin-bottom: 11px;
  }
  .blog__card-description {
    font-size: 14px;
    line-height: 1.6;
  }
  .blog__card-date {
    font-size: 12px;
    line-height: 20px;
  }
  .blog__card-link {
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.125px;
  }
  .footer__title {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 22px;
  }
  .footer__list-item {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 20px;
  }
  .thanks {
    padding-top: 60px;
  }
  .thanks__title {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 16px;
  }
  .thanks__text {
    font-size: 16px;
    line-height: 21px;
  }
  .button-return {
    padding: 13px 20px;
    font-size: 14px;
  }
  .button-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .to-top-image {
    transform: rotate(-90deg);
    margin: 0;
    width: 20px;
    height: 20px;
  }
}

/* max-width: 576px */
@media (max-width: 576px) {
  .main {
    text-align: center;
  }
  .main__info {
    margin-bottom: 40px;
  }
  .main-title {
    width: 100%;
    font-weight: bold;
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 23px;
  }
  .main-name {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 33px;
  }
  .main-description {
    font-size: 16px;
    line-height: 23px;
    margin-bottom: 18px;
  }
  .main__button-buy, .main__button-read {
    height: 40px;
    width: 176px;
    padding: 9px 20px;
    font-size: 16px;
    line-height: 22px;
  }
  .main__button-read {
    padding: 7px 27px;
  }
  .main__book-image {
    width: 250px;
    height: 374px;
  }
  .cards__title {
    font-size: 22px;
    line-height: 32px;
  }
  .sections-image-wrapper {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
  }
  .unreleased-container {
    margin-top: 41px;
  }
  .unreleased__title {
    font-size: 28px;
    line-height: 36px;
  }
  .unreleased__img {
    width: 206px;
    height: 300px;
  }
  .author__container {
    width: 94%;
  }
  .author__items {
    grid-template-rows: 310px 1fr;
  }
  .author__title {
    font-size: 28px;
    line-height: 36px;
  }
  .author__description {
    width: 280px;
  }
  .author__bottom {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .author__name {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 6px;
  }
  .author__about {
    font-size: 12px;
    line-height: 20px;
  }
  .author__info {
    margin-bottom: 16px;
  }
  .author__video-wrapper {
    margin-bottom: 16px;
  }
  .author__video-main {
    background-image: url(../img/author-1-s.jpg);
  }
  .author__video-icon {
    width: 21px;
    height: 27px;
  }
  .author__video-icon--main {
    width: 56px;
    height: 56px;
  }
  .author__favorite {
    margin-top: -4px;
  }
  .author__button {
    width: auto;
  }
  .button-favorite {
    width: 14px;
    height: 13px;
  }
  .publishers {
    padding: 37px 0 57px;
  }
  .publishers__wrapper {
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
  .publishers__title {
    width: 280px;
  }
  .publishers__image:nth-child(n+10) {
    display: none;
  }
  .blog {
    position: relative;
    padding: 56px 0 48px;
  }
  .blog__wrapper {
    margin-left: 5px;
    margin-right: 3px;
  }
  .blog__head {
    justify-content: center;
    margin-bottom: 48px;
  }
  .blog__title {
    font-size: 28px;
    line-height: 36px;
  }
  .blog__card-image {
    width: auto;
  }
  .blog__card-image-main {
    width: auto;
  }
  .blog__card-title {
    overflow: auto;
    max-height: 60px;
  }
  .blog__card-title-main {
    font-size: 16px;
    line-height: 20px;
  }
  .blog__card-info {
    width: 240px;
  }
  .blog__card-description {
    font-size: 12px;
    line-height: 24px;
  }
  .blog__button--visible {
    display: none;
  }
  .blog__button--hidden {
    display: inline-block;
    margin-top: 35px;
    padding: 10px 47px;
    font-family: Roboto Condensed;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    letter-spacing: 0.175px;
  }
  .subscribe {
    padding-bottom: 20px;
    background-image: url(../img/sub-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .subscribe__wrapper {
    background-image: none;
    height: auto;
    padding: 27px 8px 8px 8px;
    flex-direction: column;
    align-items: start;
  }
  .subscribe__title {
    width: 100%;
    margin-bottom: 32px;
    font-size: 28px;
    line-height: 36px;
  }
  .subscribe__shape {
    padding: 0 8px 8px;
    width: 100%;
    height: 112px;
    padding-bottom: 12px;
    margin-bottom: 0;
    background-color: #ffffff;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #C3CAD9;
  }
  .subscribe__input {
    padding-top: 15px;
    padding-right: 24px;
    padding-left: 39px;
    border: none;
  }
  .subscribe__button {
    min-width: 150px;
    top: revert;
    left: 0;
    width: 100%;
    height: 48px;
  }
  .subscribe-wrap {
    display: block;
  }
  .input-wrapper-subscribe {
    height: 54px;
  }
  .form-icon {
    left: 10px;
  }
  .footer {
    padding: 48px 0 64px;
  }
  .footer__wrapper {
    justify-content: center;
    margin-right: 6px;
    padding-left: 8px;
    margin-bottom: 0;
  }
  .footer__columns {
    flex-wrap: wrap;
    margin-bottom: 44px;
  }
  .footer__product {
    flex-basis: 52%;
    margin-bottom: 39px;
  }
  .footer__service {
    flex-basis: 48%;
  }
  .footer__company {
    flex-basis: 52%;
  }
  .footer__more {
    flex-basis: 48%;
  }
  .footer__main {
    order: 2;
    text-align: center;
  }
  .footer__logo {
    margin-bottom: 16px;
  }
  .footer__tagline {
    margin-top: 11px;
    margin-right: 11px;
    margin-bottom: 14px;
  }
  .footer__copyright {
    display: none;
  }
  .footer__list-item:last-child {
    margin: 0;
  }
  .modal__close {
    top: 17px;
    right: 17px;
    width: 20px;
    height: 20px;
    fill: #ffffff;
  }
  .modal__dialog {
    width: 90%;
    padding: 30px 50px;
  }
  .modal__title {
    margin-bottom: 25px;
    font-size: 24px;
    line-height: 30px;
  }
  .modal__input {
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 20px;
    height: 46px;
  }
  .modal__button {
    height: 50px;
    padding: 10px;
    font-size: 14px;
    line-height: 20px;
  }
}

/* max-width: 460px */
@media (max-width: 460px) {
  body {
    padding-top: 64px;
  }
  .header {
    padding: 18px 0;
  }
  .header__burger-menu {
    top: 64px;
  }
  .header__menu--burger {
    align-items: center;
  }
  .header__menu-nav {
    align-items: center;
    margin-bottom: 30px;
  }
  .main {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .main__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
  }
  .main__button-buy {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .main__book {
    height: 332px;
  }
  .main__book-image {
    width: 143px;
    height: 214px;
  }
  .burger-button {
    margin-right: 8px;
  }
  .books {
    padding-top: 21px;
  }
  .books__title {
    font-size: 28px;
    line-height: 36px;
  }
  .books__wrapper {
    padding-bottom: 56px;
  }
  .recommend {
    text-align: center;
    margin-bottom: 57px;
  }
  .recommend__title {
    margin-bottom: 72px;
  }
  .recommend__wrapper {
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
  }
  .recommend__card {
    width: 100%;
    padding: 9px 9px 18px 9px;
    margin-bottom: 0px;
    border-radius: 8px;
  }
  .recommend__card:not(:nth-child(1)) {
    display: none;
  }
  .recommend-image {
    margin-top: -35px;
    width: 95px;
    height: 137px;
  }
  .recommend__info-title {
    margin-top: 19px;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 12px;
  }
  .recommend__info-genre {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
  }
  .recommend__info-price {
    margin-right: 10px;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
  }
  .recommend__info-bottom {
    margin-top: 20px;
    justify-content: center;
  }
  .recommend__info-button {
    width: 115px;
  }
  .recommend-wrap {
    display: none;
  }
  .recommend-link {
    padding: 14px 61px;
    text-transform: none;
  }
  .top__title {
    text-align: center;
    margin-bottom: 35px;
  }
  .top__wrapper {
    flex-direction: column;
    justify-content: start;
    padding: 26px 14px 21px 14px;
  }
  .top__card {
    max-width: 280px;
    flex-direction: row;
    margin-bottom: 24px;
  }
  .top__card:nth-child(2) {
    margin-bottom: 22px;
  }
  .top__card:nth-child(4) {
    margin-bottom: 25px;
  }
  .top-image {
    width: 95px;
    height: 142px;
  }
  .top__info {
    margin-top: 4px;
    margin-left: 15px;
    align-items: start;
  }
  .top__info-title {
    font-family: Roboto Condensed;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 12px;
    text-align-last: left;
  }
  .top__info-price {
    margin-bottom: 14px;
  }
  .top-line {
    margin-bottom: 19px;
  }
  .top-link {
    align-self: start;
  }
  .sections {
    padding: 55px 0 140px;
  }
  .sections__slider-item {
    padding: 20px 14px;
    width: 140px;
    height: 182px;
  }
  .sections__slider-button {
    width: 48px;
    height: 48px;
    left: 0;
    box-shadow: 0px 12px 16px rgba(0, 0, 0, 0.08);
  }
  .sections__slider-button--prev {
    background-image: url(../img/sections-prev-small.svg);
    top: 406px;
    left: 48%;
    transform: translateX(-100%);
  }
  .sections__slider-button--next {
    background-image: url(../img/sections-next-small.svg);
    top: 430px;
    left: 52%;
  }
  .sections-image {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
  }
  .sections__title {
    height: 40px;
    font-family: Roboto Condensed;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
  }
  .sections__description {
    font-size: 12px;
    line-height: 20px;
  }
  .unreleased__slider {
    width: 204px;
  }
  .author {
    padding: 45px 0 37px;
  }
  .author__items {
    grid-template-rows: 210px 1fr;
  }
  .author__video-wrapper {
    height: 138px;
  }
  .author__video-wrapper--three {
    background-image: url(../img/author-3-s.jpg);
  }
  .publishers__wrapper {
    width: 232px;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
  }
  .publishers__image {
    margin-right: 5px;
  }
  .publishers__image:nth-child(n+7) {
    display: none;
  }
  .blog {
    padding: 56px 0 48px;
  }
  .blog__title {
    font-size: 28px;
    line-height: 36px;
  }
  .blog__card-title {
    font-size: 14px;
    line-height: 20px;
  }
  .blog__card-title-main {
    font-size: 16px;
    line-height: 20px;
  }
  .blog__card-image-other {
    margin-right: 20px;
  }
  .blog__card-info {
    width: 100%;
  }
  .blog__card-info-other {
    width: 164px;
  }
  .blog__card-description {
    font-size: 12px;
    line-height: 24px;
  }
  .blog__card-date {
    font-size: 10px;
    line-height: 20px;
  }
  .blog__card-link {
    font-size: 10px;
    line-height: 20px;
  }
  .blog__items {
    display: grid;
    grid-template-rows: 1fr repeat(3, 120px);
  }
  .modal__close {
    top: 12px;
    right: 12px;
  }
  .modal__dialog {
    padding: 20px 30px;
  }
  .modal__title {
    font-size: 21px;
    line-height: 26px;
  }
  .modal__input {
    font-size: 14px;
    line-height: 20px;
    height: 46px;
  }
  .thanks {
    padding-top: 40px;
  }
  .thanks__wrapper {
    text-align: center;
  }
  .thanks__info {
    margin-bottom: 20px;
  }
  .thanks__title {
    font-size: 28px;
    line-height: 36px;
  }
  .thanks__text {
    font-size: 14px;
    line-height: 20px;
  }
  .button-return {
    font-size: 12px;
    line-height: 18px;
  }
}

/* max-width: 320px */
@media (max-width: 320px) {
  .blog__card-image-main {
    height: 120px;
  }
  .blog__card-image-other {
    width: 90px;
    height: 90px;
  }
  .blog__card-title {
    margin-bottom: 3px;
  }
  .blog__card-info {
    padding: 0;
    display: block;
  }
  .blog__card-date {
    margin-bottom: 4px;
  }
  .blog__items {
    display: grid;
    grid-template-rows: 1fr repeat(3, 93px);
  }
}

/* max-width: 320px */
@media (max-height: 460px) and (max-width: 992px) {
  .modal__overlay {
    overflow-y: auto;
  }
  .modal__dialog {
    position: absolute;
    top: 230px;
    transform: translate(-50%, -50%);
  }
}
