*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#myNav{
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 2px 2px 10px grey;
    position: sticky;
    top: 0;
    z-index: 999;
}
#welcoomeText{
    font-size: 30px;
    color:grey;
    margin-bottom: 10px;
    text-align: center;
    animation: Welcome 2s ease-in-out ;
}
#myHeading{
    font-size: 2rem;
    text-align: center;
    animation: Welcome 2s ease-in-out ;
}
#mySearch{
    width: 80%;
    display: block;
    margin: auto;
    height: 40px;
    border: 1px solid grey;
    border-radius: 10px;
    padding-left: 30px;
    margin-top: 10px;
    animation: Search 5s linear;
}
.item{
    width: 200px;
}

img{
    width: 100%;
}

.gallery{
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: space-evenly;
    padding: 0px 50px;
    animation: gallery 5s ease-in-out;
}
.title, .price{
    text-align: center;
}
.title{
    font-size: 1.2rem;
}
.price{
    font-size: large;
    color: grey;
    font-weight: bolder;
    margin-bottom: 15px;
    margin-top: 5px;
}
.buy{
    border: 2px solid blueviolet;
    padding: 10px 20px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 40px;
}
.buy:hover{
    background-color: blueviolet;
    color: white;
}


/* Animations */

@keyframes Welcome {
    0%{
        transform: translateY(-150px);
    }
    100%{
        transform: translateY(0px);
    }
}

@keyframes Search {
    0%{
        transform: translateX(-500px);
    }
    100%{
        transform: translateX(0px);
    }
}

@keyframes gallery {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}









/* Media queries */
/* small screen size  */
@media screen and (min-width:480px) and (max-width:900px) {
    
    .gallery{
        grid-template-columns: auto auto;
        column-gap: 20px;
    }





}