\\/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #ecf0f1;
    margin: 0;
    padding: 0;
}

/* Main container styling */
.product-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 15px;
    background-color: #f7f9fc;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.product-info-container:hover {
    transform: scale(1.02);
}

/* Header style for the barcode input */
h2 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 1em;
}

/* Styling the product image */
#productImage {
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

/* Styling each field in the product information */
.product-info p {
    font-size: 1.1em;
    line-height: 1.5em;
    margin: 8px 0;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    max-width: 750px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

/* Styling for the field title */
.product-info p strong {
    color: #2c3e50;
    font-weight: bold;
}

/* Button styles */
button {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    margin-top: 15px;
}

/* Button hover effect */
button:hover {
    background-color: #2980b9;
}

/* Barcode input styling */
#barcodeInput {
    padding: 8px;
    font-size: 1em;
    width: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

/* Responsive design for mobile */
@media screen and (max-width: 600px) {
    .product-info-container {
        padding: 15px;
        max-width: 95%;
    }
    #productImage {
        max-width: 150px;
        max-height: 150px;
    }
    h2 {
        font-size: 1.2em;
    }
    .product-info p {
        font-size: 1em;
        max-width: 100%;
    }
}

/* Styling for the footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #34495e;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Additional styles for animations */
@keyframes rain {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.rain {
    position: relative;
}

.food-emoji {
    position: absolute;
    top: 0;
    animation: rain 1s linear infinite;
    font-size: 24px; /* Adjust size as necessary */
    z-index: 10;
}
