@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;600;900&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Inter', sans-serif;
}

.radius5 {
	border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	-ms-border-radius: 5px 5px 5px 5px;
}

.container, main {
	max-width: 1150px;
	margin: 0 auto;
}

.line {
	display: block;
	margin: 45px 20px 0;
	border-bottom: 1px solid #eee;
}

/* #top {
	background:linear-gradient(270deg, rgba(0,0,0,1) 0%, rgba(50,50,50,1) 50%, rgba(0,0,0,1) 100%); 
	padding: 25px 0;
	text-align: center;
} */

#top {
	background: #ffffff; 
	padding: 25px 0;
	text-align: center;
}

#hero {
	background: url("img/main-Fanfaro.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 30px 0 30px 0;
	box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, .2);
}

.aboutBrand { 
	background: rgba(255, 255, 255, 0.7); 
	padding: 5px 20px 20px 20px;
	font-weight: 300;
	box-shadow:
   		0 1px 4px rgba(0, 0, 0, .3),
   		-23px 0 20px -23px rgba(0, 0, 0, .6),
   		23px 0 20px -23px rgba(0, 0, 0, .6),
   		0 0 40px rgba(0, 0, 0, .1) inset;
}

#hero .aboutBrand {
	max-width: 445px;
}

.footer-top .aboutBrand {
	padding-top: 10px;
	background: rgba(255, 255, 255, 0.9);
}

#hero span {
	color: #1d1d1b;
	text-transform: uppercase; 
	font-weight: bold; 
	display: block; 
	padding-bottom: 35px
}

#hero p {
	color:#1d1d1b;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.3;
	margin: 15px 0 15px 0;
}

#hero a {
	display: inline-block; 
	float: right; 
	background:transparent;
	color: #1d1d1b;
	border:2px solid #1d1d1b;
	font-size: 14px;
	padding:15px 25px;
	transition: .3s;
	text-decoration: none;
}

#hero a:hover {
	background: #044830;
	color: #fff; 
	border:2px solid #044830;
}

h1 {
	color:#044830;
	font-size: 42px;
	margin-top: 15px;
}

a {
	color: #044830;
}

a:hover {
	text-decoration: none;
}

.section-title {
	border-left: 5px solid #044830;
	margin: 60px 0 40px;
	padding-left: 15px;
	color: #000;
	font-weight: 600;
}

.oil {
	display: flex;
	justify-content: space-between;
	gap:1%
}

.oil-item {
	width: 25%;
}

.oil-item img {
	padding: 20px;
	border: 1px solid #D1D1D1; 
	width: 100%;
	transition: .8s ease;
	border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
	-ms-border-radius: 5px 5px 5px 5px;
}

.oil-item img:hover {
	box-shadow:
   		0 1px 4px rgba(0, 0, 0, .3),
   		-20px 0 20px -20px rgba(0, 0, 0, .5),
   		20px 0 20px -20px rgba(0, 0, 0, .5);
   		/* 0 0 40px rgba(0, 0, 0, .1) inset;*/
}

.oil-item p {
	font-size: 14px;
	line-height: 1.5;
	margin: 15px 0;
	text-align: center;
	padding: 0 10px;
}

.oil-item a {
	color:#000;
	transition: .3s;
	font-weight: 600;
	text-decoration: none;
}

.oil-item a:hover {
	color: #044830;
}

.oil-item a:hover img {
	border: 1px solid #044830;
}

.list {
	margin: 50px 0 50px 0;
	text-align: center;
}

.list a {
	display:inline-block;
	padding:15px 25px;
	color: #000;
	background: #fff;
	transition: .3s;
	border:2px solid #1d1d1b;
	text-decoration: none;
}

.list a:hover {
	background: #044830;
	color: #fff;
	border:2px solid #044830;
}

.footer-top {
	background: url("img/footer-Fanfaro_2.jpg");
	padding: 80px 0;
	text-align: center;
	box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, .2);
}

.footer-top p {
	padding: 10px;
	line-height: 1.4;
	text-align: left;
}

.footer-bottom {
	background: #fff;
	padding: 25px 0;
	text-align: center;
}

.clearBoth {
	clear: both;
}

@media only screen and (max-width: 1150px) {
	.container {padding: 0 20px;}
}

@media only screen and (max-width: 800px) {
	#hero {padding: 80px 0}
	.oil-item {width: 49%;margin-bottom: 30px;}
	.oil {flex-wrap: wrap;}
	main {padding: 0 20px;}
	.list {margin: 0 0 100px 0;}
}

@media only screen and (max-width: 550px) {
	h1 {font-size: 36px;}
	h2 {font-size: 22px;}
}

@media only screen and (max-width: 380px) {
	#hero {padding: 40px 0}
	h1 {font-size: 28px}
	h2 {font-size: 22px}
	.footer-top p {font-size: 14px;}
}