.mch_wrapper {
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg.png) center / cover no-repeat;
  color: #fff;
}

.mch_wrapper * {
  box-sizing: border-box;
  font-family: foxtrot, sans-serif, serif;
  line-height: 1.5;
}

.mch_image {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.mch_desktop {
  display: block;
}

.mch_mobile {
  display: none;
}

.mch_sup {
  display: inline;
  font-size: clamp(8px, 1vw, 14px);
  vertical-align: super;
}

.mch_color {
  color: #ff3030;
}

.mch_video {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.mch_text-bold {
  font-weight: 700;
}

.mch_title {
  font-size: clamp(18px, 2.5vw, 40px);
}

.mch_subtitle {
  font-size: clamp(16px, 2vw, 30px);
}

.mch_caption {
  font-size: clamp(14px, 1.5vw, 26px);
}

.mch_empty {
  font-size: clamp(12px, 1.2vw, 22px);
}

.mch_section {
  width: 100%;
  position: relative;
}

.mch_section-first {
  display: flex;
  flex-direction: column;
  gap: 3vw;
}

.mch_section-first-content {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.mch_section-first-content .mch_section-first-text {
  padding: 0 3%;
  text-align: center;
}

.mch_section-first-text {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.mch_section-first-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
  padding: 0 3%;
}

.mch_section-first-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #470000;
  justify-content: space-between;
}

.mch_section-first-item .mch_subtitle {
  padding: 3%;
}

.mch_section-first-block {
  padding: 0 3%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  text-align: center;
}

.mch_section-first-block .mch_section-first-box:first-child,
.mch_section-first-block .mch_section-first-box:nth-child(2),
.mch_section-first-block .mch_section-first-box:nth-child(4),
.mch_section-first-block .mch_section-first-box:last-child {
  grid-column: auto / span 2;
}

.mch_section-first-block .mch_section-first-box:nth-child(3) {
  grid-column: 1 / -1;
}

.mch_section-first-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mch_section-first-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  justify-content: center;
  padding: 0 3%;
}

.mch_section-first-container .mch_section-first-box {
  width: calc(33.3% - 2vw);
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg2.png) center / cover no-repeat;
  padding: 2%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.mch_section-first-container .mch_section-first-box:nth-child(2) {
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg3.png) center / cover no-repeat;
}

.mch_section-first-container .mch_section-first-box:nth-child(3) {
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg4.png) center / cover no-repeat;
}

.mch_section-first-container .mch_section-first-box:nth-child(3) .mch_section-first-icon {
  max-width: 50%;
}

.mch_section-first-container .mch_section-first-box:nth-child(4) {
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg5.png) center / cover no-repeat;
}

.mch_section-first-container .mch_section-first-box:last-child .mch_section-first-icon {
  max-width: 15%;
}

.mch_section-first-container .mch_section-first-icon {
  max-width: 25%;
  flex-shrink: 0;
}

.mch_section-first-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  padding: 0 3%;
  align-items: center;
}

.mch_section-first-icons .mch_section-first-icon {
  max-width: 50%;
  margin: 0 auto;
}

.mch_section-first-contain {
  margin: 0 3%;
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg6.png) center / cover no-repeat;
  padding: 3%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2vw;
  align-items: center;
  justify-items: center;
}

.mch_section-first-contain .mch_subtitle {
  text-align: center;
  grid-column: 1 / -1;
}

.mch_section-first-contain .mch_section-first-box:nth-child(5),
.mch_section-first-contain .mch_section-first-box:nth-child(6) {
  grid-column: span 3;
}

.mch_section-first-contain .mch_section-first-box:nth-child(3),
.mch_section-first-contain .mch_section-first-box:nth-child(4),
.mch_section-first-contain .mch_section-first-box:nth-child(7),
.mch_section-first-contain .mch_section-first-box:nth-child(8) {
  grid-column: auto / span 2;
}

.mch_section-first-contain .mch_section-first-icon {
  grid-column: auto / span 2;
}

.mch_section-first-contain .mch_section-first-icon:nth-child(2) {
  max-width: 50%;
  margin: 0 auto;
}

.mch_section-first-cont {
  margin: 0 3%;
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg7.png) center / cover no-repeat;
  padding: 3%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2vw;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.mch_section-first-cont .mch_subtitle {
  text-align: center;
  grid-column: 1 / -1;
}

.mch_section-first-fraction {
  padding: 0 3%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
}

.mch_section-first-boxing {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg8.png) center / cover no-repeat;
  padding: 3%;
}

.mch_section-first-boxing:last-child {
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg9.png) center / cover no-repeat;
}

.mch_section-second {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  padding: 3% 0;
}

.mch_section-second-content {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.mch_section-second-content .mch_section-second-text {
  padding: 0 3%;
  text-align: center;
}

.mch_section-second-text {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.mch_section-second-item {
  margin: 0 3%;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  padding: 3%;
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg10.png) center / cover no-repeat;
}

.mch_section-second-item:nth-child(5),
.mch_section-second-item:last-child {
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg11.png) center / cover no-repeat;
}

.mch_section-second-items {
  padding: 0 3%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
}

.mch_section-second-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1vw;
}

.mch_section-second-block .mch_subtitle {
  grid-column: 1 / -1;
}

.mch_section-second-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mch_section-second-cont {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  margin: 0 3%;
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg12.png) center / cover no-repeat;
  padding: 3%;
}

.mch_section-second-pictures {
  position: relative;
}

.mch_section-second-images {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3%;
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.mch_section-second-images .mch_section-second-icon {
  max-width: 30%;
}

.mch_section-second-container {
  padding: 0 3%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
}

.mch_section-second-container .mch_subtitle {
  background: #47000067;
  padding: 3%;
  text-align: center;
}

.mch_section-second-contain {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2vw;
  padding: 0 3%;
  align-items: center;
}

.mch_section-second-contain .mch_section-second-box {
  grid-column: auto / span 2;
}

.mch_section-second-contain .mch_section-second-box:nth-child(4),
.mch_section-second-contain .mch_section-second-box:nth-child(5),
.mch_section-second-contain .mch_section-second-box:nth-child(6),
.mch_section-second-contain .mch_section-second-box:last-child {
  grid-column: span 3;
}

.mch_section-second-fraction {
  padding: 0 3%;
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  justify-content: flex-end;
}

.mch_section-second-fraction .mch_section-second-box {
  width: calc(33.3% - 2vw);
}

.mch_section-second-boxing {
  margin: 0 3%;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  padding: 3%;
  background: url(https://files.foxtrot.com.ua/StaticContent/Ext/foxtrot/laptop/lenovo/Legion_5_15AHP10/image/bg13.png) center / cover no-repeat;
}

.mch_section-third {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  padding-bottom: 3%;
}

.mch_section-third-content {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.mch_section-third-content .mch_title {
  padding: 0 3%;
  text-align: center;
}

.mch_section-third-items {
  padding: 0 3%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
}

.mch_section-third-item {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.mch_section-third-item .mch_color {
  color: #e873e4;
}

.mch_section-third-container {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.mch_section-third-text {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  text-align: center;
  padding: 0 3%;
}

.mch_section-third-block {
  padding: 0 3%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .mch_section-first-items {
    grid-template-columns: 1fr;
  }

  .mch_section-first-container .mch_section-first-box {
    width: calc(50% - 2vw);
  }

  .mch_section-first-icons {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .mch_section-first-contain .mch_section-first-box:nth-child(5),
  .mch_section-first-contain .mch_section-first-box:nth-child(6) {
    grid-column: auto;
  }

  .mch_section-first-contain .mch_section-first-box:nth-child(3),
  .mch_section-first-contain .mch_section-first-box:nth-child(4),
  .mch_section-first-contain .mch_section-first-box:nth-child(7),
  .mch_section-first-contain .mch_section-first-box:nth-child(8) {
    grid-column: auto;
  }

  .mch_section-first-contain .mch_section-first-icon {
    grid-column: auto;
  }

  .mch_section-first-contain {
    grid-template-columns: 1fr 1fr;
  }

  .mch_section-first-cont {
    grid-template-columns: 1fr 1fr;
  }

  .mch_section-first-fraction {
    grid-template-columns: 1fr;
  }

  .mch_section-second-items {
    grid-template-columns: 1fr;
  }

  .mch_section-second-block {
    justify-items: center;
  }

  .mch_section-second-container {
    grid-template-columns: 1fr;
  }

  .mch_section-second-contain .mch_section-second-box:nth-child(4),
  .mch_section-second-contain .mch_section-second-box:nth-child(5),
  .mch_section-second-contain .mch_section-second-box:nth-child(6),
  .mch_section-second-contain .mch_section-second-box:last-child {
    grid-column: auto;
  }

  .mch_section-second-contain .mch_section-second-box {
    grid-column: auto;
  }

  .mch_section-second-contain {
    grid-template-columns: 1fr;
  }

  .mch_section-second-fraction .mch_section-second-box {
    width: calc(50% - 2vw);
  }

  .mch_section-second-fraction {
    justify-content: center;
  }

  .mch_section-third-items {
    grid-template-columns: 1fr;
    gap: 1vw;
  }

  .mch_section-third-block {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .mch_desktop {
    display: none;
  }

  .mch_mobile {
    display: block;
  }

  .mch_section-first-block {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .mch_section-first-container .mch_section-first-box {
    width: 100%;
  }

  .mch_section-first-icons {
    grid-template-columns: 1fr;
  }

  .mch_section-first-contain .mch_section-first-icon {
    max-width: 50%;
    margin: 0 auto;
  }

  .mch_section-first-contain {
    grid-template-columns: 1fr;
  }

  .mch_section-first-cont {
    grid-template-columns: 1fr;
  }

  .mch_section-second-fraction .mch_section-second-box {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 380px) {
  .mch_section-second-block {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 375px) {
  .mch_image-container-flex {
    display: flex;
  }

  .mch_image-container-flex > p {
    display: flex;
  }

  .mch_image--cover {
    -o-object-fit: cover;
    object-fit: cover;
  }
}