@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Public+Sans&display=swap');


*, *:before, *:after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*:focus, *:active{
    outline: none;
}
a:focus, a:active{
    outline: none;
}
input, button, textarea{
    font-family: inherit;
}
img{
/* width: 100%;
height: auto; */
    object-fit: contain;
    /* или cover?; */
}
li, ul{
    list-style: none;
  }
li, a{
    color: inherit;
    display: inline-block;
  }
a, a:visited, a:hover{
    text-decoration: none;
  }
a:hover{
    /* cursor: default; */
    cursor: pointer;
  }
html,
body{
width: 100%;
height: 100%;
}
body {
font-family: 'Public Sans', sans-serif;
font-weight: 400;
font-size: 15px;
line-height: 1.6; /* 24/15 */
color: rgb(57 19 18 / 70%);
background-color: #fff;
}
.wrapper {
min-height: 100%;
display: flex;
flex-direction: column; 
overflow: hidden;
}
[class*="__container"] {
max-width: 1110px;
/* padding+container+padding */
margin: 0 auto;
padding: 0px 15px;
}
.main {
flex: 1 1 auto;
}
a {
  transition: all 0.2s ease;
}
.button {
font-weight: 400;
font-size: 13px;
line-height: 1.56; /* 20px/13 */
text-align: center;
letter-spacing: 0.02px;
color: #FFF;
padding: 16px 36px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 80px;
}
.justice__button {
  background-color: #41280c;
  color: #fcd198;
}
.justice__button:hover {
  background-color: #54320d;
}
.big-title {
  font-weight: 400;
  font-size: 30px;
  line-height: 1.31;
  letter-spacing: 1.2px;
  color: rgb(57 19 18);
}
.little-title {
  font-weight: 400;
  font-size: 22px;
  line-height: 1; /* 22px/22 */
}
.indent-top {
  padding-top: 88px;
}
.indent {
  padding-bottom: 120px;
}
/* **************************************** */
.header {
  background-image: url(../img/sud.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.header__top {
  background-color: #0a020754;
  padding: 6px 0px;
  width: 100%;
  z-index: 100;
}
.header-top__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.recediviz__logo-img {
  max-width: 64px;
  height: 60px;
  border-radius: 50%;
}
.header__list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 51px;
  font-weight: 400;
  line-height: 1.23; /* 16px/13 */
  color: #fcd198;
}
.header__item {
  font-size: 14px;
}
.header__link:hover {
  text-decoration: underline;
}
.header-block__container {
  padding-top: 115px;
}
.header__content {
  display: flex;
  flex-direction: column;
  row-gap: 29px;
  max-width: 70%;
  align-items: flex-start;
  padding-bottom: 108px;
}
.header__state-content {
  display: flex;
  column-gap: 32px;
}
.header__title {
  font-family: 'Libre Baskerville';
  font-weight: 400;
  font-size: 38px;
  line-height: 1.15; /* 44px/38 */
  letter-spacing: 1.2px;
  background-color: #dec3a85c;
  color: #210c07;
}
.header__text {
  font-size: 19px;
  line-height: 1.55; /* 28px/18 */
  color: #210c07;
  background-color: #dec3a85c;
  border-radius: 5px;
}
.header__button {
  background-color: #41280ca6;
  color: #fcd198;
}
.header__button:hover {
  background-color: #41280c;
}
.header__state {
  transform: translateY(50%);
}
.header__state-list {
  color: rgb(57 19 18);
  font-size: 18px;
  text-align: center;
  margin-bottom: 8px;
}
.header__state-name {
  flex: 1 1 15%;
  border-top: 1px solid rgb(57 19 18);
  background-color: #2f1e0d14;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  text-align: center;
}
.state-name__text {
  color: rgb(57 19 18);
  padding: 20px 0px 17px;
}



.pop-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  bottom: 0;
  cursor: default;
  left: 0;
  opacity: 0;
  position: fixed;
  right: 0;
  top: 0;
  visibility: hidden;
  z-index: 10;
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -ms-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
}
.pop-overlay:target {
  visibility: visible;
  opacity: 1;
}
.popup-rem {
  background-color: #fff;
  border: 3px solid #fff;
  display: inline-block;
  left: 50%;
  opacity: 0;
  padding: 15px;
  text-align: justify;
  top: 40%;
  z-index: 10;
  position: fixed;
  visibility: hidden;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;

  -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
  -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
  -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
  -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
  box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;

  -webkit-transition: opacity .5s, top .5s;
  -moz-transition: opacity .5s, top .5s;
  -ms-transition: opacity .5s, top .5s;
  -o-transition: opacity .5s, top .5s;
  transition: opacity .5s, top .5s;
}
.pop-overlay:target+.popup-rem {
  top: 50%;
  opacity: 1; 
  visibility: visible;
}
.rem-close {
  background-color: #210c07c7;
  width: 26px;
  height: 26px;
  line-height: 30px;
  position: absolute;
  right: 0;
  text-align: center;
  text-decoration: none;
  top: -15px;

  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;

  border-top: 1px solid #fcd198;
  border-bottom: 1px solid #fcd198;
  border-left: 1px solid #fcd198;
  border-right: 1px solid #fcd198;
  border-radius: 15px;
}
.rem-close:before {
  color: rgba(255, 255, 255, 0.9);
  content: "X";
  font-size: 18px;
  text-shadow: 0 -1px rgb(57 19 18 / 70%);;
}
.rem-close:hover {
  background-color: rgb(57 19 18 / 70%);
}
.popup-rem h3 {
  font-size: 18px;
}
.popup-rem h3, .popup-rem div {
  margin-bottom: 10px;
}
.popup-rem label {
  display: inline-block;
  text-align: left;
  width: 100px;
}
.popup-rem input[ENGINE="text"], .popup-rem input[type="password"] {
  border: 1px solid;
  border-color: rgb(57 19 18 / 70%);
  margin: 0;
  padding: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
}
.enter {
  padding: 2px 8px;
  background-color: #fcd19826;
  border-radius: 12px;
}
/* **************************************** */
.page__advantages {
  background-color: #FFF;
  padding-top: 120px;
}
.advantages__content-wrap {
  max-width: 710px;
  margin: 0 auto;
}
.advantages__content {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.advantages-title {
  font-family: 'Libre Baskerville';
  text-align: center;
  max-width: 710px;
  margin: 0 auto;
  margin-bottom: 57px;
}

.advantages__item {
  background-color: #FFF;
  max-width: 126px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  row-gap: 19px;
  z-index: 2;
}
.advantages__content::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background-color:  rgb(57 19 18 / 29%);
  top: 25%;
  left: 0px;
}
.advantages-number {
  display: block;
  width: 48px;
  height: 48px;
  background: #210c07;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1.87;
  color: #FFF;
  padding-top: 10px;
}

/* **************************************** */
.page__why {
  background-color: #F7F8F8;
}
.why__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.why__content {
  max-width: 430px;
  padding-top: 104px;
  padding-bottom: 107px;
}
.why__title {
  color: rgb(57 19 18);
  margin-bottom: 13px;
}
.why__text {
  margin-bottom: 13px;
}
.why__button {
  color: #00413E;
  border: 1px solid rgba(53, 83, 98, 0.2);
}
.why__button:hover {
  background-color: rgba(255, 255, 255, 0.808);;
}
.why__images {
  display: flex;
  column-gap: 8px;
  max-width: 700px;
  overflow: hidden;
}
.why__images img {
  max-width: 100%;
}



/* **************************************** */
.page__newspaper {
  background-color: #FFF;
}
.newspaper__state-content-block {
  padding: 22px 0px 8px;
}
.newspaper__state-content {
  display: flex;
  column-gap: 32px;
}
.newspaper-name {
  display: flex;
  flex: 1 1 15%;
  border-top: 1px solid rgb(57 19 18 / 29%);
  align-items: center;
  column-gap: 8px;
  padding: 14px 0px;
}
.newspaper-name img {
  max-width: 24px;
}
/* **************************************** */
.page__description {
  background-color: #140d15;
}
.page__description-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.description-img img {
  min-width: 247px;
}
.description-content {
  padding: 0px 42px;
}
.description__title,
.description__text {
  color: #fcd198;
  margin: 16px;
}
/* **************************************** */
.cooperate-content {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0px;
}
.cooperate-column {
  display: flex;
  gap: 12px;
}
.cooperate-item {
  max-width: 160px;
}
.cooperate-item img {
  width: 100%;
}
.cooperate-link {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.cooperate-link:hover {
  color: rgb(57 19 18);
  text-decoration: underline;
}
/* **************************************** */
.page__rating {
  background-color: #F4F5F5;
}
.rating-img,
.rating-img img {
  width: 100%;
}
.rating__container {
  display: flex;
  justify-content: space-between;
  padding-bottom: 164px;
  gap: 20px;
}
.rating__title {
  flex: 0 1 42%;
}
.rating__column,
.rating__content {
  display: flex;
  gap: 38px;
  justify-content: space-around;
}
.rating__content {
  flex-direction: column;
  flex: 0 1 50%;
}
.rating__info {
  max-width: 242px;
}
.rating__info-title {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6; /* 24px/15 */
  color: rgb(57 19 18);
  margin-bottom: 4px;
}
/* **************************************** */
.page__press {
  background-color: #FFF;
}
.press__object {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
}
.press__button {
  color: #00413E;
  border: 1px solid rgba(53, 83, 98, 0.2);
}
.press__button:hover {
  background-color: rgba(53, 83, 98, 0.032);
}
.press__content,
.press__content-columm {
  display: flex;
  gap: 31px;
}
.press__content {
  flex-direction: column;
}
.press__content-info {
  flex: 1 1 30%;
  border-top: 1px solid rgb(57 19 18 / 29%);
}
.content__chapter {
  display: flex;
  column-gap: 16px;
  margin-bottom: 10px;
  align-items: center;
  padding-top: 16px;
}
.content__chapter-img img {
  max-width: 24px;
}
.content__chapter-title,
.content__chapter-date {
  font-weight: 400;
  font-size: 11px;
  line-height: 1.45; /* 16px/11 */
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.content__description-text {
  font-weight: 400;
  font-size: 17px;
  line-height: 1.47; /* 25px/17 */
  color: rgb(57 19 18);
}

/* **************************************** */
.page__blog {
  background-color: #F7F8F8;
}
.blog__title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.blog__title-txt {
  font-size: 23px;
  line-height: 1.26; /* 29px/23 */
  color: rgb(57 19 18);
}
.blog__content-article,
.blog__content-start {
  display: flex;
  column-gap: 20px;
}
.blog__content-article {
  justify-content: space-between;
}
.linear {
  border-top: 1px solid rgb(57 19 18 / 29%);
}
.blog__content-article {
  padding: 8px 0px;
}
.blog-date {
  min-width: 68px;
}
.blog-date {
  font-size: 15px;
  line-height: 1.6;
  color: rgb(57 19 18 / 70%);
}
.blog-text,
.blog-link_text {
  font-size: 18px;
  line-height: 1.47;
  color: rgb(57 19 18 / 70%);
}
.blog__title-txt-link:hover {
  color: rgb(57 19 18 / 70%);
}
.blog-link_text:hover {
  color: rgb(57 19 18);
}
/* **************************************** */
.page__carta {
  background-color: #f9f9f9;
  padding-top: 146px;
}
.carta__container {
  display: flex;
  align-items: center;
  row-gap: 30px;
}
.carta__content {
  flex: 0 1 50%;
}
.carta-title {
  font-family: 'Libre Baskerville';
  font-weight: 400;
  font-size: 36px;
  line-height: 1.44; /* 52px/36 */
  letter-spacing: 1.2px;
  color: rgb(57 19 18);
  margin-bottom: 43px;
}
.carta-text {
  max-width: 326px;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.55; /* 28px/18 */
  color: rgb(57 19 18);
  margin-bottom: 37px;
}
.carta__img {
  max-width: 600px;
  align-self: center;
}
.carta__img img {
width: 100%;
}
/* **************************************** */
.footer__top {
  /* background-color: #140d15; */
  padding: 100px 0px;
}
.top__container {
  display: flex;
  justify-content: space-between;
}
.top__content {
  display: flex;
  flex: 0 1 45%;
  justify-content: space-between;
  column-gap: 30px;
}
.content-category__title {
  font-weight: 400;
  font-size: 11px;
  line-height: 1.45; /* 16px/11 */
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgb(57 19 18);
  margin-bottom: 24px;
  position: relative;
}
.content-category__title::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(57 19 18 / 29%);
  width: 16px;
  bottom: -23px;
  left: 0;
}
.content-category__list {
  padding-top: 22px;
}
.content-category__item {
  display: block;
  line-height: 2; /* 30px/15 */
  color: rgb(57 19 18 / 70%);
}
.content-category__link:hover {
  text-decoration: underline;
  color: rgb(57 19 18);
}
.footer__bottom {
  /* background-color: #140d15; */
  padding: 16px 0px;
}
.bottom__container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.bottom__content-item:not(:last-child) {
  padding-right: 8px;
}
.bottom__content-link:hover {
  color: rgb(57 19 18);
}
.bottom-copyright,
.bottom__content-item {
  font-weight: 400;
  font-size: 10px;
  line-height: 1; /* 10px/10 */
  color: rgb(57 19 18 / 70%);
}



/* **************************************** */

.test {
}
.test__container {
}
.test__block {
  padding: 100px 0px;
  display: grid;
  grid-template-columns: repeat(4, 20%);
  grid-template-rows: repeat(4, 1fr);
  grid-gap: 20px;
  justify-content: center;
}
.cofe {
grid-column-start: 3;
grid-column-end: 5;
grid-row-start: 1;
grid-row-end: 3;
}
.party {
  grid-column-start: 1;
grid-column-end: 3;
grid-row-start: 3;
grid-row-end: 5;
}
.test__block:nth-child(6) {

}
.test-link {
  padding: 16px 24px 20px;
  color: #FFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 200px;
}
.test-title {
}
.test-text {
}



/* **************************************** */
@media (max-width: 1060px) {
  .why__container {
    flex-direction: column;
  }
  .why__content {
    max-width: none;
    padding-bottom: 20px;
  }
}
@media (max-width: 991.98px) {
  .header__content {
    row-gap: 12px;
    padding-bottom: 50px;
}
.why__images {
  padding-bottom: 60px;
}
.newspaper-name {
  flex: 1 1 auto;
}
.description-content {
  padding: 30px 0px;
}
.description-img {
  display: none;
}
.rating__container {
  padding-bottom: 100px;
  flex-direction: column;
}
.carta__container {
  flex-direction: column;
  align-items: start;
}
.iframe-cart {
  max-width: 100%;
  height: 300px;
}
}

@media (max-width: 767.98px) {
  .header__content {
    max-width: none;
}
.header__state-name {
  flex: 1 1 auto;
  background-color: #dec3a85c;
}
.header__state-list {
  background-color: #dec3a85c;
}
.header-block__container {
  padding-top: 20px;
}
.header__title {
  font-size: 32px;
}
.header__content {
  padding-bottom: 28px;
}
.header__list {
  column-gap: 20px;
}
.indent,
.rating__container {
  padding-bottom: 74px;
}
.page__advantages,
.page__carta,
.indent-top {
  padding-top: 70px;
}
.big-title {
  font-size: 24px;
}
.header__state-content,
.cooperate-content {
  flex-direction: column;
}
.header__state {
  transform: none;
}
.why__content {
  padding-top: 60px;
}
.why__images {
  row-gap: 8px;
  flex-direction: column;
}
.newspaper__state-content,
.newspaper-name {
  flex-direction: column;
}
.press__content, .press__content-columm {
  gap: 8px;
  flex-direction: column;
}
.carta-text {
  max-width: none; 
  margin-bottom: 22px;
}
.carta-title {
  font-size: 32px;
  margin-bottom: 12px;
}
.footer__top {
  padding: 60px 0px;
}
}

@media (max-width: 560px) {
.advantages-title {
  margin-bottom: 24px;
}
.rating__column, .rating__content {
  gap: 20px;
  flex-direction: column;
}
.rating__info {
  max-width: none;
}
}
@media (max-width: 420.98px) {
.header {
    background-position: center right;
}
.header-top__container {
  height: 100vh;
  justify-content: flex-start;
}
.state-name__text {
  padding: 8px 0px 8px;
}
.header__item {
  font-size: 40px;
}
.header__list {
  row-gap: 46px;
  flex-direction: column;
}
.header__top {
  min-height: 642px;
  align-items: flex-start;
  justify-content: flex-start;
  column-gap: 44px;
  padding: 20px 0;
}
.indent,
.rating__container {
  padding-bottom: 60px;
}
.page__advantages,
.indent-top {
  padding-top: 50px;
}
.advantages__content {
  flex-direction: column;
  align-items: center;
  row-gap: 16px;
}
.advantages__item {
  row-gap: 6px;
}
.advantages__content::after {
  display: none;
}
.cooperate-column,
.cooperate-content {
  gap: 4px;
  flex-direction: column;
}
.press__object {
  align-items: flex-start;
  flex-direction: column;
  row-gap: 8px;
}
.blog__content-article, .blog__content-start {
  column-gap: 10px;
}
.top__container,
.top__content {
  flex-direction: column;
  row-gap: 20px;
}
.content-category__title::after {
  content: "";
  position: absolute;
  width: 100%;
  bottom: -4px;
  left: 0;
}
.content-category__title {
  margin-bottom: 0px;
}
.content-category__list {
  padding-top: 3px;
}
}