@charset "utf-8";
/* CSS Document */


#headline {
	width: 100%; height: 35rem;
	background-color: #fff;
	position: relative;
}



#headline img.hugo {
	position: absolute;
	bottom: 0; right: 9rem;
	width: 27.75rem; height: auto;
	transition: 0.5s;
}
#headline img.boilery {
	position: absolute;
	bottom: 2.75rem; right: 31rem;
	width: 22.35rem; height: auto;
	transition: 0.5s;
}

#headline:hover .hugo {
	right: 13rem;
}
#headline:hover .boilery {
	right: 25rem;
}

#headline .copy {
	position: absolute;
	top: 8rem; 
	left: calc((100% - 70rem) / 2);
	transform-origin: left center;
	display: flex;
	flex-direction: column;
	justify-content: flex-start; align-content: flex-start; align-items: flex-start;
	transition: 0.75s;
}

#headline .copy p:nth-of-type(1), #headline .copy p:nth-of-type(2) {
	font-size: 5rem; line-height: 100%; 
	padding: 1rem 2rem .5rem;
	color: #fff;
	background-color: var(--red);
	text-transform: uppercase;
	font-weight: bold;
}

#headline .copy p:nth-of-type(2) {
	margin-left: 5rem;
	background-color: #000;
}

#headline .copy p:nth-of-type(3) {
	font-size: 2rem; line-height: 110%; 
	padding-top: 1.25rem;
	margin-left: 1.33rem;
	width: 26rem;
}

#headline:hover .copy {
	-webkit-transform: scale(1.2,1.2); transform: scale(1.2,1.2);
}

#dealer {
	background-color: #ccc;
}
#dealer .middle {
	display: flex;
	min-height: 2.5rem;
	justify-content: center;
	align-content: center;
	align-items: center;
	flex-wrap: nowrap;
}

#dealer .hungary > div {
	width: 1rem; height: 2.5rem;
}
#dealer .hungary > div:nth-of-type(1) { background-color: #CE2939; }
#dealer .hungary > div:nth-of-type(2) { background-color: #FFFFFF; }
#dealer .hungary > div:nth-of-type(3) { background-color: #477050; }
#dealer .hungary {
	transform: skewX(-30deg);
	margin-right: 1rem;
}

#dealer p{
	font-size: 1.1rem; line-height: 130%;
}
#dealer p a {
	color: #000;
}
#dealer p span {
	font-weight: bold;
	color: var(--red);
}

#portfolio a {
	height: 8rem; width: calc(100% / 3);
	color: #fff;
	background-color: var(--red);
	font-weight: bold;
  font-size: 1.5rem;
  line-height: 120%;
}

#portfolio p {
	padding: 0 20%;
	text-align: center;
}

#portfolio a:nth-of-type(1) {
	opacity: 0.85;
}
#portfolio a:nth-of-type(2) {
	opacity: 0.75;
}
#portfolio a:nth-of-type(3) {
	opacity: 0.65;
}

#portfolio a:hover {
	text-decoration: none;
	opacity: 1 !important;
}


#products .middle {
	padding-top: 3rem;
}

.middle > h1 {
	font-size: 2.5rem;
  line-height: 120%;
	margin-bottom: 4rem;
	text-align: center;
	position: relative;
}
.middle > h1::after {
	content: '';
	width: 10rem; height: 0.33rem;
	top: calc(100% + 1rem); left: calc(50% - 5rem);
	background-color: var(--red);
	position: absolute;
}


#about  {
	background-color: #dedede;
}

#about .middle {
	padding: 3rem 0;
	width: 58rem;
}

#about .middle .flex > div {
	width: calc(100% - 18rem);
	font-size: 1rem;
  line-height: 140%;
}

#about .middle .flex > div:nth-of-type(1) {
	width: 12.8rem; height: 25rem;
	overflow: hidden;
	position: relative;
	-webkit-mask-image: url("../images/boiler.svg");
	mask-image: url("../images/boiler.svg");
  -webkit-mask-size: auto 25rem; mask-size: auto 25rem;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: top left; mask-position: top left;
	background-color: rgba(255,255,255,.33);
}

#about .middle .flex > div:nth-of-type(1) img {
	width: 25rem; height: 25rem;
	position: absolute;
	top: 25rem;
	left: calc(50% - 12.5rem);
	transition: 0.5s;
}

#products .carousel {
	width: 100%;
	overflow: hidden;
	position: relative;
}

#products .carousel .stripe {
	width: 100%; height: 100%;
	left: 0; top: 0;
	transition: 0.5s ease-in-out;
}

#products .carousel .stripe > a {
	width: 40%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-content: center; align-items: center;
	margin-bottom: 3rem;
}
#products .carousel .stripe > a:hover {
	text-decoration: none;
}

#products .carousel .stripe h2 {
	margin: 0;
	font-size: 1.5rem;
  line-height: 120%;
}
#products .carousel .stripe p {
	margin-top: 0.25rem;
	font-size: 1rem;
  line-height: 1.125rem;
	text-align: center;
}

#products .carousel .stripe .image {
	width: 100%; height: 24rem;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

#products .carousel .stripe > a:nth-of-type(1) .image { background-image: url("../data/OKCE.jpg"); }
#products .carousel .stripe > a:nth-of-type(2) .image { background-image: url("../data/OKC1M.jpg"); }
#products .carousel .stripe > a:nth-of-type(3) .image { background-image: url("../data/NTR-HP.jpg"); }
#products .carousel .stripe > a:nth-of-type(4) .image { background-image: url("../data/NTR-HV.jpg"); }

#products .carousel .stripe .cta {
	font-weight: bold;
	font-size: 1.25rem; line-height: 120%;
	color: var(--blue-light);
	border: 0.25rem solid;
	border-color: var(--blue-light);
	padding: 0.5rem 1.5rem;
	background-color: transparent;
}
#products .carousel .stripe > a:hover .cta {
	color: #fff;
	background-color: var(--blue-light);
	animation: pulse 0.25s ease-out 2 forwards;
}

#products .carousel .arrow {
	width: 5rem; height: 100%;
	top: 0;
	position: absolute;
	display: none;
}
#products .carousel .arrow.left {	left: 0; }
#products .carousel .arrow.right { left: calc(100% - 5rem); }

#products .carousel[data-offset="3"] .arrow.right { display: none !important; }
#products .carousel[data-offset="0"] .arrow.left { display: none !important; }

#products .carousel .arrow div {	
	position: absolute;
	width: 3rem; height: 3rem;
	top: calc(50% - 1.5rem);
	background-color: #fff;
	background-size: auto 67%;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("../images/arrow.svg");
	opacity: 0.75;
}
#products .carousel .arrow.left div {	
	left: 0;
	transform: scaleX(-1);
}
#products .carousel .arrow.right div {	
	right: 0;
}
#products .carousel .arrow:hover div {	
	opacity: 1;
}

@media (max-width: 1600px){
	#headline img.hugo {	right: 5rem; }
  #headline:hover img.hugo {	right: 9rem; }
	
	#headline img.boilery {	right: 27rem; }
  #headline:hover img.boilery {	right: 22rem; }
}

@media (max-width: 1280px){
  
}


@media (max-width: 500px){
	
#portfolio a {
	width: 100%;
}
	
#about .middle .flex > div:nth-of-type(2) {
	width: 100%;
	margin-top: 2rem;
}
#about .middle .flex > div:nth-of-type(1) {
	margin-left: 6.1rem;
}

#products .carousel {
	height: 34rem;
}
#products .carousel .stripe {
	width: 400%;
	position: absolute;
}	
#products .carousel .stripe a {
	width: 25%;
}
	
#products .carousel[data-offset="1"] .stripe { left: -100%; }
#products .carousel[data-offset="2"] .stripe { left: -200%; }
#products .carousel[data-offset="3"] .stripe { left: -300%; }
	
#products .carousel .arrow {
	display: block;
}

#dealer .hungary {
	transform: skewX(-25deg);
	margin-right: 1.5rem;
}	
#dealer .hungary > div {
	height: 3.33rem;
}
	
#headline img.hugo {
	bottom: 0; 
	right: calc((100% - 25rem) / 2 + 0.75rem);
	width: 13.875rem; height: auto;
}
#headline img.boilery {
	bottom: 1.5rem; 
	right: calc((100% - 25rem) / 2 + 12.75rem);
	width: 11.175rem; height: auto;
}
	
#headline .copy {
	top: 0rem; 
	left: calc((100% - 25rem) / 2);
	-webkit-transform: scale(.8,.8); transform: scale(.8,.8);
}
	
#headline:hover .copy {
	-webkit-transform: scale(1,1); transform: scale(1,1);
}
#headline:hover .hugo {
	right: calc((100% - 25rem) / 2 + 0.75rem);
}
#headline:hover .boilery {
	right: calc((100% - 25rem) / 2 + 12.75rem);
}
	
}

