
* {
    box-sizing: border-box;
    margin: 0;
}
body{
    font-family: "Nunito", sans-serif;
}

.container {
    position: relative;
}


.slides {
    display: none;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.8);
}


.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


.prev:hover,
.next:hover {
    background-color: rgba(155, 155, 155, 0.8);
}

.number {
    color: #000000;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}
.slide{
    height: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
fieldset>input{
    box-sizing: border-box;
    border: none;
    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding: 15px 15px 15px 40px;
    background-size: 20px 20px;
    height: 40px;
    width: 75%;
    color: #000000;
    font-weight: bold;
    background-color: #D9D9D9;
    border-radius:8px;
    margin-bottom: 10px;

}
input[type="radio"]
{
    height: 20px;
    width: 20px;
    padding-bottom: 0;
    padding-top: 0;
}
input[type="checkbox"]
{
    padding: 0;
    margin: 0;
    width: 40px;
}
input[type="submit"]
{
    height: 48px;
    border: 0;
    background-color: #0F464A;
    border-radius: 6px;
    width: 100px;
    margin: 0 0 8px 8px;
    padding: 0;
    font-weight: bold;
    color: white;
}

input[type="reset"]
{
    height: 48px;
    border: 0;
    background-color: #0F464A;
    border-radius: 6px;
    width: 100px;
    margin: 0 0 8px 8px;
    padding: 0;
    font-weight: bold;
    color: white;
}
input[type="submit"]:hover{
    background-color: #2F666A;
    cursor: pointer;
}
input[type="reset"]:hover
{
    background-color: #2F666A;
    cursor: pointer;
}

input[type="text"],[type="tel"],[type="email"]{
    width: 512px;
}

textarea{
    max-width: 512px;
    max-height: 512px;
}
#imie{
    background-image: url("ikony/user.svg");

}
#nazwisko{
    background-image: url("ikony/user.svg");
}
#kod{
    background-image: url("ikony/user.svg");
}
#miasto{
    background-image: url("ikony/miasto.svg");
}
#ulica{
    background-image: url("ikony/ulica.svg");
}
#nrdomu{
    background-image: url("ikony/nrdomu.svg");
}
#nrmieszkania{
    background-image: url("ikony/nrmieszkania.svg");
}
#email{
    background-image: url("ikony/email.svg");
}
#telefon{
    background-image: url("ikony/telefon.svg");
}
fieldset{
    border: none;
    font-weight: bold;

}
.zgody{
    display: flex;
    justify-content: space-between;
}
.pasek {
    background-color: #C4D5E8;
    display: flex;
    height: 100px;
    justify-content: space-between;
}

.searchbar {
    background-color: #fefefe;
    border-radius: 12px;
    display: flex;
    align-self: center;
    width: 512px;
    margin: auto;
}

.pole {
    outline: none;
    border: none;
    height: 48px;
    width: 464px;
    margin-left: 16px;
    font-size: 16px;
}

.searchbar img {
    width: 32px;
    margin-top: 8px;
    margin-right: 8px;
}

.logo {
    height: 72px;
    align-self: center;
}

.icon {
    width: 48px;
}

.a {
    margin: 16px 16px 0 16px;
}

.a > p {
    text-align: center;
    margin: 0;
}
.main{
    display: flex;
    justify-items: center;
}
.searchbar{
    display: none;
}
form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 512px;
    margin: auto;
}
.przyciski{
    display: flex;
    justify-content: center;
}
.galeria{
    display: flex;
    width: 80%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 470px;
    margin: auto;
    background-color: #D9D9D9;
    border-radius: 8px;

}
.galeria img{
    height: 400px;
    margin: 8px;
}
article{
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1 {
    text-align: center;
}
@media (max-width: 768px) {
    form,input[type="text"],[type="tel"],[type="email"]{
        width: 100%;
    }
    .baner_container {
        display: none;
    }

    .mobile_pasek {
        display: flex;
        background-color: #C4D5E5;
        height: 64px;
        justify-content: space-between;
    }

    .content {
        display: flex;
        flex-direction: row;
        width: 70%;
        min-width: 1200px;
        max-width: 1600px;
        margin: auto;
        padding-top: 16px;
        flex-wrap: wrap;
    }

    .menu_icons {
        display: none;
    }

    .searchbar {
        display: none;
    }

    .pole {
        height: 48px;
        width: 90%;
        margin-left: 16px;
        font-size: 20px;
    }

    .searchbar img {
        width: 48px;
        padding-right: 8px;
    }

    nav {
        display: none;
    }

    .pozycja {
        width: 72px;
        padding-top: 8px;
    }

    .menu_icons {
        display: flex;
        margin: 8px 0 0 auto;

    }

    .menu_icons p {
        display: none;
    }
    .a p{
        display: none;
    }

    .back {
        float: left;
        width: 48px;
        margin: 28px 0 0 16px;
    }
    .galeria{
        display: flex;
        overflow-y: auto;
        margin: auto;
        background-color: #D9D9D9;
        border-radius: 8px;
        height: 100vh;
        width: 100%;
        flex-direction: column;

    }
    .galeria img{
        width: 100vw;
        height: auto;
        margin: 8px;
    }
    article{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    h1 {
        text-align: center;
    }
}
