PifPaf's picture
implement the simulator
6ff038a verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #10b981;
--primary-dark: #059669;
--secondary: #6366f1;
--secondary-dark: #4f46e5;
--dark: #1e293b;
--darker: #0f172a;
}
body {
font-family: 'Inter', sans-serif;
}
.btn-primary {
background-color: var(--primary);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 600;
transition: all 0.2s;
display: inline-block;
}
.btn-primary:hover {
background-color: var(--primary-dark);
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Simulator specific styles */
#droneCanvas {
background-color: #1e293b;
border-radius: 0.5rem;
}
input[type="range"] {
-webkit-appearance: none;
height: 8px;
background: #334155;
border-radius: 4px;
outline: none;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
background: #10b981;
border-radius: 50%;
cursor: pointer;
}
#osd {
color: #10b981;
font-family: monospace;
}
.btn-secondary {
background-color: transparent;
color: white;
border: 2px solid var(--primary);
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
font-weight: 600;
transition: all 0.2s;
display: inline-block;
}
.btn-secondary:hover {
background-color: rgba(16, 185, 129, 0.1);
transform: translateY(-2px);
}
.feature-card {
background-color: rgba(30, 41, 59, 0.5);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 1rem;
padding: 2rem;
transition: all 0.3s;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
border-color: rgba(16, 185, 129, 0.3);
}
.icon-circle {
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
font-size: 1.5rem;
}
.hero-section {
background-image: radial-gradient(circle at 25% 50%, rgba(16, 185, 129, 0.15), transparent 50%);
}