html {
	height:100%;
}
  
body {
	height:100%;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
}
  
section {
	height: 100%;
}
  
.page {
	min-height: 100%; 
	display: grid; 
	grid-template-rows: auto 1fr auto;
}

.under-menu {
	height: 0px;
}

.page-header {
	background-color: black;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #fff;
	font-weight: bold;
	font-size: 20px;
	position: fixed;
	width: 100%;
	z-index: 100;
}

.page-footer {
	color: #666;
	font-size: 12px;
	background-color: black;
	padding: 20px;
	text-align: center;
}

.nowrap {
	white-space: nowrap;
}

/* Menu and Navigation */

nav {
	background-color: black;
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

.logo {
	width: 100px;
}

.menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}
  
.menu li {
	margin: 0 10px;
}
  
.menu a {
	display: block;
	color: white;
	text-align: center;
	text-decoration: none;
	padding: 14px 16px;
	font-size: 18px;
	font-weight: bold;
	transition: background-color 0.3s ease;
	border-radius: 10px;
}
  
.menu a:hover {
	background-color: rgb(45, 210, 111);
	color: black;
	border-radius: 10px;
}
  
.hamburger {
	display: none;
}
  
.line {
	width: 25px;
	height: 3px;
	background-color: white;
	margin: 5px;
}


/* Section 1 */

.s1 {
	background-image: url('../images/refinery-bg.jpg');
	padding-bottom: 40vw;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: rgba(0, 0, 0, 0.5);
	background-blend-mode: multiply;
}

.s1-title {
	position: absolute;
	width: 100%;
	margin-top: 10vw;
	font-size: 5vw;
	font-weight: bold;
	color: #ffffff;
}

.s1-title, .about-title, .equipment-title, .products-title, .contacts-title, .center {
	text-align: center;
}

.s1-subtitle {
	font-size: 2vw;
	font-weight: normal;
	width: 80%;
	margin: auto;
}


/* About */

.anchor {
	position: absolute;
	margin-top: -60px;
}

.about {
	background-color: #fff; 
	min-height: 300px; 
	padding: 20px 60px 40px 60px;
}


.about-txt-wrap {
	display: flex; flex-wrap: wrap;
}

.about-txt {
	font-size: 1.5vw;
	flex: 1;
	text-align: justify;
}

.about-txt-intent {
	text-indent: 40px;
}

.about-image {
	flex: 1;
}

.about-image img {
	padding: 0px 0px 0px 20px;
	width: 100%;
}


/* Equipment */

.equipment {
	background-color: #f8f8f8; 
	padding: 40px 60px 20px 60px;
}

.eq-img {
	width: 100%;
	/*background-color: rgb(204, 205, 200);*/
	text-align: center;
}

.eq-img img{
	width: 100%;
	max-width: 600px;
	align-items: center;
	margin: auto;
	border-radius: 10px;
}

.eq-container {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
  }
  
.eq-cell {
	padding: 5px;
	flex: 33%;
	box-sizing: border-box;
}

.eq-cell-title {
	font-size: 3vw;
	font-weight: bold;
	text-align: center;
}

.eq-cell-txt {
	font-size: 2vw;
}


a.eq-link:link, a.eq-link:visited {
	color: black;
	text-underline-offset: 5px;
}

a.eq-link:hover {
	color: green;
}

.eq-link {
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
}


/* Products */

.products {
	background-color: #fff; 
	padding: 20px 20px 40px 0px;
	text-align: center;
	display: flex;
}

.products-title {
	position: absolute;
	width: 100%;
}

.products-imgbox {
	background-color: #fff; 
	margin-top: 60px; 
	height: auto;
	width: 33%;
}

.products-imgbox img {
    width: 50%;
    max-width: 600px;
}

.products-txt {
	width: 80%;
	margin: auto;
}

.products-percentage {
	font-size: 4vw;
}

.product-name {
	font-size: 3vw;
}

a.product-link:link, a.product-link:visited {
	color: black;
	text-underline-offset: 5px;
}

a.product-link:hover {
	color: green;
}

.green {
	color: green;
}

.products-five-percent {
	text-align: center;
	padding-bottom: 20px;
	font-size: 2vw;
}


/* Contacts */

.contacts {
	background-color: #f8f8f8;
	padding: 40px 20vw 40px 20vw;
}


/* Small screen */

@media only screen and (max-width: 900px) {
	.menu {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 60px;
		left: 0;
		width: 100%;
		background-color: #333;
	}

	.menu li {
		margin: 10px;
	}
	
	.hamburger {
		display: block;
		cursor: pointer;
	}
	
	.hamburger:hover .line {
		background-color: #ddd;
	}
	
	.menu.active {
		display: flex;
	}

	.s1 {
		padding-bottom: 75%;
	}

	.s1-title {
		margin-top: 25vw;
	}

	.s1-subtitle {
		font-size: 4vw;
	}

	.about {
		background-color: #fff; 
		min-height: 300px; 
		padding: 20px 20px 40px 20px;
	}

	.about-title, .equipment-title, .products-title, .contacts-title {
		font-size: 5vw;
	}

	.about-txt {
		font-size: 3vw;
		min-width: 100%;
	}

	.about-image {
		width: 100%;
	}

	.about-image img {
		padding: 20px 0px 0px 1px;
	}

	.equipment {
		padding: 40px 20px 20px 20px;
	}

	.eq-img {
		width: 100%;
	}

	.eq-cell {
		flex: 100%;
		box-sizing: border-box;
	}

	.eq-cell-title {
		font-size: 5vw;
	}

	.products-imgbox {
		width: 33%;
	}

	.products-imgbox img {
		width: 100%;
	}

	.products-percentage {
		font-size: 4vw;
	}

	.product-name {
		font-size: 5vw;
	}

	.products-five-percent {
		font-size: 4vw;
	}

	.contacts {
		padding: 40px 40px 40px 40px;
	}


}

.red {border: 1px solid red;}