body {
    background: #1f1c2c;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.header {
    width: 100%;
    height: 500px;
    background: url(./background.webp) no-repeat 0 -299px;
    background-size: cover;
    background-attachment: fixed;
    box-sizing: border-box;
    box-shadow: 0 15px 0 rgba(0, 0, 0, 0.7);
}

.header .logo {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Pacifico', cursive;
    font-size: 56px;
    color: #b5eeff;
    transform: rotate(-11deg);
}

.main {
    width: 100%;
    height: 100%;
}

#products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 16px;
    text-align: center;
    font-family: Arial, sans-serif;
    transition: transform 0.3s, box-shadow 0.3s;
    background: rgba(100, 100, 40, 0.2);
}

.product-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.product-card .product-image {
    background: #fff;
    border-radius: 4px;
    height: 250px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-card img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
}

.product-card .product-title {
    font-size: 16px;
    margin: 11px 0 12px;
    font-weight: bold;
}

.product-card .buy-button {
    background-color: #ff9900;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.product-card .buy-button:hover {
    background-color: #e68a00;
}

@media (max-width: 600px) {
    .header {
        height: 223px;
        background-position: top center;
        background-size: contain;
    }

    .header .logo {
        font-size: 24px;
        top: 10px;
        left: 10px;
    }

    .product-card {
        padding: 12px;
    }

    .product-card .product-title {
        font-size: 14px;
    }

    .product-card .buy-button {
        padding: 8px 16px;
    }
}
