* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

nav {
    background-color: black;
    color: white;
    padding: 15px;
    text-align: center;
}

li, h1, ul {
    display: inline;
}

ul {
    margin-left: 70%;
}

li {
    color: gray;
    cursor: pointer;
    padding: 0 0px;
    display: inline-block;
}

li:hover {
    color: white;
}

a {
    text-decoration: none;
    color: gray;
}

a:hover {
    color: white;
}

.searchbar {
    text-align: center;
    margin: 20px 0;
}

input {
    width: 70%;
    padding: 8px;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.product-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 3px solid black;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
    height: 100%;
}

.product-item:hover {
    background-color:rgb(0, 0, 0);
    color: white;
}

.product-item img {
    width: 100%;
    border-radius: 10px;
}

.product-item h3 {
    margin: 10px 0;
}

.product-item p {
    font-size: 14px;
    margin-bottom: 10px;
}

button {
    background-color: rebeccapurple;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: 100s;
    margin-top: auto;
    align-self: center;
}

button:hover {
    background-color: darkmagenta;
}
.about{
    text-align: center;
    margin: 30px;
    background-color: black;
    color: white;
    padding: 10PX;
    margin: 20px;
}
.contact{
    text-align: center;
    margin: 30px;
    background-color: rgb(69, 60, 96);
    color: white;
    padding: 20px;
    margin: 20px ;
}
