/* Medium devices (desktops, 992px and up) */
@media only screen and (max-width: 991px) {

  .navbar-brand img { max-width: 170px; }
  .navbar-nav .nav-link { font-size: .9rem !important; padding: 2rem 0.25rem !important; }

  .carousel-caption { bottom: 20%; }
  .carousel-caption h2 { font-size: 2rem; }
  #carouselVenicePages .carousel-caption { bottom: 20%; }

}

/* Small devices (tablets, 768px and up) */
@media only screen and (max-width: 767px) {

  h2 { font-size: 1.75rem; }

  .nav-header .nav-link { padding: 4px 8px !important; }

  .navbar-brand img { max-width: auto; }
  .navbar-nav .nav-link { font-size: 1rem !important; padding: 0.25rem !important; }

  .carousel-caption { width: auto; bottom: 0; }
  #carouselVenicePages .carousel-caption { width: auto; bottom: 8%; padding: 0; }

  .banner { margin-top: 0; }

  .bg-quem-somos .col-lg-4{background-color: rgba(0, 116, 134, 0.8); padding: 30px;}

}
