Spaces:
Sleeping
Sleeping
File size: 2,935 Bytes
ff88581 |
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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
:root {
--primary-color: #2e7d32;
--secondary-color: #1b5e20;
--accent-color: #ffd54f;
--text-color: #333;
--glass-bg: rgba(255, 255, 255, 0.1);
--glass-border: rgba(255, 255, 255, 0.2);
--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
overflow-x: hidden;
background-color: #1a1a1a; /* Fallback */
}
/* Background with overlay */
.background-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('../wheat-image-new.jpg') no-repeat center center/cover;
z-index: -1;
}
.background-overlay::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 50, 20, 0.6) 100%);
backdrop-filter: blur(5px);
}
/* Glassmorphism Card */
.glass-card {
background: var(--glass-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 20px;
box-shadow: var(--glass-shadow);
width: 100%;
max-width: 500px;
transition: transform 0.3s ease;
}
.glass-card:hover {
transform: translateY(-5px);
}
/* Logo */
.logo-img {
width: 80px;
height: auto;
filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}
/* Upload Zone */
.upload-zone {
border: 2px dashed rgba(255, 255, 255, 0.5);
border-radius: 15px;
padding: 30px;
text-align: center;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.05);
cursor: pointer;
}
.upload-zone:hover, .upload-zone.drag-over {
background: rgba(255, 255, 255, 0.15);
border-color: #fff;
}
/* Buttons */
.btn-gradient {
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
border: none;
color: white;
font-weight: 600;
padding: 12px 20px;
border-radius: 10px;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-gradient:hover {
background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
transform: scale(1.02);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
color: white;
}
.btn-gradient:disabled {
background: #555;
cursor: not-allowed;
transform: none;
}
/* Result Page */
.result-image-container {
padding: 10px;
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
}
.result-img {
max-height: 300px;
object-fit: contain;
width: 100%;
}
.result-badge {
background: rgba(0, 0, 0, 0.4);
padding: 15px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Utilities */
.tracking-wider {
letter-spacing: 0.1em;
}
|