@media screen and (max-width: 1200px){
  .main .col-4:not(.main-img_wr){
    width:40%;
  }
  .main-img_wr{
    width:20%;
  }
  .header{
    position:relative;
    z-index:1;
  }
  .header-menu{
    display:none;
  }
  .numeric{
    justify-content: space-around;
  }
  .numeric-item{
    width:50%;
  }
}
@media screen and (max-width: 1000px){
  .h1,h1{font-size: 54px;}
  .h2,h2{font-size: 44px;}
  .h3,h3{font-size: 40px;}
  .h4,h4{font-size: 28px;}
  .h5,h5{font-size: 20px;}
  .h6,h6{font-size: 18px;}
  .num{
    font-size:110px;
  }
  .tariff-price .price span{
    font-size:35px;
  }
  .about .col-7{
    position:static;
    z-index:1;
  }
  .contact-wrapper {
    padding: 45px;
  }
}
@media screen and (max-width: 900px){
  .header-menu{
    display:none;
  }
  .header-phone{
    margin-right:0;
  }
  .format-item{
    width:50%;
  }
  .questions-content_wr, .questions-title{
    width:100%;
  }
  .questions-title{
    padding-bottom:45px;
  }

}
@media screen and (max-width: 800px){
  .numeric-item, .title-wr>.col-6, .contact-wrapper .col-5, .contact-wrapper .col-7{
    width:100%;
  }
  .format-wr .title-wr .h3, .contact-wrapper .col-7{
    padding-bottom:30px;
  }
  .tariff-item{
    max-width:400px;
    width:100%;
    margin-bottom: 30px;
  }
  .tariff-item:nth-child(2n){
    margin: 0 0 30px;
  }
  .main{
    display:none;
  }
  .main-mobile{
    display:block;
  }
  .main-img{
    position:static;
    -webkit-transform: none;
    transform: none;
    margin-top: -70px;
  }
  .main-teach li{
    padding-top:20px;
    padding-bottom:20px;
  }
  .skills-item{
    width:50%;
  }
  .skills.row{
    justify-content: space-around;
  }
}
@media screen and (max-width: 700px){
  .numeric-item, .questions-content_wr .col-6, .princip .col-5, .princip .col-7{
    width:100%;
  }
  .about{
    position:relative;
    padding-bottom:400px;
  }
  .tv-slider_wr{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
  }
  .about .col-5.relative{
    position:static;
  }
  .about-img{
    right:0;
  }
  .princip-img{
    position:static;
    -webkit-transform: none;
    transform: none;
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  .princip-img img{
    width: 500px;
    transform: translateX(-17px);
  }
  .princip .col-5{
    order:1;
    padding: 0;
  }
  .princip-content{
    padding-top:0;
    padding-bottom:0;
  }
}
@media screen and (max-width: 600px){
  .h1,h1{font-size: 34px;}
  .h2,h2{font-size: 32px;}
  .h3,h3{font-size: 30px;}
  .h4,h4{font-size: 28px;}
  .h5,h5{font-size: 20px;}
  .h6,h6{font-size: 18px;}
  .num{
    font-size:95px;
  }
  .skills-item{
    width:100%;
  }
  .skills-item{
    display: flex;
    text-align: left;
    align-items:center;
  }
  .skills-img{
    margin: 0;
    width: 67px;
    height: 67px;
    min-width: 67px;
  }
  .skills-title{
    padding:0;
    padding-left:15px;
  }
  .num{
    padding: 0 5px;
  }
  .format-item{
    display:block;
    padding-left:10px;
  }
  .tormat-title{
    padding-left:0;
    padding-top:10px;
  }
  .footer-text{
    margin:0;
    padding: 30px 0;
  }
  .footer-contact{
    margin:0;
  }
  .footer-messengers{
    justify-content: flex-start;
  }
  .footer-text button{
    text-align:left;
  }
  .main-img{
    display: flex;
    justify-content: center;
    overflow:hidden;
    margin-top: -50px;
    margin-left: -15px;
    margin-right: -15px;
  }
  .main-img img{
    width: 560px;
    max-width: none;
  }
}
@media screen and (max-width: 500px){
  .contact-wrapper {
    padding: 30px 0;
  }
  .numeric-item, .questions-content_wr, .questions-title{
    padding-left:0;
    padding-right:0;
  }
  .princip-item{
    align-items: flex-start;
  }
  .princip-text{
    font-size:15px;
  }
  .btn{
    font-size:16px;
  }
  .about .col-7{
    width:80%;
  }
  .tariff.row, .fancybox__content{
    padding-left:15px;
    padding-right:15px;
  }
  .btn{
    padding:30px;
  }
  .gallery-table{
    grid-template-columns: repeat(1, 1fr);
  }
  .gallery-item_first {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item img{
    margin:auto;
  }
}
@media screen and (max-width: 400px){
  .header-phone{
    display:none;
  }
  .header-logo{
    margin:0 auto;
  }
  .about-img{
    display: flex;
    overflow: hidden;
    transform: none;
    left: 0;
  }
  .about-img img{
    width:500px;
  }  
}