:root {
  --color-black: #000;
  --color-white: #fff;
  --color-text: #fff;
  --color-yellow: #ae21ff;
  --color-green: #2ba974;
  --color-bg: #282636
}

*,
::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: Lato, -apple-system, Lato, 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 10px;
  text-align: center
}

h2 {
  font-size: 24px
}

h2,
h3 {
  font-weight: 700;
  line-height: 140%;
  margin-bottom: 15px;
  margin-top: 0
}

h3 {
  font-size: 22px
}

.container {
  margin: 0 auto;
  max-width: 100%;
  padding: 0 15px;
  width: 1420px
}

.header {
  padding: 25px
}

.header .container {
  align-items: center;
  background: var(--color-bg);
  border-radius: 100px;
  display: flex;
  height: 65px;
  justify-content: space-between;
  padding: 0 20px;
  width: 1390px
}

.header__burger {
  display: none
}

.header__logo {
  flex-shrink: 0;
  width: 90px
}

.header__menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0
}

.header__menu a {
  font-weight: 700
}

.wrapper {
  background: var(--color-bg);
  border-radius: 40px;
  padding: 25px
}

.btn {
  align-items: center;
  border-radius: 80px;
  display: flex;
  gap: 5px;
  justify-content: center;
  padding: 15px
}

.btn-yellow {
  background-color: var(--color-yellow);
  background-image: linear-gradient(90deg, #ae21ff, #f30b81);
  background-size: 130%;
  color: #fff
}

.btn-yellow:hover {
  background-position: 100% 0;
  color: #fff
}

.btn-green {
  background: var(--color-green);
  color: #fff
}

.btn-green:hover {
  background: var(--color-yellow);
  color: #fff
}

.btn-white {
  background: var(--color-white);
  color: var(--color-bg)
}

.btn-white:hover {
  background: var(--color-yellow);
  color: #fff
}

.img-cov {
  max-width: 615px
}

.img-cov img {
  border-radius: 30px
}

.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,
.table th {
  font-weight: 400;
  padding: 10px 15px
}

.table td:first-child {
  border-bottom-left-radius: 20px;
  border-top-left-radius: 20px
}

.table td:last-child {
  border-bottom-right-radius: 20px;
  border-top-right-radius: 20px
}

.table tr:nth-child(odd) td,
.table tr:nth-child(odd) th {
  background: #1d1a1d
}

.intro {
  align-items: center;
  background: radial-gradient(ellipse at top center, #b120f9, #b021fb 10%, #000 60%);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
  padding: 40px;
  text-align: center
}

.intro .btn {
  width: 220px
}

.intro__title {
  background: #1d2730;
  padding: 12px 0
}

.intro__bg {
  background: #11181f
}

.intro__bg p {
  margin: 0;
  width: 100%
}

.intro__bg p img {
  width: 100%
}

.rating {
  grid-gap: 10px;
  display: grid;
  margin: 0 auto;
  padding-bottom: 40px
}

.rating__item {
  background-color: #1d1a1d;
  border-radius: 50px;
  display: grid;
  grid-template-columns: auto auto minmax(auto, 410px) 250px;
  overflow: hidden
}

.rating__item,
.rating__title {
  align-items: center;
  height: 70px
}

.rating__title {
  display: flex
}

.rating__counter {
  background-color: #ae21ff;
  background-image: linear-gradient(90deg, #ae21ff, #f30b81);
  font-size: 18px;
  font-weight: 700;
  height: 100%;
  width: 40px
}

.rating__counter,
.rating__text {
  align-items: center;
  display: flex;
  justify-content: center
}

.rating__text {
  background: rgba(74, 203, 149, .15);
  border-radius: 35px;
  color: #2ba974;
  height: 50px;
  text-align: center;
  width: 100%
}

.rating__text:empty {
  margin: 0;
  opacity: 0;
  padding: 0
}

.rating__logo {
  align-items: center;
  display: flex;
  height: 100%;
  margin-right: 15px;
  overflow: hidden;
  width: 70px
}

.rating__logo p {
  height: 100%;
  margin: 0;
  width: 100%
}

.rating__logo img {
  border-radius: 0;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%
}

.rating__name {
  font-size: 18px;
  font-weight: 700;
  width: 115px
}

.rating__grade {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 7px;
  line-height: 1;
  padding: 0 10px
}

.rating__grade img {
  display: block;
  width: 20px
}

.rating__button {
  padding: 10px
}

.rating__button .button {
  width: 100%
}

.content__wrapper {
  display: grid;
  gap: 70px;
  grid-template-columns: auto 270px
}

.footer {
  margin-bottom: 25px;
  margin-top: 25px
}

.footer .container {
  align-items: center;
  background: var(--color-bg);
  border-radius: 100px;
  display: flex;
  /*height: 45px;*/
  justify-content: center;
  padding: 0 20px;
  width: 1390px;
  flex-direction:column;
}

.footer__menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0
}

.footer__menu a {
  font-weight: 700
}
.footer__contacts {
    display:flex;
    align-items: center;
   justify-content: space-around;
}
.contact__items {
    display:flex;
    align-items: center;
   justify-content: space-around;
    margin:15px 40px 15px 0;
}
.sidebar .btn {
  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-bg);
    border-radius: 20px;
    display: block;
    height: auto;
    left: 15px;
    opacity: 0;
    padding: 25px;
    position: absolute;
    right: 15px;
    top: 75px;
    transition: all .3s ease;
    visibility: hidden;
    z-index: 1
  }

  .header__menu.active {
    opacity: 1;
    visibility: visible
  }

  .header__menu a {
    display: block;
    font-size: 12px;
    padding: 10px 15px;
    text-align: center
  }

  .header {
    padding: 15px
  }

  .header .container {
    height: 50px
  }

  .header__logo {
    width: 170px
  }

  h1 {
    font-size: 20px;
    margin-bottom: 10px
  }

  .intro {
    border-radius: 12px;
    padding: 15px
  }

  .rating__item {
    border-radius: 15px;
    display: block;
    height: auto
  }

  .rating__title {
    flex-wrap: wrap;
    height: 60px
  }

  .rating__name {
    font-size: 18px;
    margin-top: 10px;
    padding-left: 10px;
    width: 100%
  }

  .rating__text {
    font-size: 12px;
    height: auto;
    margin: 0 10px;
    padding: 5px 10px;
    width: auto
  }

  .rating__grade {
    font-size: 16px;
    justify-content: flex-end;
    margin-bottom: 10px;
    margin-top: 10px;
    width: auto
  }

  .rating__grade img {
    display: none
  }

  .rating__grade img:first-child {
    display: block
  }

  .sidebar {
    background: var(--color-bg);
    bottom: 0;
    left: 0;
    padding: 15px;
    position: fixed;
    right: 0
  }

  .content__wrapper {
    display: block
  }

  h2 {
    font-size: 18px
  }

  h3 {
    font-size: 16px
  }

  .img-cov img {
    margin: 0 auto
  }

  .wrapper {
    border-radius: 15px;
    padding: 15px
  }

  .footer .container {
    border-radius: 20px;
    /*height: 40px;*/
    margin: 0 15px;
    width: auto
  }

  .footer {
    margin-top: 15px
  }
  .footer__menu {
      flex-direction:column;
      gap:10px;
  }
  .footer__contacts {
      flex-direction:column;
  }
  .contact__items {
      margin:10px auto 10px 0;
  }
}