﻿* {
	padding:0;
	margin:0;
}

html {
	width: 100%;
	height: 100%;
}

body {
	font-family: 'Baloo Thambi 2', sans-serif;
	font-size:14px;
	color: #3e454c;
	line-height: 1.7em;
  	letter-spacing: 1.2px;
  	word-spacing: 1px;
  	transition: background-color .5s;
}

.container {
	width: 1200px;
	margin: 0 auto;
}

.my_gold {
	color: #cce643;
}

header {
	height: 120px;
	width: 100%;
	z-index: 1001;
}


#logo {
	width: 120px;
	height: 120px;
}

.sidenav {
  height: 100vh;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  text-decoration: none;
  font-size: 20px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav_el {
	padding: 8px 8px 8px 80px;
 	line-height: 1.6em;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 30px;
  margin-left: 50px;
  margin-top: 20px;
  color: #cce643;
}


#side_butt{
	float: right;
	position: fixed;
	left: 90%;
	margin-top: 40px;
}

#side_butt_in{
	background-color: #cce643;
	width: 25px;
	height: 20px;
	padding: 10px;
	margin: 0;
}

#side_contact {
	margin-left: 80px;
	margin-top: 150px;
	color: #5f5f5f;
}

#slider {
  height: 100vh;
  background-image: url('../img/main.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

#slider_text {
	position: absolute;
 	left: 50%;
 	top: 50%;
 	-webkit-transform: translate(-50%,-50%);
 	-moz-transform: translate(-50%,-50%);
 	transform: translate(-50%,-50%);
 	text-align: center;
}

#slider .title {
  font-size: 45px;
  line-height: 1.5em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  background-color: #cce643;
  padding: 5px 30px 5px 30px;
  color: #111;
}

#slider .caption {
  line-height: 1.6em;
  margin-bottom: 30px;
  background-color: white;
  padding: 5px 20px 5px 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  float: left;
  margin-top: -5px;
}

#about {
 	padding-top: 150px;
  	padding-bottom: 150px;
  	display: table;
}

#about_left {
	float: left;
	width: 47%;
}

#about_left h1 {
	font-size: 100px;
	font-weight: 100;
	margin-bottom: 50px;
	margin-top: 30px;
}

#about_left h2 {
	font-weight: 100;
	color: #111;
	line-height: 1.6em;
}

#about_right {
	float: right;
	width: 47%;
	text-align: justify;
}

#offer {
	width: 100%;
	background-color: #f1f1f1;
}

#offer_in {
 	padding-top: 150px;
  	padding-bottom: 150px;
  	display: table;
  	text-align: center;
}


#offer_in h1 {
	font-size: 45px;
	margin-bottom: 70px;
	line-height: 1em;
}

#offer_in h2 {
	margin-bottom: 10px;
	margin-top: 20px;
}

#offer_in h4{
	margin-top: -30px;
	font-size: 10px;
	letter-spacing: 1.6em;
	margin-bottom: 20px;
}


#offer1 {
	width: 20%;
	height: 200px;
	float: left;
}

#offer2 {
	width: 20%;
	height: 200px;
	float: left;
}

#offer3 {
	width: 20%;
	height: 200px;
	float: left;
}

#offer4 {
	width: 20%;
	height: 200px;
	float: left;
}

#offer_empty {
	float: left;
	width: 6.66%;
	height: 200px;
}


.offer_icon {
	width: 50px;
	height: 50px;
	margin: 0 auto;
}

#portfolio {
	width: 100%;
}

#portfolio_in {
 	padding-top: 150px;
  	padding-bottom: 150px;
  	display: table;
  	text-align: center;
}


#portfolio_in h1 {
	font-size: 45px;
	margin-bottom: 70px;
	line-height: 1em;
}


#portfolio_in h4{
	margin-top: -30px;
	font-size: 10px;
	letter-spacing: 1.6em;
	margin-bottom: 20px;
}


#project1 {
	background-size: 100%;
	background-image: url('../img/portfolio/p1m.jpg');
	background-position: top;
}

#project2 {
	background-size: 100%;
	background-image: url('../img/portfolio/p2m.jpg');
	background-position: center;
}
#project3 {
	background-size: 100%;
	background-image: url('../img/portfolio/p3m.jpg');
	background-position: top;
}
#project4 {
	background-size: 100%;
	background-image: url('../img/portfolio/p4m.jpg');
	background-position: center;
}
#project5 {
	background-size: 100%;
	background-position: top;
	background-image: url('../img/portfolio/p5m.jpg');
}
#project6 {
	background-size: 100%;
	background-image: url('../img/portfolio/p6m.jpg');
	background-position: top;
}

.project_empty_a {
	float: left;
	width: 5%;
	height: 250px;
}

.project_empty_b {
	float: left;
	width: 5%;
	height: 250px;
}

.project_empty_c {
	float: left;
	width: 5%;
	height: 250px;
}

.project_empty_d {
	float: left;
	width: 5%;
	height: 250px;
}

.project_empty2 {
	float: left;
	width: 100%;
	height: 50px;
}


.project {
	width: 30%;
	float: left;
	height: 250px;
	-webkit-box-shadow: 0px 0px 9px 5px rgba(0,0,0,0.11);
	-moz-box-shadow: 0px 0px 9px 5px rgba(0,0,0,0.11);
	box-shadow: 0px 0px 9px 5px rgba(0,0,0,0.11);
}

.project_caption {
	float: left;
	width: 100%;
	height: 100%;
	transition: 0.5s;
	position: relative;
	opacity: 0;
	background-color: #cce643;
}

.project_caption_in {
	transition: 0.5s;	
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  	-ms-transform: translate(-50%, -50%);
  	text-align: center;
}

.project:hover .project_caption {
	opacity: 0.9;
}

.project_caption p {
	font-size: 20px;
	padding-bottom: 40px;
	-webkit-transform: translateY(-10px);
 	 -moz-transform: translateY(-10px);
 	 transform: translateY(-10px);
 	 -webkit-transition: transform 0.3s ease-in-out;
 	 -moz-transition: transform 0.3s ease-in-out;
 	 -ms-transition: transform 0.3s ease-in-out;
 	 -o-transition: transform 0.3s ease-in-out;
 	 transition: transform 0.3s ease-in-out;
}

.project_caption:hover p{
	-webkit-transform: translateY(10px);
 	 -moz-transform: translateY(10px);
 	 transform: translateY(10px);
 	 -webkit-transition: transform 0.3s ease-in-out;
 	 -moz-transition: transform 0.3s ease-in-out;
 	 -ms-transition: transform 0.3s ease-in-out;
 	 -o-transition: transform 0.3s ease-in-out;
 	 transition: transform 0.3s ease-in-out;
}

.project_caption:hover .project_caption_link {
	-webkit-transform: translateY(-10px);
 	 -moz-transform: translateY(-10px);
 	 transform: translateY(-10px);
 	 -webkit-transition: transform 0.3s ease-in-out;
 	 -moz-transition: transform 0.3s ease-in-out;
 	 -ms-transition: transform 0.3s ease-in-out;
 	 -o-transition: transform 0.3s ease-in-out;
 	 transition: transform 0.3s ease-in-out;
}


.project_caption_link a {
	text-decoration: none;
	color: gray;
	font-size: 10px;
	background-color: white;
	padding: 5px;
}

.project_caption_link {
	-webkit-transform: translateY(10px);
 	 -moz-transform: translateY(10px);
 	 transform: translateY(10px);
 	 -webkit-transition: transform 0.3s ease-in-out;
 	 -moz-transition: transform 0.3s ease-in-out;
 	 -ms-transition: transform 0.3s ease-in-out;
 	 -o-transition: transform 0.3s ease-in-out;
 	 transition: transform 0.3s ease-in-out;
}


#contact {
	width: 100%;
	background-color: #171717;
}

#contact_in {
 	padding-top: 150px;
  	padding-bottom: 110px;
  	display: table;
  	text-align: center;
}

#contact_in h1 {
	font-size: 45px;
	margin-bottom: 70px;
	color: white;
	line-height: 1em;
}


#contact_in h4{
	margin-top: -30px;
	font-size: 10px;
	letter-spacing: 1.6em;
	margin-bottom: 20px;
	color: white;
}



.form {
    margin:3rem auto;
    max-width:500px;
}
.form .form-row {
    margin-bottom:1rem;
}
.form .form-row:last-child {
    margin-bottom: 0;
}
.form input[type=text],
.form input[type=email],
.form textarea,
.form .checkbox-cnt .state {
    box-shadow:inset 0 1px 5px rgba(0,0,0,0.07);
}
.form input[type=text],
.form input[type=email],
.form textarea {
    padding-top:5px;
    padding-bottom: 5px;
    border: none;
    border-bottom:1px solid #383838;
    display: block;
    width:100%;
    color:#666;
    background-color: #171717;
     font-family: 'Baloo Thambi 2', sans-serif;
}
.form input[type=text]:focus,
.form input[type=email]:focus,
.form textarea:focus {
    outline:none;
}
.form textarea {
    height:90px;
    min-height: 90px;
   	max-width: 100%;
   	font-family: 'Baloo Thambi 2', sans-serif;
}
.form label {
    font-weight:bold;
    display: block;
    font-size:0.9rem;
}
.form .submit-btn {
    padding:10px;
    background: #cce643;
    border:0;
    color:#111;
    font-size:1.1rem;
    font-weight: bold;
    transition: 0.3s background-color;
    font-family: 'Baloo Thambi 2', sans-serif;
    margin-top: 50px;
    transition: 0.3s;
    opacity: 0.5;
}

.submit-btn:hover {
	opacity: 1;
}

/* walidacja */
.form input[type=text].error,
.form input[type=email].error,
.form textarea.error,
.form .checkbox-cnt input.error ~ .state {
    border-color:##E01546;
}
.field-error {
    color:##E01546;
    padding:0.5rem 0;
    font-size:0.8rem;
}

footer {
	width: 100%;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 80px;
	background-color: #171717;
}

#fb {
	width: 30px;
	height: 30px;
	margin: auto;
	border-radius: 30px;
	border: 1px solid #3e454c;
	transition: 0.3s;
}

#fb img {
	width: 30px;
	height: 30px;
}

#fb:hover {
	opacity: 0.4;
}

#social p {
	margin-top: 40px;
}





@media (min-width: 1100px) { /*komputer*/
.container {width:1050px;}
}

@media (max-width: 1100px) and (min-width: 1000px) { /*tablet_poziom*/
.container {width:950px;}
.project {height: 225px;}
.project_empty_a{height: 225px;}
.project_empty_b{height: 225px;}
.project_empty_c{height: 225px;}
.project_empty_d{height: 225px;}
.project_empty2{height: 40px;}
.wow{animation-name: none !important; visibility: visible !important;}

}

@media (max-width: 1000px) and (min-width: 800px) { /*tablet_pion*/
.container {width:750px;}
.project {height: 175px;}
.project_empty_a{height: 175px;}
.project_empty_b{height: 175px;}
.project_empty_c{height: 175px;}
.project_empty_d{height: 175px;}
.project_empty2{height: 30px;}

.wow{animation-name: none !important; visibility: visible !important;}
}

@media (max-width: 800px) and (min-width: 650px) { /*telefon_poziom*/
.container {width:90%;}
.project {height: 135px;}
.project_empty_a{height: 135px;}
.project_empty_b{height: 135px;}
.project_empty_c{height: 135px;}
.project_empty_d{height: 135px;}
.project_empty2{height: 25px;}
.form {max-width:400px;}
.sidenav_el {padding: 5px 5px 5px 80px;line-height: 1.2em;}
#side_contact{display: none;}
#slider .title {font-size: 35px;}
#slider .caption{font-size: 10px;}
#slider_text{margin-top: 30px;}
.wow{animation-name: none !important; visibility: visible !important;}
}

@media (max-width: 650px) and (min-width: 500px) { /*telefon_poziom*/
.container {width:90%;}
.project {height: 155px; width: 47%; margin-bottom:20px; }
.project_empty_a{height: 155px; width: 6%;}
.project_empty_b{height: 155px; width: 0%;}
.project_empty_c{height: 155px; width: 0%;}
.project_empty_d{height: 155px; width: 6%;}
.project_empty2{width: 6%;}
.form {max-width:350px;}
#side_butt{left: 85%;}
#about_left {width: 100%;}
#about_right{width: 100%; margin-top: 30px;}
#offer1{width: 49%;}
#offer2{width: 49%; float: right;}
#offer3{width: 49%;}
#offer4{width: 49%; float: right;}
#offer_empty{display: none;}
#about{width: 80%;}
.sidenav_el {padding: 5px 5px 5px 80px;line-height: 1.2em;}
#side_contact{display: none;}
#slider .title {font-size: 35px;}
#slider .caption{font-size: 10px;}
#slider_text{margin-top: 30px;}
.wow{animation-name: none !important; visibility: visible !important;}
}



@media (max-width: 500px) { /*telefon_pion*/
.container {width:90%;}
.project {height: 220px; width: 90%; margin-bottom:20px; margin-left: 5%;}
.project_empty_a{height: 305px; width: 0%;}
.project_empty_b{height: 305px; width: 0%;}
.project_empty_c{height: 305px; width: 0%;}
.project_empty_d{height: 305px; width: 0%;}
.project_empty2{height: 0px;}
.form {max-width:300px; }
#side_butt{left: 85%;}
#about{width: 80%;}
#about_left {width: 100%;}
#about_right{width: 100%; margin-top: 30px;}
#offer1{width: 49%;}
#offer2{width: 49%; float: right;}
#offer3{width: 49%; margin-top: 60px;}
#offer4{width: 49%; float: right; margin-top: 60px;}
#offer_empty{display: none;}
#slider .title {font-size: 35px;}
#slider .caption{font-size: 10px;}
.wow{animation-name: none !important; visibility: visible !important;}

}