  /* General Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {

    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-family: 'Trebuchet MS', sans-serif;
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

/* Product Card Styles */
.product-card {
    display: flex;
    background-color: #333;
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-image img {
    max-width: 250px;
    border-radius: 8px;
    margin-right: 20px;
}

.product-info {
    flex-grow: 1;
}

.product-name {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}

.product-code {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 10px;
}

.product-details {
    font-size: 16px;
    color: #ddd;
}

/* Footer Styles */
footer {

    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-image img {
        max-width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }

    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    .product-name {
        font-size: 20px;
    }

    .product-code,
    .product-details {
        font-size: 14px;
    }
}


/* General Reset and Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a; /* Dark background for pirate theme */
    color: #fff; /* White text for contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

/* Header Styling */
h2.product-lookup {
    font-size: 20px;
    color: #ffff; /* Gold color for pirate theme */
    margin-bottom: 20px;
    text-align: center;
}

/* Form Styling */
form {
    background-color: #333; /* Dark background for the form */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

form label {
    font-size: 16px;
    color: #fff;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

form input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: #444;
    border: 2px solid #ffff;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus {
    outline: none;
    border-color: #f0a500; /* Focus border color */
}

form button {
    background-color: #ffff; /* Gold button color */
    color: #000;
    padding: 14px 28px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #c67c00; /* Slightly darker yellow for hover effect */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    h2.product-lookup {
        font-size: 20px; /* Slightly smaller text on mobile */
    }

    form {
        padding: 15px;
        max-width: 350px; /* Adjust form width for smaller screens */
    }

    form input[type="text"] {
        font-size: 14px; /* Adjust font size on mobile */
        padding: 10px;
    }

    form button {
        font-size: 14px;
        padding: 12px 24px;
    }
}