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

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

body {
	font-family: 'Oswald', sans-serif;
	font-size:14px;
	color: #444444;
	line-height: 1.7em;
  letter-spacing: 1.2px;
  word-spacing: 1px;
}

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

header {
  height: 100px;
  width: 100%;
  background-color: white;
}

#main_header {
  height: 100px;
}

#main_logo {
  width: 100px;
  height: 100px;
  float: left;
}

#main_menu {
  float: right;
  margin-top: 30px;

}

.topnav {
  overflow: hidden;
}

.topnav a {
  float: left;
  display: block;
  text-align: center;
  padding: 5px 2px;
  text-decoration: none;
  font-size: 17px;
  color: #444444;
  background-color: white;
  margin-left: 12px;

}

.topnav a:hover {
  color: #a6a6a6;
}

.topnav a.active {
  border-bottom: 3px solid #f5821f; 
}

.topnav .icon {
  display: none;
}

.main_photo {
  height: 580px;
}


.main_photo2 {
    height: 400px;
}

#main_photo_text {
  text-align: center;
  color: white;
  display: table;
}

#main_photo_text a {
  display: inline-block;
  margin-top: 50px;
 }

 #main_photo_text a:hover {
  opacity: 0.9;
 }

#main_photo_text h1 {
  font-size: 90px;
  margin-top: 140px;
  font-weight: 400;
}

#main_photo_text h2 {
  font-size: 30px;
  margin-top: 60px;
  font-weight: 400;
}

.button {
  padding: 20px;
  background-color: #f5821f;
  text-decoration: none;
  color: white;
}

#under_main_photo {
  height: 200px;
  width: 100%;
  background-color: #f3f3f3;
  background-image: url('../img/gray.png');
  background-position: center;
}

#main_offer {
  height: 280px;
  display: table;
  margin-top: -340px;
  text-align: center;
  box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.2);
  background-color: white;
}

.offer {
  width: 24.9%;
  height: 100%;
  display: table;
  float: left;
}

.offer_icon {
  width: 100%;
  margin-bottom: 30px;
}

.offer h1 {
  font-weight: 400;
}

.offer h3 {
  color:#818181;
  font-weight: 400;
  padding: 15px;
}

.offer a {
  color: #f5821f;
  text-align: center;
}

.offer_icon img {
  margin-top: 30px;
}
.main_border1 {
}
.main_border2 {
}
.main_border3 {
}
.main_border4 {
}

#welcome {
  display: table;
  margin-top: 120px;
}

#welcome_left {
  width: 45%;
  float: left;
}

#welcome_left h1 {
  font-size: 75px;
  font-weight: 400;
  margin-top: 20px;
}

#welcome_left h2 {
  font-size: 35px;
  font-weight: 400;
  color: #f5821f;
  margin-top: 40px;
}

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

#welcome_right {
  width: 51%;
  float: right;
  background-image: radial-gradient(#f3f3f3 2px, transparent 2px);
  background-size: 15px 15px;
}

#welcome_right img {
  float: right;
  margin-top: 50px;
  margin-right: -30px;
}

#counters {
  height: 230px;
  width: 100%;
  background-color: #f5821f;
  margin-top:50px;
}


.counter {
  font-size: 100px;
  color: white;
  font-weight: 300;
  margin-top: 70px;
  display: inline-block;
}

.counterp {
  font-size: 100px;
  color: white;
  font-weight: 300;
  margin-top: 70px;
  display: inline-block;
}


.counter1 {
  width: 33%;
  height: 230px;
  float: left;
  text-align: center;
  border-left: 1px solid #fbd1ac;
}

.counter2 {
  width: 33%;
  height: 230px;
  float: left;
  text-align: center;
  border-left: 1px solid #fbd1ac;
}

.counter3 {
  width: 33%;
  height: 230px;
  float: right;
  text-align: center;
  border-left: 1px solid #fbd1ac;
  border-right: 1px solid #fbd1ac;
}

#counters p {
  color: white;
  font-size: 18px;
  margin-top: 40px;
}

#last_projects {
  display: table;
  margin-bottom: 60px;
}

.main_tittle {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 60px;
}

.main_tittle h3 {
  color: #f5821f;
  letter-spacing: 3px;
}

.main_tittle h1 {
  font-size: 50px;
  font-weight: 400;
  margin-top: 10px;
}

.project {
  width: 32%;
  height: 250px;
  float: left;
}

.lastp1 {
  background-image: url('../img/last1.jpg');
  background-repeat: no-repeat;
  background-position: center;
}

.lastp2 {
  background-image: url('../img/last2.jpg');
  background-repeat: no-repeat;
  background-position: center;
}

.lastp3 {
  background-image: url('../img/last3.jpg');
  background-repeat: no-repeat;
  background-position: center;
}

.lastpemp {
  width: 2%;
  height: 250px;
  float: left;
}

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

.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: 12px;
  background-color: #f5821f;
  padding: 5px;
  color: white;
}

.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;
}

footer {
  width: 100%;
  display: table;
  background-color: #3a3a3a;
}

.footer_in_element {
  float: left;
  margin-top: 37px;
  margin-right: 40px;
}

#footer_in h1{
  color: #c5c5c5;
  font-weight: 400;
}

#footer_in h2{
  color: #8b8b8b;
  margin-top: 3px;
}

#rights {
  float: left;
  margin-top: 30px;
  color: #8b8b8b;
  text-align: right;
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

#rights a {
  text-decoration: none;
  color: #8b8b8b;
}

#contact {
  display: table;
  margin-top: 10px;
  margin-bottom: 50px;
}

#contact_left {
  width: 30%;
  float: left;
  text-align: right;
}

#contact_left p {
  width: 100%;
  float: left;
}

#contact_left img {
}

#contact_form {
  width: 65%;
  float: right;
}

* {
    box-sizing: border-box;
}

.form {
    margin:0 auto;
    font-family:sans-serif;
    max-width:40rem;
}
.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 .honey-row {
    display:none;
}

.form input[type=text],
.form input[type=email],
.form textarea {
    border-radius:0.2rem;
    font-family:sans-serif;
    padding:0.8rem;
    border:1px solid #aaa;
    display: block;
    width:100%;
    color:#666;
    max-width: 100%;
}
.form input[type=text]:focus,
.form input[type=email]:focus,
.form textarea:focus {
    border-color:#9DC9F5;
    box-shadow:inset 0 0 0 1px #9DC9F5, inset 0 1px 5px rgba(0,0,0,0.07);
    outline:none;
}
.form textarea {
    height:10rem;
}
.form label {
    font-weight:bold;
    display: block;
    font-size:0.9rem;
    margin-bottom:0.5rem;
}
.form .submit-btn {
    font-family: sans-serif;
    padding:1rem 2rem;
    background: #f5821f;
    border:0;
    border-radius:0.2rem;
    color:#fff;
    font-size:1.1rem;
    font-weight: bold;
    transition: 0.3s background-color;
}

/* checkbox */
.form .submit-btn:hover {
    background: #ffa337;
}
.form .checkbox-cnt {
    padding-left:3rem;
    position: relative;
    font-weight: normal;
    font-size:0.85rem;
    line-height: 1.1rem;
    color:#444;
    cursor: pointer;
}
.form .checkbox-cnt .state {
    width:2rem;
    height: 2rem;
    display: block;
    position: absolute;
    left:0;
    top:0;
    border:1px solid #aaa;
    border-radius:0.2rem;
}
.form .checkbox-cnt .state:before {
    width:1rem;
    height: 1rem;
    border-radius:0.2rem;
    background: #70B81B;
    display: block;
    position: absolute;
    left:50%;
    top:50%;
    content:'';
    transform:translate(-50%, -50%) scale(1);
    opacity:0;
}
.form .checkbox-cnt input:checked ~ .state:before {
    animation: checkboxShowAnim 0.5s 1;
    opacity: 1;
}
.form .checkbox-cnt input {
    position:absolute;
    top:0; left:0;
    width:2rem;
    height: 2rem;
    z-index: 2;
    cursor:pointer;
    padding:0;
    margin:0;
    opacity: 0;
}
@keyframes checkboxShowAnim {
    0%  { border-radius:50%; transform:translate(-50%, -50%) scale(0.2); }
    50% { transform:translate(-50%, -50%) scale(1.2); }
    100% { transform:translate(-50%, -50%) scale(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;
}

@media screen and (max-width:500px) {
    .form .submit-btn {
        display: block;
        width: 100%;
    }
}


#realizacje {
  display: table;
  margin-top: 10px;
  margin-bottom: 80px;
}

.real{
  width: 25%;
  float: left;
  text-align: center;

}

#realizacje img {
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-bottom: 30px;
}

#realizacje a {
  text-decoration: none;
  padding: 10px;
  background-color: #f5821f;
  color: white;
  width: 70%;
  font-size: 20px;
  margin: 0 auto;
  display: table;
  transition: 0.3s background-color;
}

#realizacje a:hover {
    background: #ffa337;
}

#rea1 {
}

#rea2 {
}

#rea3 {
}

#rea4 {
}

#realizacje_in {
  margin-bottom: 50px;
}

#galeria {
}

#galeria img {
  margin: 14px;
  transition: 0.5s transform;

}



#galeria img:hover {
  transform: scale(1.05);
}

#oferta {
  display: table;
  margin-bottom: 50px;
}

#oferta p {
    text-align: justify;
}

.oferta_1{
  float: left;
}

.oferta_1 h2 {
  font-size: 35px;
  font-weight: 400;
  color: #f5821f;
  line-height: 1.2;
}

.oferta_1 p {
  margin-top: 20px;

}

.oferta_1 img {
  float: right;
  margin-left: 50px;
  margin-top: 0px;
  width: 40%;
   margin-bottom: 30px;
}

.oferta_2{
  float: left;
  margin-top: 70px;
}

.oferta_2 h2 {
  font-size: 35px;
  font-weight: 400;
  color: #f5821f;
  line-height: 1.2;
}

.oferta_2 p {
  margin-top: 20px;
}

.oferta_2 img {
  float: left;
  margin-right: 50px;
  margin-top: 0px;
  width: 40%;
  margin-bottom: 30px;
}

.oferta_3{
  float: left;
  margin-top: 70px;
}

.oferta_3 h2 {
  font-size: 35px;
  font-weight: 400;
  color: #f5821f;
  line-height: 1.2;
}

.oferta_3 p {
  margin-top: 20px;

}

.oferta_3 img {
  float: right;
  margin-left: 50px;
  margin-top: 0px;
  width: 40%;
   margin-bottom: 30px;
}

.oferta_4{
  float: left;
  margin-top: 70px;
}

.oferta_4 h2 {
  font-size: 35px;
  font-weight: 400;
  color: #f5821f;
  line-height: 1.2;
}

.oferta_4 p {
  margin-top: 20px;
}

.oferta_4 img {
  float: left;
  margin-right: 50px;
  margin-top: 0px;
  width: 40%;
   margin-bottom: 30px;
}




@media (min-width: 1100px) { /*komputer*/
.container {width:1050px;}
.main_border2 {border-left: 1px solid #818181;}
.main_border3 {border-left: 1px solid #818181;}
.main_border4 {border-left: 1px solid #818181;}

}

@media (max-width: 1100px) and (min-width: 1000px) { /*tablet_poziom*/
.container {width:950px;}
.wow{animation-name: none !important; visibility: visible !important;}
.main_photo {height: 420px;}
#main_offer {height: 260px;}
.main_border2 {border-left: 1px solid #818181;}
.main_border3 {border-left: 1px solid #818181;}
.main_border4 {border-left: 1px solid #818181;}
#main_photo_text h1 {font-size: 70px; margin-top: 60px;}
#main_photo_text h2 {font-size: 30px; margin-top: 40px;}
#main_photo_text a {margin-top: 30px;}
#galeria img {margin: 16px; width: 200px}
}
 
@media (max-width: 1000px) and (min-width: 800px) { /*tablet_pion*/
.container {width:750px;}
.wow{animation-name: none !important; visibility: visible !important;}
.main_photo {height: 350px;}
#under_main_photo {height: 150px;}
#main_offer {height: 210px; margin-top:-260px;}
.offer_icon {margin-bottom: 15px;}
.offer_icon img{height: 35px; margin-top: 15px;}
.offer h1 {font-size: 22px;}
.offer h3 {font-size: 14px;}
.main_border2 {border-left: 1px solid #818181;}
.main_border3 {border-left: 1px solid #818181;}
.main_border4 {border-left: 1px solid #818181;}
#main_photo_text h1 {font-size: 70px; margin-top: 50px;}
#main_photo_text h2 {font-size: 30px; margin-top: 40px;}
#main_photo_text a {margin-top: 20px;}
.button {padding: 10px;}
#welcome_right img {width: 400px;}
.counter {font-size: 80px;}
#counters p {font-size: 14px;}
.counterp {font-size: 80px;}
#footer_in h1{font-size: 22px;} #footer_in h2{font-size: 14px;}
#galeria img {margin: 15px; width: 216px}
}

@media (max-width: 800px) and (min-width: 650px) { /*telefon_poziom*/
.container {width:90%;}
.wow{animation-name: none !important; visibility: visible !important;}
.main_photo {height: 300px;}
#under_main_photo {height: 150px;}
#main_offer {height: 210px; margin-top:-250px;}
.offer {width: 24.8%;}
.offer_icon {margin-bottom: 15px;}
.offer_icon img{height: 35px; margin-top: 15px;}
.offer h1 {font-size: 22px;}
.offer h3 {font-size: 14px;}
.main_border2 {border-left: 1px solid #818181;}
.main_border3 {border-left: 1px solid #818181;}
.main_border4 {border-left: 1px solid #818181;}
#main_photo_text h1 {font-size: 55px; margin-top: 40px;}
#main_photo_text h2 {font-size: 20px; margin-top: 30px;}
#main_photo_text a {margin-top: 20px;}
.button {padding: 10px;}
#welcome_left {width: 100%;}
#welcome_right {width: 100%; margin-top: 30px;}
#welcome_right img {float: left; margin-left: 20px; margin-top: 20px; width: 90%;}
.counter {font-size: 60px;}
#counters p {font-size: 18px;}
.counterp {font-size: 60px;}
.project {height: 200px;}
.lastpemp {height: 200px;}
#footer_in h1 {font-size: 22px;} #footer_in h2{font-size: 14px;}
#galeria img {margin: 9px; width: 46%}
}

@media (max-width: 650px) and (min-width: 500px) { /*telefon_poziom*/
.container {width:90%;}
.wow{animation-name: none !important; visibility: visible !important;}
.main_photo {height: 450px;}
.offer {width: 49.8%; height: 50%;}
.offer_icon {margin-bottom: 15px;}
.offer_icon img{height: 35px; margin-top: 15px;}
.offer h1 {font-size: 22px;}
.offer h3 {font-size: 14px;}
#main_offer {height: 410px; margin-top:-350px;}
.main_border1 {border-bottom: 1px solid #818181;}
.main_border2 {border-bottom: 1px solid #818181; border-left: 1px solid #818181;}
.main_border4 {border-left: 1px solid #818181;}
#main_photo_text h1 {font-size: 55px; margin-top: 40px; line-height: 1em;}
#main_photo_text h2 {font-size: 20px; margin-top: 30px;}
#main_photo_text a {margin-top: 20px;}
.button {padding: 10px;}
#welcome {margin-top: 50px;}
#welcome_left {width: 100%;}
#welcome_right {width: 100%; margin-top: 30px;}
#welcome_right img {float: left; margin-left: 20px; margin-top: 20px; width: 90%;}
.counter {font-size: 40px;}
#counters p {font-size: 14px;}
.counterp {font-size: 40px;}
.project {height: 180px;}
.lastpemp {height: 180px;}
#footer_in h1 {font-size: 22px;} #footer_in h2{font-size: 14px;}
#galeria img {margin: 10px; width: 44%}
.oferta_1 img {width: 50%;}
.oferta_2 img {width: 50%;}
.oferta_3 img {width: 50%;}
.oferta_4 img {width: 50%;}
}



@media (max-width: 500px) { /*telefon_pion*/
.container {width:90%;}
.wow{animation-name: none !important; visibility: visible !important;}
.main_photo {height: 450px;}
.offer {width: 49.8%; height: 50%;}
.offer_icon {margin-bottom: 15px;}
.offer_icon img{height: 35px; margin-top: 15px;}
.offer h1 {font-size: 22px;}
.offer h3 {font-size: 14px;}
#main_offer {height: 410px; margin-top:-350px;}
.main_border1 {border-bottom: 1px solid #818181;}
.main_border2 {border-bottom: 1px solid #818181; border-left: 1px solid #818181;}
.main_border4 {border-left: 1px solid #818181;}
#main_photo_text h1 {font-size: 55px; margin-top: 40px; line-height: 1em;}
#main_photo_text h2 {font-size: 20px; margin-top: 30px;}
#main_photo_text a {margin-top: 20px;}
.button {padding: 10px;}
#welcome {margin-top: 50px;}
#welcome_left {width: 100%;}
#welcome_right {width: 100%; margin-top: 30px;}
#welcome_right img {float: left; margin-left: 20px; margin-top: 20px; width: 90%;}
.counter1 {width: 33%; height: 230px;} 
.counter2 {width: 33%; height: 230px;} 
.counter3 {width: 33%; height: 230px;} 
.counter {font-size: 40px; }
.counterp {font-size: 40px;}
#counters p {font-size: 14px;}
.project {width: 100%; margin-top: 20px;} .lastpemp {display: none;}
#contact_left {width: 100%; text-align: center;}  #contact_form {width: 100%; margin-top: 40px;}
#realizacje a {font-size: 15px;}
#galeria img {margin: 10px; width: 90%}
.oferta_1 img {width: 90%;}
.oferta_2 img {width: 90%;}
.oferta_3 img {width: 90%;}
.oferta_4 img {width: 90%;}
}








@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav a {
    padding: 15px;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}