@media screen and (max-width:1600px){
  #section4{
    padding: 140px 15px;;
  }
  #sectionGallery{
    padding: 0px 15px;
  }
  #sectionCert{
    padding: 120px 15px;
  }
  footer{
    padding: 70px 15px 0px 15px;
  }
}

@media screen and (max-width:1054px) {
  .navBox2 .phoneNumber{
    display: none;
  }
  .header{
    margin: 100px;
  }

  .aboutUs2 .image{
    display: none;
  }
  .aboutPanel3{
    background: rgba(0, 0, 0, 0.774);
    backdrop-filter: none;
  }

  .productPanel{
    display: none;
  }
  .productPanelMobile{
    display: flex;
  }

  .cert {
    width: 400px;
    height: 550px;
  }
  .cert1 img{
    max-width: 400px;
  }
  .cert2 img{
    max-width: 400px;
    height: auto;
  }
}

@media screen and (max-width:950px){
  nav .logo{
    max-width: 150px;
    min-width: 150px;
  }
  #section2{
    padding: 60px 0px;
  }
  .aboutPanel1{
    width: 90%;
    min-width: auto;
  }
  .aboutPanel2{
    width: 100%;
    max-width: auto;
  }
  .aboutPanel2 .info{
    border: 1px solid #0d5270;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 150px;
  }
  .aboutPanel2 .image{
    background: url('../images/about.jpg')center center no-repeat;
    width: 100%;
    height: 550px;
    margin-top: -30px;
    position: relative;
  }
    .aboutPanel2 .image img{
      position: absolute;
      top: -50px;
      left: -10.5px;
    }

  .certificateBox{
    flex-direction: column;
    align-items: center;
  }
  .footerFlex{
    flex-direction: column;
  }
  .footerLeft{
    width: 100%;
  }
  .footerRight{
    width: 100%;
  }
}

@media screen and (max-width:850px){
  nav .logo{
    max-width: 100px;
    min-width: 100px;
  }
  nav .logo img{
    width: 30px;
  }
  .links{
    margin-left: 20px;
  }

  .header{
    margin: 150px 50px;
  }
}

@media screen and (max-width:767px){
  .links{
    display: none;
  }
  .burgerMenu{
    display: flex;
  }


  main p{
    font-size: 40px;
    height: 50px;
  }

  main b{
    font-size: 40px;
    height: 50px;
  }

  @keyframes move {
    0%  { top: 0px; }
    10% { top: 0px; }
    20% { top: 0px; }
    30% { top: -50px; }
    40% { top: -50px; }
    50% { top: -50px; }
    60% { top: -100px; }
    70% { top: -100px; }
    80% { top: -100px; }
  }

  .btn2{
    display: none;
  }
  .btn3{
    display: none;
  }
  .card{
    margin: 10px;
  }
  .card-content{
    width: 100%;
  }

  formBox{
    margin: auto auto;
    padding: 0px;
  }
}

@media (max-width: 568px){
  .btn2{
    display: none;
  }
  .btn3{
    display: none;
  }
  .card{
    margin: 10px;
  }
  .card-content{
    width: 100%;
  }
}

@media screen and (max-width: 500px){
  h1{
    font-size: 34px;
  }
  #section4{
    padding: 80px 15px;;
  }
  #sectionGallery{
    padding: 0px 15px;
  }
  #sectionCert{
    padding: 80px 15px;
  }
    .header{
    margin: 100px 0px 0px 30px;
  }
  .container{
    padding: 0px 20px;
  }
  main p{
    font-size: 30px;
    height: 40px;
  }

  main b{
    font-size: 30px;
    height: 40px;
  }

  @keyframes move {
    0%  { top: 0px; }
    10% { top: 0px; }
    20% { top: 0px; }
    30% { top: -35px; }
    40% { top: -35px; }
    50% { top: -35px; }
    60% { top: -70px; }
    70% { top: -70px; }
    80% { top: -70px; }
  }

  .heroimg{
    border-radius: 270px 270px 270px 270px;
    height: 800px;
    margin-top: -200px;
  }

  .aboutPanel1{
    width: 90%;
    min-width: auto;
    padding: 0px 0px;
  }
  .aboutPanel1 img{
    width:200px;
  }
  .aboutPanel2 .info .digit{
    font-size: 44px;
  }
  .aboutPanel2 .info .text{
    font-size: 18px;
  }

  .aboutPanel2 .image img{
    display: none;
  }

  .productMobile .productNameMobile{
    font-size: 24px;
    padding: 20px;
  }
  
  formBox{
    padding: 0px 0px;
  }
}