/* === DESKTOP FIRST === */

/* xl <= Extra extra large (xxl) */
@media (max-width : 1399px) {

}

/* lg <= Extra large (xl) */
@media (max-width : 1199px) {
  h1 {
    font-size: 86px;
  }
  h2,.h2,.about__title {
    font-size: 52px;
  }
  h3 {
    font-size: 34px;
  }
  .contacts-item__link {
    font-size: 34px;
  }
  .article-header__text-article {
    position: absolute;
    top: 57%;
    right: calc(50% - 200px);
    width: 400px;
    height: 200px;
    background: url(../images/word-article.svg) center no-repeat;
    background-size: contain;
  }
}

/* md <= Large (lg) */
@media (max-width : 991px) {
  h1 {
    font-size: 70px;
  }
  h2,.h2,.about__title {
    font-size: 38px;
  }
  h3 {
    font-size: 30px;
  }
  .about__desc {
    max-width: 480px;
  }
  .about__btn::before {
    left: -110px;
  }
  .article-item-home__featured {
    transform: scale(.7);
    left: -120px;
  }
  .article-item-home__featured_left {
    left: unset;
    right: -100px;
  }
  .article-item-home {
    height: 600px;
  }
  .intro-home-header {
    padding-top: 200px;
    padding-bottom: 150px;
  }
  .about-inner {
    padding-top: 80px;
    padding-bottom: 120px;
  }
  .advantages {
    padding: 120px 0;
  }
  .contacts-item__link {
    font-size: 26px;
  }
  .privacy {
    background: linear-gradient(to right, var(--red) calc(50% - 121px), transparent calc(50% - 121px));
  }
  .privacy::after {
      content: '';
    left: calc(50% - 122px);
  }
  .breadcrumb__item.active {
    max-width: 130px;
  }
  .article-header {
    padding-top: 100px;
    padding-bottom: 80px;
  }
  .privacy .aside {
    padding-right: 30px;
  }
  .privacy .content {
    padding-left: 30px;
  }

}

/* sm <= Medium (md) */
@media (max-width : 767px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 56px;
  }
  h2 {
    font-size: 42px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 22px;
  }
  h5,.h5 {
    font-size: 14px;
  }
  .header-inner {
    padding: 10px 0 6px;
  }
  .menu {
    display: block;
  }
  .header-nav {
    padding-top: 50px;
    padding-bottom: 20px;
  }
  .menu__item {
    width: 100%;
  }
  .menu__link {
    padding-top: 15px;
    padding-bottom: 20px;
    font-size: 30px;
  }
  .intro-home-header__title::before {
    background-size: contain;
    width: 85px;
    height: 85px;
    top: -65px;
  }
  .intro-home-header {
    padding-top: 60px;
    padding-bottom: 0;
  }
  .intro-home-header__title {
    margin-bottom: 16px;
  }
  .intro-home-header__desc {
    margin-bottom: 16px;
  }
  .intro-home-header__image {
    position: relative;
    left: -75px;
    right: unset;
    max-width: 419px;
  }
  .decor::before {
    background-size: cover;
    height: 100px;
  }
  .decor::after {
    background-size: cover;
    height: 44px;
  }
  .block-link {
    padding: 11px 0;
  }
  .block-link__span {
    font-size: 22px;
  }
  .about-inner {
    padding-top: 60px;
    padding-bottom: 72px;
  }
  .about__inscription {
    margin-bottom: 26px;
    font-size: 16px;
  }
  .about__title {
    line-height: 123%;
    margin-bottom: 25px;
    letter-spacing: -1px;
  }
  .about__desc {
    margin-bottom: 16px;
    text-align: center;
  }
  .about__btn::before {
    transform: scale(.6);
    left: -103px;
    top: -8px;
  }
  .articles {
    padding-top: 57px;
  }
  .articles-home {
    padding: 0;
  }
  .article-item {
    margin-bottom: 32px;
  }
  .article-item__top {
    margin-bottom: 17px;
  }
  .article-item__title {
    margin-bottom: 10px;
  }
  .article-item__desc {
    margin-bottom: 10px;
  }
  .article-item__btn {
    margin-bottom: 0;
  }
  .article-item-home__media {
    position: relative;
    height: 300px;
    border-top: 4px solid var(--black);
    left: 0;
    width: 100%;
  }
  .article-item-home__featured {
    transform: scale(.6);
    top: 0;
    left: -180px;
  }
  .articles-home::after {
    display: none;
  }
  .article-item-home {
    padding-top: 39px;
    padding-bottom: 0;
    margin: 0;
  }
  .article-item__legend,
  .article-item__date {
    margin-bottom: 8px;
  }
  .article-item-home__title {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .article-item-home__desc {
    margin-bottom: 16px;
  }
  .article-item__btn {
    width: 168px;
    height: 42px;
    background-size: contain;
  }
  .article-item-home__btn {
    margin-bottom: 36px;
  }
  .article-item-home {
    height: auto;
  }
  .article-header {
    padding-top: 50px;
    padding-bottom: 0;
  }
  .article-header::after {
    display: none;
  }
  .article-header__media {
    position: relative;
    height: 300px;
    width: 100%;
    left: 0;
    border-top: 4px solid var(--black);
  }
  .article-header__text-article {
    right: unset;
    left: -10px;
    top: 40%;
    width: 300px;
  }
  .breadcrumb__item.active {
    max-width: 110px;
  }
  .article-content {
    padding-top: 0;
    padding-bottom: 50px;
    background: unset;
  }
  .article-content::after {
    display: none;
  }
  .bg-pink-mobile {
    padding-top: 32px;
    background: var(--pink);
    border-bottom: 4px solid var(--black);
    margin-bottom: 32px;
  }
  .bg-red-mobile {
    padding-top: 32px;
    background: var(--red);
    border-bottom: 4px solid var(--black);
    margin-bottom: 32px;
  }
  blockquote {
    padding: 16px;
    font-size: 16px;
  }
  .privacy {
    padding-top: 0;
    padding-bottom: 50px;
    background: unset;
  }
  .privacy .content {
    padding-left: 0;
  }
  .privacy .aside {
    padding-right: 0;
  }
  .privacy::after {
    display: none;
  }
  .advantages {
    padding-top: 96px;
    padding-bottom: 52px;
  }
  .advantages__winding-arrow {
    right: 30px;
    top: -26px;
    transform: rotate(180deg);
    width: 60px;
    height: 60px;
    background-size: contain;
  }
  .advantage {
    margin-bottom: 23px;
  }
  .advantage__image {
    width: 80px;
  }
  .advantage__title {
    margin-bottom: 10px;
  }
  .page-intro {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .page-intro__inscription {
    margin-top: 50px;
    padding-bottom: 17px;
    margin-bottom: 24px;
  }
  .page-intro__inscription::before {
    width: 200px;
    background-size: contain;
    right: calc(50% - 100px);
    top: -80px;
  }
  .contacts {
    padding-top: 60px;
  }
  .contacts-item {
    padding-top: 12px;
  }
  .contacts-item__link {
    font-size: 18px;
    padding: 20px 15px;
  }
  .footer-inner {
    padding-top: 35px;
    padding-bottom: 38px;
  }
  .footer__logo {
    width: 180px;
  }
  .footer-inner__title_copyright {
    margin-top: 25px;
  }
  .footer-inner__title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .footer-inner__desc {
    margin-bottom: 30px;
  }
  .footer .link-white {
    margin-top: 16px;
  }
}

/* xs <= Small (sm) */
@media (max-width : 575px) {

}


/* === MOBILE FIRST === */

/* Custom (xs) */
@media (min-width : 0) {

}

/* Small (sm) */
@media (min-width : 576px) {

}

/* Medium (md) */
@media (min-width : 768px) {

}

/* Large (lg) */
@media (min-width : 992px) {

}

/* Extra large (xl) */
@media (min-width : 1200px) {
  .container {
    max-width: 1130px;
  }
}

/* Extra extra large (xxl) */
@media (min-width : 1400px) {
  .container {
    max-width: 1130px;
  }
}
