* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    background-color: #f5f5f5;
    min-height: 100vh;
}

.main {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-family: "Staatliches", serif;
}

nav{
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
   
}
nav h1{
    margin: 50px;
    font-size: 3.5rem;
    cursor: pointer;
    font-weight: 400;
}
nav h3{
  font-weight: 400;
}
.header{
    
    margin-right: 50px;
    cursor: pointer;
    display:flex;
    gap: 30px;
}

.header a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header a:hover {
    color: #ff6b6b;
}

nav h1 {
    color: #ff6b6b;
    font-size: 2rem;
    cursor: pointer;
}

#postContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

#postContainer div {
   
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#postContainer div:hover {
    transform: translateY(-5px);
}

.name {
    color: #333;
    margin-bottom: 0.5rem;
}

.quantity {
    color: #666;
    margin-bottom: 1rem;
}

.desc {
    color: #888;
    line-height: 1.5;
    margin-bottom: 1rem;
}

img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.contact {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact:hover {
    background-color: #ff5252;
}

@media (max-width: 768px) {
    nav h1{
        font-size: 2rem;
        margin: 20px;
    }
    nav h3{
        font-size: 0.8rem;
        font-weight: 400;
    }
  
   
    
    #postContainer {
        grid-template-columns: 1fr;
    }
}