header{
	width: 100%;
	background-color: #8AAF48;
	padding: 1.5rem 0;
	display: flex;
	justify-content: center;
	background-image: url("../immagini/header/sfondo_header.jpg");
	background-size: cover;
    background-position-y: center;
}

nav{
	width: 95%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#logoContainer{
	width: 10%;
}

#logoContainer > a > img{
	width: 100%;
}

.btnHeader{
	padding: 0.5rem 0;
	width: 200px;
	display: flex;
	justify-content: center;
	border-radius: 15px;
	background-color: white;
	font-size: 19.2px;
	font-weight: 900;
	color: rgb(138, 175, 72);
}

#linksContainer > div:first-of-type{
	display: flex;
	gap: 3rem;
	align-items: center;
}

.fonAwsHeader{
	font-size: 2.5rem;
	color: white;
	cursor: pointer;
}

#linksContainer{
	display: flex;
	gap: 4.5rem;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none; /* Inizialmente nascosto */
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    z-index: 1;
	margin-top: 1rem;
	left: 50%;
	translate: -50% 0;
	border-radius: 15px 15px 15px 15px;
	width: 15vw;
}

.dropdown-content a {
    color: #333333;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    display: block;
	font-size: 1vw;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown-content li{
	border-bottom: 1px solid #ededed;
}

.dropdown-content li:last-of-type{
	border-bottom: unset;
}

.dropdown-content2{
	left: unset;
	translate: unset;
	right: 0;
}

#mobileMenu{
	display: none;
}

#hamburgerMenu{
	height: 100vh;
	width: 100vw;
	background-color: white;
	position: fixed;
	top: 0;
	left: 0;
	align-items: center;
	justify-content: center;
	display: none;
	z-index: 999;
}

#xContainer{
	position: absolute;
	top: 5rem;
	right: 5rem;
	cursor: pointer;
}

#xContainer > i{
	font-size: 2rem;
	color: #8AAF48;
}

#listContainer a{
	font-size: 1.5rem;
	color: #333333;
}

#listContainer > ul{
	display: flex;
	flex-direction: column;
	align-items: center;
}

#google_translate_element {
	background-color: #f0f0f0; /* Cambia il colore di sfondo */
	padding: 10px; /* Aggiungi padding */
	border-radius: 5px; /* Aggiungi angoli arrotondati */
	display: inline-block; /* Evita che occupi l'intera larghezza */
}

/* Stile del menu a tendina */
.goog-te-combo {
	background-color: #ffffff;
	border: 1px solid #ccc;
	padding: 5px;
	border-radius: 5px;
	font-size: 14px;
	color: #333;
}

/* Forza uno stile specifico utilizzando !important */
.goog-te-gadget {
	font-family: Arial, sans-serif !important;
	font-size: 14px !important;
	color: #000 !important;
}

#mioProfilo{
	position: relative;
}

#mioProfilo > div{
	position: absolute;
	left: 50%;
	/*bottom: -1.5rem;*/
	translate: -50% 0;
	color: white;
	text-align: center;
	font-size: 0.75rem;
}

#carrello{
	position: relative;
}

#carrello > div{
	position: absolute;
	top: 0;
	right: 0;
	color: white;
	background-color: #8AAF48;
	width: 30px;
	aspect-ratio: 1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	translate: 50% -50%;
}

@media screen and (max-width: 992px) {
	.btnHeader{
		display: none;
	}
	
	#logoContainer{
		width: 25%;
	}
	
	header{
		padding: 0.5rem 0;
	}
	
	#linksContainer{
		gap: 1rem;
	}
	
	#mobileMenu{
		height: 100vh;
		width: 100vw;
		background-color: #8AAF48;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1;
		align-items: center;
	}
	
	#mobileMenu > div:first-of-type{
		position: absolute;
		top: 1rem;
		right: 1rem;
		font-size: 2rem;
		color: white;
	}
	
	#mobileMenu > div:last-of-type{
		width: 100%;
		display: flex;
		justify-content: center;
		font-size: 2vw;
	}
	
	#mobileMenu li{
		margin-top: 1rem;
		text-align: center;
	}
	
	#mobileMenu li:first-of-type{
		margin-top: 0;
	}
	
	#mobileMenu a{
		color: white;
	}
	
	#linksContainer > div:first-of-type{
		gap: 1rem;
	}
}

@media screen and (max-width: 576px) {
	#listContainer a {
		font-size: 1.2rem;
	}
	
	#xContainer{
		top: 2.5rem;
		right: 2.5rem;
	}
	
	#logoContainer {
        width: 33%;
    }
	
	#mioProfilo > div{
		display: none;
	}
}