/* style.css */ body, html { margin: 0; padding: 0; height: 100%; } body { background-image: url('images/bg2.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; font-family: 'Arial', sans-serif; color: #333; overflow-y: scroll; background-attachment: fixed; } .container { max-width: 600px; /* Adjust the max-width as needed */ margin: 20px auto; padding: 20px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); backdrop-filter: blur(0px); } .header-container { max-width: 600px; margin: 0 auto; border-radius: 8px; padding: 20px; border-radius: 10px; text-align: center; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); backdrop-filter: blur(0px); margin: 20px auto 0 } h1 { text-align: center; color: rgb(176, 37, 181); font-weight: bold; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); margin: 0; } #fileInputContainer { position: relative; margin-bottom: 20px; } #fileInput { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; backdrop-filter: blur(0px); border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); } #fileInputLabel { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 18px; color: rgb(176, 37, 181); font-weight: bold; cursor: pointer; transition: color 0.3s ease; } #fileInput :hover { color: #297fb8; letter-spacing: 2px; box-shadow: #2c96ba 0px 7px 29px 0px; outline: none; } #imagePreview { max-width: 100%; height: auto; border: 0px solid #ddd; border-radius: 8px; padding: 10px; border: rgb(0, 0, 0, 0.5); backdrop-filter: blur(50px); margin-bottom: 20px; display: block; margin: 0 auto; } #imageContainer { text-align: center; backdrop-filter: blur(10px); /* Adjust the blur value as needed */ border-radius: 8px; padding: 10px; margin-bottom: 20px; display: block; margin: 0 auto; } .upload-icon { font-size: 36px; margin-bottom: 10px; } .predict-btn { width: 100%; padding: 10px; background-color:rgb(176, 37, 181); color:white; font-weight: bold; border: none; border-radius: 50px; cursor: pointer; transition: background-color 0.2s; } .predict-btn:hover { background-color: #2c96ba; letter-spacing: 2px; box-shadow: #2c96ba 0px 7px 29px 0px; } .predict-btn:active { background-color: #2c96ba; letter-spacing: 2px; box-shadow: #2c96ba 0px 7px 29px 0px; transform: translateY(10px); } .predict-btn:focus { outline: none; } #predictionResult { color: black; /* Change the color to white */ background-color:rgb(234, 240, 239, 0.3); margin-top: 20px; text-align: center; backdrop-filter: blur(0px); font-weight: bold; border: none; box-shadow: none; } @media only screen and (max-width: 600px) { h1{ font-size:25px; font-family: 'Kanit', sans-serif; } #imagePreview { max-width: 70%; height: 60%; border: 0px solid #ddd; border-radius: 8px; padding: 10px; backdrop-filter: blur(50px); margin-bottom: 10px; display: block; margin: 0 auto; } body { background-size: cover; /* or 'contain' based on your preference */ } } .loading-icon { display: none; border: 4px solid #f3f3f3; border-top: 4px solid #3498db; border-radius: 50%; width: 20px; height: 20px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }