Plant Identification Key
.container {
max-width: 600px;
margin: 0 auto;
background: white;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
overflow: hidden;
}
.header {
background: linear-gradient(135deg, #2ecc71, #27ae60);
color: white;
padding: 30px;
text-align: center;
}
.header h1 {
font-size: 24px;
margin-bottom: 10px;
}
.header p {
opacity: 0.9;
font-size: 16px;
}
.content {
padding: 30px;
}
.progress-bar {
background: #f0f0f0;
height: 6px;
border-radius: 3px;
margin-bottom: 30px;
overflow: hidden;
}
.progress-fill {
background: linear-gradient(90deg, #2ecc71, #27ae60);
height: 100%;
border-radius: 3px;
transition: width 0.3s ease;
}
.navigation-controls {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 25px;
}
.nav-btn {
background: #6c757d;
color: white;
border: none;
padding: 10px 16px;
border-radius: 20px;
cursor: pointer;
font-size: 14px;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 6px;
font-weight: 500;
}
.nav-btn:hover:not(:disabled) {
background: #5a6268;
transform: translateY(-1px);
}
.nav-btn:disabled {
background: #dee2e6;
color: #adb5bd;
cursor: not-allowed;
transform: none;
}
.step-counter {
font-size: 14px;
color: #6c757d;
font-weight: 500;
}
.question {
margin-bottom: 25px;
}
.question h3 {
font-size: 20px;
color: #2c3e50;
margin-bottom: 20px;
line-height: 1.4;
}
.breadcrumb {
background: #f8f9fa;
padding: 15px;
border-radius: 10px;
margin-bottom: 25px;
font-size: 14px;
color: #6c757d;
}
.choices {
display: grid;
gap: 12px;
}
.choice {
background: white;
border: 2px solid #e9ecef;
padding: 18px 20px;
border-radius: 12px;
font-size: 16px;
cursor: pointer;
transition: all 0.2s ease;
text-align: left;
font-weight: 500;
color: #495057;
}
.choice:hover {
border-color: #2ecc71;
background: gray;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(46, 204, 113, 0.15);
}
.choice.selected {
border-color: #2ecc71;
background: #f8fff9;
box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}
.result {
text-align: center;
animation: fadeIn 0.5s ease;
}
.result-icon {
font-size: 48px;
margin-bottom: 20px;
}
.result h3 {
color: #2ecc71;
font-size: 24px;
margin-bottom: 10px;
}
.result .family-name {
font-size: 28px;
color: #2c3e50;
font-weight: bold;
margin-bottom: 20px;
text-transform: capitalize;
}
.result-link {
display: inline-block;
background: linear-gradient(135deg, #2ecc71, #27ae60);
color: white;
padding: 15px 30px;
border-radius: 25px;
text-decoration: none;
font-weight: 600;
margin: 10px;
transition: transform 0.2s ease;
}
.result-link:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}
.restart-btn {
background: #6c757d;
color: white;
border: none;
padding: 12px 25px;
border-radius: 20px;
cursor: pointer;
font-size: 14px;
margin-top: 15px;
transition: background 0.2s ease;
}
.restart-btn:hover {
background: #5a6268;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.step-indicator {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
font-size: 14px;
color: #6c757d;
}
.step-number {
background: #2ecc71;
color: white;
width: 24px;
height: 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: bold;
}
@media (max-width: 640px) {
.container {
margin: 0;
border-radius: 0;
min-height: 100vh;
}
.header, .content {
padding: 20px;
}
.choice {
padding: 16px;
font-size: 15px;
}
.nav-btn {
padding: 8px 12px;
font-size: 13px;
}
.step-counter {
font-size: 13px;
}
}
🌿 Plant Family Key
Answer questions to identify your plant's family
← Back
Step 1
Forward →