/********************************************** STILE */
:root {
    --primary-color: #E1211D;
    --primary-color-light: #E1211D;
    --secondary-color: #B1221F;
    --secondary-color-light: #DEDEDE;
}

body{
    width: 100%;
    font-family: "WorkSans-Light", sans-serif;
    font-weight: 300;
    color: var(--secondary-color);
}

strong{
    font-family: "WorkSans-SemiBold", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Parisienne", serif;
    word-spacing: 0.5rem;
}

.spazio-h1 {
    text-transform: uppercase;
    font-family:  "WorkSans-Light", sans-serif;
}
.p-footer{
    font-family: "WorkSans-Light", sans-serif;
}

.p-contatti{
    font-family: "WorkSans-Medium", sans-serif;
    transition: 0.2s;
}

.p-contatti:hover{
    transform: scale(0.9);
}

.a-link{
    transition: 0.2s;
}

.a-link:hover{

    font-weight: bold;
}

.primary-color{
    background-color: var(--primary-color);
}

.secondary-color{
    background-color: var(--secondary-color);
}

#header{
    transition: 0.3s;
}

@media screen and (max-width: 768px){
    #header:has(.navbar-collapse.show){
        border-bottom: 1px solid white;
    }
}

.primary-text-color{
    color: var(--primary-color);
}

.secondary-text-color{
    color: #807469;
}

/********************************************** BUTTON */
.btn{
    border-radius: 40px !important;
    font-family: "WorkSans-Light";
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.btn-poliar{
    background-color: trasparent;
    color: white;
    border: 2px white solid;
}

.btn-poliar:hover{
    background-color: rgba(255,255, 255, 0.2);
    color: white;
    border: 2px white solid;
}

@media (max-width: 768px) {
    #btnContatti{
        font-size: 14px !important;
    }
}


@media screen and (min-width: 768px)
{
    .btn-contatti, .btn-contatti-green{
        min-width: 300px;
    }

    .btn-on-white{
        min-width: 350px;
    }
}

/*.btn-contatti:hover, .btn-contatti:focus, .btn-contatti:active{*/
/*    background-color: var(--secondary-color) !important;*/
/*    color: white;*/
/*}*/

.btn-on-green, .btn-contatti-green{
    background-color: white;
    color: var(--secondary-color);
}

.btn-on-green:hover, .btn-on-green:focus, .btn-on-green:active, .btn-contatti-green:hover, .btn-contatti-green:focus, .btn-contatti-green:active{
    background-color: var(--secondary-color-light) !important;
    color: white;
}

.btn-on-white, .btn-invia, .btn-invia-on-green{
    background-color: var(--secondary-color-light);
    color: var(--primary-color);
}

.btn-on-white:hover, .btn-on-white:focus, .btn-on-white:active, .btn-invia:hover, .btn-invia:focus, .btn-on-white:active{
    background-color: var(--secondary-color);
    color: white;
}

.btn-invia-on-green:hover,.btn-invia-on-green:focus, .btn-invia-on-green:active{
    background-color: white;
    color: var(--primary-color);
}

.btn-invia, .btn-invia-on-green{
    min-width: 100px;
}

/********************************************** BACKGROUND */

.bg-image{
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    width: 100%;
    height: 100vh;
}


.bg-azienda{
    background-image: url("../images/peyrone-legnami/azienda/azienda-hero.webp");
}


.bg-prodotti{
    background-image: url("../images/peyrone-legnami/prodotti/prodotti-hero.webp");
}

.bg-pellets{
    background-image: url("../images/peyrone-legnami/pellets/pellets-hero.webp");
}

.bg-qualita{
    background-image: url("../images/peyrone-legnami/qualita/qualita-hero.webp");
}

.bg-rintracciabilita{
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url("../images/peyrone-legnami/qualita/qualita-rintracciabilita.webp");
    object-fit: cover;
    object-position: left bottom;
    max-height: 350px !important;
}

.bg-rintracciabilita .verde{
    background-color: var(--secondary-color) !important;
    width: 100%;
    height: 50%;
    /* Forma di freccia verso il basso */
    clip-path: polygon(0% 0%, 100% 0%, 100% 70%, 50% 100%, 0% 70%);
}

.bg-contatti
{
    background-image: url("../images/peyrone-legnami/contatti/contatti-hero.webp");
}

.bg-404{
    background-image: url("../images/peyrone-legnami/404/404-hero.webp");
}

@media (max-width: 992px)
{
    .bg-rintracciabilita .verde .h2{
        font-size: 1.75rem !important;
    }

    .bg-rintracciabilita{
        max-height: 300px !important;
    }
}

@media (max-width: 784px)
{
    .bg-rintracciabilita .verde h2{
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px)
{
    .bg-rintracciabilita .verde h2{
        font-size: 1.15rem !important;
        width: 70% !important;
    }

    .bg-rintracciabilita{
        max-height: 250px !important;
    }
}

@media (min-width: 576px)
{
    .bg-rintracciabilita .verde{
        width: 55% !important;
        height: 100%;
        /* Forma di freccia verso destra */
        clip-path: polygon(0% 0%, 60% 0%, 100% 50%, 60% 100%, 0% 100%);
    }
}

/*---*/

@media (max-width: 991px)
{
    .bg-azienda, .bg-contatti{
        height: 100%
    }
}

@media (min-width: 992px)
{
    .bg-azienda .row, .bg-contatti .row{
        height: 50%;
    }
}

/********************************************** CARD */

.card{
    padding: 0 30px;
    background-color: transparent;
    display: flex;
    align-items: center;
    border: 2px solid white;
    border-radius: 16px;
}

.icon{
    max-width: 200px;
}

.icon-sm{
    max-width: 150px;
}

.icon-lg{
    max-width: 350px;
    min-height: 350px;
}

.bg-card{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    padding: 50px;
}

.cornice, .cornice-rounded{
    width: 200px;
    height: 200px;
}

.cornice-rounded-sm{
    width: 180px;
    height: 180px;
}

.cornice, .cornice-rounded, .cornice-rounded-sm{
    font-size: 12px;
    padding: 15px;
    border: 2px solid white;
    align-content: center;
}

@media screen and (min-width: 1080px)
{
    .cornice, .cornice-rounded{
        width: 250px;
        height: 250px;
        font-size: 14px;
    }
}

.cornice{
    margin: 0;
}

.cornice-rounded, .cornice-rounded-sm{
    transform: rotate(45deg);
}

.cornice-rounded > *, .cornice-rounded-sm > *{
    transform: rotate(-45deg);
}

/* FOOTER */

footer{
    background-color: var(--primary-color);
    color: #DFD2BE;
}

.line-footer{
    position: relative;
    margin-bottom: 40px;
}

.bi::before{
    transform: scale(2);
    color: white;
}

.bi{
    transition: 0.2s;
}

.bi:hover, .li-catalogo:hover .bi{
    font-size: 1.1rem;
}

.li-catalogo a{
    transition: 0.2s;
    font-weight: bold;
}

.li-catalogo:hover a{
    transform: scale(1.05);
}

.line-footer:after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px; /* spessore del bordo */
    background: linear-gradient(to right, transparent, white, transparent);
}

/********************************************** TEXT*/

.col-text-hero{
    width: 60%;
}

/*.titoletti{*/
/*    color: #DFD2BE;*/
/*    font-weight: bold;*/
/*    font-size: 16px;*/
/*    font-family: "Manrope", sans-serif;*/
/*    text-transform: uppercase;*/
/*}*/

/*.titoletti-secondary{*/
/*    color: white;*/
/*    font-weight: bold;*/
/*    font-size: 16px;*/
/*    font-family: "Manrope", sans-serif;*/
/*    text-transform: uppercase;*/
/*}*/

.text-space-title{
    letter-spacing: 16px;
    color: white;
}

/*.text-space{*/
/*    letter-spacing: 2px;*/
/*}*/

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: lightgrey !important;
}

.text-contatti{
    font-size: 20px;
}

/********************************************** CUSTOM*/

.container-img-recapiti{
    position: relative;
}

#restyling, #salvaspazio{
    background-color: var(--primary-color);
    margin: 50px 30px;
}

#formContatti, .marchi{
    background-color: #F1F3ED;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

#cataloghi{
    border-radius: 20px;
    border: 1px solid #221B09;
}

@media screen and (min-width: 992px) {
    #restyling, #salvaspazio{
        margin-left: 6%;
        margin-right: 6%;
    }
}

@media screen and (min-width: 1200px) {
    #restyling, #salvaspazio{
        margin-left: 14%;
        margin-right: 14%;
    }
}

@media screen and (min-width: 1608px) {
    #restyling, #salvaspazio{
        margin-left: 20%;
        margin-right: 20%;
    }
}

.container-recapiti{
    max-width: 200px;
    max-height: 150px;
    position: absolute;
    padding: 20px;
    bottom: 14%;
    right: -6%;
}

@media(max-width: 643px){
    .container-recapiti{
        display: none;
    }
}

@media(max-width: 991px){
    .container-recapiti{
        bottom: -5%;
        right: -5%;
    }
}

@media(min-width: 1025px){
    .container-recapiti{
        bottom: 10%;
        right: -6%;
    }
}

@media(min-width: 1075px){
    .container-recapiti{
        bottom: 3%;
        right: -4%;
    }
}

@media(min-width: 1095px){
    .container-recapiti{
        bottom: 0%;
        right: -4%;
    }
}

@media(min-width: 1140px){
    .container-recapiti{
        bottom: -3%;
        right: -3%;
    }
}

@media(min-width: 1160px){
    .container-recapiti{
        bottom: -5%;
        right: -3%;
    }
}

.logo-width{
    width: 100px;
}

.dropdown-menu{
    border-radius: 0 !important;
    border-width: 0;
    z-index: 99999;
    background: no-repeat;
}

.more-margin-top{
    margin-top: 150px;
}

.arrow-icon {
    transform: rotate(-45deg);
}

.h-footer{
    font-family: "VendSans-Bold", sans-serif;
}

.h-contatti{
    font-family: "VendSans", sans-serif;

}

.a-logo-marchio{
    display: flex;
    align-items: center;
}

.h-tipo{
    color: #221B09;
    font-size: 50px;
    font-family: 'Aileron', sans-serif;
}

.h-section{
    font-family: 'Playfair Display', sans-serif;
    font-style: italic;
}

.team-card {
    transform-origin: top center;
    max-width: 400px;
}

.img-logo{
    object-fit: contain;
    max-height: 80px;
}

@media screen and (min-width: 600px)
{
    .img-logo{
        max-width: 200px;
    }
}

/********************************************** NAVBAR*/

.nav-item{
    display: flex;
    align-items: center;
}

@media screen and (min-width: 873px)
{
    .nav-item{
        margin: 0 5px;
    }
}

@media screen and (max-width: 768px)
{
    .nav-item{
        margin: 5px 0;
    }
}

.navbar{
    background-color: transparent;
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.dropdown-menu[data-bs-popper] {
    left: -30px;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: #DFD2BE;
    transition: background-color 0.3s ease;
}

.navbar-brand{
    transition: 0.2s;
    margin-right: 0;
}

.navbar-brand:hover{
    cursor: pointer;
    transform: scale(1.07);
}

.navbar-collapse{
    transition: 0.15s;
    border-radius: 10px;
}

.navbar-collapse.show{
    background-color: var(--primary-color-light);
}

.nav-link{
    padding: 5px 0.5rem;
    font-size: 18px;
    color: white;
    font-weight: 300;
    text-transform: capitalize;
    transition: 0.2s;
    text-align: center;
}

.nav-link:hover{
    font-weight: 900;
    color: white !important;
}

.nav-link:not(.navbar-brand):hover{
    font-size: 1.3rem;
}

.nav-link:active{
    font-weight: 400;
    color: white !important;
}

.nav-link-footer{
    font-size: 16px;
    color: white !important;
}

/*.nav-contatti {*/
/*    display: inline-block;*/
/*    font-size: 16px;*/
/*    padding: 8px 15px !important;*/
/*    border: 1px solid white;*/
/*    color: white;*/
/*    background-color: rgba(255, 255, 255, 0.1);*/
/*    text-decoration: none;*/
/*    transition: 0.2s;*/
/*}*/

/*.nav-contatti:hover {*/
/*    background-color: rgba(255, 255, 255, 0.2);*/
/*    !*transform: scale(1.2);*!*/
/*}*/


/********************************************** FORM*/

.form-control {
    outline:none !important;
    box-shadow: none !important;
    background-color: white;
    border: solid 1px dimgrey;
    border-radius: 0;
}

.form-input, .form-input:focus{
    width: 100%;
    border: 1px solid #5B5344;
    border-radius: 10px;
    color: #5B5344;
    padding: 15px;
    background: transparent;
}

.form-input-on-green, .form-input-on-green::placeholder{
    color: white !important;
}

.form-input-on-green, .form-input-on-green:focus{
    border: 1px solid white;
}

.form-input::placeholder{
    opacity: 0.5;
}

.form-check-input{
    width: 23px;
    height: 23px;
    border: none;
    background-color: #3D331144;
    border-radius: 5px;
    padding: 0 !important;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.form-check-input-on-green{
    background-color: #FFFFFF66;
}

.form-check-input-on-green:checked, .form-check-input:focus{
    box-shadow: 0 4px 4px 0 #9ECBA244, 0 6px 20px 0 #9ECBA244 !important;
}

.form-check-input-on-green:checked{
    background-color: var(--secondary-color-light);
}

/*-----*/

.form-check-input:checked:not(.form-check-input-on-green), .form-check-input:focus:not(.form-check-input-on-green){
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

.form-check-input:checked:not(.form-check-input-on-green){
    background-color: var(--primary-color);
}

/*-----*/

.form-label{
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 16px;
}

.form-label-on-green{
    color: white !important;
}

.form-check-label{
    color: var(--primary-color);
    /*font-size: 18px;*/
    font-weight: 400;
}

.form-check-label-on-green{
    color: white !important;
}

.form-check-input a:hover{
    font-weight: 800;
}

/********************************************** IMAGES*/

 .img-responsive-limit, .img-responsive-limit-2 {
     width: 100%;
     max-width: 100%;
 }

@media (min-width: 200px) {
    .img-responsive-limit {
        max-width: 600px;
        margin: 0 auto;
    }

    .img-responsive-limit-2 {
        max-width: 800px;
        margin: 0 auto;
    }
}

/*@media screen and (min-width: 1405px)*/
/*{*/
/*    .nav-link:not(.nav-contatti){*/
/*        padding-left: 1.3rem !important;*/
/*        padding-right: 1.3rem !important;*/
/*    }*/
/*}*/

/*@media screen and (min-width: 1600px)*/
/*{*/
/*    .nav-link:not(.nav-contatti){*/
/*        padding-left: 1.5rem !important;*/
/*        padding-right: 1.5rem !important;*/
/*    }*/
/*}*/

/*@media screen and (max-width: 1600px)*/
/*{*/
/*    .nav-link:not(.nav-contatti){*/
/*        font-size: 16px;*/
/*    }*/
/*}*/



@media screen and (max-width:768px){

    .col-text-hero {
        width: 90%;
    }

    .col-text-chi-siamo {
        width: 60%;
    }

    .more-margin-top-mobile{
        margin-top: 150px;
        }

    .immagine-dett-blog{
        width: 100% !important;
    }
}

/* MODAL */

.modal-body h2{
    margin-top: 25px;
}


.modal-body h1{
    margin-top: 35px;
}

