:root {
  --trasparcolor: rgba(7, 57, 103, .7);
  --main: #254B75;
  --newstext: #1371C7;
  --lighttone: #F0F0F0;
  --maintext: #151515;
  --greytext: #808080;
  --darkbackground: #272727
}

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* #news:before,
#todo:before,
#creteria::before,
#price:before {
  display: block;
  content: " ";
  margin-top: -75px;
  height: 75px;
  visibility: hidden;
} */


body {
  font-family: "Roboto", sans-serif;
  min-width: 320px;
}

/* .start {
  height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
} */

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

/* .wrapper {
  max-width: 1134px;
  margin: 0 auto;
  background: #8c8c8c;
  height: 2400px;
} */
nav .humb {
  display: none;
}

.popup #menu {
  display: none;
}

nav .logo {
  margin: 0 0 0 40px;
}

nav .logo .logo-mob {
  display: none;
}

nav {
  background: var(--trasparcolor);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 80px;
  transition: 0.7s;
  z-index: 100;

}

nav:hover {
  background: rgba(37, 75, 117, 1);
  box-shadow: 0 2px 2px #000;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0 40px 0 0;
}


nav ul li a {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #d9d9d9;
  text-decoration: none;
  position: relative;
}

nav ul li a::before {
  content: '';
  bottom: -3px;
  right: 0;
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 2px;
  transition: 1s;
  transform: scaleX(0);

}

nav ul li a:hover::before {
  transform: scaleX(1);
}

.nav-link:hover {
  color: #fff;
}

/* ПЕРВЫЙ БЛОК С КАРТИНКОЙ */

.img-section {
  width: 100%;
  min-height: 510px;

  background-image: url("../home/banner.jpg");
  background-repeat: repeat-x;
  background-position: center center;
  background-size: auto 100%;
}
.img-section h1 {
  text-align: center;
  color: #fff;
  font-size: 44px;
  padding-top: 140px;
}

.btn-block {
  margin: 70px auto 0 auto;
  display: flex;
  width: 680px;
  justify-content: space-between;
}

.btn {
  width: 300px;
  height: 50px;
  background-color: var(--trasparcolor);
  border: 1.5px solid #aeaeae;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  padding-top: 12px;
  transition: .4s;
}

.transp:hover {
  background-color: var(--main);
  border: 1.5px solid #FFFFFF;
  /* font-size: 20px;
  padding-top: 10px; */
  box-shadow: 2px -2px 10px #222222;
}

.transp:active {
  background-color: var(--main);
  border: 1.5px solid #808080;
  /* font-size: 20px; */
  box-shadow: 1px -1px 6px #222222;
}

/* СЕКЦИЯ С ТЕКСТОМ О ЦЕЛЯХ РЕСУРСА */

.about-section {
  display: flex;
  background-color: var(--lighttone);
}


.left {
  width: 500px;
  margin-left: 60px;
  display: flex;
  align-items: center;
  justify-content: end;
}

.left .element-animation {
  display: block;
  width: 300px;
  transform: translateX(-270px);
  transition: 1s;
}

.left .element-animation.element-show {
  transform: translateX(0px);

}

.right .container {
  margin: 50px 60px;
  line-height: 130%;
  font-size: 20px;
}

.right .container p {
  margin-top: 20px;
}

/* БЛОК ПРЕИМУЩЕСТВА РЕЙТИНГА */

.advantages {
  background-color: var(--main);
}

.advantages .container {
  cursor: default;
}

.advantages .container h2 {
  font-weight: 500;
  font-size: 32px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  padding-top: 60px;
}

.advantages .container .section {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: flex;
  padding: 10px;
}

.advantages .container .section:last-child {
  padding-bottom: 60px;
}

.advantages .container .section .marker {
  padding: 5px;
  position: relative;
}

.advantages .container .section .marker img {
  height: 60px;
  transition: 1.5s;
}

.advantages .container .section:hover .marker img {
  transform: rotate(180deg);
}

.advantages .container .section .marker p {
  display: inline-block;
  position: absolute;
  top: 48%;
  left: 42%;
  /* transform: translateX(-50%); */
  transform: translateY(-50%);

}

.advantages .container .section .descript {
  padding-left: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
}

.advantages .container .section .descript .al-txt .hid-text {
  display: none;
}


/* БЛОК ЧТО НЕОБХОДИМО СДЕЛАТЬ */

.todo {
  background-color: var(--lighttone);
}

.todo-mob {
  display: none;
}

.todo h2 {
  font-weight: 700;
  font-size: 32px;
  color: var(--main);
  text-align: center;
  padding-top: 60px;
}

#todo-desk {
  max-width: 1000px;
}

.todo .element-animation {
  width: 90%;
  display: block;
  margin: auto;
  padding: 60px 0;
  opacity: 0;
}

.todo .element-animation.element-show {
  opacity: 1;
  transition: opacity 2s;
}






.todo-mob {
  padding-left: 30px;
  background-color: var(--lighttone);
}

.does {
  display: flex;
}


.todo-pic {
  margin: 10px 10px;
  width: 60px;
  height: 60px;
  background-color: var(--main);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.todo-pic img {
  width: 40px;
  height: 40px;
}

.todo-pic .rgt,
.todo-pic .rgt,
.todo-pic .rgt {
  margin-left: 12%;
}

.todo-desc {
  display: flex;
  align-items: center;
}



/* БЛОК ЦИТАТЫ РУКОВОДИТЕЛЯ */

.introduction {
  background-color: var(--main);
}

.small-block {
  display: none;
}

.introduction .container {
  padding-top: 250px;
  padding-bottom: 100px;
  position: relative;
}

.introduction .citation {
  color: var(--maintext);
  background-color: var(--lighttone);
  max-width: 1134px;
  padding-bottom: 20px;
  /* height: 500px; */

}

.introduction .citation h3 {
  padding-top: 40px;
  font-size: 32px;
}

.introduction .citation h4 {
  color: var(--greytext);
  font-size: 18px;
  font-weight: 400;
  padding-top: 10px;
  padding-bottom: 90px;
  font-size: 24px;
}

.quote-left {
  margin-left: 100px;
}

.quote-right {
  margin-right: 100px;
  text-align: right;
}

.introduction .citation h3,
.introduction .citation h4 {
  padding-left: 350px;
}

.introduction .citation .cit-body {
  font-size: 24px;
  padding: 0 100px;
}

.introduction .citation .cit-start {
  line-height: 30%;
}

.introduction .citation .cit-end {
  text-align: right;
}

.introduction .citation .cit-start,
.introduction .citation .cit-end {
  padding: 0 1000px;
  font-size: 72px;
  color: var(--maintext);
  font-family: 'Times New Roman', Times, serif;

}

.introduction .container .person {
  position: absolute;
  top: 100px;
  left: 0;
  width: 300px;
  height: 300px;
  border: 2px solid var(--main);
  background-image: url(../home/kotelnikov.jpg);
  background-size: 100%;
  border-radius: 50%;
}

/* БЛОК КРИТЕРИЕВ ДОПУСКА */

.creteria {
  background-color: var(--lighttone);
}

#creteria_mob {
  display: none;
}

.creteria h2 {
  font-weight: 700;
  font-size: 32px;
  color: var(--main);
  text-align: center;
  padding-top: 60px;
}

#creteria_desk {
  max-width: 900px;
}

.creteria .element-animation {

  width: 90%;
  display: block;
  margin: auto;
  padding: 60px 0;
  opacity: 0;
  transition: 1s;
}

.creteria .element-animation.element-show {
  opacity: 1;
}

/* БЛОК СТОИМОСИТИ УСЛУГИ */

.price {
  background-color: var(--darkbackground);
  color: #fff;
}

.price h1 {
  text-align: center;
  padding-top: 60px;
}

.groups-block {
  display: flex;
  justify-content: space-around;
  width: 90%;
  margin: 0 auto;
  padding: 40px 0 80px 0;
}

.group-block {
  width: 33.33%;
  text-align: center;

}

.group-block:nth-child(2) {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

.group-block p {
  font-size: 18px;
  color: var(--greytext);
}

.group-block h4 {
  font-size: 28px;
  font-weight: 700;
}

.block-1 .element-animation {
  opacity: 0;
  transition: 1.5s;
}

.block-2 .element-animation {
  opacity: 0;
  transition: 1.5s;
  transition-delay: .3s;
}

.block-3 .element-animation {
  opacity: 0;
  transition: 1.5s;
  transition-delay: .6s;
}

.block-1 .element-animation.element-show {
  opacity: 1;
}

.block-2 .element-animation.element-show {
  opacity: 1;

}

.block-3 .element-animation.element-show {
  opacity: 1;
}

/* БЛОК НОВОСТЕЙ */

.news {
  background-color: var(--lighttone);
}

.news .container h2 {
  text-transform: uppercase;
  font-size: 36px;
  padding: 60px 0 40px 0;
}

.news .news-block {
  display: flex;
  width: 100%;
  gap: 3%;
  flex-wrap: wrap;
}

.news .news-block .news-card {
  width: 31%;
}

.news-card .news-date {
  color: var(--greytext);
  font-size: 18px;
}

.news-card .news-title {
  color: var(--newstext);
  font-weight: 400;
  text-transform: uppercase;
  padding: 10px 0;
}

.news-card .news-link {
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .2rem;
  font-size: 14px;
  color: var(--newstext);
  display: inline-block;
  padding: 15px 0 30px;
}

.news .container .newsbtn {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.news .container .newsbtn .news-btn {
  text-decoration: none;
  text-transform: uppercase;
  color: var(--greytext);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: .2rem;
  padding: 10px 20px;
  border: 2px solid var(--greytext);
  margin-left: auto;
  margin-right: auto;
}

/* БЛОК ФУТЕРА */

footer {
  background-color: var(--darkbackground);
  color: #fff;
}

footer .footer-main {
  display: flex;
}

footer .footer-main .footer-left {
  width: 400px;
}

footer .footer-main .footer-right {
  width: 100%;
}

footer .footer-main .footer-left img {
  padding-top: 20px;
  padding-bottom: 20px;
}

footer .footer-main .footer-left .link-block ul {
  list-style: none;
}

footer .footer-main .footer-left .link-block ul li a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  line-height: 2rem;
  position: relative;
}

footer .footer-main .footer-left .link-block ul li a::before {
  content: '';
  bottom: -3px;
  right: 0;
  position: absolute;
  background-color: #fff;
  width: 100%;
  height: 2px;
  transition: 1s;
  transform: scaleX(0);

}

footer .footer-main .footer-left .link-block ul li a:hover::before {
  transform: scaleX(1);
}

/* ФОРМА ОБРАТНОЙ СВЯЗИ */

.contact_form {
  width: 660px;
  background-color: var(--darkbackground);
  border: 2px solid var(--greytext);
  margin: 20px 0 20px auto;
}

.form-wrapper {
  width: 640px;
  margin: 0 auto;
}

.form-wrapper .form-header {
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  margin-top: 30px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 14px;
  color: var(--greytext);
  text-transform: uppercase;
}

.red {
  color: red;
}

.form-person {
  display: flex;
  gap: 20px;
}

.form-person input {
  width: 310px;
  height: 40px;
}

textarea {
  width: 100%;
  min-height: 80px;
  max-height: 260px;
  resize: vertical;
}

input,
textarea {
  border: 2px solid var(--greytext);
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 0 10px;
  font-size: 18px;
  color: var(--greytext);
}

.btn-send {
  text-align: center;
}

.capcha {
  width: 304px;
  height: 78px;
}

.button-send {
  display: inline-block;
  background-color: transparent;
  color: #fff;
  padding: 5px 20px;
  margin: 30px 0 20px 0;
  cursor: pointer;
}

/* БЛОК КОНТАКТОВ */

.form footer .container .wrapper {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

footer .container h3 {
  text-transform: uppercase;
  padding-top: 20px;
  padding-bottom: 20px;
}

footer .container .contact {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

footer .container .contact-card:first-child {
  width: 230px;
}

footer .container .contact-card:nth-child(2) {
  margin-left: -60px;
}

footer .container .contact-card p {
  color: var(--greytext);
}

footer .container .contact-card h4 {
  font-weight: 400;
  padding: 10px 0 40px;
}

footer .bottom {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  color: var(--greytext);
  border-top: 2px solid var(--greytext);
}

/* POPUP БЛОК */



.quest-popup,
.news-popup {
  display: none;
  position: fixed;
  z-index: 998;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, .8);
  color: #fff;

}

.popup-header {
  display: flex;
  justify-content: space-between;

  padding-top: 5px;
  padding-bottom: 20px;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  margin-left: auto;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.popup-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.popup-content {
  margin: auto;
  position: relative;
  background-color: var(--main);
}


/* POPUP НОВОСТЕЙ */

.single-news {
  height: 400px;
}

#news-popup {
  display: none;
}

.s-news-card {
  position: relative;
}

.s-news-close {
  position: absolute;
  color: var(--main);
  font-size: 28px;
  font-weight: bold;
  top: 0;
  right: 0;
}

.s-news-close:hover,
.s-news-close:focus {
  color: var(--newstext);
  text-decoration: none;
  cursor: pointer;
}

.news-wrapper {
  background-color: var(--lighttone);
  padding: 15px;
  /* max-height: 200px; */
}

.s-news-title {
  color: var(--main);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 30px 5px 30px;
}

.s-news-date {
  color: var(--greytext);
  text-align: left;
  padding: 10px 30px 5px 30px;
}

.s-news-body {
  color: var(--maintext);
  text-align: left;
  padding: 10px 30px 5px 30px;
}

.s-news-body p {
  padding-bottom: 20px;
}



/* РАЗРЕШЕНИЕ ДО 1200PX */

@media (max-width: 1200px) {

  nav .logo {
    margin: 0 0 0 10px;
  }

  nav ul {
    gap: 12px;
    margin: 0 18px 0 0;
  }


  nav ul li a {
    font-weight: 700;
    font-size: 13px;
  }

  .img-section h1 {
    font-size: 36px;
    padding-top: 149px;
  }

  .right .container {
    font-size: 16px;
  }

  .advantages .container h2 {
    font-size: 28px;
  }

  .advantages .container .section {
    font-size: 16px;
  }

  .advantages .container .section .marker p {
    top: 48%;
    left: 45%;
    transform: translateY(-50%);

  }

  .todo h2 {
    font-size: 28px;
  }

  .introduction .citation h3 {
    font-size: 28px;
  }

  .introduction .citation h4 {
    font-size: 20px;
  }

  .introduction .citation .cit-body {
    font-size: 20px;
  }

  .creteria h2 {
    font-size: 28px;
  }

  .introduction .container {
    padding-top: 200px;
    padding-bottom: 100px;
  }

  .introduction .container .person {
    top: 50px;
    left: 20px;
  }

  .news .container h2 {
    padding-left: 10px;
    font-size: 32px;
  }

  .news .news-block {
    padding: 10px;
  }

  footer .footer-main .footer-left {
    width: 400px;
    padding-left: 20px;
  }

  .contact_form {
    width: 625px;
    /* margin-right: 20px; */
  }

  .form-wrapper {
    width: 605px;
    margin: 0 auto;
  }

  .form-person input {
    width: 292px;
  }

  .capcha {
    width: 290px;
  }

  footer .footer-main .footer-left .link-block ul li a {
    font-size: 14px;
  }

  footer .wrapper {
    margin: 0 40px;
  }

}






/* РАЗРЕШЕНИЕ ДО 992PX */

@media (max-width: 992px) {
  nav .logo {
    margin: 0 0 0 10px;
  }

  nav .logo .logo-desk {
    display: none;
  }

  nav .logo .logo-mob {
    display: block;
    width: 32px;
  }

  nav {
    background: rgba(37, 75, 117, 1);
    height: 44px;
    box-shadow: 0 2px 2px #000;
  }

  nav ul {
    gap: 15px;
    margin: 0 10px 0 0;
  }


  nav ul li a {
    font-weight: 500;
    font-size: 14px;
  }

  .img-section h1 {
    font-size: 30px;
    padding-top: 149px;
  }

  .btn-block {
    margin: 70px auto 0 auto;
    width: 530px;
  }

  .btn {
    width: 240px;
    height: 50px;
    font-size: 18px;
    padding-top: 14px;
  }

  .left {
    width: 190px;
    margin-left: 20px;
  }

  .left .element-animation {
    width: 150px;
    transform: translateX(-120px);
  }

  .right .container {
    font-size: 14px;
    margin: 50px 25px;
  }

  .advantages .container .section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .todo h2 {
    font-size: 24px;
    padding-top: 70px;
  }

  .todo .element-animation {
    padding-top: 20px;
  }

  .introduction .container {
    padding-top: 150px;
  }

  .introduction .container .person {
    top: 30px;
    left: 20px;
    width: 240px;
    height: 240px;
  }

  .introduction .citation h3 {
    font-size: 24px;
  }

  .introduction .citation h4 {
    font-size: 18px;
    padding-bottom: 40px;
  }

  .introduction .citation .cit-body {
    font-size: 18px;
  }

  .introduction .citation .cit-start,
  .introduction .citation .cit-end {
    font-size: 10px;
  }

  .introduction .citation h3,
  .introduction .citation h4 {
    padding-left: 275px;
  }

  .quote-left img,
  .quote-right img {
    width: 20px;
  }

  .creteria h2 {
    font-size: 24px;
    padding-top: 70px;
  }

  /* #creteria_desk {
    display: none;
  }

  #creteria_mob {
    display: block;
    max-width: 600px;
  } */

  .price h1 {
    padding-top: 70px;
  }

  .group-block p {
    font-size: 16px;
  }

  .group-block h4 {
    font-size: 24px;
    font-weight: 500;
  }

  .news .container h2 {
    font-size: 28px;
    padding: 70px 0 30px 10px;
  }

  .news-card .news-date {
    font-size: 16px;
  }

  .news-card .news-title,
  .news-card .news-annotation {
    font-size: 14px;

  }

  .news .container .newsbtn .news-btn {
    font-size: 14px;
  }

  footer .footer-main {
    display: flex;
    flex-direction: column;
  }

  footer .footer-main .footer-left {
    width: 100%;
  }

  footer .footer-main .footer-left .logo {
    display: none;
  }

  footer .footer-main .footer-left .link-block {
    margin-top: 30px;
    text-align: center;
  }

  footer .footer-main .footer-right .contact_form {
    margin-left: auto;
    margin-right: auto;
  }
}






/* РАЗРЕШЕНИЕ ДО 768PX */

@media (max-width: 768px) {

  .logo-mob {
    width: 32px;
  }

  nav {
    background: rgba(37, 75, 117, 1);
    height: 44px;
    box-shadow: 0 2px 2px #000;
  }

  nav ul li a {
    font-weight: 700;
    font-size: 10px;
  }

  .img-section {
    min-height: 280px;
  }

  .img-section h1 {
    font-size: 16px;
    padding-top: 110px;
  }

  .btn-block {
    margin: 30px auto 0 auto;
    width: 400px;
  }

  .btn {
    width: 180px;
    height: 40px;
    font-size: 12px;
    padding-top: 12px;
  }

  .left {
    display: none;
  }

  .right .container {
    margin: 20px 10px;
  }

  .right .container p {
    margin-top: 15px;
  }

  .advantages .container h2 {
    font-size: 18px;
    padding-top: 20px;
  }

  .advantages .container .section:last-child {
    padding-bottom: 20px;
  }

  .advantages .container .section {
    font-size: 12px;
    padding: 0px;
    font-weight: 400;
  }

  .advantages .container .section .marker p {
    top: 48%;
    left: 44%;
    transform: translateY(-50%);
  }

  .advantages .container .section .marker img {
    height: 40px;
  }

  .advantages .container .section .descript {
    padding-left: 20px;
  }

  .todo-mob h2 {
    font-size: 18px;
    padding-top: 20px;
    text-align: center;
    color: var(--main);
  }


  .todo {
    display: none;
  }

  .todo-mob {
    display: block;
  }

  .introduction .container {
    padding-bottom: 50px;
  }

  .introduction .container .person {
    top: 10px;
    left: 20px;
    width: 180px;
    height: 180px;
  }

  .introduction .citation h3 {
    display: none;
  }

  .introduction .citation h4 {
    display: none;
  }

  .introduction .container .small-block {
    display: block;
    position: absolute;
    top: 100px;
    left: 220px;
  }

  .introduction .container .small-block h3 {
    font-size: 18px;
    color: #fff;
  }

  .introduction .container .small-block h4 {
    color: #aeaeae;
    font-size: 16px;
    padding-top: 10px;
  }

  .introduction .citation .cit-body {
    font-size: 16px;
  }

  .introduction .citation .cit-start,
  .introduction .citation .cit-end {
    font-size: 10px;
  }

  .introduction .citation h3,
  .introduction .citation h4 {
    padding-left: 275px;
  }

  .quote-left img,
  .quote-right img {
    width: 15px;
  }

  /* .introduction .citation {
    height: 230px;
  } */

  .quote-left {
    padding-top: 20px;
    margin-left: 20px;
  }

  .quote-right {
    margin-right: 20px;
  }

  .introduction .citation .cit-body {
    padding: 0 20px;
  }

  .creteria h2 {
    font-size: 18px;
    padding-top: 20px;
  }

  #creteria_desk {
    display: none;
  }

  #creteria_mob {
    display: block;
    max-width: 400px;
  }

  .creteria .element-animation {
    padding: 20px 0;
  }

  .price h1 {
    padding-top: 20px;
    font-size: 24px;
  }

  .groups-block {
    padding: 20px 0 30px 0;
  }

  .group-block p {
    font-size: 12px;
  }

  .group-block h4 {
    font-size: 18px;
    font-weight: 500;
  }

  .news .container h2 {
    font-size: 18px;
    padding: 20px 0 20px 10px;
  }

  .news .news-block {
    gap: 4%;
  }

  .news .news-block .news-card {
    width: 48%;
  }

  .news .container .newsbtn {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .news .container .newsbtn .news-btn {
    font-size: 14px;
    padding: 5px 10px;
  }

  footer .footer-main .footer-left {
    padding-left: 0;
  }

  footer .footer-main .footer-left .link-block ul li a {
    font-size: 14px;
  }

  .contact_form {
    width: 540px;
    /* margin-right: 20px; */
  }

  .form-wrapper {
    width: 500px;
    margin: 0 auto;
  }

  .form-wrapper .form-header {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .form-label {
    font-size: 12px;
  }

  .form-person {
    flex-wrap: wrap;
  }

  .form-person input {
    width: 292px;
    height: 30px;
  }

  textarea {
    min-height: 60px;
    max-height: 160px;
  }

  input,
  textarea {
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 14px;
  }

  .capcha {
    width: 304px;
  }

  .button-send {
    padding: 5px 10px;
    margin: 10px 0 10px 0;
  }

  .form-wrapper p {
    font-size: 12px;
  }

  footer .container h3 {
    padding-top: 5px;
    padding-bottom: 15px;
    font-size: 14px;
  }

  footer .container .contact-card:first-child {
    width: 200px;
  }

  footer .container .contact-card:nth-child(2) {
    margin-left: -30px;
  }

  footer .container .contact-card p {
    font-size: 12px;
  }

  footer .container .contact-card h4 {
    font-size: 14px;
    padding: 10px 0 20px;
  }

  footer .bottom {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
  }



  .popup-content {
    width: 320px;
  }

  .popup-content .form-wrapper {
    width: 300px;
  }

  .popup-title {
    font-size: 18px;
  }

  .popup-content #forms-message {
    width: 292px;
  }

  .s-news-title {
    font-size: 12px;
    padding: 10px;
  }

  .s-news-body {
    padding: 0;
  }

  .popup-content .form-wrapper.news-wrapper {
    width: 320px;
    padding: 10px;
  }

  .s-news-date {
    padding: 0 0 10px 0;
  }

}




/* РАЗРЕШЕНИЕ ДО 576PX */

@media (max-width: 576px) {

  nav ul {
    display: none;
  }

  nav .humb {
    display: flex;
    align-items: center;
  }

  .humb-field {
    padding: 10px 20px;
    cursor: pointer;
  }

  .humb-field.active .bar:nth-last-child(2) {
    opacity: 0;
  }

  .humb-field.active .bar:nth-last-child(3) {
    transform: translateY(8px) rotate(45deg);
  }

  .humb-field.active .bar:nth-last-child(1) {
    transform: translateY(-8px) rotate(-45deg);
  }


  .bar {
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px auto;
    background-color: #fff;
    transition: .2s;
  }

  .popup {
    position: fixed;
    top: 44px;
    left: -100%;
    width: 100%;
    height: 200px;
    background-color: var(--main);
    z-index: 101;
    display: flex;
    transition: .3s;
  }

  .popup.open {
    left: 0;
  }

  .popup #menu {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 25px 0;
    list-style: none;
  }

  .popup #menu>li>a {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
  }

  nav .logo .logo-mob {
    margin-right: 20px;
  }

  .img-section h1 {
    font-size: 16px;
    padding: 70px 10px 0 10px;
  }

  .btn-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px auto 0 auto;
    width: 100%;
    gap: 20px;
  }

  .right .container p {
    font-size: 14px;
  }

  .advantages .container h2 {
    font-size: 14px;
    padding-top: 10px;
  }

  .advantages .container .section:last-child {
    padding-bottom: 10px;
  }

  .advantages .container .section {
    font-size: 12px;
    padding: 0px;
    font-weight: 400;
  }

  .advantages .container .section .marker p,
  .advantages .container .section .marker img {
    display: none;
  }

  .advantages .container .section .descript {
    padding-left: 0px;
    padding-top: 10px;
  }

  .advantages .container .section .descript .al-txt .hid-text {
    display: inline-block;
    padding-right: 5px;
  }

  .todo-mob h2 {
    font-size: 16px;
    padding-top: 10px;
  }

  .todo-mob {
    padding-left: 0px;
  }

  .todo-pic {
    margin: 10px 10px;
    width: 40px;
    height: 40px;
    background-color: var(--main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .todo-pic img {
    width: 24px;
    height: 24px;
  }

  .todo .element-animation {
    padding: 10px 0;
  }

  .introduction .container {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .introduction .container .person {
    top: 5px;
    left: 5px;
    width: 80px;
    height: 80px;
  }

  .introduction .container .small-block {
    display: block;
    position: absolute;
    top: 20px;
    left: 100px;
  }

  .introduction .container .small-block h3 {
    font-size: 14px;
  }

  .introduction .container .small-block h4 {
    font-size: 12px;
    padding-top: 5px;
  }

  .introduction .citation .cit-body {
    font-size: 16px;
  }

  /* .introduction .citation {
    height: 230px;
  } */

  .quote-left img,
  .quote-right img {
    width: 10px;
  }

  .quote-left {
    padding-top: 10px;
    margin-left: 5px;
    width: 100px;
  }

  .quote-right {
    margin-right: 5px;
  }

  .introduction .citation .cit-body {
    padding: 0 5px;
    font-size: 12px;
  }

  .creteria h2 {
    font-size: 14px;
    padding-top: 10px;
  }

  .creteria .element-animation {
    padding: 10px 0;
  }



  /* БЛОК СТОИМОСИТИ УСЛУГИ */

  .price h1 {
    padding-top: 14px;
  }

  .groups-block {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 20px 20px;
  }

  .group-block {
    width: 100%;
    padding: 10px 0 20px;
  }

  .group-block:nth-child(2) {
    border-top: 2px solid var(--greytext);
    border-bottom: 2px solid var(--greytext);
    border-left: none;
    border-right: none;
  }

  .group-block p {
    font-size: 14px;
    color: var(--greytext);
  }

  .group-block h4 {
    line-height: .3rem;
    font-size: 20px;
    font-weight: 700;
  }

  .news .news-block .news-card {
    width: 100%;
  }

  footer .footer-main .footer-left .link-block ul li a {
    font-size: 12px;
  }

  .contact_form {
    width: 310px;
  }

  .form-wrapper {
    width: 300px;
  }

  .form-wrapper .form-header {
    font-size: 14px;
  }

  .form-label {
    font-size: 12px;
  }


  .form-person input {
    width: 300px;
    height: 28px;
  }

  .form-wrapper p {
    font-size: 10px;
  }

  footer .container h3 {
    padding-top: 5px;
    padding-bottom: 15px;
    font-size: 14px;
  }

  footer .wrapper {
    width: 300px;
    margin: 0 auto;
  }

  footer .contact {
    display: flex;
    flex-direction: column;
  }

  footer .container .contact-card:first-child {
    width: 100%;
  }

  footer .container .contact-card:nth-child(2) {
    margin-left: 0;
  }

  footer .container .contact-card p {
    font-size: 12px;
  }

  footer .container .contact-card h4 {
    font-size: 14px;
    padding: 10px 0 20px 20px;
  }

  footer .bottom {
    font-size: 10px;
  }

  .popup-title {
    font-size: 18px;
  }


}