
body {
   
    background-image: url('https://www.ineedseohelp.com/Pet-place/Cat-background.jpg'); /* Replace with the actual path to your image */
    background-size: cover; /* Ensures the image covers the entire screen */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    background-attachment: fixed; /* Keeps the background static on scroll */
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background-color: #6a5acd;
    color: #fff;
    padding: 20px;
}

h1 {
    font-size: 2.5em;
    margin: 0;
}

main {
    margin: 20px;
    padding: 0 10px;
}

#upload-section, #reading-section, #processing-section {
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button {
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #6a5acd;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #5a4abd;
}

footer {
    margin-top: 20px;
    padding: 10px;
    background-color: #eee;
}

/* Progress Bar */
#progress-bar-container {
    width: 100%;
    height: 20px;
    background-color: #eee;
    border-radius: 10px;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-color: #6a5acd;
    transition: width 1s linear;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    #upload-section, #reading-section, #processing-section {
        max-width: 90%;
        padding: 15px;
    }

    button {
        padding: 8px 16px;
        font-size: 1em;
    }

    #pet-image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }

    #upload-section, #reading-section, #processing-section {
        max-width: 95%;
        padding: 10px;
    }

    button {
        padding: 8px 14px;
        font-size: 0.9em;
    }

    footer {
        font-size: 0.9em;
    }
}

/* Add spacing between form elements */
#pet-info-form label,
#pet-info-form input,
#pet-info-form select {
    display: block; /* Ensure each element is on a new line */
    margin-bottom: 15px; /* Adds space below each element */
}

#pet-info-form input,
#pet-info-form select {
    width: 100%; /* Optional: Make inputs and dropdowns full-width */
    padding: 10px; /* Optional: Add padding inside inputs for better UX */
    font-size: 1em; /* Optional: Adjust font size for readability */
}
