*{
    padding: 0;
    margin: 0;
    border: 0;
}
body{
    background-color: #fbfbfb;
}
header{
    margin-top: 0;
    width: 100%;
    position:fixed;
    background-color: #fff;
}
header ul li{
    display: inline;
}
header div{
    display: flex;
    justify-content:space-between;
    align-items: center;
}
header ul li a{
    text-decoration: none;
    color: black;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    margin: 10px;
}
header ul li a:hover{
    transition: color ease-in-out 0.3s;
    color: rgb(195, 16, 16);
}
header .wycena{
    padding: 10px;
    background-color: rgb(195, 16, 16);
    color: white;
    border-radius: 5px;
}
.wycena:hover{
    background-color: rgb(145, 31, 31);
    color: white;
}
.stronaglowna{
    color: rgb(195, 16, 16);
}
header img{
    width: 15vw;
}
/*KONIEC HEADERA

POCZĄTEK ŚRODKA STRONY*/

.body-all{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 100px;
    padding-top: 200px;
}
.body-first-div{
    margin-right: 40px;
    font-family: 'exo 2';
}
.bodyfd-header{
    font-weight: 700;
    font-size: 2.5vw;
    margin-bottom: 10px;
    color: rgb(40, 54, 123);
}
.bodyfd-underheader{
    width: 40vw;
    font-size: large;
}
/*FORM*/
.body-form{
    text-align: center;
    background-color: white;
    margin-left: 40px;
    width: 35vw;
    box-shadow: 0px 0px 10px -10px rgba(0, 0, 0, 1);
}
input{
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 2px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}
.body-form-wycena{
    color: rgb(40, 54, 123);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 2.2vw;
    margin-top: 30px;
}
.body-form-under-wycena{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
textarea{
    background-color: #f4f4f4;
    border-radius: 2px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
}
#imie, #telefon{
    margin: 15px;
    display: inline;
    width: 12vw;
}
#email{
    margin: 15px;
    width: 28vw;
}
#wiadomosc{
    width: 28vw;
    padding: 10px;
    margin: 15px;
    resize: vertical;
}
#wyslij{
    background-color: rgb(195, 16, 16);
    color: white;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    border-radius: 5px;
    margin-bottom: 30px;
}
#wyslij:hover{
    background-color: rgb(145, 31, 31);
}
.best-text{
    color: rgb(40, 54, 123);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 2.5vw;
    margin-top: 30px;
    text-align: center;
    margin: 20px 0px 20px 0px;
}
.all-form2{
    text-align: center;
    box-shadow: 0px 0px 10px -10px rgba(0, 0, 0, 1);
}
/*FOOTER*/

footer{
    background-color: #fff;
    margin-top: 150px;
    font-family: 'exo 2';
}
.footer-all{
    display: flex;
    justify-content: space-between;
    padding: 30px 100px 30px 100px;
    align-items: center;

}
footer img{
    width: 15vw;
}
footer .footer-all div ul li a{
    color: black;
}
footer .footer-all div ul li .stronaglowna{
    color: rgb(195, 16, 16);
}
footer .footer-all div ul li{
    list-style: none;
}
footer .footer-all div p a{
    color: black;
}
.icons{
    text-align: center;
}
.facebook{
    width: 2%;
    margin-bottom: 10px;
}
.hamburger1{
    display: none;
}
@media screen and (max-width:500px) {
    header div ul{
        display: block;
    }
    header div ul li{
        text-align: left;
        margin: 0;
        border: 0;
        padding: 3px;
    }
    header img{
        width: 50vw;
    }
    header{
        height: max-content;
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }
    header div .hamburger ul .kontaktli{
        padding-bottom: 15px;
    }
    .header{
        font-size: 6vw;
        padding-top: 200px;
    }
    .footer-all{
        gap: 50px;
        margin: 0;
        padding: 0;
        flex-direction: column;
    }
    .footer-all img{
        width:  50vw;
        margin: 0;
        padding-top: 10vw;
    }
    .icons{
        padding-top: 20px;
        width: 100%;
    }
    header div .hamburger ul{
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .hamburger{
        display: none;
        z-index: 999;
        position: absolute;
        top: 60px;
        width: 100%;
        background-color: white;
        padding: 10px;
        padding-bottom: 30px;
    }
    .hamburger1{
        font-size: 8vw;
        padding: 2px 10px 2px 10px;
        color: white;
        margin-right: 20px;
        background-color: rgb(40, 54, 123);
        z-index: 999;
        text-decoration: none;
        display: block;
    }
    .body-all{
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }
    .body-form{
        width: 80vw;
        margin: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    #imie, #telefon, #email, #wiadomosc{
        display: block;
        width: 67vw;
    }
    .body-form-wycena{
        font-size: 8vw;
    }
    .body-form-under-wycena{
        width: fit-content;
        padding-left: 10px;
    }
    .bodyfd-header{
        font-size: 7vw;
        width: 100vw;
        text-align: center;
        margin-left: 40px;
    }
    .bodyfd-underheader{
        text-align: center;
        margin-left: 80px;
        width: 80vw;
    }
    .best-text{
        font-size: 6vw;
    }
    .all-form2{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
