body{
    margin: 0px;
}
#header{
    background-color:rgb(48, 48, 48);
    text-align:center;
    height:4vw;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: height 0.3s ease;
    z-index: 999;
}    
#witam{
    position:absolute;
    font-size:2.7vw;
    z-index: 1;
    margin-left: 37%;
    color:beige;
    margin-top:5%;
    text-shadow: 3px 5px 2px rgba(0, 0, 0, 0.5);
}
#witam1{
    position:absolute;
    font-size:2.5vw;
    z-index: 1;
    margin-left: 37%;
    color:beige;
    margin-top:5%;
    text-shadow: 3px 5px 2px rgba(0, 0, 0, 0.5);
}   
#hed{
    width: 100%;
    height: 4vw;
}
#header a{
    color:beige;
    display: inline-block;
    padding:0.8%;
    padding-left: 3%;
    padding-right: 3%;
    font-size:0.8vw;
    font-family: Sans-serif;
    font-weight: 600;
    transition: padding 0.3s ease;
    letter-spacing:3px;
}
header div{
    width:2px;
    height:0.8vw;
    display: inline-block;
    background-color: black;
}
a{
    text-decoration: none;
}
h2{
    font-size:60px;
}
.photos{
    width:100%;
    position: relative;
    height: 400px;
    background-image: url('../back2.jpg');
    background-size: 2600px auto;
    background-repeat: no-repeat;
    filter: blur(5px);
    background-attachment: fixed;
    background-position: center bottom -340px;
}
#sphotos{
    background-color: rgb(48, 48, 48);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
}
#sphotos div{
    width:16%;
    text-align: center;
    height:600px;
    padding:40px;
    font-size:25px;
    color:beige;
}
@media screen and (min-width: 1701px) and (max-width: 2300px) {
    #sphotos div{
        flex-basis: 20%;
    }
  }
  @media screen and (min-width:1200px) and (max-width: 1700px) {
    #sphotos div{
        flex-basis: 30%;
    }
  }
  @media screen and (max-width: 1200px) {
    #sphotos div{
        flex-basis: 100%;
    }
  }
#sphotos h3{
    width:100%;
    display: inline-block;
    font-family: Sans-serif;
    font-weight: 600;
    transition: transform 0.3s ease;
}
#sphotos img{
    width:400px;
    height:400px;
}
#sphotos a{
    color:black;
    text-decoration: none;
}
#sphotos div:hover{
    animation-name:zdjecia;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
    animation-direction: alternate;
}
.b{
    display:inline-block;
    color: rgb(32, 138, 173);
    font-family: Sans-serif;
    font-weight: 600;
    vertical-align: middle;
    font-size:30px;
    padding:5%;
}
#linia{
    width:10%;
    height:2px;
    border:none;
    background-color: rgb(32, 138, 173);
}
.p{
    font-size:20px;
}
footer{
    width:100%;
    height:80px;
    margin-bottom: 0px;
    background-color: rgb(48, 48, 48);
    text-align: center;
    padding-top: 30px;
}
footer h3{
    margin-top: 10px;
    font-size: 23px;
    font-weight: 200;
    color:beige;
}
#opinie{
    padding-top: 20px;
    width:100%;
    height:600px;
    background-color: rgb(99, 99, 99);
    text-align: center;
}
#opinie h1{
    font-family: Sans-serif;
    font-weight: 600;
    color: beige;
}
#opinie div{
    height:160px;
    width:33%;
    display: inline-block;
    color: beige;
}
#opinie p{
    font-family: Sans-serif;
    font-weight: 600;
    font-size:17px;
}
#opinie div hr{
    width:20%;
    height:2px;
    border:none;
    background-color: rgb(32, 138, 173);
    margin-top: 70px;

}
#d{
    width:20%;
    height:2px;
    border:none;
    display: none;
    background-color: rgb(32, 138, 173);
    margin-top: 70px;

}
@keyframes zmiana{
    from{
        padding:25px;
        font-size: 25px;
    }
    to{
        padding:27px;
        font-size: 27px;
    }
}
#opinie a{
    border:2px solid black;
    background: linear-gradient(to bottom, rgba(11, 93, 148, 0.8), rgba(82, 153, 219, 0.8));
    padding:3%;
    color:rgb(255, 255, 255);
    border-radius: 3px;
    font-family: Sans-serif;
    font-weight: 600;
    font-size:25px;
}
@keyframes zdjecia{
    from{
        color:beige;
    }
    to{
        color:rgb(185, 85, 85);
    }
}
main{
    background-color: rgb(78, 78, 78);
    display:flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    color:beige;
    flex-wrap: wrap;
    max-width: 100%;
    text-align: center;
}
main h2{
    text-align: center;
    font-size:35px;
}
main h3{
    text-align: center;
    font-size: 25px;
}
main img{
    width:400px;
    height: 350px;
    display: inline-block;
    border:1px solid black;
    border-radius: 10px;
    margin:10px;
    object-fit: cover;
}
#meble img{
    width:400px;
    height: 300px;
    display: inline-block;
    border:1px solid black;
    border-radius: 10px;
    margin:10px;
}
#kon img{
    width:505px;
    height: 400px;
    display: inline-block;
    border:1px solid black;
    border-radius: 10px;
    margin:10px;
}
#ren img{
    width:500px;
    height: 400px;
    display: inline-block;
    border:1px solid black;
    border-radius: 10px;
    margin:15px;
}
main hr{
    width:2%;
    height:2px;
    border:none;
    background-color: black;
}
#kontakt{
    width:75%;
    height: 400px;
    background-color: rgb(65, 65, 65);
    text-align: center;
    font-size:1.5vw;
    font-family: Sans-serif;
    font-weight: 600;
    padding-left: 17%;
    padding-right: 15%;
    color: beige;
    display: flex;
    align-items: center;
}
#kontakt div{
    height: 250px;
    display: inline-block;
}
#mapa{
    padding-top: 20px;
    width:100%;
    height:550px;
    background-color: rgb(99, 99, 99);
    text-align: center;
    padding-bottom:20px;
}
#mapa div{
    height:100%;
    display: inline-block;
}
#uslugi{
    width:100%;
    height:600px;
    background-color: gray;
    color:beige;
    text-align: center;
    padding-top: 2%;
    display: flex;
    justify-content: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
} 
#uslugi p{
   font-size:130%;
   font-family: Sans-serif;
   font-weight: 500;
}
#uslugi div{
    display: flex;
    flex-direction: column;
}
#cursor p:hover{
    cursor: pointer;
}
.usl{
    width:100%;
    margin-left:4%;
    margin-top:1%;
}
#sw{
    letter-spacing: 2px;
}
#opis{
    width:100%;
    height:1150px;
    background-color: rgb(80, 80, 80);
    display: flex;
    justify-content: center;
    align-items: center;
    color:beige;
    text-indent: 40px;
    font-size:1.45vw;
    flex-direction: column;
    font-weight: 700;
    text-align: justify;
}
#opis p{
    width:60%;
    font-family: Gill Sans, sans-serif;
}
#opis hr{
    width:5%;
    background-color: rgb(32, 138, 173);
    border:none;
    height:2px;
}
@media screen and (max-width: 767px){
    #header{
        height:13.5vw;
    }
    #header a{
        font-size: 3.2vw;
    }
    #witam{
        font-size:12vw;
        position: absolute;
        top: 12%;
        left: 18%;
        transform: translate(-50%, -50%);
    }
    #witam1{
        font-size:10vw;
        position: absolute;
        top: 15%;
        left: 18%;
        transform: translate(-50%, -50%);
    }
    #uslugi p{
        font-size:1.5vw;
    }
    #uslugi{
        height:420px;
    }
    #sw{
        font-size:20px;
    }
    main img{
        width:270px;
        height: 180px;
    }
    #meble img{
        width:270px;
        height: 180px;
    }
    #kon img{
        width:585px;
        height: 300px;
    }
    #kontakt{
        font-size:3vw;
        height:350px;
        padding-left:10%;
    }
    #opinie{
        height:650px;
    }
    #opinie p{
        font-family: Sans-serif;
        font-weight: 500;
        font-size:14px;
    }
    #opinie div hr{
        margin-top: 30px;
    
    }
    #opinie div{
        height:60px;
    }
    #opinie a{
        padding:7%;
        font-weight: 600;
        font-size:15px;
    }
    #opinie a:hover{
        animation-name: zmiana;
    }
    #prz{
        margin-top:70px;
    }
    #opinie h1{
        font-size: 3.5vw;
    }
    #d{
        display: inline-block;
    }
    .usl{
        width:13%;
    }
    #opis{
        font-size:3vw;
        height:850px;
    }
    #opis p{
        width:80%;
    }
    .photos{
        background-position: center bottom 240px;
    }
    #sphotos img{
        width:500px;
        height:auto;
    }
    #sphotos div{
        font-size:35px;
    }
    footer p{
        font-size:32px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1199px){
    #header{
        height:12.5vw;
    }
    #header a{
        font-size: 3.3vw;
    }
    #witam{
        font-size:9vw;
        position: absolute;
        top: 12%;
        left: 17%;
        transform: translate(-50%, -50%);
    }
    #witam1{
        font-size:8vw;
        position: absolute;
        top: 15%;
        left: 18%;
        transform: translate(-50%, -50%);
    }
    #uslugi p{
        font-size:100%;
    }
    #sw{
        font-size:30px;
    }
    main img{
        width:325px;
        height: 220px;
    }
    #meble img{
        width:325px;
        height: 220px;
    }
    #kontakt{
        font-size:2.2vw;
        height:350px;
        padding-left:10%;
    }
    #opinie{
        height:650px;
    }
    #opinie p{
        font-family: Sans-serif;
        font-weight: 500;
        font-size:17px;
    }
    #opinie div hr{
        margin-top: 30px;
    
    }
    #opinie div{
        height:60px;
        width:45%;
    }
    #opinie a{
        padding:7%;
        font-weight: 600;
        font-size:20px;
    }
    #opinie a:hover{
        animation-name: zmiana;
    }
    #prz{
        margin-top:70px;
    }
    #opinie h1{
        font-size: 3.5vw;
    }
    #d{
        display: inline-block;
    }
    .usl{
        width:13%;
    }
    #opis{
        font-size:23px;
        height:900px;
    }
    #opis p{
        width:80%;
    }
    .photos{
        background-position: center bottom 240px;
    }
    #sphotos img{
        width:650px;
        height:auto;
    }
    #sphotos div{
        font-size: 40px;
        height:700px;
    }
    footer p{
        font-size:32px;
    }
}
@media screen and (min-width: 1200px){
    #header{
        height:5vw;
    }
    #header a{
        font-size: 1vw;
      }
      #witam{
        font-size:3vw;
        position: absolute;
        top: 15%;
        left: 13%;
        transform: translate(-50%, -50%);
    }
    #witam1{
        font-size:3.5vw;
        position: absolute;
        top: 15%;
        left: 14%;
        transform: translate(-50%, -50%);
    }
    @keyframes zmiana{
        from{
            padding:25px;
            font-size: 25px;
        }
        to{
            padding:27px;
            font-size: 27px;
        }
    }
    #opinie a:active{
        background-color:rgb(17, 95, 238);
    }
    #opinie a:hover{
        animation-name: zmiana;
        animation-duration: 0.2s;
        animation-fill-mode: forwards;
        animation-direction: alternate;
    }
}  