* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0px;
    padding: 0px;
}
.akapit{
    margin: 0 0 50px 0
}
.stiki {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
}
#menu a:active {
background-color: rgba(0, 0, 0, 0.7)
}
.active{
 background-color: rgba(0, 0, 0, 0.7)   
}
#menu .active a {
border:0;
background-color: rgba(0, 0, 0, 0.7)
}
#menu .active a:focus{
	outline: none;
border: none;
}
#menu .active a:active {
	outline: none;
border: none;
}
#menu .active a:link {
	outline: none;
border: none;
}


.nav ul {
    list-style: none;
    margin: 40px;
    float: right
}
.nav ul li{
    display: inline-block;
}
.nav ul li a{
    display: block;
    color: #bababa;
    text-transform: uppercase;
    padding: 15px 20px;
    transition: all 0.6s;
    text-decoration: none;
}
.nav ul li a:hover{
    background-color: rgba(0, 0, 0, 0.7)
}

#head {
    background-image: url(../jpg/budynek-mieszkalny-slider1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

.header {
    color: white;
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateY(50%);
    text-align: center;
}

.grow {
    position: relative;
    overflow: hidden;
        display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
}

.grow img {
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.6s;
    overflow: hidden;
}

.grow img:hover {
    -moz-transform: scale(1.3);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    overflow: hidden;
}

a:hover + .prostokat{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    transition: all 0.5s;
    width: 80%;
    height: 40%;
    border: none;
}

.prostokat{
    position: absolute;
    width: 20%;
    height: 20%;
    background-color: rgba(0, 0, 0, 0.0);
    left: 0;
    right: 0;
    margin: auto;
    transition: all 0.5s;
    z-index: 10;
    pointer-events: none;
}



.header img {
    margin: 0 auto;
}


h4 {
    color: #888;
    padding-bottom: 50px;
}

h5 {
    font-size: 18px;
    font-variant-caps: all-petite-caps;
}

.about {
    margin: 100px 0px;
    text-align: center;
}
.about p{
    margin: 0 10px;
}

.fa {
    color: rgba(87, 82, 56, 0.76);
    margin-bottom: 30px;
    font-size: 30px;
}

#galerry {
    background-color: black;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;

	align-items: center;
}

.folio {
    position: relative;
    align-items: center;
    justify-content: center;
}

.folio2 {
    position: absolute;
    z-index: 10;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 22px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
}
.folio2:hover{
    text-decoration: none;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
}

.galeria{
    margin-top: 150px;
}
.galeria h5{
    margin-bottom: 50px;
}
.stopka{
    min-height: 300px;
    display: block;
}
.stopka ul{
   list-style: none;
    line-height: 26px;
}
.stopka div{
    transform: translateY(40%);
}
.stopka p{
    max-width: 300px;
    margin: 50px auto
}
.stopka a{
    text-decoration: none;
}

.min1:before{
    content: 'Wilanów';
    position: absolute;
     z-index: 30;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 26px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
    top: 50%;
    max-height: 100px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 35px;
    margin-top: -50px;
}
.min2:before{
    content: 'Rzut izometryczny';
    position: absolute;
     z-index: 30;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 26px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
    top: 50%;
    max-height: 100px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 35px;
    margin-top: -50px;
}
.min3:before{
    content: 'Budynek mieszkalny';
    position: absolute;
     z-index: 30;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 26px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
    top: 50%;
    max-height: 100px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 35px;
    margin-top: -50px;
}
.min4:before{
    content: 'Stoisko handlowe';
    position: absolute;
     z-index: 30;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 26px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
    top: 50%;
    max-height: 100px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 35px;
    margin-top: -50px;
}
.min5:before{
    content: 'Gablota sklepowa';
    position: absolute;
     z-index: 30;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 26px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
    top: 50%;
    max-height: 100px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 35px;
    margin-top: -50px;
}
.min6:before{
    content: 'Wizualizacja biura';
    position: absolute;
     z-index: 30;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 26px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
    top: 50%;
    max-height: 100px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 35px;
    margin-top: -50px;
}
.min7:before{
    content: 'Biura';
    position: absolute;
     z-index: 30;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 26px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
    top: 50%;
    max-height: 100px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 35px;
    margin-top: -50px;
}
.min8:before{
    content: 'Wizualizacja produktu';
    position: absolute;
     z-index: 30;
    color: white;
    font-size: 26px;
    text-align: center;
    line-height: 26px;
    display: block;
    text-decoration: none;
    transition: all 0.5s;
    top: 50%;
    max-height: 100px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    padding: 35px;
    margin-top: -50px;
}
.portfolio-opis h5{
    letter-spacing: 3px;
    font-size: 22px;
    margin: 0 0 16px;
}
.portfolio-opis p {
    color: #666;
    max-width: 60%;
}
hr{
    width: 50%;
    margin: 30px 0;
    display: inline-block
}
.portfolio ul{
    list-style: none;
}
.portfolio ul li {
    display: inline-block;
}
.portfolio ul li a{
    display: block;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-transform: uppercase;
    padding: 15px 20px;
    margin-top: 50px;
    text-decoration: none;
    
}
button:focus {
  outline: none;
}
.Wallop-buttonPrevious{
    position: absolute;
    top: 45%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7)!important;
    color: #fff;
    border: none;
    height: 10%;
    width: 10%;
    z-index: 10;
}
.Wallop-buttonNext{
    position: absolute;
    right: 0;
    top: 45%;
    background-color: rgba(0, 0, 0, 0.7)!important;
    color: #fff;
    border: none;
    height: 10%;
    width: 10%;
    z-index: 10;
}
.Wallop-buttonPrevious i, .Wallop-buttonNext i{
    color: #fff;
}
.Wallop-buttonPrevious .fa, .Wallop-buttonNext .fa{
    margin-bottom: 0;
}
    .Wallop-buttonPrevious i, .Wallop-buttonNext i {
    font-size: 14px;
}
@media(max-width:1280px){
        .portfolio-opis{        
    text-align: center;
    }
.portfolio-opis p{
    margin: 0 auto;
}
    .portfolio{
        text-align: center;
    }
        .Wallop-buttonPrevious i, .Wallop-buttonNext i {
    font-size: 12px!important;
}
    
}
@media(max-width:767px){
    .header img {
    margin: 0 auto;
    height: 100px;
}
.h1, h1 {
    font-size: 24px;
}
#head{
    min-height: 60vh;
}
.nav ul{
    margin: 0;
    }
.nav ul li a{
      padding: 5px 10px; 
    font-size: 13px!important;
    }
.stiki {
    text-align: center;
    left: 0;
}
    .nav ul{
        float: none;
            background-color: rgba(0, 0, 0, 0.5);
    }
    .about {
    margin: 50px 0px;
}
.fa {
    margin-bottom: 0px;
}
    .galeria {
    margin-top: 50px;
}
    .portfolio-opis{        
    text-align: center;
    }
.portfolio-opis p{
    margin: 0 auto;
}
    .portfolio{
        text-align: center;
    }
    .Wallop-buttonPrevious i, .Wallop-buttonNext i {
    font-size: 11px!important;
top: 1px;
position: absolute;
}
   
}
