* {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
    font-family: saira-condensed, sans-serif;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

body {
    overflow-x: hidden;
}

header.first {
    margin: 0 auto;
    max-width: 1900px;
    height: 100vh;
    position: relative;
    background-image: url(images/main/4.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

div.wrapper {
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

header img.logo1 {
    position: absolute;
    height: 18vh;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
}

div.napisy {
    position: absolute;
    text-transform: uppercase;
    font-weight: 600;
    top: 60%;
    width: 90vw;
    height: 10vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
    color: black;
    font-weight: 700;

}

div.napisy a {
    display: block;
    text-decoration: none;
    position: absolute;
    padding: 10px 0;
    width: 85vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: black;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: 1s;
}

div.napisy a:hover {
    color: rgba(255, 255, 255, 0.95);
    background-color: lightgray;
}

/* div.napisy a::before {
    content: "";
    position: absolute;
    width: 70%;
    right: -70%;
    margin-top: 21px;
    border-bottom: solid 3px grey;
    transition: 1s;

}

div.napisy a:hover::before {
    right: 15%;
} */

p.city {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    font-weight: bold;
}

nav {
    box-sizing: border-box;
    list-style: none;
    position: absolute;
    z-index: 0;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

nav ul {
    max-width: 1900px;
    list-style: none;
    overflow: hidden;

}

nav ul li {
    width: 60vw;
    margin: 15px auto;
    overflow: hidden;

}

nav ul li a {
    font-weight: 700;
    padding: 8px 0;
    display: block;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    color: black;
    transition: 0.5s;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

/* nav ul li a::after {
    content: "";
    position: absolute;
    width: 15%;
    right: -15%;
    margin-top: 15px;
    border-bottom: solid 3px grey;
    transition: 1s;

} */

/* nav ul li a:hover::after {
    right: 15%;
} */

nav ul li a:hover {
    color: rgba(255, 255, 255, 0.95);
    background-color: lightgray;
}

@media(min-width:1px) and (orientation:portrait) {

    nav ul li {
        flex-basis: 22vw;
        overflow: hidden;
    }

    nav ul li a {
        font-size: 7px;
    }

    nav ul li a::after {
        width: 0;
    }

    div.napisy a::before {
        width: 0;
    }

    /* nav ul li a:hover {
        color: rgba(255, 255, 255, 0.5);
        background-color: black;
    } */


    header img.logo1 {
        position: absolute;
        height: 30vh;
        top: 26%;
    }

    div.napisy a {
        font-size: 7px
    }

    header div p.city {
        font-size: 10px;
    }
}

@media (orientation:portrait) and (min-width:250px) {
    nav ul li a {
        font-size: 12px;
    }

    div.napisy a {
        font-size: 15px;
    }

    header img.logo1 {
        top: 35%;
        height: 15vh;
    }
}

@media (orientation:portrait) and (min-width:350px) {
    header img.logo1 {
        height: 16vh;
        top: 35%;
    }

    nav ul {
        width: 98vw;
    }

    nav ul li {
        flex-basis: 23vw;
    }

    nav ul li a {
        font-size: 13px;
    }

    div.napisy a {
        font-size: 15px;
    }
}


@media(orientation:portrait) and (min-width:400px) {


    nav ul li {
        width: 50vw;
    }

    nav ul li a {
        font-size: 13px;
    }

    header img.logo1 {
        height: 17vh;
        top: 35%;
    }

    div.napisy a {
        font-size: 15px;
    }
}

@media(orientation:portrait) and (min-width:700px) {
    nav ul {
        width: 97vw;
        display: flex;
        justify-content: space-around;

    }

    nav ul li {
        flex-basis: 22.5vw;
    }

    nav ul li a {
        font-size: 18px;
        margin-top: 15px;
    }


    div.napisy {
        width: 80vw;
    }

    div.napisy a {
        font-size: 23px;
    }

    header img.logo1 {
        height: 23vh;
        top: 30%;
    }

    p.city {
        font-size: 30px;
    }

    nav ul li a::after {
        margin-top: 30px;
    }
}

@media(orientation:landscape) and (min-width:400px) {


    nav ul {
        display: flex;
        justify-content: space-around;
        width: 95vw;
    }

    nav ul li {
        flex-basis: 22.5vw;
    }

    nav ul li a {
        font-size: 12px;
    }

    header img.logo1 {
        top: 20%;
        height: 40vh;
    }

    div.napisy {
        top: 65%;
    }

    div.napisy a {
        font-size: 12px;
    }

    nav ul li a::after {
        width: 0;
    }

    div.napisy a::before {
        width: 0;
    }

}

@media(orientation:landscape) and (min-width:600px) {

    nav ul {
        width: 95vw;
    }

    nav ul li {
        flex-basis: 22.5vw;
    }

    nav ul li a {
        font-size: 15px;
    }

    header img.logo1 {
        top: 20%;
        height: 40vh;
    }

    div.napisy {
        top: 65%;
    }

    div.napisy a {
        font-size: 15px;
    }

}


@media(orientation:landscape) and (min-width:650px) {

    nav ul {
        width: 94vw;

    }

    nav ul li {
        flex-basis: 22vw;
    }

    nav ul li a {
        font-size: 16px;
    }

    header img.logo1 {
        top: 22%;
    }

    div.napisy a {
        font-size: 19px;
    }
}

@media(orientation:landscape) and (min-width:1020px) {
    header img.logo1 {
        height: 30vh;
        top: 20%;
    }
}

@media(min-width:1020px) {

    nav ul {
        width: 97vw;
        top: 5%;
    }

    nav ul li {
        flex-basis: 23vw;
    }

    nav ul li a {
        font-size: 25px;
    }

    header img.logo1 {
        top: 25%;
    }



    div.napisy {
        top: 57%;
    }

    div.napisy a {
        font-size: 35px;
    }

    p.city {
        font-size: 24px;
    }

}

@media(min-width:1200px) {

    header img.logo1 {
        top: 18%;
        height: 30vh;
    }

    /* nav ul li a::after {
        width: 70%;
        margin-top: 30px;
    }

    /* div.napisy a::before {
        width: 70%;
        margin-top: 35px;
    } */


}

@media(min-width:1440px) {
    header img.logo1 {
        top: 22%;
        height: 30vh;
    }

    div.napisy a {
        width: 45vw;
    }


}


@media(min-width:2000px) {
    nav ul li {
        flex-basis: 15vw;
    }

    div.napisy a {
        width: 45vw;
    }


}

@media(min-width:2500px) {
    nav ul li {
        flex-basis: 10vw;
    }


}

@media(min-width:3000px) {
    header img.logo1 {
        height: 10vh;
    }

    nav ul li {
        flex-basis: 6vw;
    }
}

@media(min-width:5500px) {
    header img.logo1 {
        height: 15vh;
    }
}




/* Background */

div.background {
    background-color: rgba(211, 211, 211, 0.2);

}

h1 {
    text-transform: uppercase;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
    font-size: 28px;
}

/* Sekcja o nas */

section.about {
    max-width: 1900px;
    overflow: hidden;
    margin: 0 auto;
}

section.about h1 {
    padding-top: 30px;
}

section a.return {
    position: absolute;
    top: 1%;
    right: 1%;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    color: #555;
    padding: 3px;
    border-bottom: 3px solid #555;
    transition: 0.3s;

}

section a.return:hover {
    color: white;
    border-bottom-color: white;
}



h1 span {
    display: block;
    width: 50%;
    height: 3px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.9);
}

section.about h2 {
    color: rgba(0, 0, 0, 0.9);
    font-size: 22px;
    margin-left: 5%;
    font-weight: 700;

}

section.about h2:nth-of-type(1) {
    margin-top: 30px;
}

section.about p {
    padding: 5%;
    text-indent: 1.5em;
    text-align: center;
    text-align: justify;
    color: rgba(0, 0, 0, 0.9);

}

section.about p:nth-of-type(2) {
    padding-bottom: 0;
}

@media (min-width:700px) {

    section.about p {
        font-size: 20px;
    }

    section.about h1 {
        font-size: 35px;
    }

    section.about h2 {
        font-size: 28px;
    }

    section.about p {
        font-size: 25px;
    }

}

@media (min-width:1020px) {
    section.about p {
        padding: 3%;
    }

    h1 span {
        width: 40%;
    }

    section.about h1 {
        font-size: 45px;
    }

    section.about h2:nth-of-type(1) {
        margin-top: 60px;
    }
}

/*Sekcja oferta*/

section.realizations {
    padding-bottom: 0;
    max-width: 1900px;
    margin: 0 auto;
}

section.realizations h1 {
    padding: 30px 0;
}

div.realizationsAll {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}



div.offer {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-basis: 90%;

}

div.offer p {
    color: rgba(0, 0, 0, 0.9);
    width: 100%;
    padding-bottom: 10px;
    text-align: justify;
    flex-grow: 1;

}

div.offer p.change1 {
    padding-bottom: 0;
}

/* rgb(245, 205, 28) */
div.offer h3 {
    color: rgba(115, 72, 56, 255);
    padding: 10px 0 10px 0;
    width: 100%;
    font-size: 20px;
}

div.icon {
    width: 100px;
    height: 100px;
    background-color: lightgrey;
    box-shadow: 0 0 5px 4px white;
    border-radius: 50%;
    box-sizing: border-box;
}

.fas {
    line-height: 100px;
    text-align: center;
    font-size: 55px;
    color: rgba(115, 72, 56, 255);

}

@media(min-width:650px) {
    section.realizations h1 {
        font-size: 35px;
    }

    div.realizationsAll {
        align-items: start;
    }

    div.offer {
        box-sizing: border-box;
        flex-basis: 30%;
        align-items: start;
    }

    div.offer p {
        font-size: 18px;
    }

}

@media(min-width:1020px) {

    section.realizations h1 {
        padding: 60px 0;
        font-size: 45px;
    }

    section.realizations h1 span {
        width: 40%;
    }

    div.offer h3 {
        font-size: 28px;
    }

    div.offer p {
        font-size: 22px;
    }
}

/*Sekcja etapy realizacji*/

section.stages {
    max-width: 1900px;
    margin: 0 auto;
    padding-bottom: 30px;
}

section.stages h1 span {
    width: 93%;
}

section.stages h1 {
    padding: 30px 0;
}

div.stagesAll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div.stage {
    display: flex;
    color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    flex-basis: 90%;
}

div.stage div.numbers {
    display: block;
    /* box-sizing: border-box; */
    background-color: lightgrey;
    width: 50px;
    height: 50px;
    box-shadow: 0 0 5px 4px white;
    border-radius: 50%;
    color: rgba(115, 72, 56, 255);
    text-align: center;
    line-height: 50px;
    font-size: 25px;
    font-weight: bold;
    flex-shrink: 0;
}

div.stage p {
    text-align: center;
    text-align: justify;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
}

div.stage:nth-child(1) p {
    padding-top: 0;
}

div.stagesAll h2 {
    color: rgba(115, 72, 56, 255);
    font-size: 20px;
    text-align: center;
    width: 95%;
    padding-bottom: 20px;
    padding-top: 20px;
}

div.stagesAll p {
    color: rgba(0, 0, 0, 0.9);
    width: 90%;
    text-align: center;
    text-align: justify;
    padding-bottom: 10px;
    padding-top: 10px;
}

div.stagesAll p:nth-last-of-type(1) {
    padding-bottom: 0;

}

div.stagesAll p span {
    font-weight: bold;

}

@media(min-width:650px) {
    div.stagesAll p {
        padding-bottom: 15px;
        padding-top: 15px;
    }

    section.stages h1 {
        font-size: 35px;
    }

    section.stages h1 span {
        width: 50%;
    }

    div.stage p {
        font-size: 18px;
    }

    div.stagesAll p {
        font-size: 18px;
    }

}

@media(min-width:1020px) {
    div.stage p {
        font-size: 22px;
    }

    section.stages h1 {
        padding: 60px 0;
        font-size: 45px;
    }

    div.stagesAll p {
        font-size: 22px;
    }

    div.stagesAll h2 {
        font-size: 28px;
    }

    section.stages h1 div {
        width: 40%;
    }

    div.stage {
        flex-basis: 45%;
    }

    div.stage div.numbers {
        /* font-size: 28px; */
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 28px;

    }

    div.stage:nth-of-type(1) p {
        padding-right: 15px;
    }


    div.stage:nth-of-type(3) p {
        padding-right: 15px;
    }

    section.stages h1 span {
        width: 40%;
    }

}

/* Sekcja Galeria */

section.gallery {
    max-width: 1900px;
    margin: 0 auto;

}

section.gallery h1 span {
    width: 85%;

}

section.gallery h1 {
    padding: 30px 0;
}

section.gallery h2.namesOfRealizations {
    font-size: 25px;
    text-transform: uppercase;
    text-align: center;
    color: rgba(115, 72, 56, 255);
    font-weight: bold;
    padding-bottom: 30px;
}

section.gallery h2:nth-of-type(2),
section.gallery h2:nth-of-type(3),
section.gallery h2:nth-of-type(4) {
    padding-top: 30px;
}

section.gallery h3.numbersOfRealizations {
    font-size: 20px;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
    font-weight: bold;
    padding-bottom: 15px;
}

section.gallery section.kitchen h3.numbersOfRealizations2 {
    font-size: 20px;
    width: 100%;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
    font-weight: bold;
    padding-top: 15px;
    padding-bottom: 15px;
}



div.kitchenPictures,
section.bathroomFurnitures,
section.shoesFurnitures,
section.corridorFurnitures {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    flex-grow: 0;
    background-image: url(images/main/5.jpg);
    background-position: center;
    background-repeat: repeat-y;

}


div.kitchenPictures div,
section.bathroomFurnitures div,
section.shoesFurnitures div,
section.corridorFurnitures div {
    padding: 5px;
    align-self: center;
}

section.kitchen div.kitchenPictures div img,
section.bathroomFurnitures div img,
section.shoesFurnitures div img,
section.corridorFurnitures div img {
    border: white 3px solid;
    width: 100%;
    /* height: 100%;
    max-width: 100%; */
    /* tymcaszowe rozwiązanie */
}

@media(min-width:650px) {

    div.kitchenPictures div,
    section.bathroomFurnitures div,
    section.shoesFurnitures div,
    section.corridorFurnitures div {
        flex-basis: 22%;
        padding: 5px;
    }

    section.gallery h1 {
        font-size: 35px;
    }

    section.gallery h1 span {
        width: 50%;
    }

    section.gallery h2.namesOfRealizations {
        font-size: 28px;
    }

    section.gallery section.kitchen h3.numbersOfRealizations,
    section.gallery section.kitchen h3.numbersOfRealizations2 {
        font-size: 24px
    }

    /* section.gallery section.kitchen h3.numbersOfRealizations2 {
        font-size: 24px
    } */
}

@media(min-width:1020px) {

    div.kitchenPictures div,
    section.bathroomFurnitures div,
    section.shoesFurnitures div,
    section.corridorFurnitures div {
        flex-basis: 22%;
        padding: 10px;
    }

    section.gallery h1 {
        font-size: 45px;
    }

    section.gallery h1 span {
        width: 40%;
    }

    section.gallery h2.namesOfRealizations {
        font-size: 32px;
    }

    section.gallery section.kitchen h3.numbersOfRealizations,
    section.gallery section.kitchen h3.numbersOfRealizations2 {
        font-size: 28px
    }
}

/* Contact */

footer.end {
    max-width: 1900px;
    margin: 0 auto;
}

footer.end h1 {
    padding: 30px 0;
}

footer.end h1 span {
    width: 60%;
}

footer.end div.fcf-body {
    margin: 0 auto;

}

div.fcf-form-wrap {
    margin: 0 auto;
}

footer.end div.socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 30px;
    text-align: center;
}

footer.end div.socials div.social {
    display: flex;
    flex-basis: 80%;
    justify-content: flex-start;
    align-items: center;
}

footer.end div.socials div.social span {
    display: block;
    background-color: lightgrey;
    width: 60px;
    height: 60px;
    box-shadow: 0 0 5px 4px white;
    border-radius: 50%;
    box-sizing: border-box;
    line-height: 50px;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
}

/* rgb(245, 205, 28); */
footer.end div.socials div.social i {
    color: rgba(115, 72, 56, 255);
    font-size: 40px;
    line-height: 60px;
    text-align: center;

}

footer.end div.socials div.social a {
    color: black;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    line-height: 100px;
    text-align: center;
    margin-left: 10px;
}

footer.end h2 {
    font-size: 25px;
    text-align: center;
    padding-bottom: 30px;
}




@media(min-width:650px) {
    footer.end h1 {
        font-size: 35px;
    }

    footer.end h1 span {
        width: 50%;
    }

    footer.end div.socials div.social {
        flex-basis: 32%;
        justify-content: center;

    }

}

@media(min-width:1020px) {
    footer.end h1 {
        font-size: 45px;
    }

    footer.end h1 span {
        width: 40%;
    }

    footer.end div.socials div.social span {
        width: 100px;
        height: 100px;

    }

    footer.end div.socials div.social i {
        font-size: 60px;
        line-height: 100px;

    }

    footer.end div.socials div.social a {
        font-size: 25px;

    }

}