Spaces:
Running
Running
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); } | |
} | |