
@media screen and (max-width: 1240px){
  .container{
    max-width: 1000px;
  }
  #fs3{
    top: 460px;
    right: 180px;
  }
  .for_who_block{
    width: 230px;
  }
}
@media screen and (max-width: 1024px){

  .container{
    max-width: 750px;
  }

  .main_menu{
    display: none;
  }

  .header__button{
    display: none;
  }
  .first_screen_image{
    width: 200px;
  }
  #fs1{
    right: 200px;
  }
  #fs2{
    top: 150px;
    right: 0px;
    width: 180px;
  }
  #fs3{
    top: 400px;
    right: 50px;
  }
  .first_screen_caption{
    padding: 150px 0px 50px 0px
  }
  .programs_buttons_block{
    margin-top: 10px;
    align-items: center;
  }
  .for_who_block{
    width: 180px;
  }
  .form_block{
    width: 60%;
  }
  .first_screen_caption ul li{
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 768px){
  .container{
    max-width: 415px;
  }
  .pre_header p{
    display: none;
  }
  .first_screen_container{
    overflow: hidden;
  }
  #fs1,#fs2,#fs3{
    display: none;
  }
  .first_screen_caption{
    width: 100%;
  }
  .for_who_container{
    flex-wrap: wrap;
  }
  .program_block{
    width: 80%;
  }
  .for_who_block{
    margin-bottom: 35px;
  }
  .tabs label:last-of-type{
    margin-right: 0px;
  }
  .lessons_image_block{
    display: none;
  }
  .lessons_text{
    width: 100%;
  }
  .result_image_block{
    display: none;
  }
  .result_text{
  width: 100%;
  }
  .form_block{
    width: 90%;
  }
  .program_block h3{
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 20px;
  }
  .cytata_container{
    font-size: 26px;
  }
  h2{
    font-size: 30px !important;
    max-width: 375px;
    margin: 0 auto;
  }
  .for_who_block{
  width: 300px;
  }
}
@media screen and (max-width: 425px){
  .container{
    max-width: 365px;
  }
  .fab{
    display: none;
  }
  .adv_image{
    width: 75px;
  }
  .tabs label{
    margin-right: 10px;
  }
  .curve{
    height: 100px;
  }
  .curve_two{
    margin-top: 10px;
  }
  .pre_header__contact{
    margin-top: 10px;
  }
.pre_header{
  height: 40px;
}
}
@media screen and (max-width: 374px){
  .container{
    max-width: 300px;
  }
  .pre_header__contact ul li{
    margin-left: 5px;
    margin-top: 10px;
  }
  .first_screen__buttons_container{
    flex-wrap: wrap;
  }
  #first_screen__button_go{
    margin-left: 0px;
    margin-top: 30px;
  }
  .programs_button{
    width: 250px;
  }
  .tabs>label{
    font-size: 16px;
  }
  #tab-btn-1:checked~#content-1, #tab-btn-2:checked~#content-2, #tab-btn-3:checked~#content-3{
    border-radius: 0px 0px 30px 30px;
  }
  #send_form input, #send_form select{
    width: 90% !important;
  }
  .form_line{
    margin-top: 40px;
  }
  h2{
    font-size: 24px !important;
    max-width: 300px;
  }
}
