*{
    margin: 0;
    padding: 0;
    border: border-box;
    font-family: Arial;
}

body{
    background-color: rgb(231, 232, 233);
}

.navbar{
    height: 60px;
    width: 100%;
    background-color: #0f1111;
    box-shadow: 5px 5px 30px pink;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo{
    height: 50px;
    width: 100px;
    background-image: url("https://koto.studio/wp-content/uploads/2025/04/Amazon_CS_01_Intro_00_Thumbnail.jpg");
    background-size: cover;
}

.border:hover{
    border: 2px solid white;
}

.logoaddress{
    color: white;
}

/* adjust address*/

.first-text{
    font-size: 10px;
    margin-left: 15px;
}

.location{
    display: flex;
    align-items: center;
}

.second-text{
    margin-left: 3px;
}

/* Search*/

.nav-search{
    height: 40px;
    width: 480px;
    background-color: white;
    border: 2px solid white;
    border-radius: 3px;
    display: flex;
    align-items: center;
}
#main{
    height: 40px;
    width: 40px;
    border-color: white;
    background-color: rgb(211, 208, 208);
}
#main1{
    outline: none;
    width: 400px;
    border: 2px solid white;
    text-align: center;
    font-size: 15px;
}

a{
    text-decoration: none;
}
#main2{
    background-color: rgb(226, 162, 44);
    color: #0f1111;
    width: 50px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* login*/

.order-return{
    width: 75px;
}

.small{
    color: white;
    font-size: 10px;
    margin-left: 3px;
}

.add-font{
    width: 125px;
    background-color: #0f1111;
    color: white;
    border: #0f1111;
    font-weight: bold;
}

.add-font1{
    background-color: #0f1111;
    color: white;
    border: #0f1111;
    font-weight: bold;
}

.cart p{
    color: white;
}

/*below navbar*/

.nav-2{
    height: 30px;
    background-color: #353564;
    display: flex;
    align-items: center;
}

.inner{
    background-color: #353564;
    width: 600px;
    margin-left: 7px;
    display: flex;
    justify-content: space-between;
}

.line{
    color: white;
}

#decoration{
    font-size: 12px;
    color: white;
}

h6{
    display: inline;
    margin-left: 2px;
    position: relative;
    bottom: 2px;
}

#decoration:hover{
    font-size: 14px;
}

.inner-2{
    width:900px;
    font-size: 13px;
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: row-reverse;
}

.container{
   height: 300px;
   width: 100%;
   display: flex;
}

.inner-container{
     background-image: url("amazon.jpg");
     background-size: 100%;
     background-repeat: no-repeat;
     width:100%;
}

/* items */
.inner-box{
    height: 320px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.inner_box_2{
    height: 600px;
    width: 100%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.box{
    background-color: white;
    height: 280px;
    width: 250px;
    text-align: center;
    padding-top: 10px;
    box-shadow: -2px 2px 20px 4px rgb(161, 143, 143);
    transition-property: all;
    transition-duration: 400ms;
    position: relative;
    animation-name: Sanjib;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}

@keyframes Sanjib {
    from{
        top: -30px;
    }

    to{
        top:0;
    }
}

.box p a{
    font-family: Cambria;
    text-decoration: none;
    color: black;
}

.box:hover{
    height: 285px;
    width: 255px;
}



/* adjust screensize*/

@media only screen and (max-width:1044px) {
    .nav-search{
        width: 360px;
        justify-content: space-between;
    }
}

@media only screen and (max-width:860px) and (min-width:600px) {
    .nav-search{
        width: 200px;
        height: 30px;
        justify-content: space-between;
    }

    #main{
        height: 30px;
    }

    #main1{
        width:180px;
        font-size: 10px;
    }

    #main2{
        height: 30px;
        width: 35px;
    }
}

@media only screen and (max-width:600px) {
    .navbar{
        width:800px;
        justify-content: space-between;
    }

    .nav-2{
        width: 800px;
    }
    .container{
        width: 800px;
    }

    .inner-box{
        width: 800px;
    }

    .inner_box_2{
        width: 800px;
    }

}

@media only screen and (max-width:1000px){
    .inner-box{
        height: 600px;
    }
}