:root {
  --color-black: 0, 0, 0;
  --color-white: 255, 255, 255;
  --color-primary: 18, 18, 18;
  --color-secondary: 38, 38, 38;
  --color-green: 139, 255, 22
}

.img-cov{
  width: 200px;
  margin: 0 auto;
}

.img-post {
  border-radius: 31px;
  margin: 20px auto;
  max-width: 875px;
  overflow: hidden
}

.img-post img {
  border-radius: 31px;
  display: block;
  margin: 0 auto
}

h2+.img-post,
h3+.img-post {
  margin-top: 0;
  padding-top: 0
}

@media screen and (max-width:992px) {
  .img-post {
    margin: 15px auto;
    padding: 0
  }

  .img-post,
  .img-post img {
    border-radius: 14px
  }
}

.not-found {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 260px);
  padding-bottom: 100px
}

.not-found h1 {
  font-size: 200px;
  font-weight: 800;
  line-height: .8;
  margin: 0 auto 25px;
  text-align: center
}

.not-found p {
  color: #fff;
  font-size: 16px;
  margin-bottom: 25px;
  text-align: center
}

.not-found a {
  margin: 0 auto;
  min-width: 195px;
  width: -moz-max-content;
  width: max-content
}

@media screen and (max-width:768px) {
  .not-found {
    min-height: calc(100vh - 170px);
    padding-bottom: 75px
  }

  .not-found div {
    width: 100%
  }

  .not-found h1 {
    font-size: 96px;
    margin-bottom: 20px
  }

  .not-found p {
    font-size: 12px;
    margin-bottom: 10px
  }
}

.rating {
  grid-gap: 10px;
  display: grid;
  margin: 0 auto;
  padding-bottom: 30px;
  margin-bottom: 50px;
}

.rating__item {
  grid-gap: 30px;
  align-items: center;
  background-color: rgb(var(--color-secondary));
  border-radius: 16px;
  color: rgb(var(--color-white));
  display: grid;
  grid-template-columns: minmax(max-content, 360px) auto minmax(min-content, 320px) minmax(max-content, 235px);
  overflow: hidden
}

.rating__counter,
.rating__title {
  align-items: center;
  display: flex;
  height: 100%
}

.rating__counter {
  background: rgb(var(--color-green));
  color: rgb(var(--color-primary));
  font-size: 30px;
  font-weight: 800;
  justify-content: center;
  min-height: 80px;
  width: 50px
}

.rating__text {
  border: 1px solid rgb(var(--color-green));
  border-radius: 60px;
  color: #fff;
  margin: 10px 0;
  padding: 15px 8px;
  text-align: center;
  width: 100%
}

.rating__text span {
  color: rgb(var(--color-green))
}

.rating__text:empty {
  margin: 0;
  opacity: 0;
  padding: 0
}

.rating__logo {
  align-items: center;
  display: flex;
  height: 100%;
  margin-right: 15px;
  width: 170px
}

.rating__logo img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%
}

.rating__name {
  font-size: 18px;
  font-weight: 700
}

.rating__grade {
  display: flex;
  gap: 7px
}

.rating__grade img {
  width: 20px
}

.rating__button {
  padding: 10px
}

.rating__button .button {
  width: 100%
}

@media screen and (max-width:992px) {
  .rating {
    padding-bottom: 35px;
    margin-bottom: 0;
  }

  .rating__item {
    grid-gap: 0;
    border-radius: 10px;
    grid-template-columns: 120px auto
  }

  .rating__title {
    background-color: rgb(var(--color-secondary));
    grid-column: 1/3;
    height: auto
  }

  .rating__name {
    font-size: 14px
  }

  .rating__grade {
    gap: 5px;
    grid-row: 3/4;
    justify-content: center
  }

  .rating__grade img {
    width: 14px
  }

  .rating__logo {
    flex-shrink: 0;
    height: 55px;
    width: 100px
  }

  .rating__counter {
    font-size: 14px;
    height: 55px;
    min-height: auto;
    width: 20px
  }

  .rating__text {
    font-size: 12px;
    grid-column: 1/3;
    margin: 10px 10px 0;
    max-width: none;
    padding: 8px;
    width: auto
  }
}

.container {
  margin: 0 auto;
  max-width: 1310px;
  padding: 0 15px;
  width: 100%
}

.bg-main {
  background-image: url(/assets/img/bg.webp);
  background-position: 50%;
  background-size: 100% auto;
  position: relative
}

.bg-main:before {
  background: rgba(0, 0, 0, .61);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0
}

.header {
  padding: 25px 0
}

.header__burger {
  display: none
}

.header .container {
  justify-content: space-between
}

.header .container,
.header__link {
  align-items: center;
  display: flex
}

.header__link img {
  transform-origin: center;
  transition: all .3s ease-in-out;
  width: 200px
}

.header__link img:hover {
  transform: scale(1.05)
}

.header__menu {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0
}

.header__menu a {
  color: #fff;
  text-decoration: none
}

.header__menu a:hover {
  color: rgb(var(--color-green))
}

.button {
  align-items: center;
  background: rgb(var(--color-green));
  border-radius: 13px;
  color: rgb(var(--color-primary));
  display: flex;
  justify-content: center;
  padding: 20px;
  text-decoration: none;
  transition: all .3s ease
}

.button:hover {
  opacity: .7
}

.content {
  margin: 0 auto
}

.table {
  overflow-x: auto;
  width: 100%
}

table {
  -webkit-border-vertical-spacing: 10px !important;
  border-collapse: separate;
  border-spacing: 0;
  color: #fff;
  margin-bottom: 20px;
  width: 100%
}

table tr td {
  background-color: rgb(var(--color-secondary));
  padding: 10px 15px
}

table tr td:first-child {
  border-radius: 11px 0 0 11px
}

table tr td:last-child {
  border-radius: 0 11px 11px 0
}

blockquote {
  align-items: center;
  background-color: rgb(var(--color-secondary));
  border-radius: 9px;
  color: #fff;
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
  max-width: 580px;
  padding: 18px 60px;
  position: relative;
  text-align: center
}

blockquote:after,
blockquote:before {
  background: url(../img/quote.svg);
  background-size: 100% auto;
  content: "";
  height: 35px;
  position: absolute;
  width: 35px
}

blockquote:before {
  left: 13px
}

blockquote:after {
  right: 13px
}

blockquote p {
  margin: 0
}

.footer {
  padding: 20px 0
}

.footer .container {
  background: rgb(var(--color-secondary));
  border-radius: 20px;
  padding: 20px 80px
}

.footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
  list-style: none;
  margin: 0 0 20px;
  padding: 0
}

.footer__menu a {
  color: #fff;
  text-decoration: none
}

.footer__menu a:hover {
  color: rgb(var(--color-green))
}

.footer__logo {
  border-bottom: 1px solid #949ab0;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px
}

.footer__block,
.footer__logo {
  align-items: center;
  display: flex
}

.footer__block {
  gap: 35px
}

.footer__block img {
  height: auto;
  max-height: 18px;
  max-width: 100px;
  width: auto
}

.footer__block img.img-18 {
  max-height: 32px;
  max-width: 32px
}

.footer__copyright {
  font-size: 14px;
  text-align: center
}

@media screen and (max-width:992px) {
  .header {
    position: relative;
    z-index: 100
  }

  .header__menu {
    background: rgb(var(--color-primary));
    border-radius: 0;
    display: block;
    height: auto;
    left: 0;
    opacity: 0;
    padding: 15px;
    position: absolute;
    right: 0;
    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: 16px;
    padding: 15px 0
  }

  .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: rgb(var(--color-green));
    border-radius: 30px;
    display: block;
    height: 3px;
    transition: all .3s ease;
    width: 30px
  }

  .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
  }

  .button {
    border-radius: 11px;
    padding: 15px
  }

  .button,
  table {
    font-size: 12px
  }

  table {
    margin-bottom: 15px;
    text-align: left
  }

  table tr td {
    vertical-align: middle
  }

  table tr td:first-child {
    border-radius: 10px 0 0 10px
  }

  table tr td:last-child {
    border-radius: 0 10px 10px 0
  }

  table tr td:first-child {
    min-width: auto
  }

  table tr td:last-child {
    padding-right: 10px
  }

  .header {
    padding: 15px 0
  }

  .header__link img {
    width: 160px
  }

  blockquote {
    margin-bottom: 15px;
    padding: 10px 40px
  }

  blockquote p {
    font-size: 12px
  }

  blockquote:after,
  blockquote:before {
    height: 12px;
    width: 16px
  }

  h2 {
    font-size: 18px
  }

  h3,
  h4,
  h5,
  h6 {
    font-size: 16px
  }

  .footer__logo {
    align-items: center;
    flex-direction: column
  }

  .footer__menu {
    gap: 6px
  }

  .footer__block {
    gap: 15px
  }

  .footer .container {
    padding: 15px;
    width: calc(100% - 30px)
  }
}