@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

body{
    font-family: 'Montserrat', sans-serif;
    
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* start GENERAL RULES*/
    a{
        color: #022855;
        text-decoration: none;
    }
    
    li{
        list-style: none;
    }
    
    
li:hover{
    transform: scale(1.03);
    z-index: 1;
    }

    .custom-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
      }
      
      .custom-toggler.navbar-toggler {
        border-color: rgb(255, 255, 255);
        border: 2px solid rgba(255, 255, 255, 0.647);
      } 

    .bg-green{
        background-color: #4D9D2A;
    }
    
    .bg-blue{
        background-color: #022855;
    }

    .text-blue{
        color: #084a99;
    }

    .text-green{
        color: #4D9D2A;
    }
/* end GENERAL RULES*/

.hero-text{
    top: 20%;
    right: 50%;
    transform: translate(50%);
    z-index: 2;
}

.carousel-item  {
    height: 70vh;
}

#carouselExampleIndicators::after{
content: "";
position: absolute;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.15);
color: black;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }



h1{
    font-weight: 600;
    display:inline-block;
    position: relative;
}

h1::after{
    display: block;
    content: "";
    position: absolute;
    right:0;
    left: 0;
    bottom: -10px;
    background-color: #4D9D2A;
    border: 2px solid #4D9D2A;
    border-radius: 2px;
}

.wrapper{
    text-align: center;
    overflow:hidden;
}

#hrGreen::after{
    display: block;
    position: absolute;
    bottom: -20px;
    width: 55%;
    content: "";
    background-color: #4D9D2A;
    border: 2px solid #4D9D2A;
    border-radius: 2px;
}

h2{
    position: relative;
    font-weight: 600;
}

h2::after{
    content: "";
    display: flex;
    position: absolute;
    transform: translate(30%);
    bottom: -20px;
    justify-content: center;
    width: 60%;
    background-color: #4D9D2A;
    border: 2px solid #4D9D2A;
    border-radius: 2px;

}

.blocco{
    font-weight: 600;
    left: 0;
    top: -150px;
    height: 500px;
    width: 65%;
}

.spacing{
    margin-top: 80px;
}

.card-container{
top:-250px ;
}

.card-logo{
    width: 100px;
    padding-bottom: 42px;
}

#arrow{
    width: 20px;
}

.product-card{
    width: 350px;
    min-height: 320px;
    border: 25px solid white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;  
}

.product-card:hover{
    transform: scale(1.02);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.padding-card{
    padding-top: 25px;
}

.pattern{
    display: block;
    width: 100%;
}

.pattern::before{
    display:block;
    content: '';
    position: absolute;
    width: 50%;
    height: 500px;
    top: -400px;
    left: 20%;
    z-index: -2;
    background-color: #ffffff;
opacity: 0.8;
background-image: radial-gradient(#cecbcb83 1.7000000000000002px, #ffffff72 1.7000000000000002px);
background-size: 34px 34px;
}

.card-container::before{
    display:block;
    content: '';
    position: absolute;
    width: 50%;
    height: 500px;
    top: -200px;
    left: 48%;
    z-index: -2;
    background-color: #ffffff;
opacity: 0.8;
background-image: radial-gradient(#cecbcb 1.7000000000000002px, #ffffff 1.7000000000000002px);
background-size: 34px 34px;
}

.card-container-contact::before{
    display:block;
    content: '';
    position: absolute;
    width: 50%;
    height: 500px;
    top: -200px;
    left: 48%;
    z-index: -2;
    background-color: #ffffff;
opacity: 0.8;
background-image: radial-gradient(#cecbcb 1.7000000000000002px, #ffffff 1.7000000000000002px);
background-size: 34px 34px;
}


.blocco-right::before{
    display:block;
    content: '';
    position: absolute;
    width: 100%;
    height: 500px;
    top: 50%;
    right:40% ;
    z-index: -2;
    background-color: #ffffff;
opacity: 0.8;
background-image: radial-gradient(#cecbcb 1.7000000000000002px, #ffffff 1.7000000000000002px);
background-size: 34px 34px;
}

.img-blocco{
    position: relative;
    max-width: 50%;
    top: -200px;
}

.text-title{
    font-size: 1.3rem;
}

.mail-contact::after{
    content: "";
    width: 100%;
    height: 100%;
    background-color: white;
    border: 1px solid white;
    border-radius: 2px;
    margin-left: 20px;
}

.mail-contact::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: white;
    border: 1px solid white;
    border-radius: 2px;
    margin-right: 20px;
}

.social-icons{
    max-width: 75px;
}


.center-vertically{
    display: flex;
      flex-direction: column;
      justify-content: space-between;
}

.language-icon{
    width: 30px;
}

.center-vertically{
    display: flex;
    align-content: space-between;
    align-items: center;

}

.bg-blue-gradient{
    background: rgb(41,71,107);
    background: linear-gradient(0deg, rgba(41,71,107,1) 0%, rgba(228,238,250,1) 100%);
}

.bg-green-gradient{
    background: rgb(108,175,79);
    background: linear-gradient(0deg, rgba(108,175,79,1) 0%, rgba(230,242,225,1) 100%);
}

.bg-pink-gradient{
    background: rgb(221,157,177);
    background: linear-gradient(0deg, rgba(221,157,177,1) 0%, rgba(252,242,245,1) 100%);
}

.bg-yellow-gradient{
    background: rgb(241,91,121);
    background: linear-gradient(0deg, rgba(241,91,121,1) 0%, rgba(251,223,229,1) 100%);
}

.bg-orange-gradient{
    background: rgb(228,172,50);
    background: linear-gradient(0deg, rgba(228,172,50,1) 0%, rgba(237,228,210,1) 100%);
}

.bg-light-blue-gradient{
    background: rgb(84,229,240);
background: linear-gradient(0deg, rgba(84,229,240,1) 0%, rgba(235,254,255,1) 100%);
}

.email-nav{
    font-size: 1.1vw !important;
}




@media only screen and (max-width: 767px) {  
    .bg-hero{
        background-image: url("../images/NatureKidColorfullSmall.jpg");
        max-height: 700px;
        position: relative;
        background-size: cover;
    }
    .bg-hero-contact{
        background-image: url("../images/ContactPhoneold.jpg");
        max-height: 700px;
        min-height: 400px;
        position: relative;
        background-size: cover;
    }
    .bg-hero-about{
        background-image: url("../images/maniNaturali.jpg");
        max-height: 700px;
        position: relative;
        background-size: cover;
    }

    .bg-product{
        min-height: 200px;
    }

    
    .title-container{
        max-width: 100%;
    }

    h1{
        position: relative;
    }

    hr{
        max-width: 80%;
        position: relative;
        color: #cccccc00;
    }
    
    .hero-height{
        max-height: 4px;
    }

    .text-title{
        font-size: 1rem;
    }
    
    .blocco{
        font-weight: 600;
        left: 0;
        top: -150px;
        height: 500px;
        width: 100%;
    }

    .blocco1{
        font-weight: 600;
        left: 0;
        top: -80px;
        height: 500px;
        width: 100%;
    }

    .card-container{
        top:-170px ;
        }
    

    .img-blocco{
        position: relative;
        max-width: 100%;
        top: -150px;
    }


    .social-icons{
        max-width: 30px;
    }

    .center-vertically{
        display: flex;
        align-content: space-between;
    }

    .navbar-brand{
        max-width: 60%;
    }

    .img-table{
        
        max-width: 100%; 
       }
}


@media only screen and (min-width: 767px) {

    .bg-hero{
        background-image: url("../images/NatureKidColorfullSmall.jpg");
        height: 700px;
        position: relative;
        background-size: cover;
    }

    .bg-hero-contact{
        background-image: url("../images/ContactPhoneold.jpg");
        height: 700px;
        position: relative;
        background-size: cover;
    }

    .bg-hero-about{
        background-image: url("../images/maniNaturali.jpg");
        height: 700px;
        position: relative;
        background-size: cover;
    }

    .bg-product{
        min-height: 300px;
    }
    
    .title-container{
        max-width: 80%;
    }

    h1{
        position: relative;
    }

    hr{
        max-width: 80%;
        position: relative;
        color: #cccccc00;
    }
    
    .hero-height{
        max-height: 4px;
    }   

    
    .img-table{
        position: relative;
        top: -200px;
        max-width: 100%; 
       }
}



/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	.dropdown-menu li{ position: relative; 	}
	.nav-item .submenu{ 
		display: none;
		position: absolute;
		left:100%; top:-7px;
	}
	.nav-item .submenu-left{ 
		right:100%; left:auto;
	}
	.dropdown-menu > li:hover{ background-color: #f1f1f1 }
	.dropdown-menu > li:hover > .submenu{ display: block; }
}	
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 991px) {
  .dropdown-menu .dropdown-menu{
      margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
  }
}