*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2C2B2B;
}

header {
  background-color: #fff;
  position: fixed;
  min-width: 100%;
  margin: 0 auto;
  padding: 10px 0;
  cursor: pointer;
  z-index: 20;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

nav {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

h1 {
  color: #0707fc;
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 700;
  display: block;
  line-height: 1.4;
}

.menu {
  padding: 10px 0 10px 15px;
}

ul {
  display: flex;
  font-size: 12px;
  color: #0b0b0b;
  font-weight: 700;
  line-height: 19px;
  text-decoration-style: solid;
}

.menu-item-1 {
  padding-left: 15px;
}

li+li {
  margin-left: 16px;
}

a {
  text-decoration: none;
  text-transform: uppercase;
}

.menu-link:hover {
  color: #3636eb;
}

.vstavka {
  height: 130px;
}

.block-01-top {
  height: 150px;
  background-color: #3949a0e6;
}

.block-01__inner {
  padding-top: 20px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.block-02 {
  height: 150px;
  width: auto;
  background-color: #3949a0e6;
}

.block-02__inner {
  padding-top: 30px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  display: block;
  font-size: 35px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 27px;
}

.brd {
  width: 70px;
  border-bottom: 10px solid;
}

.block02__item {
  padding: 30px 0;
}

.block02__item-inner {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.portfolio {
  max-width: 570px;
  margin: 10px 0 40px 0;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.portfolio__img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

h3 {
  font-size: 17.5px;
  line-height: 24.5px;
  color: #333333;
  font-weight: 700;
  padding-bottom: 20px;
}

.potfolio__text {
  line-height: 22.4px;
  margin-bottom: 14px;
}

.block02__item-inner-laser {
  display: flex;
  justify-content: space-between;
}

.portfolio-laser {
  max-width: 570px;
  font-size: 16px;
  margin: 10px 0 0px 0;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
}

.portfolio__img-laser {
  max-width: 100%;
  max-height: 100%;
  margin-bottom: 30px;
}

.potfolio__text-laser {
  max-width: 570px;

}

.potfolio__text-laser-top {
  margin-bottom: 14px;
}

.laser__offer-item {
  display: flex;
}

.article {
  max-width: 280px;
  cursor: pointer;
}

.brd__laser {
  border: #e9d8d8 solid 2px;
  height: 200px;
  border-radius: 15%;
}

.brd__laser:hover {
  background-color: rgb(231, 242, 170);
}

.laser__item-istochnik {
  padding: 10px 10px;
}

.article__item-text {
  font-size: 16px;
  padding: 22px;
}

.title__laser {
  font-weight: 700;
}

.diagram {
  margin-bottom: 50px;
}

.diagram__box {
  display: flex;
  justify-content: space-around;
  margin-bottom: 5px;
  cursor: pointer;
}

.img {
  max-width: 300px;
}

.brd__diagram {
  background-color: rgb(241, 241, 235);
  border: rgb(247, 244, 244) solid 2px;
  max-width: 300px;
  max-height: 120px;
  border-radius: 15%;
}

.brd__diagram:hover {
  background-color: rgb(24, 24, 23);
}

.diagram__text {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.text {
  font-size: 18px;
  color: #fff
}

.footer {
  background-color: #3949a0e6;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 150px;
  color: #fff;
}

.footer__contakt {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer__phone {
  color: #fff;
  margin: 0 0 15px 15px;
  height: 30px;
}

.contakt {
  font-size: 16px;
  height: 30px;
  padding-top: 15px;
  padding-left: 15px;
}

.footer__brd {
  width: auto;
  height: auto;
  border-left: 5px solid;
}

@media (max-width: 1290px) {
  .block02__item-inner {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 980px) {
  .block02__item-inner-laser {
    flex-direction: column;
    align-items: center;
  }

  .diagram__box {
    flex-direction: column;
    align-items: center;
  }

}

@media (max-width: 880px) {
  .vstavka {
    height: 150px;
  }

  h2 {
    font-size: 25px;
  }
}

@media (max-width: 800px) {
  h1 {
    font-size: 30px;
  }

  .footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 40px;
    color: #fff;
    font-size: 14px;
  }
}

@media (max-width: 700px) {

  .portfolio {
    margin: 10px 0;
  }

  .portfolio__img {
    margin-bottom: 6px;
  }

  .vstavka {
    height: 170px;
  }

  .diagram {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 20px;
  }

  ul {
    font-size: 10px;
    flex-direction: column;
  }

  .vstavka {
    height: 180px;
  }

}

@media (max-width: 500px) {
  .block02__item {
    padding: 6px 0;
  }

  .vstavka {
    height: 185px;
  }

  .potfolio__text-laser {
    display: flex;
    flex-direction: column;
  }

  .laser__offer-item {
    flex-direction: column;
  }
}

@media (max-width: 450px) {
  nav {
    flex-direction: column;
  }

  h1 {
    font-size: 15px;
  }

  .vstavka {
    height: 220px;
  }

  .contakt {
    font-size: 14px;
    padding-top: 10px;
    padding-left: 15px;
  }
}

@media (max-width: 420px) {
  .vstavka {
    height: 230px;
  }

  .article__item-text {
    padding: 10px;
  }

  .text {
    font-size: 14px;
  }

}

@media (max-width: 400px) {
  .vstavka {
    height: 240px;
  }

  h2 {
    font-size: 20px;
  }

  .img {
    max-width: 240px;
  }

}

@media (max-width: 350px) {
  .vstavka {
    height: 250px;
  }
}

@media (max-width: 320px) {
  .vstavka {
    height: 260px;
  }

  .potfolio__text {
    font-size: 12px;
  }
}