/*
Theme Name: MMBud
Theme URI: https://mmbud.eu
Author: BITCOMP Beata Gubernat
Author URI: https://bitcomp.pl
Description: Theme created for M&M BUD company.
Version: 1.0
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: mmbud
*/


html{
	font-size: 10px;
}

body{
	background-color: #000;
	font-family: 'Montserrat', sans-serif;
}

nav{
	position: fixed;
	top: 0;
	left: 50%;
	transform: translate(-50%);
	width: 100%;
	text-align: center;
	padding-top: 3.6rem;
	z-index: 999;
	transition: all .2s linear;
}

nav.afix{
	background-color: rgba(0,0,0,  0.6);
	padding: 3rem;
}
nav.afix .logotype{
	width: 7rem;
	transition: all .2s linear;
}

nav.afix .logotype img{
	width: 100%;
}

.mobile-toggle{
	position: absolute;
	right: 2rem;
	top: 2rem;
	font-size: 3rem;
	color: #FFF;
	display: none;
	z-index: 9;
	cursor: pointer;
}
.links{
	display: inline-block;
	vertical-align: middle;
}

.logotype{
	display: inline-block;
	vertical-align: middle;
}

.links li{
	display: inline-block;
	padding-right: 6.5rem;
	font-size: 2rem;
	font-weight: 600;
	color: #FFF;
}

.links li a{
	color: #FFF;
	text-decoration: none;
}
.links li a:hover{
	color: #d09f86;
	text-decoration: none;
	transition: all .1s linear;
	text-shadow: 1px 1px 3px black;
}

.links li a.active{
	color: #d09f86;
	text-decoration: none;
	transition: all .1s linear;
	text-shadow: 1px 1px 3px black;
}

header{
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	background-attachment: fixed;
}

header:before{
	width: 100%;
	height: 100%;
	background-color: #000;
	content: '';
	display: block;
	opacity: 0.45;
}

header h1{
	font-size: 5.3rem;
	font-weight: 300;
	font-style: italic;
	color: #FFF;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}
#about-us{
	background-color: #e8ebf4;
	position: relative;
	padding: 6rem 0 5rem 0;
}

#about-us h2{
	font-size: 3.6rem;
	font-weight: 700;
	color: #8f5537;
	margin-bottom: 4rem;
}

#about-us p{
	font-size: 1.8rem;
	color: #000;
	margin-bottom: 4rem;
}

#about-us a{
	font-size: 1.8rem;
	color: #fff;
	padding: 1.4rem;
	background-color: #8f5537;
	border-radius: 8px;
	display: inline-block;
	border: 1px solid #8f5537;
	transition: all .2s linear;
}

#about-us a:hover{
	background-color: #e8ebf4;
	color: #8f5537;
	text-decoration: none;
}

#about-us .img-cont{
	width: 45rem;
    display: inline-block;
}

#about-us .img-cont img{
	width: 100%;
}

#about-us:before{
	content: '';
	display: block;
	position: absolute;
	top: -11rem;
	left: 0;
	background-image: url('images/about-top.svg');
	width: 100%;
	height: 14rem;
	background-size: 120%;
	background-position: center;
	background-repeat: no-repeat;
}


#about-us:after{
	content: '';
    display: block;
    position: absolute;
    bottom: -13rem;
    left: 0;
    background-image: url('images/about-bottom.svg');
    width: 100%;
    height: 18rem;
    background-size: 101%;
    background-position: center;
    background-repeat: no-repeat;
	z-index: 2;
}
#sevices {
	background-image: url('images/bathroom.jpg');
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	color: #FFF;
	padding: 25rem;
	position: relative;
}
#sevices h1{
	font-size: 3.6rem;
	font-weight: 300;
	font-style: italic;
	margin-bottom: 6rem;
	position: relative;
}
#sevices i{
	display: inline-block;
	vertical-align: middle;
	font-size: 3.6rem;
	padding-right: 3rem;
	width: 20%;
}
#sevices a{
	text-decoration: none;
	color: #FFF;
}
#sevices h3{
	display: inline-block;
	vertical-align: middle;
	font-size: 2.4rem;
	padding-right: 3rem;
	width: 79%;
}

#sevices p{
	padding: 2.5rem;
	vertical-align: middle;
	font-size: 1.4rem;
	text-align: justify;
	padding-right: 3rem;
}

#sevices:before{
	width: 100%;
	height: 100%;
	background-color: #000;
	content: '';
	display: block;
	opacity: 0.6;
	position: absolute;
	top: 0;
	left: 0;
}

#sevices:after{
	content: '';
    display: block;
    position: absolute;
    bottom: -3rem;
    left: 0;
    background-image: url('images/port-bottom.svg');
    width: 100%;
    height: 18rem;
    background-size: 101%;
    background-position: center;
    background-repeat: no-repeat;
	transform: rotate(180deg) rotateY(180deg);
}


#portfolio{
	background-color: #fff;
	padding: 5rem 0 5rem 0;
	position: relative;
}

#portfolio:after{
	content: '';
    display: block;
    position: absolute;
    bottom: -15rem;
    left: 0;
    background-image: url('images/port-bottom.svg');
    width: 100%;
    height: 18rem;
    background-size: 101%;
    background-position: center;
    background-repeat: no-repeat;
	z-index: 4;
}

#portfolio h1{
	font-size: 3.6rem;
	font-weight: 300;
	font-style: italic;
	margin-bottom: 6rem;
	position: relative;
	color: #005b7f;
}

.port-thumb{
	background-position: center;
	background-size: cover;
	height: 15.8rem;
	width: 30rem;
	border-radius: 10px;
	margin: 2.5rem 5rem;
	position: relative;
	transition: all 0.2s linear;
	cursor: pointer;
}

.port-thumb .mask{
	width: 100%;
	height: 100%;
	background-color: #000;
	content: '';
	display: block;
	opacity: 0;
	position: absolute;
	top: 0;
	border-radius: 10px;
	left: 0;
	transition: all 0.2s linear;
}

.port-thumb h3{
	font-size: 2.4rem;
	font-weight: 100;
	color: #FFF;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: all 0.2s linear;
}


#contact{
	background-image: url('images/contact.jpg');
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	color: #FFF;
}


#contact h2{
	font-size: 3.6rem;
	font-weight: 500;
	font-style: italic;
	margin-bottom: 5rem;
}

#contact .contact-data{
	margin-bottom: 3.5rem;
}

#contact .contact-data i{
	font-size: 3.6rem;
	color: #FFF;
	padding-right: 5rem;
	display: inline-block;
	vertical-align: middle;
}

#contact .contact-data a{
	font-size: 2.4rem;
	color: #FFF;
	display: inline-block;
	vertical-align: middle;
}

#contact .footer-bg{
	width: 100%;
	height: 100%;
	background-color: #000;
	content: '';
	display: block;
	opacity: 0.8;
	padding: 18rem 15rem 11rem 15rem;
}

footer{
	color: #FFF;
	padding: 2.5rem 0;
}
footer span{
	font-size: 1.8rem;
	font-weight: 500;
	position: relative;
	font-style: italic;
}

#single_page{
	background-color: #e8ebf4;
	position: relative;
	padding: 6rem 0 0 0;
}
#single_page:before{
	content: '';
	display: block;
	position: absolute;
	top: -11rem;
	left: 0;
	background-image: url('images/about-top.svg');
	width: 100%;
	height: 14rem;
	background-size: 120%;
	background-position: center;
	background-repeat: no-repeat;
}


#single_page:after{
	content: '';
    display: block;
    position: absolute;
    bottom: -13rem;
    left: 0;
    background-image: url('images/about-bottom.svg');
    width: 100%;
    height: 18rem;
    background-size: 101%;
    background-position: center;
    background-repeat: no-repeat;
	z-index: 2;
}

#single_page p{
	font-size: 1.8rem;
	color: #000;
	margin-bottom: 4rem;
}

#single_page .container{
	padding: 30px 0;
}

@media (max-width: 575.98px) {

}

@media (max-width: 767.98px) {
	#about-us .img-cont {
	    width: 20rem;
		margin-top: 3rem;
	}
	header h1 {
	    font-size: 3.3rem;
	}
}

@media (max-width: 991.98px) {
	.mobile-small{
		height: 60vh !important;
	}
	#sevices {
	    padding: 15rem 0;
	}
	#contact .footer-bg {
		padding: 10rem 0;
	}
	.port-thumb {
		margin: 2.5rem 0;
		width: 100%;
	}
	#about-us:before {
		background-size: 140rem;
		top: -12rem;
		background-position: bottom;
	}
	#about-us:after {
	    background-size: 126.7rem;
	}
	#single_page:before {
		background-size: 140rem;
		top: -12rem;
		background-position: bottom;
	}
	#single_page:after {
	    background-size: 126.7rem;
	}
	#sevices:after {
	    bottom: -6rem;
	  	background-size: 126.7rem;
	}
	#portfolio:after {
	    background-size: 126.7rem;
	    background-position: top;
	}
	#sevices i {
	    font-size: 2.6rem;
		padding-right: 1rem;
	}
	#sevices h3 {
	    font-size: 1.8rem;
	    padding-right: 0rem;
		width: 78%;
	}

	.links {
		position: fixed;
		width: 100%;
		height: 100vh;
	    background-color: rgba(0,0,0,1);
	    display: inline-block;
	    vertical-align: middle;
	    top: 0;
	    left: 50%;
	    transform: translate(-50%, 0%);
	    -ms-transform: translate(-50%, 0%);
	    -webkit-transform: translate(-50%, 0%);
		display: none;
	}
	.links ul {
		padding: 0;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	    -ms-transform: translate(-50%, -50%);
	    -webkit-transform: translate(-50%, -50%);
	}
	.links li {
	    display: block;
	    padding: 3rem 0;
	    font-size: 2rem;
	    font-weight: 600;
	    color: #FFF;
	}

	.mobile-toggle{
		display: block;
	}
}

@media (max-width: 1199.98px) {

}
