/* General Styles */ body { font-family: "Arial", sans-serif; text-align: center; background-color: #f4f4f9; margin: 0; padding: 0; } html, body { height: 100%; overflow-y: auto !important; } /* Container */ .container { background: white; width: 50%; margin: 50px auto; padding: 30px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); border-radius: 10px; min-height: 120vh; } /* Headings */ h1 { color: #333; } /* Intro Text */ .intro { font-size: 16px; color: #666; margin-bottom: 20px; } /* Upload Button */ .custom-file-upload { display: inline-block; padding: 10px 20px; background-color: #007BFF; color: white; cursor: pointer; border-radius: 5px; margin-top: 10px; transition: background 0.3s ease-in-out; } .custom-file-upload:hover { background-color: #0056b3; } input[type="file"] { display: none; } /* Image Preview */ img#preview { display: none; max-width: 100%; height: auto; margin-top: 10px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* Predict Button */ button { padding: 12px 20px; background-color: #28a745; color: white; font-size: 16px; border: none; border-radius: 5px; cursor: pointer; margin-top: 15px; transition: background 0.3s ease-in-out; } button:hover { background-color: #218838; } /* Result Styling */ #result { margin-top: 20px; font-size: 18px; } .prediction { color: #333; font-weight: bold; } .advice { color: #d9534f; font-size: 16px; margin-top: 10px; font-weight: bold; } .example-images { margin-top: 20px; } .examples { display: flex; justify-content: center; gap: 20px; } .examples div { text-align: center; } .example-img { width: 150px; /* Adjust size as needed */ height: auto; border-radius: 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); cursor: pointer; transition: transform 0.3s ease-in-out; } .example-img:hover { transform: scale(1.05); }