@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    background-image: url(grafika/background.jpg);
    background-repeat: repeat;
    font-family: 'Be Vietnam Pro';
}

#stronaGlowna{
    display: block;
}
#oferta{
    display: none;
}
#galeria{
    display: none;
}



nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0.275vh 5%;
    height: 10vh;
    background-color: #5598D6;
    cursor: context-menu;
}

nav img.logo{
    position: relative;
    float: left;
    max-width: 40%;
    max-height: 96%;
    margin: auto 0;
    display: flex;
    align-items: center;
}

nav ul.menu{
    float: right;
    padding: 0;
    margin: 0;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav ul.menu a{
    list-style: none;
    margin: 1em;
}
nav ul.menu a li{
    display: block;
    padding: 1em 1.5em;
    font-size: normal;
    font-weight: bold;
    color: #91ecec; 
    text-decoration: none;
}
nav ul.menu a.active li{
    color: #79FF8B; 
}

nav input#nav-toggle{
    position: absolute;
    top: -11vh;
}
nav label.ikonka{
    display: none;
    position: absolute;
    right: 5%;
    top: 30%;
    transform: translateX(-50%);
}
nav label.ikonka div.line{
    width: 30px;
    height: 5px;
    background-color: #00ffdd;
    margin: 5px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
}


div#zawartosc-tlo {
    position: relative;
    width: 60%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 10.55vh auto 6vh auto;
    min-height: 83.45vh;
}

div.zawartosc {
    padding: 20px;
}

div.zawartosc h1 {
    text-align: center;
    margin: 0;
    padding: 0;

}

div.zawartosc h3,
div.zawartosc p {
    padding: 0 10px;
}

div.zawartosc p {
    text-indent: 10px;
}

div.zawartosc div.referencje a img {
    display: block;
    margin: 0 auto;
    width: 400px;
}

div.kontakt {
    width: 80%;
    margin: 0 auto;

}

div.wiersz {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

div.kolumna {
    -ms-flex: 24%;
    flex: 24%;
    max-width: 24%;
    margin: 4px 0.5%;
}

div.prace {
    -ms-flex: 48%;
    flex: 48%;
    max-width: 48%;
    margin: 4px 1%;
}

div.kolumna a img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

div.footer {
    min-height: 6vh;
    background-color: #5598D6;
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    bottom: 0;
}

div.footer p {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}








@media screen and (max-width: 900px) {
    nav img.logo{
        max-width: 60%;
        float: none;
    }
    nav ul.menu{
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 10.55vh;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: rgba(0, 0, 0, 0.8);
        overflow: hidden;
        transition: all .5s ease-in-out;
    }
    nav ul.menu a{
        margin: 10vh 0;
    }
    nav ul.menu a li{
        font-size: large;
    }


    nav :checked ~ ul.menu{
        bottom: 0;
    }
    nav label.ikonka{
        display: block;
    }
    nav :checked ~ label.ikonka div.line:nth-child(1){
        transform: translateY(10px) rotate(225deg);
    }
    nav :checked ~ label.ikonka div.line:nth-child(3){
        transform: translateY(-10px) rotate(-225deg);
    }
    nav :checked ~ label.ikonka div.line:nth-child(2){
        opacity: 0;
    }
}









@media screen and (max-width: 800px) {

    div#zawartosc-tlo {
        width: 85%;
    }

    div.zawartosc div.referencje a img {
        display: block;
        margin: 0 auto;
        width: 300px;
    }

    div.kolumna {
        -ms-flex: 48%;
        flex: 48%;
        max-width: 48%;
        margin: 8px 1%;
    }

}












@media screen and (max-width: 675px) {

    div.prace {
        -ms-flex: 97%;
        flex: 97%;
        max-width: 97%;
        margin: 16px 1.5%;
    }

}












@media screen and (max-width: 550px) {


    nav ul.menu{
        max-height: 80vh;
    }

    div#zawartosc-tlo {
        width: 95%;
        margin: 10.55vh auto 10vh auto;
        min-height: 79.45vh;
    }

    div.zawartosc div.referencje a img {
        display: block;
        margin: 0 auto;
        width: 300px;
    }

    div.kolumna {
        -ms-flex: 97%;
        flex: 97%;
        max-width: 97%;
        margin: 16px 1.5%;
    }

    div.footer {
        min-height: 10vh;
    }

}