104 lines
2.2 KiB
CSS
104 lines
2.2 KiB
CSS
|
|
:root {
|
|
--primary-color: #4CAF50;
|
|
--accent-color: #FFC107;
|
|
--bg-color: #F5F7FA;
|
|
--surface-color: #FFFFFF;
|
|
--text-color: #212529;
|
|
--heading-font: 'Georgia', 'Times New Roman', serif;
|
|
--body-font: 'Helvetica Neue', Arial, sans-serif;
|
|
--border-radius: 12px;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--body-font);
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--heading-font);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.hero {
|
|
background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url('https://picsum.photos/seed/recyclehero-hero/1600/900') no-repeat center center;
|
|
background-size: cover;
|
|
color: white;
|
|
padding: 12rem 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 4.5rem;
|
|
font-weight: 900;
|
|
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.5rem;
|
|
text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary-color);
|
|
border-color: var(--primary-color);
|
|
border-radius: var(--border-radius);
|
|
padding: 1rem 2rem;
|
|
font-weight: bold;
|
|
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
|
|
background-color: #45a049;
|
|
border-color: #45a049;
|
|
}
|
|
|
|
.section {
|
|
padding: 6rem 0;
|
|
}
|
|
|
|
.section-card {
|
|
background-color: var(--surface-color);
|
|
border-radius: var(--border-radius);
|
|
padding: 2rem;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.section-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 12px 20px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.section-card img {
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
footer {
|
|
background-color: var(--text-color);
|
|
color: var(--bg-color);
|
|
padding: 2rem 0;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Animations */
|
|
.fade-in {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
|
|
}
|
|
|
|
.fade-in.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|