@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600;900&display=swap');

:root {
  --color-blue: #0a2c68;
  --color-yellow: #ffd300;
  --color-orange: #f7941e;
  --color-dark-gray: #333;
  --color-black: #000;
  --color-white: #fff;
  --color-body: #000;
  --color-body-bg: #fff;
  --body-font-family: 'Montserrat', sans-serif;
  --body-font-size: 1rem;
  --body-font-weight: 300;
  --body-font-weight-stronger: 600;
  --body-font-weight-strongest: 900;
  --body-line-height: 1.3;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--body-font-family);
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	line-height: var(--body-line-height);
	color: var(--color-body);
	background-color: var(--color-body-bg);
}

.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;
}

strong {
	font-weight: var(--body-font-weight-stronger);
}

main {
	padding-top: 105px;
}

a {
	text-decoration: none;
}

h1 {
	color: var(--color-white);
	font-size: 42px;
	margin-top: 15px;
	font-weight: var(--body-font-weight-strongest);
	text-transform: uppercase;
}

h2 {
	border-left: 5px solid var(--color-yellow);
	margin: 60px 0 40px;
	padding-left: 15px;
	color: var(--color-dark-gray);
	font-weight: var(--body-font-weight-stronger);
	text-transform: uppercase;
}

.container {
	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 {
	width: 100%;
	background: #ffffff; 
	padding: 25px 0;
	text-align: center;
	box-shadow: 0px 0px 7px 5px rgba(0, 0, 0, .2);
	position: fixed;
	z-index: 100;
}

#hero {
	background: url("img/main-hydraulickeoleje.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 30px 0 30px 0;
}

.aboutBrand { 
	background-color: rgba(255, 255, 255, .65);
	padding: 5px 20px 20px 20px;
}

#hero .aboutBrand {
	max-width: 500px;
	color: var(--color-black);
	clear: both;
}

.footer-top .aboutBrand {
	padding: 30px;
	background-color: transparent;
}

#hero span {
	color: var(--color-yellow);
	text-transform: uppercase; 
	font-weight: bold; 
	display: block; 
	padding-bottom: 25px;
	font-weight: var(--body-font-weight-strongest);
	clear: both;
}

#hero p {
	margin: 15px 0 15px 0;
}

#hero a {
	display: inline-block; 
	float: right; 
	/*background:transparent;*/
	color: var(--color-black);
	font-weight: var(--body-font-weight-stronger);
	text-transform: uppercase;
	border: 2px solid var(--color-black);
	padding:15px 25px;
	transition: .3s;
}

#hero a:hover {
	background: var(--color-black);
	color: var(--color-yellow); 
	border: 2px solid var(--color-black);
	transition: .3s;
}

.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;
}

.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);
   	border: 1px solid var(--color-black);
}

.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: var(--body-font-weight-stronger);
}

.oil-item a:hover {
	color: var(--color-black);
}

.list {
	margin: 50px 0 80px 0;
	text-align: center;
}

.list a {
	display:inline-block;
	color: var(--color-black);
	font-weight: var(--body-font-weight-stronger);
	text-transform: uppercase;
	border: 2px solid var(--color-black);
	background: transparent;
	font-size: 14px;
	padding:15px 25px;
	transition: .3s;
}

.list a:hover {
	background: var(--color-black);
	color: var(--color-yellow); 
	border: 2px solid var(--color-black);
	transition: .3s;
}

.footer-top {
	background: url("img/footer-hydraulickeoleje.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 80px 0;
	text-align: center;
}

.footer-top p {
	padding: 10px;
	line-height: 1.4;
	text-align: left;
	color: var(--color-black);
}

.footer-top a {
	display: inline-block;
	padding: 15px 25px;
	color: #fff;
	margin-top:20px;
	transition: .3s ease;
}

.footer-top a:hover {
	padding: 15px 35px;
}

.footer-bottom {
	background: #fff;
	padding: 25px 0;
	text-align: center;
}

.copyright {
	max-width: 1150px;
	margin: 0 auto;
	padding: 10px 0;
}

.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-top: 90px;}
	.container {padding: 0 20px;}
	.copyright {padding-left: 20px;}
	.list {margin: 0 0 50px 0;}
}

@media only screen and (max-width: 550px) {
	h1 {font-size: 32px}
	.section-title h2 {font-size: 22px;}
	.line {margin-top: 15px;}
}

@media only screen and (max-width: 380px) {
	#hero {padding: 40px 0}
	h1 {font-size: 32px}
	.section-title h2 {font-size: 18px;}
	.footer-top {padding: 20px 0;}
	.footer-top .aboutBrand {line-height: 1.3; padding: 10px;}
}