@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

nav, p, .btn.btn-primary, .info-box, a.list-group-item.list-group-item-action {
  font-family: "muli", sans-serif;
}

nav .nav-link {
  font-size: 18px;
}

.btn.btn-primary {
    border-radius: 0;
    background-color: #ff5f00;
    font-weight: bold;
    border-color: #fff;
    font-size: 16px;
}

.btn.btn-primary:hover {
    background-color: #609979;
}

nav .nav-link.active,
nav .nav-link:hover {
  border-bottom: 1px solid #fff;
}

.bg-custom-green,
.carousel .carousel-control-prev-icon,
.carousel .carousel-control-next-icon, 
a.list-group-item.list-group-item-action.active {
  background-color: #38694d;
}

a.list-group-item.list-group-item-action.active {
  border-color: #38694d;
}

.bg-custom-light-green {
    background-color: #c9f2d1;
}

@media only screen and (min-width:992px) {
  #carouselHomeAutoplay {
    margin-top: 100px;
  }
}

.carousel .carousel-item img {
  height: 80vh;
  object-fit: cover;
  object-position: center;
}

.bg-custom-black {
  background-color: #00000098;
}

.carousel .carousel-caption h5 {
  font-family: "Work Sans", sans-serif;
}

.carousel .carousel-caption p {
    font-family: "Montserrat", sans-serif;
}

.info-box .col-md-3:hover {
    transform: scale(1.1);
    z-index: 999;
}

.info-box img {
    border-radius: 2em;
    border: 3px solid #ff5f00;
    height: 400px;
    object-fit: cover;
}

.info {
    border-left: 1px solid #22608e;
}

.info img {
    height: 500px;
    object-fit: cover;
    object-position: center;
}

h3, h2, .info-sintesi {
    color: #22608e;
    font-family: 'Montserrat', sans-serif;
}

.info-sintesi .border.border-primary:hover {
    box-shadow: 1px 1px 20px 3px #22608e;
}

.border-primary {
    border-color: #22608e!important;
}

.cta {
    background-image: url('../img/home/cta.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta p {
    width: fit-content;
}

a.email {
    color: #ff5f00;
}

.tab-content .row img, .bricolage img {
  height: 300px;
  object-fit: cover;
  object-position: center;
}

@media only screen and (min-width:992px) and (max-width: 1248px) {
  nav .nav-link.non-spezzare-1 {
    width: 98px;
  }

  nav .nav-link.non-spezzare-2 {
    width: 192px;
  }
}

@media only screen and (max-width:425px) {
  p.text-center {
    text-align: justify!important;
  }
}

