.top{
    background-color: rgb(56, 55, 55);
    color: white;
    text-align: center;
}
.img-logo{
    height: 150px;
    position: relative;
    bottom: 10px;
    background-color: peachpuff;
}
.search{
    padding-right: 300px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    bottom:80px;
    text-align: center;
}
ul{
    position: relative;
    bottom: 50px;
    text-decoration: none;
}
li{
    display: inline;
    padding-left: 50px;
    text-decoration: none;
}
.Bedroom{
    background-color: rgb(180, 125, 78);
    color: white;
    padding-bottom: 60px;
    padding-top: 30px;
    border-radius: 5px;
}
.Bedroom:hover{
    color: brown;
}
.woem{
    font-size: 50px;
    padding-bottom: 10px;
    text-align: center;
}
.Save{
     font-size: large;
     padding-left: 38%;
}
.btn-explore{
    padding: 20px;
    margin-left: 43%;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 10px;
    border-color: rgb(195, 138, 88);
}
.btn-explore:hover{
    transform: scale(1.05);
    background-color: brown;
}
.Transform{
    text-align: center;
    font-size: larger;
}
.products{
    display: flex;
    height: 400px;
    width: 40px;
    margin-left: 70px;
}
.sideboards{
    margin-right: 50px;
}
.sofas{
    margin-right: 40px;
}
.TV-units{
    margin-right: 40px;
}
.Transform2{
    display: flex;
    height: 400px;
    width: 40px;
    margin-left: 70px;
    margin-top: 40px;
    margin-bottom: 60px;
}
.coffee{
    margin-right: 40px;
}
.dinning{
    margin-right: 40px;
}
.TV-units:hover {
    transform: scale(1.05);
    
} .sideboards:hover{
    transform: scale(1.05);
    cursor: pointer;
}
.sofas:hover {
    transform: scale(1.05);
    cursor: pointer;
} .coffee:hover{
    transform: scale(1.05);
    cursor: pointer;
}
.dinning:hover {
    transform: scale(1.05);
    cursor: pointer;
}
 .chairs:hover{
    transform: scale(1.05);
    cursor: pointer;
}
.footer-1{
    padding-top: 50px;
    text-align: center;
}
.footer-p{
    margin-top: 50px;
    text-align: center;
}
.footer-p2{
    text-align: center;
    margin-top: 50px;
}
.footer-p3{
    text-align: center;
    margin-top: 50px;
}
.footer-p4{
    text-align: center;
    margin-top: 50px;
}
.footer-p5{
    text-align: center;
    margin-top: 50px;
}
footer{
    background-color: rgb(245, 236, 228);
}
.img-ft{
    opacity: 50%;
}
.last{
    display: flex;
}
.last1{
    padding-left: 10px;
    opacity: 40%;
}
@media (max-width: 1200px) {
    .search {
        padding-right: 50px;
    }
    
    .products, .Transform2 {
        flex-direction: column;
        align-items: center;
        width: auto; /* Adjust width for better responsiveness */
    }

    .products {
        height: auto; /* Allow height to adjust automatically */
    }

    .sideboards, .sofas, .TV-units, .coffee, .dinning {
        margin-right: 0;
        margin-bottom: 20px; /* Add margin for spacing between items */
    }
}

@media (max-width: 800px) {
    .img-logo {
        height: 100px; /* Reduce logo size */
        bottom: 5px; /* Adjust position */
    }

    .woem {
        font-size: 36px; /* Smaller font size */
    }

    .Bedroom {
        padding-bottom: 30px; /* Adjust padding */
        padding-top: 20px;
    }

    .btn-explore {
        margin-left: 30%; /* Center button on smaller screens */
        padding: 15px; /* Adjust padding */
    }

    ul {
        bottom: 20px; /* Adjust position */
    }

    li {
        padding-left: 20px; /* Reduce padding */
    }
}

@media (max-width: 500px) {
    .top {
        padding: 20px; /* Add padding */
    }

    .footer-1, .footer-p, .footer-p2, .footer-p3, .footer-p4, .footer-p5 {
        margin-top: 20px; /* Reduce margin */
    }

    .last {
        flex-direction: column; /* Stack footer items */
        align-items: center;
    }

    .last1 {
        padding-left: 0; /* Adjust padding */
        opacity: 70%; /* Increase opacity */
    }
}
