/*VARIABLES*/
:root {
    --c-dark: #222921;
    --c-brand: #1ec139;
    --c-brand-light: rgb(151, 236, 165);
    --c-brand-dark: rgb(21, 110, 36);
    --c-brand-rgb: 30, 193, 57;
    --c-brand-dark-rgb: 21, 110, 36;
    --c-body: #727272;
    --font-base:  sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

/*RESET*/
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--c-body);
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--c-dark);
}

a {
    text-decoration: none;
    color: var(--c-brand);
    transition: var(--transition);
}

a:hover {
    color:var(--c-brand-light);
}

img {
    max-width: 100%;
    height: auto;
}

.image-chisiamo {
    display: block;
    margin: auto;
    width: 80%;
    margin-bottom: 24px;
}

.section-padding {
    padding-top: 140px;
    padding-bottom: 140px;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

/*NAVBAR*/
.navbar {
    box-shadow: var(--box-shadow);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color:var(--c-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:active {
    color: var(--c-brand);
}

/*BUTTONS*/
.btn{
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
}

.btn-brand {
    background-color: var(--c-brand);
    border-color: var(--c-brand);
    color: white;
}

.btn-brand:hover {
    background-color: var(--c-brand-light);
    border-color: var(--c-brand-light);
    color: white;
}

.btn-light {
    color:var(--c-brand);
}

.btn-light:hover {
    color:rgb(23, 81, 33);
}

/*HOME*/
#home {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.3), rgba(var(--c-brand-rgb), 0.5)), url(../images/Cerchi_Sfondo.jpeg);
    background-position: center;
    background-size: cover;
}

#home h1 {
    font-weight:800;
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
}

#home h4 {
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
}

/*SECTION TITLE*/
.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--c-brand);
    margin: 16px auto 24px auto;
}

.section-title p {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/*ICONBOX*/
.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--c-brand-rgb), 0.1);
    color: var(--c-brand);
    font-size: 34px;
    flex: none;
}

/*NEWSLETTER*/
#newsletter {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.1), rgba(var(--c-brand-rgb), 0.3)), url(../images/Scintille_1.jpeg);
    background-position: center;
    background-size: cover;
}

#newsletter h5 {
    font-weight:600;
    margin-bottom:24px;
/*     background-color: rgba(255, 255, 255, 0.919); */
    color: white;
    padding: 12px;
    text-shadow: 1px 2px 1px rgba(52, 55, 52, 0.788);
}

#newsletter .input-group {
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.845);
}

#newsletter .input-group input {
    border: none;
    background-color: transparent;
    color: var(--c-brand-dark);
}

#newsletter .input-group input:focus {
    box-shadow: none;
}

/*LAVORAZIONI*/
.lavorazione {
    position:relative;
    overflow:hidden;
    z-index:2;
}

.lavorazione::after {
    content:  "";
    width: 40px;
    height: 40px;
    background: rgba(var(--c-brand-rgb), 0.2);
    position: absolute;
    bottom: 0;
    right: 0;
    transition: var(--transition);
}

.lavorazione:hover::after {
    width: 100%;
    height: 100%;
    background: var(--c-brand);
    z-index: -1;
}

.lavorazione:hover h5,
.lavorazione:hover p {
    color: white;
}

.lavorazione:hover .iconbox {
    background-color: rgba(255, 255, 255, 0.12);
    color: white;
}

/*CIFRE*/
#cifre {
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.6), rgba(var(--c-brand-rgb), 0.6)), url(../images/Vite_1.jpeg);
    background-position: center;
    background-size: cover;
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
}

/*MACCHINARI*/
.carousel-caption {
/*     text-shadow: 1px 2px 1px rgba(52, 55, 52, 0.788); */
    background: linear-gradient(rgba(52, 55, 52, 0.47));
}

/*NEWS*/
#news {
    position:relative;
    z-index:2;
}

#news::after {
    content:"";
    width: 100%;
    height: 65%;
    background: linear-gradient(rgba(var(--c-brand-dark-rgb), 0.2), rgba(var(--c-brand-dark-rgb), 0.4)), url(../images/Riunione_1.jpeg);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#news .section-title h1 {
    text-shadow: 1px 2px 1px rgba(52, 55, 52, 0.788);
}

#news img {
    border: 8px solid white;
}

#news .news-text {
    text-align: justify;
}

/*CONTATTI*/
#contatti {
    position:relative;
    z-index:2;
}

#contatti::after {
    content:"";
    width: 100%;
    height: 70%;
    background: linear-gradient(rgba(var(--c-brand-rgb), 0.4), rgba(var(--c-brand-rgb), 0.8)), url(../images/Cerchi_1.JPEG);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contatti .form-control {
    border-radius: 0;
}

#contatti .form-control:focus {
    box-shadow: none;
    border-color: var(--c-brand);
}

#contatti h1, 
#contatti p {
    text-shadow: 1px 1.5px 1px rgba(82, 82, 82, 0.788);
}

/*FOOTER*/
footer {
    padding-top: 100px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}

footer li,
footer p,
footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul {
    list-style: 0;
    padding: 0;
    padding-left:20px;
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--c-brand);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--c-brand);
    color: white;
}

#carouselNews .carousel-control-prev-icon,
#carouselNews .carousel-control-next-icon {
  width: 10rem;
  height: 10rem;
  filter: invert(0%);
}