* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial,sans-serif;
    background-color: white;
}

header {
    background-color: black;
    color:white;
    padding: 16px;
    text-align: center;
}



nav {
    display: flex;
    justify-content: center;
    background-color: black;
    padding: 8px;
}

nav a{
    color:yellow;
    margin: 0 16px;
    text-decoration: none;
}

nav a:hover {
    color:red;
}

ul {
    list-style-type: none;
}

.menu li {
    display: inline-block;
    width: 150px;
    position: relative;
}

.menu li .submenu {
    display: none;
    position: absolute;
    background-image: linear-gradient(to right, black, white);
}

.menu li .submenu li {
    padding-top: 2px;
    padding-bottom: 2px;
    border: 1px dashed white;
}

.menu li:hover .submenu {
    display:block;
}



.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 30px;
}

.product {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 0 10px gray;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product img {
    width: 100%;
    height: 100px;
    object-fit: fill;
    border-radius: 4px;
}

.product h3 {
    margin: 16px 0 0px;
    font-size: 10px;
}

.product p {
    color: rgb(48, 47, 47);
}

.product button {
    margin-top: auto;
    padding: 8px 16px;
    background-color: green;
    color:white;
    border:none;
    border-radius: 5px;
    cursor: pointer;
}

.product button:hover {
    background-color: rgb(2, 73, 2);
}