body{
    padding: 0;
    margin: 0;
}
header nav{
    text-align: center;
    width: 80%;
    margin: 0 auto;
    
}
header nav ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
header nav ul li {    
    margin: 20px ;
    width: 15%;
    background-color: rgb(37, 75, 243);
    color: lightblue;
    padding: 20px 10px;
    font-weight: bold;
    font-size: 1.5em;
    list-style: none;
    cursor: pointer;
    transition: all 600ms;
    border-radius: 20px;


}
header nav ul li:hover{
    background-color:lightblue ;
    color: rgb(37, 75, 243);
    transform: scale(1.1);
}

#products{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    


}

#products section {
    width: 25%;
    margin: 31px;
    /* border: 1px solid black; */
    box-shadow: 5px 5px 15px black , -5px -5px 15px black  ;
    padding: 20px;
    
}


#products section img {
    width: 90%;
    height: 30vh;
    display: block;
    margin: 0 auto;
}

#products section h1 {
    font-size: 0.9em;
    text-shadow: 0 0 5px rgb(244, 149, 149);
    height: 10vh;
}

#products section p {
    height: 30vh;
}
#products section button {
    width: 50%;
    padding: 2vh;
    text-align: center;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    border-radius: 20px;
}

#products section button:hover {
    background-color: rgb(73, 237, 73);
}













@media screen  and ( max-width:840px){
    header nav {
        width: 100%;
    }
    
    header nav ul {
        display: flex;
        flex-wrap: wrap;

    }
    
    header nav ul  li {
        width: 20%;
        font-size: 1em;
        padding:5px ;
        margin: 2px;
        background-color: rgb(49, 48, 48);
        color: lightgrey;
        border-radius: 0px;

    }
    header nav ul li:hover{
        background-color:lightgrey ;
        color: rgb(49, 48, 48);
        transform: scale(1.1);
    }

    #products section {
    width: 45%;
    margin:10px  2px;
    /* border: 1px solid black; */
    box-shadow: 5px 5px 15px black , -5px -5px 15px black  ;
    padding: 5px;
    
    }

    #products section p {
    height: 20vh;
    overflow: auto;
    }
    #products section h1{
        height: 5vh;
    }

    
    
}