/*Resetujemy marginesy wewnętrzne i zewnetrzne i określamy domyślny font na Roboto*/

* {
    padding: 0;
    margin: 0;
    font-family: 'Lato', sans-serif;
    box-sizing: border-box;
    color: darkgreen;
}

body {
    background-color: white;
}

#navstatic i {
    color: darkgreen;
    padding-top: 12px;
}

#wrapper i {
    color: seagreen;
    margin-right: 10px;
    font-size: 15px;
}

#wrapper h2 i {
    color: darkslategray;
    padding-right: 10px;
    font-size: 30px;
}

#wrapper h4 i {
    color: seagreen;
    padding-right: 10px;
    padding-left: 5px;
    font-size: 30px;
}

p {
    text-align: justify;
    line-height: 25px;
    font-size: 18px;
    color: darkslategray;

}

/*Kontener zbiorczy - często stosowana praktyka */

#wrapper {
    max-width: 1000px;
    /* wypełniaj 100% miejsca ale nie więcej niż 1000 px szerokości*/
    margin: 0 auto 10px;
    /* 10px marginesu na dole oraz wyśrodkowanie*/
    background-color: white;
}


/*obrazek w headerze */


header {
    background: url('images/baner.jpg') center;
    margin-top: 0;
    width: 100%;
    height: 100vh;
    display: block;
    /*    background-size: cover; */
    /*    display: flex;*/
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
}




nav .logo {
    margin-left: 300px;
    margin-top: 10px;
}


nav {
    /*    element będzie miał taką wysokość jak jego dzieci. w tym przypadkuzgodny z tym co zajmują pozycję <a >*/
    overflow: hidden;
    /* position: fixed; */
    z-index: 3;
}



nav a {
    /*ustawia elementy pod sobą w bloku na boki nieskończone*/
    display: block;
    width: 10%;
    /* przesuniecie w prawo */
    float: right;
    color: gray;
    text-align: center;
    text-decoration: none;
    background-color: white;
    padding: 30px 30px;
    font-size: 20px;
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

nav a:hover {
    background-color: seagreen;
    background-color: transparent(9);
    cursor: pointer;
    color: white;
}

.active {
    background-color: dodgerblue;
    color: white;
}

.main {
    margin-top: 30px;
}

#navstatic {
    position: fixed;
    width: 50px;
    height: 50px;
    text-align: center;
    bottom: 100px;
    right: 15%;
    border: 2px solid darkseagreen;
    border-radius: 50%;
    overflow: hidden;
    transition: 1s ease;
    z-index: 4;

}

#navstatic:hover {
    text-shadow: 0 -15px 0 white, 0 -30px 0 white;
    color: white;
    border-color: white;
    background-color: darkseagreen;
    cursor: pointer;
}

h1 {
    font-size: 30px;
    text-align: center;
    width: auto;
    margin: 0 10%;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid dodgerblue;
    color: darkslategray;

}

h2 {
    padding-top: 5px;
    padding-bottom: 20px;
    font-size: 24px;
    color: darkslategray;
    text-decoration: none;
    text-align: center;
}

#textbg {
    position: absolute;
    top: 17%;
    /*    float: left;*/
    left: 50%;
    /*    text-align: center;*/
    /*          background-color: dodgerblue;
             border: 2px solid white;
             border-left: 0;
             border-right: 0;
             opacity: 0.9; */
    /*    padding: 5px 0px 5px 800px;*/


}

h3 {
    font-size: 42px;
    color: gray;
    border: 0;
    /*     opacity: 0.9; */
    /*     text-shadow: 0 0px 0px white; */
    margin-bottom: 10px;
    /*    padding: 0 50px 0 20px;*/

}

h4 {
    /*          padding-top: 5px; */
    width: 100%;
    margin-top: 40px;
    margin-bottom: 10px;
    padding: 10px 0px 10px 5px;
    /*     padding-top: 10px;
    padding-bottom: 10px; */
    margin-right: auto;
    font-size: 18px;
    color: seagreen;
    text-decoration: none;
    text-align: left;
    /*  background-color: cornflowerblue; */
    /* border-bottom: 1.5px solid cornflowerblue;*/
}


#arrow {
    width: 64px;
    height: 64px;
    border: 2.5px solid seagreen;
    position: absolute;
    bottom: 7%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 -15px 0 seagreen, 0 -30px 0 darkseagreen;
    overflow: hidden;
    transition: 1s ease;
    background-color: aliceblue;
}

#arrow:hover {
    text-shadow: 0 -15px 0 white, 0 -30px 0 white;
    color: white;
    border-color: white;
    background-color: darkseagreen;
    cursor: pointer;
}

#more {
    display: none;

}

#dots {
    color: dodgerblue;
}

#myBtn {
    float: right;
    color: white;
    font-size: 18px;
    padding: 10px 20px 10px 20px;
    margin-top: 10px;
    margin-right: 5%;
    text-decoration: none;
    border: 0;
    background-color: seagreen;
}

#ikony {
    text-align: center;
    margin: 0 auto;
    display: block;

}

#i1 {
    width: 33%;
    float: left;
    text-align: center;
    padding: 50px 0;
}


#ikony img {
    width: 120px;
    border: 1px solid lightgray;
    padding: 5px;
    border-radius: 50%;
}

.baner {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

section1 {
    display: block;
    background-color: white;
    height: 100vh;
    width: 100%;
    margin-bottom: 80px;
}

section1 img {
    max-width: 100%;
    border-radius: 20px;
}

blok1l {
    clear: both;
    float: left;
    width: 50%;
    padding: 10px 0px;
    background-color: ;
}

blok1p {
    float: left;
    width: 50%;
    background-color: white;
    padding: 30px 20px 30px 20px;
}

blok2l {
    clear: both;
    float: right;
    width: 50%;
    padding: 10px 0px 10px 10px;
    background-color: ;
}

blok2p {
    float: right;
    width: 50%;
    background-color: white;
    padding: 30px 20px;
}

blok3p {
    float: right;
    width: 100%;
    background-color: white;
    padding: 30px 20px;
}

blok3p p {
    width: 100%;
    padding-left: 50px;
}

#oferta {
    clear: both;
    padding-top: 30px;
    display: block;
    background-color: white;
    height: 100vh;
    width: 100%;
}

#oferta img {
    max-width: 100%;
    border-radius: 20px;

}

#oferta blok1l {
    margin-top: 60px;
}

#oferta p {
    margin-top: 10px;
}

#inwestor {
    clear: both;
    display: block;
    background-color: white;
    height: 100vh;
    width: 100%;
    /*    border-bottom: 1.5px solid cornflowerblue;*/
}

#inwestor img {
    max-width: 100%;
    border-radius: 20px;
}


#inwestor p {
    margin-top: 10px;
}

inwestor_l {
    clear: both;
    float: left;
    width: 40%;
    padding: 40px 60px;
    margin-top: 60px;
    background-color: ;
}


inwestor_p {
    float: left;
    width: 60%;
    background-color: white;
    padding: 30px 20px;
}

#galeria {
    clear: both;
    padding-top: 60px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    height: 100vh;
    margin-bottom: 30px;

}

#galeria p {
    padding: 50px 0;
}

.gallery {
    width: 100%;
    height: 100vh;
    text-align: center;

}

.gallery img {
    width: 230px;
    padding: 5px;
    filter: grayscale(0%);
    transition: 1s;

}

.gallery img:hover {
    filter: grayscale(80%);
    transform: scale(1.1)Ś
}



#kontakt {
    clear: both;
    padding-top: 60px;
    width: 100%;
    height: 100vh;
    text-align: left;
}

#kontaktimg {
    background: url('images/constructor-functions.jpg') center;
    margin-top: 20px;
    width: 100%;
    height: 40%;
    margin-bottom: 50px;
    display: block;
    /*  background-size: cover; */
    /*    display: flex;*/
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
}

#kontakt i {
    font-size: 25px;
    margin-right: 20px;
    color: gray;
    margin-bottom: 20px;
}



#kontakt .logo {
    float: left;
    width: 37%;
    padding-left: 10%;
    margin: 50px 0 5px 80px;
}

kontaktdane {
    float: left;
    margin: 50px 0 50px 0px;
    padding-left: 30px;
    border-left: 1.5px solid seagreen;
}

h5 {
    /*          padding-top: 5px; */
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 30px 10px 5px;
    margin-right: auto;
    font-size: 18px;
    color: darkslategray;
    text-decoration: none;
    text-align: left;
    /*    border-left: 1.5px solid cornflowerblue;*/
}

/*style dla stopki */
footer {
    clear: both;
    bottom: 50;
    height: 200px;
    background-color: darkseagreen;
    color: white;
    line-height: 40px;
    text-align: center;
    margin-top: 100px;
    border-top: 5px solid gray;
}




@media (max-width:1000px) {

    /*obrazek w headerze */
    header {
        background: url('images/baner.jpg') center;
        margin-top: 0;
        width: 100%;
        height: 100vh;
        display: block;
        /*    background-size: cover; */
        /*    display: flex;*/
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 2;
    }

    nav .logo {
        margin-left: 50%;
        margin-top: 5%;
        margin-bottom: 5%;
        transform: translateX(-50%);
        width: 50%;
    }

    nav a {
        width: 100%;
        height: 50%;
        font-size: 20px;
        border-top: 1px solid gray;
        padding: 20px 10px;
    }

    #navstatic {
        width: 30px;
        height: 30px;
        bottom: 5%;
        right: 5%;

    }

    #navstatic:hover {
        text-shadow: 0 -15px 0 white, 0 -30px 0 white;
        color: white;
        border-color: white;
        background-color: darkslategray;
        cursor: pointer;
    }

    #navstatic i {
        color: gray;
        padding-top: 5px;
    }

    h1 {
        font-size: 20px;
    }

    h3 {
        font-size: 100%;
        float: left;
        padding-left: 0;
    }

    #wrapper {
        width: 100%;
    }

    #textbg {
        visibility: hidden;
        /*        opacity: 1;*/
    }


    #ikony {
        text-align: center;
    }

    #i1 {
        width: 25%;
        margin-left: 6%;
        padding: 30px 0;

    }

    #i1 h2 {
        font-size: 12px;
    }

    section1 img {
        max-width: 100%;

    }



    #oferta {
        padding-top: 30px;
        /*        display: block;*/
        background-color: white;
        /*        height: 100vh;*/
        width: 100%;
    }

    #oferta img {
        max-width: 100%;


    }

    #oferta p {
        margin-top: 10px;
    }

    blok1l {
        float: left;
        width: 100%;
        padding: 20px 20px;

    }

    blok1p {
        width: 100%;
        padding: 20px 10px;
    }

    blok2l {
        float: right;
        width: 100%;
        padding: 20px 20px;
    }

    blok2p {
        float: right;
        width: 100%;
        padding: 20px 20px;
    }

    #inwestor {
        /*        padding-top: 30px;*/
        background-color: white;
        width: 100%;
    }

    #inwestor img {
        max-width: 100%;
    }

    #inwestor p {
        margin-top: 10px;
    }

    inwestor_l {
        float: left;
        width: 100%;
        padding: 20px 20px;
    }

    inwestor_l img {
        width: 100%;
        padding: 20px 20px;
    }


    inwestor_p {
        width: 100%;
        background-color: white;
        padding: 20px 20px;
    }

    #galeria {
        padding-top: 60px;
        clear: both;
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        height: 100%;
        /*        background-color: aqua;*/
        overflow: hidden;
    }

    #galeria p {
        padding: 50px 0;
    }

    .gallery {
        width: 100%;
        height: 100%;
        text-align: center;

    }

    .gallery img {
        width: 35%;
        padding: 5px;
        filter: grayscale(0%);
        transition: 1s;

    }

    .gallery img:hover {
        filter: grayscale(80%);
        transform: scale(1.1)Ś
    }


    #kontakt {
        /*        overflow: hidden;*/
        clear: both;
        padding-top: 60px;
        width: 100%;
        height: 100vh;
        text-align: left;
    }

    #kontakt .logo {
        float: left;
        width: 60%;
    }

    footer {
        clear: both;
    }

}

@media (max-width:500px) {

    header {
        /*        visibility: hidden;*/
        background: url('images/baner_500px.jpg') center;
        background-color: darkgray;
        width: 100%;
        height: 100vh;
        display: block;
        /*    display: flex;*/
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        margin-top: 0px;
        z-index: 2;
    }

    nav .logo {
        margin-left: 50%;
        margin-top: 5%;
        margin-bottom: 5%;
        transform: translateX(-50%);
        width: 50%;
    }

    nav a {
        width: 100%;
        height: 50%;
        font-size: 15px;
        /*        border-bottom: 1px solid gray;*/
        border-top: 1px solid gray;
        padding: 15px 10px;
    }

    #navstatic {
        width: 30px;
        height: 30px;
        bottom: 5%;
        right: 5%;

    }

    #navstatic:hover {
        text-shadow: 0 -15px 0 white, 0 -30px 0 white;
        color: white;
        border-color: white;
        background-color: darkslategray;
        cursor: pointer;
    }

    #navstatic i {
        color: gray;
        padding-top: 4px;
    }

    h1 {
        font-size: 20px;
    }

    h3 {
        font-size: 100%;
        float: left;
        padding-left: 0;
    }

    #wrapper {
        width: 100%;
    }

    #textbg {
        visibility: hidden;
        /*        opacity: 1;*/
    }


    #ikony {
        text-align: center;
    }

    #i1 {
        width: 25%;
        margin-left: 6%;
        padding: 30px 0;

    }

    #i1 h2 {
        font-size: 12px;
    }

    section1 img {
        max-width: 100%;

    }

    blok1l {
        float: left;
        width: 100%;
        padding: 20px 20px;

    }

    blok1p {
        width: 100%;
        padding: 20px 10px;
    }

    blok2l {
        float: right;
        width: 100%;
        padding: 0px 0px;
    }

    blok2p {
        float: right;
        width: 100%;
        padding: 20px 20px;
    }

    #oferta {
        padding-top: 30px;
        display: block;
        background-color: white;
        height: 100vh;
        width: 100%;
    }

    #oferta img {
        max-width: 100%;


    }

    #oferta blok1l {
        margin-top: 60px;
    }

    #oferta p {
        margin-top: 10px;
    }



    #galeria {
        padding-top: 60px;
        clear: both;
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        height: 100%;
        /*        background-color: aqua;*/
        overflow: hidden;
    }

    #galeria p {
        padding: 50px 0;
    }

    .gallery {
        width: 100%;
        height: 100%;
        text-align: center;

    }

    .gallery img {
        width: 35%;
        padding: 5px;
        filter: grayscale(0%);
        transition: 1s;

    }

    .gallery img:hover {
        filter: grayscale(80%);
        transform: scale(1.1)Ś
    }

    #kontakt {
        /*        overflow: hidden;*/
        clear: both;
        padding-top: 1px;
        width: 100%;
        height: 100vh;
        text-align: left;
    }

    #kontakt .logo {
        float: left;
        width: 60%;
    }

    kontaktdane {
        float: left;
        margin: 30px 0 50px 10px;
        padding-left: 30px;
        border-left: 1.5px solid cornflowerblue;
    }

    footer {
        clear: both;
    }

}

/*Animacja strzałki*/
header .fa-chevron-down {
    animation: arrow 2s infinite linear;
}

@keyframes arrow {
    0% {
        transform: translateY(-80px)
    }

    50% {
        transform: translateY(0px)
    }

    100% {
        transform: translateY(80px)
    }
