@media screen and (max-width: 1200px) {
  section.hn-about a {
    margin-top: 44px;
  }
}
@media screen and (max-width: 991px){
  header .navbar-default .navbar-collapse .navbar-nav {
    margin-top: 20px;
  }
  .navbar-header {
    float: none;
    text-align: center;
  }
  header .navbar-default .navbar-header a.navbar-brand {
    float: none;
  }
  .navbar-brand>img {
    margin: auto;
  }
  section.hn-about img {
    margin-top: 40px;
  }
  section.hn-about a {
    margin-top: 20px;
  }
  section.hn-portfolio .portfolio-item {
    margin-bottom: 25px;
  }
  section.hn-portfolio .hn-gap-10{
    margin: 0;
  }
  footer img{
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 767px){
  .navbar-brand>img {
    float: left;
  }
  header .navbar-default .navbar-collapse {
    margin-top: 28px;
  }
  header .navbar-default .navbar-collapse {
    text-align: left;
  }
  section.hn-about {
    text-align: center;
  }
  section.hn-about h2.hn-heading {
    text-align: left;
  }
  section.hn-about p {
    text-align: justify;
  }
  section.hn-about img {
    margin: auto;
    margin-top: 40px;
  }
}

@media screen and (max-width: 680px){
  section.hn-slider .carousel .carousel-inner .cover-caption h1 {
    font-size: 35px;
    margin-bottom: 15px;
  }
  section.hn-slider .carousel .carousel-inner .cover-caption p {
    font-size: 20px;
    line-height: 25px;
  }
}

@media screen and (max-width: 520px){
  section.hn-slider .carousel .carousel-inner .cover-caption h1 {
    font-size: 30px;
    margin-bottom: 15px;
  }
  section.hn-slider .carousel .carousel-inner .cover-caption p {
    font-size: 15px;
    line-height: 22px;
  }
}