@charset "utf-8";

/* CSS Document */

h4
{
    margin-bottom: 10px;
}

nav {
    position: fixed;
    top: 0;
    z-index: 9900;
    width: 100%;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
}

nav a {
    text-decoration: none;
    color: #FFF;
    margin-left: 30px;
    line-height: 50px;
    display: inline-block;
    width: 100px;
}

.hideMenu {
    position: fixed;
    top: 0px;
    z-index: 9999;
    width: 100%;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    color: white;
    cursor: pointer;
    display: none;
}

nav a:hover {
    transition: 1s background-color;
    background-color: rgba(0, 0, 0, 0.5);
}

.section {
    font-size: 20px;
    text-align: justify;
    text-justify: inter-word;
}

.slide {
    color: white;
}

.sec1 {
    background-image: url(../Backgroundy/HDhome.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: white;
    /* -webkit-filter: grayscale(100%); */
    /* Chrome, Safari, Opera */
    /* filter: grayscale(100%); */
}

.sec2 {
    background-image: url(../Backgroundy/HDoMnie.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: white;
    /*-webkit-filter: grayscale(80%); /* Chrome, Safari, Opera 
	filter: grayscale(80%);*/
    font-size: 18px;
}

.sec3 {
    background-image: url(../Backgroundy/HDus%C5%82ugi.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: white;
    /*-webkit-filter: grayscale(80%); /* Chrome, Safari, Opera 
    filter: grayscale(80%);*/
}

.sec4 {
    background-image: url(../Backgroundy/HDkontakt.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: white;
}

.innerBox {
    text-align: left;
    width: 95%;
    /*95*/
    height: 80%;
    /*80*/
    background-color: #333;
    border-radius: 45px;
    margin: auto;
    opacity: 0;
    /*domyślnie nie widoczne*/
    padding: 10px;
    position: relative;
    /*it's needed to align box inside innerBox*/
}

#innerSec1,
#innerSli3 {
    text-align: center;
}

h1 {
    text-align: left;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 16px;
    text-decoration: none;
    color: #FFF;
    height: 25px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.visible {
    opacity: 0.9;
}


/*mobile resolution*/

@media only screen and (max-width: 720px) {
    nav {
        display: none;
    }
    nav a {
        width: 100%;
        box-sizing: border-box;
        margin-left: 0px;
        background-color: rgba(0, 0, 0, 0.9);
    }
    nav a:first-child {
        margin-top: 50px;
        box-sizing: border-box;
    }
    .hideMenu {
        display: block;
    }
    .section {
        font-size: 11px;
    }
    #homeH1,
    #homeH2,
    #homeH3 {
        text-align: center;
    }
    .imgUslugi {
        width: 224px;
        height: 157px;
    }
    #innerSli1,
    #innerSli3 {
        opacity: 0.9;
        /* Default visible */
        padding-top: 50px;
        height: 100%;
        background-color: transparent;
        height: 100%;
    }
    #innerSli1 h1 {
        text-align: center;
        background-color: #333;
        border-radius: 30px;
    }
    #innerSli3 h1 {
        text-align: center;
        background-color: #333;
        border-radius: 30px;
    }
}


/*For normal resolution but not for mobile*/

@media only screen and (min-width: 721px) {
    /*
	#homeH1
	{
		text-align:center;
		font-size:70px;
	}*/
    #homeH2 {
        text-align: center;
        /*font-size:60px;*/
    }
    #homeH3 {
        text-align: center;
        /*font-size:50px;*/
    }
    .box/*trzyma polaroidy w dwuch głónych ekranach Architektura i Konstrukcje*/
    {
        /*
		position: absolute;
  		top: 50%;
  		left: 50%;
		width:100%;
  		transform: translate(-50%, -50%);
		*/
    }
    #innerSli1,
    #innerSli3 {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .headerGalery {
        /* position:absolute;
		 left:0;
		 right:0;
		 text-align:center;
		 transform:translateY(-50%);
		 margin-left:10px;*/
    }
}


/*mobile navigation icon*/

.nav-icon {
    margin-top: 3px;
    height: 90%;
    width: 100%;
    position: relative;
}

.nav-icon .span {
    height: 6px;
    width: 55px;
    position: absolute;
    top: 20px;
    right: 3%;
    background-color: #FFF;
    border-radius: 10px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.nav-icon .span::before,
.nav-icon .span::after {
    height: 6px;
    width: 55px;
    background-color: #FFF;
    position: absolute;
    content: "";
    border-radius: 10px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.nav-icon .span::after {
    top: 15px;
    right: 0px;
}

.nav-icon .span::before {
    top: -15px;
    right: 0px;
}

.nav-icon.active .span::after {
    top: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-icon.active .span::before {
    top: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-icon.active .span {
    background: none;
}

@media only screen and (max-height: 720px) {

    .innerBox h1
    {
        
        font-size: 30px;
    }

    .innerBox h2
    {
        
        font-size: 20px;
    }

    .innerBox h3
    {
        
        font-size: 16px;
    }

    .innerBox h4 
    {
        
        font-size: 16px;
    }

    .innerBox a
    {
        
        font-size: 16px;
    }

    .innerBox p 
    {
        font-size: 16px;
    }

    .innerBox span 
    {
        font-size: 16px;
    }
}

@media only screen and (max-height: 630px) {

    .innerBox h1
    {
        
        font-size: 24px;
    }

    .innerBox h2
    {
        
        font-size: 18px;
        margin: 8px 0;
    }

    .innerBox h3
    {
        
        font-size: 16px;
    }

    .innerBox h4 
    {
        
        font-size: 16px;
    }

    .innerBox a
    {
        
        font-size: 16px;
    }

    .innerBox p 
    {
        font-size: 16px;
    }

    .innerBox span 
    {
        font-size: 16px;
    }
}