html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.brand-attiva,
.brand-prev {
    position: relative;
    z-index: 1;
    font-family: "Rubik", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.brand-attiva { color: var(--dark); }
.brand-prev { color: #fff; margin-left: .2rem; }

.footer-brand {
    font-family: "Rubik", sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.footer-brand span { color: var(--primary); }
.footer-brand strong { color: #fff; }

.about-media { padding: 0 3rem 3rem 0; }
.about-media > img:first-child { min-height: 420px; object-fit: cover; }
.about-media > img:last-child {
    width: 48%;
    right: 0;
    bottom: 0;
    border: 12px solid #fff;
}

.feature-image img { object-fit: cover; }
.cta-box { padding: 3rem; border-left: 6px solid var(--primary); }
.copyright { background-color: rgba(0, 0, 0, .25); }

@media (max-width: 767.98px) {
    .brand-attiva, .brand-prev { font-size: 1.55rem; }
    .navbar .navbar-brand { height: 66px; padding-right: 25px; }
    .navbar .navbar-brand::after { width: 34px; right: -17px; }
    .carousel-caption h1, .carousel-caption h2 { font-size: 2.25rem; line-height: 1.2; }
    .carousel-caption .btn { padding: .85rem 1.35rem !important; }
    .carousel-control-prev, .carousel-control-next { display: none; }
    .about-media { padding: 0 1.5rem 1.5rem 0; }
    .about-media > img:first-child { min-height: 320px; }
    .about-media > img:last-child { border-width: 7px; }
    .cta-box { padding: 2rem; }
}
