@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');
body {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
}
h1 {
  font-weight: 300;
  font-size: 30px;
}
h2 {
  font-weight: 100;
  font-size: 60px;
}
h3 {
  font-weight: 300;
  font-size: 40px;
  color: #5a9ccb;
}
.bg-primary{
  background: #499945 !important;
}

.prehead a {
  font-size: 16px;
}

.navbar-brand {
  position: absolute;
  z-index: 100;
}
.nav-link {
  color: #4f75ac !important;
  font-weight: 500;
  text-transform: uppercase;
}
.bg-quadrati, .bg-quadrati.preventivo:hover {
    background: #99C55A;
    font-weight: 300;
    font-size: 20px;
    line-height: 22px;
}
.bg-quadrati:hover, .bg-quadrati.preventivo {
    background: #5A9CCB;
    font-weight: 300;
    font-size: 20px;
    line-height: 22px;
}
.ratio p {
  height: auto!important;
  top:unset !important;
}
.claim {
  background: url("../img/quadro_elettrico.jpg") center center no-repeat;
  background-size: cover;
  padding-top: 90px;
  padding-bottom: 90px;
}
.claim h4 {
  font-size: 42px;
  font-weight: 500;
  color: #FFFFFF;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  display: inline;
}

footer p {
  font-size: 13px;
  color: #FFF;
}
footer p strong {
  font-size: 16px;
}

.dropdown-item.active, .dropdown-item:active{
  background: #99C55A;

}

.navbar-brand img {
  max-width: 150px;
}

#testata-sec {
  height:300px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
#testata-sec > .row {
  --bs-bg-opacity:0.4;
  background-color: rgba(var(--bs-black-rgb),var(--bs-bg-opacity))!important
}



@media (max-width: 768px) {
  .bg-quadrati, .bg-quadrati.preventivo:hover {
      max-width: 96%;
      min-width: 96%;
      height: 150px;
      font-size: 18px;
      line-height: 20px;
  }
  .prehead a{
    width: 100%;
    float: left;
    font-size: 12px;
  }
  .navbar-dark .navbar-toggler{
    top: -45px;
    position: absolute;
  }
  .carousel-caption {
    right: 3%;
    bottom: 0.25rem;
    left: 3%;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  #testata-sec h1, .carousel-caption h1 {
    font-size: 18px;
  }
  #testata-sec h2, .carousel-caption h2 {
    font-size: 30px;
  }
  .dropdown-menu {
    font-size: .75rem;
  }
  footer .img-fluid {
    max-width:50% !important;
  }
  iframe {
    min-height: 350px;
  }
}
