/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/*			GENERAL*/

:root{
	--imn-blue: #024A93;
}

.testo-blue :is(h1, h2, h3, h4, h5, h6, a, p),
.span-blue span {color: var(--imn-blue);}
.testo-bianco :is(h1, h2, h3, h4, h5, h6, a, p) {color: white;}

.br-30 {border-radius: 30px;}

/*	imn-btn*/
a.imn-btn,
#send-btn{
	cursor: pointer;
	border: none;
	outline: none;
	background-color: transparent !important;
	color: var(--imn-blue) !important;
	font-weight: 700;
	position: relative;
	transition: all 0.5s;
	z-index: 1;
}
a.imn-btn::before,
#send-btn::before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background-color: var(--imn-blue) !important;
	z-index: -1;
	transition: all 0.5s;
}
a.imn-btn:hover::before,
#send-btn:hover::before{
	width: 100%;
}

#send-btn:hover,
a.imn-btn:hover{
	color: white !important;
}
a.imn-btn:active,
#send-btn:active{
	transform: scale(0.9);
}
/*			HEADER*/
#page-header .btn-mobile{
	width: 50px;
    height: 50px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--imn-blue) !important;
}
#page-header .btn-mobile i{
	color: white;
}
/*			HOME*/
#banner-top-home{
	display: flex;
	align-items: center;
	justify-content: center;
}
#banner-top-home .l-section-h{
	padding-top: 0;
}
#top-homepage{
	position: relative;
	height: 80vh;
	margin: 3% 2.5rem 0;
	background-image: url("Imgs/361.webp");
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 30px;
}
#top-homepage::before{
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.55);
	border-radius: 30px;
}
#homepage .l-section-img{
	border-radius: 30px;
}
#home h2{
	font-size: calc(32px + 2vw) !important;
}
#counter .w-counter{
	font-family: "Oxanium", cursive;
}
#counter .w-counter-value{
	font-weight: bold;
	font-size: 120px;
}
#counter .type_number{
	 color: transparent; /* Nasconde il riempimento del testo */
    -webkit-text-stroke: 1px #9a9a9a; /* Mostra solo il bordo */
    font-weight: bold; /* Rende il bordo più definito */
}
#counter h6{
	font-size: 25px;
}
.word-container{
	overflow: hidden; /* Limita il contenuto visibile all'interno */
}
.word-wrapper{
	display: flex;
	animation: scrollText 20s linear infinite;
}
.single-word{
	position: relative;
	font-size: 100px;
    color: transparent; /* Nasconde il riempimento del testo */
    -webkit-text-stroke: 1px #9a9a9a; /* Mostra solo il bordo */
    font-weight: bold; /* Rende il bordo più definito */
    margin-right: 30px;
	padding-top: 0;
	padding-right: 100px;
}
.single-word::before{
	content: "✔";
	font-size: 100px;
	color: var(--imn-blue);
	position: absolute;
	height: 50px;
	width: 50px;
	left: -100px;
}

@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
#servizi-home .w-hwrapper {
    display: flex;
    align-items: center !important;
}
#servizi-home .vc_column-inner>.g-cols:first-child .wpb_text_column,
#servizi-home .vc_column-inner>.g-cols:first-child .wpb_raw_code{
	width: 100%;
}
#servizi-home .lista-servizi{
	display: flex;
    height: 100%;
    border: 1px solid #9a9a9a;
    border-radius: 30px;
    padding: 5% 2%;
    margin-left: 30px;
}
#servizi-home .lista-servizi ul{
	display: flex;
    flex-wrap: wrap;
    list-style: none;
    color: var(--imn-blue);
    font-size: 20px;
    height: 100%;
    margin-left: 0;
    justify-content: space-around;
}
#servizi-home .lista-servizi li {
    margin: 1rem 0.5rem;
    position: relative;
}

#servizi-home .lista-servizi li::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--imn-blue);
    opacity: 0;
    transition: width 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#servizi-home .lista-servizi li:hover::before {
    width: 100%;
    opacity: 1;
}

/*			CENTRO REVISIONI*/
#titolo-revisioni{
	position: relative;
	background-image: url("Imgs/26908.webp");
	background-repeat: no-repeat;
	background-size: cover;
	background-position-y: 15%;
}
#titolo-revisioni::before{
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.45);
	border-radius: 30px;
}
#servizi{
	position: relative;
}
#servizi::before{
	content: "";
	position: absolute;
	width: 25%;
	height: 35%;
	background-image: url("Imgs/about-img-02.webp");
	background-repeat: no-repeat;
	background-size: contain;
	left: 0;
	bottom: -10%;
	z-index: 2;
}

/*			CONTATTI*/
#titolo-contatti{
	position: relative;
	background-image: url("Imgs/70786.webp");
	background-repeat: no-repeat;
	background-size: cover;
	background-position-y: 45%;
}
#titolo-contatti::before{
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.45);
	border-radius: 30px;
}
#contatti .vc_column_container{
	border: 1px solid #9a9a9a;
	padding: 20px;
	transition: all .25s ease-out;
}
#contatti .vc_column_container:hover{
	transform: translate(0, -5px);
}
#form{
	position: relative;
}
#form::before{
	position: absolute;
	content: "";
	height: 35%;
	width: 50%;
	background-image: url("Imgs/2151138923-nobg-2.webp");
	background-repeat: no-repeat;
    bottom: 0;
    left: -18%;
    background-size: contain;
    opacity: 0.2;
}
#carosello .w-post-elm.post_image{
	border-radius: 30px;
}

/*			FOOTER*/
#page-footer .l-section.height_medium{
	background-color: #F0F2F4;
	border: 1px solid #9a9a9a;
	border-top-right-radius: 30px;
	border-top-left-radius: 30px;
	margin: 0 2.5rem;
}

/*			QUERIES*/
@media screen and (max-width: 500px){
	#page-header .btn-mobile{
		width: 40px;
		height: 40px;
	}
	#top-homepage{
		margin: 24% 1.5rem 0;
    	padding: 25px;
		height: 75vh;
	}
	#banner-top-home .l-section-h {
    	padding-top: 0;
		height: 100%;
        display: flex;
        align-items: center;
	}
	#top-homepage h1{
		font-size: 35px;
	}
	#counter .w-counter-value{
		font-size: 90px;
	}
	.single-word{
		font-size: 80px;
	}
	#servizi-home .w-hwrapper{
		flex-direction: column;
	}
	#servizi-home .lista-servizi{
		margin-left: 0;
	}
	#servizi::before{
		width: 45%;
    	height: 12%;
		left: 10px;
	}
	#titolo-contatti{
		background-position: 30%;
	}
	#form::before {
		height: 8%;
		width: 89%;
		bottom: -120px;
		left: -4%;
	}
	#page-footer .l-section.height_medium{
		margin: 0 1.5rem;
	}
}
@media screen and (min-width: 501px) and (max-width: 850px){
	#top-homepage .g-cols.cols_2,
	#servizi-home .g-cols.cols_2,
	#servizi-elettrauto .g-cols.cols_2,
	#form.g-cols.cols_1-2{
    	grid-template-columns: repeat(1, 1fr);
	}
	#counter .g-cols.cols_4,
	#page-footer .g-cols.cols_4,
	#contatti.g-cols.cols_4{
    	grid-template-columns: repeat(2, 1fr);
	}
	#servizi::before{
		width: 45%;
        height: 14%;
        left: 10px;
        background-size: contain;
        bottom: 0;
	}
	#form::before{
		bottom: -10%;
		height: 10%;
	}
	 
}
@media screen and (max-width: 900px){
	#servizi-home .lista-servizi li::before {
		height: 0;
		background-color: transparent;
		opacity: 0;
	}
	#servizi-home .lista-servizi li:hover::before {
		width: 0;
		opacity: 0;
	}
}
@media screen and (min-width: 760px) and (max-width: 1050px){
	#top-homepage{
		margin-top: 10%;
		padding: 25px;
	}
	#servizi.full_height{
		    min-height: calc(90vh - var(--header-sticky-height));
	}
	#page-footer h4{
		font-size: 24px;
	}
}
@media screen and (min-width: 851px) and (max-width: 1050px){
	#servizi::before{
		width: 30%;
    	height: 22%;
		left: 3%;
		bottom: -13%;
	}
}
@media screen and (max-width: 1024px){
	#servizi-home .g-cols.cols_2,
	#servizi .g-cols.cols_2{
		grid-template-columns: repeat(1, 1fr);
	}
	#servizi .l-section-img{
		opacity: 0.1;
	}
	a.imn-btn,
	#send-btn{
		background-color: var(--imn-blue) !important;
		color: white !important;
	}
	/*#top-homepage{
		margin-top: 10%;
		padding: 25px;
	}*/
}
@media screen and (min-width: 1024px) and (max-width: 1445px){
	#servizi-home .w-hwrapper{
		flex-direction: column;
	}
	#servizi-home .lista-servizi {
		padding: 3% 2%;
		margin: 30px;
	}
	/*#servizi-home .lista-servizi li{
		 margin: 1rem 0.5rem;
	}*/
}