
h2 {
  text-align: center;
  }
/*Раздел титульник*/
.main-title_desing {
  margin-top:0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 300px;
  margin-top: 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  & div {
    width:calc(95% - 300px);
  }
  & p:first-of-type {
      margin-bottom: 20px;
  }
  & p:last-of-type{
      margin-bottom: 20px;
  }
  &  & picture {
    width: 300px;
    height: 300px;
    }

}
@media(max-width:549px){
  .main-title_desing {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    & picture {
      -webkit-box-ordinal-group: 0;
          -ms-flex-order: -1;
              order: -1;
    }
    & div {
      width: 90%;
      text-align: center;
    }

    & a {
      margin: 0 auto;
      width: 80%;
    }
  }
}
@media(max-width:350px) {
  .main-title_desing {
    width: 100%;
     & div {
      width: 100%;
      text-align: center;
    }

    & a {
        width: 100%;
    }
  }
}
/*Раздел о нас-дизайн*/
.about-devsing__list {
  width:100%;
  text-align: justify;
  margin:5px 5px 5px 5px;
    & a {
       color:#009FE3;
  }
     & li:not(:last-of-type){
       margin-bottom: 1rem;
  }
 }
 .main-about_desing {
   margin-top: 120px;
   display:block;
   min-height: 450px;
   background-color: #F2FAFD;
   padding:10px 15px 10px 15px;
   & picture {
     display: block;
     max-width:300px;
     align-self: center;
     float:left;
   }

 }
 @media(max-width:600px){
   .main-about_desing {
     width: 100%;
     & picture {
      margin: 0 auto;
       float:none;
     }
     & ul {
       margin: 0;
     }
   }
 }
/*Этапы создания дизайна сайта*/
.main-step_desing {
  margin-top: 120px;
}
.step-desing-contener {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  flex-wrap: wrap;
  align-items: center;
}
.step-desing {
  width:370px;
  height: 301px;
 background-color:  #009FE3;
   margin-top: auto;
  margin-bottom: auto;
  padding:17px;
}
.step-desing-contener picture{
  max-width: 350px;
  height: 350px;
}
.step-desing_box {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  height: 100%;
  padding: 15px;
  border-radius: 10px;
}
.step-desing ul {
  display: flex;
  height: 100%;
  flex-direction: column;
  margin-left: 47px;
  justify-content: space-between;
}
.step-desing ul li {
  position: relative;
}
.step-desing ul li::before{
  position: absolute;
  content: "";
  width:10px;
  height:15px;
  top:0;
  left:-25px;
border: 2px solid #000;
  transform: rotate(45deg);
  border-top:none;
  border-left: none;
}
.step-desing_two  ul{
justify-content: space-around;
}
@media(max-width:425px) {
  .step-desing {
    width:100%;
    height: 301px;
   background-color:  #009FE3;
     margin-top: auto;
    margin-bottom: auto;
    padding:17px;
    & h3 {
      margin-bottom: 10px;
    }
  }
  .step-desing-contener picture{
    max-width: 300px;
    height: 300px;
  }
}
/*Сроки создания сайта*/
.site-deadlines {
  margin-top: 120px;
  min-height: 300px;
}
.site-deadlines_picture {
  min-width: 300px;
  display: flex;
}
.site-deadlines_picture img {
  margin: auto;
  min-width: 300px;
}
.site-deadlines_container {
display: flex;
}
.site-deadlines_list {
  margin-right:0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
}
.site-deadlines_list li:not(:last-child) {
  margin-bottom: 30px;
}
@media(max-width:650px) {
  .site-deadlines_container {
    flex-direction: column;
  }
  .site-deadlines_picture {
    order: -1;
  }
}
/*Виды сайтов*/
.site-types {
  margin-top: 120px;
}
 .border-left_top, .border-left_bottom,  .border-right_top, .border-right_bottom{
    display: none;
  }
  .site-types_item {
    position: relative;
    border: 2px solid #009FE3;
    border-radius: 5px;
    width:150px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-types_container {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .site-types_picture {
    width:400px;
    height: 267px;
  }

  .site-types_list {
    height:300px;
    width: calc(100% - 400px);
    display:flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .site-types_item:nth-child(2n) {
    align-self:flex-end;
  }
  @media(max-width:620px) {
    .site-types_container {
      flex-direction: column;
    }
    .site-types_list {
      flex-direction:row;
      width: 100%;
      flex-wrap: wrap;
      gap:20px;
      justify-content: center;
      height: auto;
    }
    .site-types_item {
      height: 40px;
    }
  }
    @media(max-width:400px) {
      .site-types_picture {
        width:300px;
        height: 200px;
      }
    }
    @media(max-width:350px) {
      .site-types_item {
        width:80%;
      }
    }
/* Сертификаты*/
.certification {
  margin-top:120px;
}
.certification-container {
  min-height: 500px;
}
.certification-item_first {
  max-width:300px;
  margin: 0 auto;
}
.certification-item_second {
  max-width:500px;
  margin: 0 auto;
}
@media(max-width:460px) {
  .certification-container {
    min-height: 350px;
  }
  .certification-item_first {
    max-width:200px;
    margin: 0 auto;
  }
  .certification-item_second {
    max-width:500px;
    margin: 0 auto;
  }
  }