body { | |
text-align: center; | |
} | |
#banner { | |
/* Set image to full width and height */ | |
width: 100%; | |
height: 25vh; | |
/* Maintain image aspect ratio and avoid distortion */ | |
object-fit: contain; | |
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2); | |
/* Optional: Center the image vertically */ | |
/* position: absolute; */ | |
/* top: 50%; */ | |
/* transform: translateY(-50%); */ | |
} | |
#blank-area { | |
height: 25vh; | |
width: 100%; | |
background-color: #252525; | |
/* margin-top: 20vh; */ | |
/* background-color: rgb(102, 91, 91); */ | |
/* background-image: url("./banner.png"); */ | |
/* background-position: -20px; */ | |
margin-bottom: 50px; | |
/* background-repeat: no-repeat; | |
background-size: contain; */ | |
} | |
#container { | |
/* width: 400px; */ | |
height: 20vh; | |
margin: 0 auto; | |
padding: 20px; | |
border-radius: 5px; | |
} | |
.title { | |
font-size: 24px; | |
margin-bottom: 10px; | |
} | |
.button { | |
background-color: red; | |
color: white; | |
padding: 10px 20px; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
} | |
.file-input { | |
display: none; | |
} | |
#image-container { | |
display: none; | |
text-align: center; | |
justify-content: center; | |
flex-wrap: wrap; | |
} | |
#image-container div { | |
width: 200px; | |
} | |
#file-image { | |
max-width: 200px; | |
} | |
#result-image { | |
max-width: 200px; | |
transition: transform 0.5s ease-in-out; | |
} |