Spaces:
Running
Running
File size: 1,342 Bytes
93c87da e302e06 93c87da |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #74ebd5, #acb6e5);
text-align: center;
padding: 30px;
}
.container {
background: white;
border-radius: 16px;
box-shadow: 0px 10px 30px rgba(0,0,0,0.2);
padding: 40px;
display: inline-block;
max-width: 700px;
animation: fadeIn 1s ease-in;
}
h1 {
margin-bottom: 20px;
color: #333;
font-size: 2.5em;
}
form {
margin-bottom: 30px;
}
.custom-file-upload {
background-color: #007bff;
border: none;
color: white;
padding: 14px 28px;
border-radius: 8px;
cursor: pointer;
font-size: 18px;
transition: background 0.3s;
}
.custom-file-upload:hover {
background-color: #0056b3;
}
input[type="file"] {
display: none;
}
.image-preview {
margin-top: 30px;
}
.image-preview img {
width: 100%;
max-height: 400px;
object-fit: contain;
border-radius: 12px;
margin-top: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.output-box {
margin-top: 30px;
background: #f0f0f0;
padding: 20px;
border-radius: 10px;
text-align: left;
word-wrap: break-word;
}
.output-box p {
white-space: pre-wrap;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
|