@font-face {
    font-family: "Styrene b lc web";
    src: url("//static.mvideo.ru/media/Promotions/Promo_Page/2023/June/ofisnoe-prilojenie-officesuite/fonts/Styrene-B-LC-Web-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Styrene b lc web";
    src: url("//static.mvideo.ru/media/Promotions/Promo_Page/2023/June/ofisnoe-prilojenie-officesuite/fonts/Styrene-B-LC-Web-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Styrene b lc web";
    src: url("//static.mvideo.ru/media/Promotions/Promo_Page/2023/June/ofisnoe-prilojenie-officesuite/fonts/Styrene-B-LC-Web-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "Styrene b lc web";
    src: url("//static.mvideo.ru/media/Promotions/Promo_Page/2023/June/ofisnoe-prilojenie-officesuite/fonts/Styrene-B-LC-Web-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  :root {
      --main-bg-color: #333;
      --white: #F5F5F6;
      --blue: linear-gradient(180deg, #198BFF 0%, #033E9A 100%);
  }
  .m-wrap img {
      max-width: 100%;
  }
  
  .m-section {
      width: 100%;
     margin: 0 auto;
     margin-bottom: 40px;
  }
  
  .m-banner img {
    border-radius: 8px;
  }
  .m-btn {
    text-align: center;
    display: block;
    width: 132px;
    color: #ffffff;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    text-decoration: none;
    padding: 9px 35px;
    border-radius: 4px;
    background-color: #e31235;
  }
  .m-section__list {
    display: flex;
    flex-direction: column;
  }
  .m-section .container,
  .m-top  .container {
      width: 100%;
      padding: 0 20px;
  }

  .m-wrap {
    font-family: 'Roboto', sans-serif;
    max-width: 2800px;
    margin: 0 auto;
    color: var(--main-bg-color);
    
    position: relative;
    z-index: 1;
  }
  .m-wrap--main {
    background: url(../img/top.png) no-repeat top 300px left;
    background-size: 80%;
  }
  .m-main {
    background: url(../img/middle.png) no-repeat right bottom 50px;
    background-size: 100%;
  }
  .m-listing {
    position: relative;
    z-index: 1;
    /* padding-bottom: 40px; */
  }
  .m-quote {
    position: relative;
  }
  .m-section .title {
    color: #333;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
  }
  .m-listing__title {
    color: #333;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
    text-transform: uppercase;
    padding: 12px 24px;
  }
  .m-listing--blue,
  .m-listing--red {
    position: relative;
    background: #ffffff;
  }
  .m-listing--blue::before {
    position: absolute;
    content: '';
    /* width: 100%;
    height: 3px; */
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    z-index: -1;
    border-radius: 8px;
    background: linear-gradient(136deg, #7B00FF 1.58%, #E31235 100%);
    background-size: cover;
  }
  .m-listing--red::before {
    position: absolute;
    content: '';
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    z-index: -1;
    border-radius: 8px;
    background: linear-gradient(136deg, #E31235 1.58%, #7B00FF 100%);
    background-size: cover;
  }
  .m-category__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }
  .m-bottom {
    background: #ffffff url(../img/bottom.png) no-repeat center bottom -50px;
    background-size: contain;
    position: relative;
    z-index: 100;
    padding-top: 40px;
  }
  .m-bottom__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 10px 10px 14px 0px rgba(174, 174, 192, 0.17);
    position: relative;
    padding: 15px 30px 15px 40px;
  }
  .m-bottom__left {
    display: flex;
    align-items: center;
    column-gap: 12px;
  }
  .m-bottom__left img {
    width: 38px;
  }
  .m-bottom__item::before {
    position: absolute;
    content: '';
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    z-index: -1;
    border-radius: 8px;
    background: linear-gradient(136deg, #E31235 1.58%, #7B00FF 100%);
    background-size: cover;
    
  }
  .m-bottom__text {
    color: #333;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
  }
  .m-bottom__wrap {
    margin-bottom: 40px;
  }
 
  .m-quote__lines {
   display: none;
  }
 
  .m-section .subtitle {
    font-weight: 700;
    font-size: 12.4064px;
    line-height: 17px;
    text-transform: uppercase;
    color: var(--main-bg-color);
    transform: matrix(0.99, -0.16, 0, 1, 0, 0);
    margin-top: 30px;
  }
  .m-section .descr {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
  .m-section .caption {
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    color: #333333;
    margin-bottom: 20px;
      }
  .m-list__item .descr {
    max-width: 200px;
    margin: 0 auto;
  }
  .m-red {
    color: #E31235;
  }
 
  .m-small {
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    margin: 15px 0;
    display: block;
    color: var(--main-bg-color);
    max-width: 443px;
  }
  .m-block__main {
    max-width: 360px;
    margin: 0 auto;
  }
  .m-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 40px;
    margin-top: 60px;
    margin-bottom: 40px;
  }
  .m-list__item {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    max-width: 639px;
  }
  .m-banner__img {
    display: flex;
    justify-content: center;
  }
  .m-main {
    
    z-index: 10;
    position: relative;
  }

  @media (min-width: 768px) {
    .m-category__row {
      flex-direction: row;
      justify-content: center;
      flex-wrap: wrap;
      column-gap: 20px;
    }
    .m-category__col {
      width: calc(50% - 20px);
    }
    .container--desktop.container {
      padding: 20px;
    }
    .m-bottom__item {
      flex-direction: row;
      justify-content: space-between;
      padding: 44px 24px;
    }
    .m-bottom__left img {
      width: auto;
    }
    .m-wrap--main {
      background: url(../img/top.png) no-repeat top 300px left;
      background-size: 50%;
    }
    .m-main {
      background: url(../img/middle.png) no-repeat right bottom 50px;
      background-size: 50%;
    }
  }

  @media (min-width: 1024px) {
      .m-section .container {
        width: 940px;
        padding: 0;
        margin: 0 auto;
      }
      .m-list {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: inherit;
        column-gap: 20px;
      }
      .m-list__item .descr {
        max-width: none;
      }
      .m-decor2 {
        display: block;
        position: absolute;
        top: 15%;
        left: 30%;
        width: 10%;
      }
    
      .m-list__item img {
        max-width: 289px;
        margin: 0 auto;
      }
      .m-list__item {
        max-width: 439px;
      }
      .m-banner__img {
        position: absolute;
        z-index: 20;
        width: 55%;
        right: 0;
        bottom: 0;
    }
    .m-section .descr {
      font-weight: 400;
      font-size: 12px;
      line-height: 18px;
      text-align: center;
  }
    .m-block__top {
      margin-top: -93px;
      margin-bottom: 20px;
      transform: matrix(0.99, -0.15, 0, 1, 0, -3);
      /* transform: matrix(0.99, -0.18, 0, 1, 0, -1); */
      max-width: 162px;
    }
    .m-banner__text {
      margin-top: -70px;
  }
    .m-banner__content {
      width: 100%;
      display: flex;
      flex-direction: row-reverse;
      justify-content: space-between;
      align-items: flex-end;
    }
    .m-section__img {
      width: 40%;
      left: 0;
      position: absolute;
    }
    .m-section__text {
      width: 60%;
    }
   
    .m-list__item img {
      max-width: 150px;
      margin: 0 auto;
    }
    .m-quote__lines {
      display: block;
    }
    .m-quote__line-left {
      position: absolute;
      top: 5%;
      left: 0;
      width: 8%;
    }
    .m-quote__line-right {
      position: absolute;
      bottom: 0%;
      right: 0;
      width: 8%;
    }
    .m-bottom {
      background: #ffffff url(../img/bottom.png) no-repeat left bottom;
      background-size: contain;
      margin-top: 0;
      padding-top: 70px;
    }
    .m-bottom__item {
      max-width: 748px;
      margin: 0 auto;
    }
    .m-bottom__wrap {
      margin-bottom: 60px;
    }
    .m-banner,
    .m-quote,
    .m-category {
      margin-bottom: 60px;
    }
    .m-bottom__text {
      color: #333;
      font-size: 24px;
      font-style: normal;
      font-weight: 700;
      line-height: 26px;
    }
    .m-category__col {
      border-radius: 16px;
      transition: box-shadow 0.5s;
    }
    .m-category__col:hover {
      box-shadow:
      inset 0 -3em 3em rgba(0,0,0,0.1),
            /* 0 0  0 2px rgb(255,255,255), */
            0.3em 0.3em 1em rgba(0,0,0,0.5);
    }
  }
  @media (min-width: 1280px) {
     
      .m-section .container {
        width: 1228px;
      }
      .m-listing__title {
        color: #333;
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
        padding: 36px 24px;
      }
      .m-bottom__wrap {
        margin-bottom: 96px;
      }
      .m-section .title {
        font-weight: 700;
        font-size: 30.9171px;
        line-height: 38px;
      }
      .m-bottom__text {
        color: #333;
        font-size: 26px;
        font-style: normal;
        font-weight: 700;
        line-height: 28px;
      }
      .m-btn {
        width: 189px;
        padding: 15px 24px;
        font-size: 18px;
        line-height: 22px;
      }
      .m-list {
        row-gap: 48px;
        margin-top: 60px;
        margin-bottom: 60px;
      }
      .m-list__item img {
        max-width: 200px;
        margin: 0 auto;
      }
      .m-list__item {
        row-gap: 12px;
    }
    .m-section .descr {
      font-weight: 400;
      font-size: 18.4232px;
      line-height: 24px;
    }
    .m-small {
      font-weight: 400;
      font-size: 14px;
      line-height: 22px;
    }
    .m-section .subtitle {
      font-weight: 700;
      font-size: 24px;
      line-height: 36px;
      color: #333333;
      margin-top: 0;
    }
    .m-section__img {
      width: 50%;
      left: -10%;
  }
   
    .m-banner__img {
      position: absolute;
      z-index: 20;
      width: 58%;
      right: 0;
      bottom: 0;
    }
    .m-banner__text::before {
      display: block;
      content: '';
      width: 100%;
      height: 65px;
    }
    .m-block__top {
      margin-top: -89px;
      margin-bottom: 0;
      transform: matrix(0.99, -0.17, 0, 1, 0, -4);
      max-width: 262px;
    }
  
    .m-banner,
    .m-quote,
    .m-category {
      margin-bottom: 96px;
    }
    .m-wrap--main {
      background: url(../img/top.png) no-repeat top 400px left;
      background-size: 50%;
    }
  }
  @media (min-width: 1600px) {
    .m-section .container {
      width: 1516px;
    }
    .m-main {
      background: url(../img/middle.png) no-repeat right center;
      background-size: contain;
    }
    .m-wrap--main {
      background: url(../img/top.png) no-repeat top 400px left;
      background-size: 50%;
    }
    .m-section .title {
      color: var(--facelift-gray-black, #333);
      text-align: center;
      font-family: Roboto;
      font-size: 32px;
      font-style: normal;
      font-weight: 500;
      line-height: 40px;
      max-width: 1328px;
      margin: 0 auto;
    }
    .m-section .subtitle {
      font-weight: 700;
      font-size: 29px;
      line-height: 40px;
      text-transform: uppercase;
      color: #333333;
    }
    .m-section .caption {
      font-weight: 700;
    font-size: 44px;
    line-height: 48px;
    color: #333333;
    }
    .m-section .descr {
      font-weight: 400;
      font-size: 20.4232px;
      line-height: 26px;
    }
    .m-small {
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
    }
    .m-list {
      row-gap: 68px;
      margin-top: 60px;
    }
    .m-banner__text::before {
      display: block;
      content: '';
      width: 100%;
      height: 100px;
    }

    .m-section__img {
      width: 45%;
      left: -5%;
    }
    .m-section__text {
      width: 60%;
    }
    
  }
  @media (min-width: 1900px) {
    .m-wrap--main {
      background: url(../img/top.png) no-repeat top 400px left;
      background-size: 40%;
    }
  }
