@media only screen and (max-width:768px) {
    header {
        width: 100%;
        height: 9.8vw;
        background-color: #121212;
        float: left;
        z-index: 9999.9;
    }
    #logo {
	    float: left;
    	font-family: 'Lato', sans-serif;
	    font-size: 6.5vw;
	    width: auto;
    	margin-top: 1vw;
        margin-left: 4vw;
	    margin-bottom: 1vw;
    	text-align: left;
        color: #a1c2e8;
    }
    .icona {
        scale: 150vw;
        height: 6.5vw;
        width: 6.5vw;
        padding-top: 1vw;
        padding-right: 0.6vw;
        float: left;
    }   
    button {
        display: none;
    } 
    .square-1 {
        height: 80vw;
        width: 100%;
        background-image: url(diagnostykaTelefon.svg) ;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .square-2 {
        height: 80vw;
        width: 100%;
        background-image: url(paliw.svg);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .square-3 {
        height: 80vw;
        width: 100%;
        background-image: url(MyjniaTelefon1.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .square-4 {
        height: auto;
        width: 100%;
    }
    .square-5 {
        height: 54vw;
        width: 100%;
    }
    .square-6 {
        height: auto;
        width: 100%;
    }
    .Psquare {
        height: auto;
        font-size: 2.5vw;
        margin-bottom: 3vw;
    }
    .tile1 {
        margin-right: 3vw;
        margin-bottom: 3vw;
    }
    h1 {
        font-size: 6vw;
        margin-top: 7vw;
    }
    h2 {
        font-size: 5vw;
    }
    h4 {
        font-size: 5vw;
    }
    p {
        font-size: 5vw;
        margin-top: 42.2vw;
    }
    .icon {
        width: 100%;
        margin-bottom: 5vw;
        text-align: center;
        float: left;
    } 
    img {
        height: 15vw;
        width: 15vw;
    }
    .Kontakt{
        margin-bottom: 5vw;
        font-size: 5vw;
    }
    .text {
        font-size: 4vw;
    }
    .footer {
        height: auto;
        font-size: 3vw;
    }
    .kolor {
        color: #E6C341;
        font-size: 2.6vw;
    }
}

@media only screen and (min-width: 768px) {
    header {
       width: 100%;
       height: 5,1vw;
       background-color: #121212;
       position: fixed;
       float: left;
       z-index: 10000;
    }
    #logo {
	    float: left;
    	font-family: 'Lato', sans-serif;
	    font-size: 3vw;
	    width: 40vw;
    	margin-top: 0.5vw;
        margin-left: 4vw;
	    margin-bottom: 0.5vw;
    	text-align: left;
        color: #a1c2e8;
    }
    .icona {
        scale: 150vw;
        height: 3vw;
        width: 3vw;
        padding-top: 0.5vw;
        padding-right: 0.3vw;
        float: left;
    }  
    button {
        color: #E6C341;
        margin: 0.75vw;
        margin-top: 1vw;
        margin-right: 0.5vw;
        padding: 0.6vw;
        text-align: center;
        font-size: 1.5vw;
        background-color: #121212;
        float: right;
        border: none;
    }
    .square-1{
        height: 40vw;
        width: 100%;
        background-image: url(diagnostyka.svg) ;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .square-2{
        height: 40vw;
        background-image: url(paliw.svg);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .square-3{
        height: 40vw;
        background-image: url(myjnia.svg);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .square-4{
        height: auto;
    }
    .square-5{
        height: 44.1vw;
    }
    .square-6{
        height: auto;
    }
    .Psquare{
        height: auto;
        font-size: 1.25vw;
        margin-bottom: 2vw;
    }
    p{
        font-size: 3vw;
        margin-top: 15vw;
    }
    h1{
        font-size: 3vw;
        margin-top: 7.5vw;
    }
    .tile1 {
        margin-bottom: 3vw;
        margin-right: 3vw;
    }
    h4 {
        font-size: 3vw;
    }
    .icon {
        width: 25vw;
        margin-bottom: 5vw;
        text-align: center;
        float: left;
        margin-left: 6vw;
    }
    img {
        height: 5vw;
        width: 5vw;
    }
    .Kontakt{
        margin-bottom: 0.4vw;
        font-size: 3vw;
    }
    .text {
        font-size: 1.5vw;
    }
    .kolor {
        color: #E6C341;
        font-size: 1.4vw;
    }
}

body {
    background-color: #121212;
	color: #ffffff;
	font-family: 'Lato', sans-serif;
	font-size: 1vw;
    margin: 0vw;
}

#container {
	width: 100%;
}

.square-1 {
    text-align: center;
    float: left;
}


.square-2 {
    width: 100%;
    text-align: center;
    float: left;
}

.square-3 {
    width: 100%;
    text-align: center;
    float: left;
}

.square-4 {
    width: 100%;
    text-align: center;
    float: left;
}

.square-5 {
    width: 100%;
    margin-top: 2vw;
    text-align: center;
    float: left;
}

.square-6 {
    background-color: #212121;
    color: #a1c2e8;
    width: 100%;
    text-align: center;
    float: left;
}


.Psquare {
    margin-left: 20vw;
    width: 60vw;
    text-align: center;
    float: left;
}

.footer {
    background-color: #a1c2e8;
    color: #212121;
    padding-left: 10vw;
    padding: 0.5vw;
    text-align: center;
}

h1 {
    color: #E6C341;
    margin-left: 4vw;
    text-align: left;
}

h2 {
    color: #a1c2e8;
}

h3 {
    color: #A1C2E8;
    margin-bottom: 0px;
}

p {
    color: #A1C2E8;
    text-align: right;
}

button:hover {
    color: #212121;
    background-color: #E6C341;
    border-radius: 18px;
}

.linia {
    border: none;
    height: 0.1vw;
    width: 100%;
    color: #f8fbf8;
    background-color: #f8fbf8;
    float: left;
    z-index: 10000;
}

iframe {
    width: 100%;
    height: 40vw;
}

a {
    text-decoration: none;
    color: #A1C2E8;
}

a:visited {
    color: #A1C2E8;
}

.clearFloat {
    clear: both;
}