:root {
  --color-black: #282828;
  --color-white: #fff;
  --color-text: #fff;
  --color-yellow: #ffc524;
  --color-green: #1ba24d;
  --color-bg: #333;
  --color-blue: #333
}

*,
::after,
::before {
  box-sizing: inherit
}

html {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  color: var(--color-text);
  background: var(--color-black);
  font-family: Roboto, -apple-system, Roboto, sans-serif;
  font-size: 16px;
  line-height: 140%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto
}

a {
  text-decoration: none;
  transition: all .3s ease-in-out;
  color: var(--color-text)
}

a:hover {
  color: var(--color-yellow)
}

@media screen and (max-width:992px) {
  body {
    font-size: 12px;
    padding-bottom: 75px
  }
}

h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 15px;
  text-transform: uppercase
}

h2 {
  font-size: 32px
}

h2,
h3,
h4 {
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 15px;
  margin-top: 0
}

h3,
h4 {
  font-size: 30px
}

.container {
  margin: 0 auto;
  max-width: 100%;
  padding: 0 15px;
  width: 1030px
}

.header {
  border-bottom: 1px solid #989898
}

.header .container {
  align-items: center;
  display: flex;
  justify-content: space-between
}

.header__burger {
  display: none
}

.header__logo {
  flex-shrink: 0;
  width: 220px
}

.header__menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0
}

.header__menu a {
  border-bottom: 4px solid var(--color-black);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase
}

.header__menu a:hover {
  border-color: var(--color-yellow);
  color: #fff
}

.btn {
  align-items: center;
  border-radius: 6px;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 140%;
  padding: 15px 45px;
  text-transform: uppercase
}

.btn-yellow {
  background: var(--color-yellow);
  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, .25);
  color: #fff
}

.btn-green,
.btn-yellow:hover {
  background: var(--color-green);
  color: #fff
}

.btn-green {
  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, .25)
}

.btn-green:hover {
  background: var(--color-yellow);
  color: #fff
}

.btn-white {
  background: var(--color-white);
  box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, .25);
  color: var(--color-bg)
}

.btn-white:hover {
  background: var(--color-yellow);
  color: #fff
}

.img-cov {
  max-width: 290px
}

.img-cov img {
  border-radius: 30px
}

.img-float {
  float: left;
  margin: 0 20px 20px 0
}

.img-text {
  margin: 0 auto 25px;
  max-width: 1024px
}

.img-text img {
  border-radius: 25px;
  width: 100%
}

.img-ver {
  max-width: 400px
}

.table {
  margin-bottom: 35px;
  overflow-x: auto
}

.table table {
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 100%;
  width: auto
}

.table td {
  border-bottom: 1px solid #989898;
  padding: 10px
}

.intro {
  background-image: url(../img/bg.webp);
  background-position: 50%;
  background-size: cover;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 40px;
  padding: 80px 0;
  position: relative
}

.intro a,
.intro h1,
.intro p {
  max-width: 550px;
  position: relative;
  z-index: 1
}

.intro .btn {
  width: -moz-max-content;
  width: max-content
}

.content {
  padding-bottom: 40px
}

.content__wrapper {
  display: grid;
  gap: 70px;
  grid-template-columns: auto 270px
}

.content .btn {
  margin-bottom: 20px;
  max-width: 100%;
  width: 270px
}

.rating {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 80px
}

.rating__item {
  background: var(--color-bg);
  border-radius: 6px;
  overflow: hidden;
  position: relative
}

.rating__counter {
  align-items: center;
  background: var(--color-blue);
  display: flex;
  font-size: 14px;
  height: 28px;
  justify-content: center;
  line-height: 700;
  position: absolute;
  right: 0;
  top: 0;
  width: 28px
}

.rating__logo {
  height: 62px;
  width: 90px
}

.rating__logo img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%
}

.rating__head {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 12px
}

.rating__grade {
  display: flex;
  gap: 2px
}

.rating__text {
  background: rgba(74, 203, 89, .15);
  border-radius: 4px;
  color: #23c75f;
  font-size: 12px;
  padding: 8px 10px;
  text-align: center;
  text-transform: uppercase
}

.rating__button,
.rating__text {
  margin: 10px 15px
}

.rating__button .btn {
  margin: 0;
  width: 100%
}

.clear {
  clear: both
}

.footer {
  background: var(--color-bg);
  border-top: 1px solid #989898;
  padding: 15px 0
}

.footer__menu {
  display: flex;
  gap: 40px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0
}

.footer__menu a {
  color: #8d95b2;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase
}

.footer__menu a:hover {
  color: var(--color-yellow)
}

.wrapper {
  position: relative
}

.sidebar {
  bottom: 0;
  clear: both;
  position: absolute;
  right: 25px;
  top: 0
}

.sidebar .btn {
  max-width: 175px;
  padding: 15px;
  position: sticky;
  top: 15px
}

@media screen and (max-width:992px) {
  .header__burger {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    height: 30px;
    padding: 2.5px 0;
    width: 30px;
    z-index: 101
  }

  .header__burger span {
    background: #fff;
    border-radius: 30px;
    display: block;
    height: 3px;
    transition: all .3s ease;
    width: 30px
  }

  .header__burger span:nth-child(3) {
    display: none
  }

  .header__burger.active span:first-child {
    transform: translateY(4px) rotate(45deg)
  }

  .header__burger.active span:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg)
  }

  .header__burger.active span:nth-child(3) {
    display: none
  }

  .header__menu {
    background: var(--color-black);
    display: block;
    height: auto;
    left: 0;
    opacity: 0;
    padding: 15px;
    position: absolute;
    right: 0;
    top: 50px;
    transition: all .3s ease;
    visibility: hidden;
    z-index: 1
  }

  .header__menu.active {
    opacity: 1;
    visibility: visible
  }

  .header__menu a {
    border: 0;
    display: block;
    font-size: 12px;
    padding: 10px 0;
    text-align: center
  }

  .header {
    position: relative;
    z-index: 1000
  }

  .header .container {
    height: 50px
  }

  h1 {
    font-size: 24px
  }

  .intro {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 15px;
    padding: 60px 0
  }

  .rating {
    grid-template-columns: 1fr;
    margin-bottom: 35px
  }

  .sidebar {
    background: var(--color-bg);
    bottom: 0;
    left: 0;
    padding: 15px;
    position: fixed;
    right: 0;
    top: auto
  }

  .sidebar .btn {
    max-width: 100%
  }

  .content__wrapper {
    display: block
  }

  h2 {
    font-size: 18px
  }

  h3,
  h4 {
    font-size: 16px
  }

  .img-cov img {
    margin: 0 auto
  }

  .img-float {
    float: none;
    margin: 0 auto 20px
  }

  .footer__menu {
    flex-wrap: wrap;
    gap: 5px 30px
  }

  .footer__menu a {
    font-size: 10px
  }
}