115 lines
1.9 KiB
CSS
Raw Permalink Normal View History

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
height: 100vh;
overflow: hidden;
}
.main-container {
display: flex;
height: 100vh;
}
.logo-section {
flex: 0 0 45%;
background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
display: flex;
justify-content: center;
align-items: center;
padding: 60px;
}
.logo {
width: 85%;
height: auto;
object-fit: contain;
}
.upload-section {
flex: 0 0 55%;
background: #e8e8e8;
display: flex;
justify-content: center;
align-items: center;
}
.container {
text-align: center;
padding: 40px;
width: 100%;
max-width: 500px;
}
h1 {
color: #333;
margin-bottom: 30px;
font-size: 24px;
}
#drop-area {
border: 2px dashed #007BFF;
border-radius: 10px;
width: 100%;
min-height: 200px;
margin: 20px auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background: #fff;
cursor: pointer;
padding: 40px 20px;
transition: all 0.3s ease;
}
#drop-area:hover {
border-color: #0056b3;
background: #f8f9fa;
}
#drop-area.highlight {
border-color: #0056b3;
background: #e7f3ff;
}
#drop-area p {
margin-bottom: 15px;
color: #666;
font-size: 16px;
}
.button {
margin-top: 10px;
background: #007BFF;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
border: none;
}
#result {
margin-top: 20px;
font-weight: bold;
}
/* Responsive design */
@media (max-width: 768px) {
.main-container {
flex-direction: column;
}
.logo-section {
flex: 0 0 30%;
}
.upload-section {
flex: 0 0 70%;
}
}