@media (max-width:480px){
    header{
        height: 80px;
    }
    header nav{
        width: 90%;
    }

    nav ul{
        display: flex;
        flex-direction: column;
        padding: 50px 0;
        width: 50%;
        height: 100vh;
        background-color: white;
        position: fixed;
        top: 0;
        right: 0;
        box-shadow: 0 0px 10px rgba(0, 0, 0, 0.387);
        transition: transform 0.5s ease;
        transform: translateX(105%);
    }

    nav ul li{
        padding: 20px;
    }
    .menu{
        display: block;
    }
    #close{
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        z-index: 1;
    }
    .close img{
        width: 30px;
    }
    .menu img{
        width: 40px;
    }
    .home .container{
        padding: 20px;
    }
    .home .contents em{
        border-bottom: 1px double orange ;
    }
    .home .contents .year{
        padding: 0 5px;
    }
    
    .home .prod p{
        font-size: 20px;
    }
    .home .prod button{
        padding: 10px 30px;
    }
    .home .homeproducts{
        width: 330px;
        margin:15px 0;
        height: 200px;
        box-shadow:0 0 10px rgba(0, 0, 0, 0.146);
        border-radius: 10px;
        flex-grow: 1;
        flex-basis: 200;
    }

    .home .buttons-navigater{
        position: fixed;
        right:20px;
        bottom: 50px;
        z-index: 1;
    }
    
    .categories .categories-list{
        width: 160px;
        height: 200px;
        margin: 8px;
    }
    
    .categories-list img{
        width: 100%;
        height: 150px;
    }

    .categories-list p{
        padding-left: 5px;
        font-size: 14px;
    }

      .scroll-nav a{
        font-size: 13px;
  }
    
    .allpagecontainer{
        margin:12px;
    }
    .instrument{
        margin-top: 100px;
        font-size: 0.9rem;
      }
.products-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin:0;
}

.products-container .product{
    width: 160px;
    height: 280px;
    margin: 5px;
}
.products-container .product .image-cont{
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .products-container .product label{
       font-size: 12px;
        }
        .products-container .product a{
            padding: 3px 7px;
            background-color: #333;
            border-radius: 10px;
            margin-left: 5px;
            transition: 0.4s ease;
            color: white;
            font-size: 12px;
        }
        
        .products-container .product a:hover{
            color: black;
            background-color: white;
            border: 1px solid black;
        }
        .product .rating{
            margin: 2px;
        }
        
        .product .rating i{
            color: orange;
            font-size: 13px;
        }
    
    .about .image{
        width: 330px;
        height: 290px;
        background-color: #b4b4b4;
    }

    .about-content{
        margin: 0;
    }
    
    .about-content p{
        color: gray;
        font-size: 12px;
    }
    
    .banner p{
        color: gray;
        font-size: 12px;
        width: 250px;
    }

    footer .container{
        padding: 0px;
    }

    footer .links{
        flex-grow: 1;
        flex-basis: 200;
        margin: 20px;
    }
    /* contact us responsiveness */
.message-us{
    padding: 20px 0;
}
.message-us .company-info{
    margin: 20px;
    gap: 30px;
}
.company-info .our-info{
    padding: 20px;
}
.company-info .our-info h1{
    font-size: 1rem;
}
    
}

@media (max-width:360px) {
    .categories .categories-list{
        width: 150px;
        height: 200px;
        margin: 5px;
    }
    
}