body{
    margin: 0;
    background-color: rgb(26,25,25);
}
header{
    background-color: rgb(46, 45, 45);
    color: white;
    height: 70px;
    position: sticky;
    top: 0px;
}
.headerin{
    max-width: 1260px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.logo{
    height: 70px;
}
.nav{
    display: flex;
    align-items: center;
}
.logotext{
    font-weight: 200;
    font-family: Arial;
    letter-spacing: 1px;
    margin: 0;
    margin-left: 15px;
}
.header-list{
    margin:0;
    padding: 0;
    list-style: none;
    display: flex;
    height: 70px;
    align-items: center;
}
.item-object{
    color: white;
    font-size: 25px;
    margin-right: 10px;
}
.item-object:hover{
    color: gray;
    transition: 0.3s;
}
.back{
    max-height: auto;
    background-color: rgb(26,25,25);
}
.back1{
    max-width: 1260px;
    margin: auto;
    height: 700px;
    background-image: url("./back1.jpg");
    background-position: center top;
    display: flex;
}
.back2{
    background-color: rgba(167, 167, 167, 0.7);
    height: 300px;
    width: 80%;
    border-radius: 10px;
    display: block;
    margin: auto;
    flex-wrap: wrap;
    padding: 5px;
    text-align: center;
    font-size: 20px;
}
.phone{
    color: rgb(206, 0, 0);
    font-weight: 600;
}
h1, p, h2{
    text-align: center;
}
h2{
    width: 100%;
}
#main, #main2{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: auto;
}
#main3{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: auto;
}
.offer{
    border: 1px solid black;
    border-radius: 6px;
    font-size: 30px;
    background-color: rgb(110, 97, 97);
    color: white;
    padding: 10px;
}
.service{
    width: 300px;
    text-align: center;
    text-wrap: wrap;
}
.ikona{
    height: 550px;
    max-width: 1000px;
}
footer{
    background-color: rgb(46, 45, 45);
    display: flex;
    justify-content: space-evenly;
    height: 200px;
}
.leftlist, .rightlist{
    list-style: none;
}
.adress, .contact, .contactval{
    margin: 10px;
    margin-left: 50px;
    font-size: 30px;
    color: white;
}
.dane:hover{
    color: gray;
    transition: 0.3s;
}

a{
    text-decoration: none;
}
.real{
    width: 300px;
    text-align: center;
    text-wrap: wrap;
}
@media screen and (max-width:550px) {

    header{
        height: auto;
        position: static;
    }
    .headerin{
        display: block;
    }
    .header-list{
        display: block;
        height: auto;
    }
    .header-list-item{
        padding: 10px 15px;
    }
    .back2{
        height: 450px;
    }
    .back1{
        height: auto;
    }
    .offer{
        width: auto;
        height: auto;
        font-size: 25px;
    }
    .back{
        height: 500px;
    }
    footer{
        height: auto;
        display: block;
        text-wrap: wrap;
    }

    .adress, .contact, .contactval{
        margin: auto;
        font-size: 25px;
    }
    
}