Spaces:
Running
Running
:root { | |
--primary: #2c3e50; | |
--secondary: #e67e22; | |
--light: #ecf0f1; | |
--dark: #111; | |
--text: #333; | |
--white: #fff; | |
--highlight: #3498db; | |
} | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
html { | |
scroll-behavior: smooth; | |
} | |
body { | |
font-family: 'Roboto', sans-serif; | |
line-height: 1.6; | |
color: var(--text); | |
background-color: var(--white); | |
} | |
.container { | |
width: 90%; | |
max-width: 1200px; | |
margin: 0 auto; | |
padding: 0 20px; | |
} | |
h1, h2, h3 { | |
font-family: 'Source Code Pro', monospace; | |
margin-bottom: 1rem; | |
color: var(--primary); | |
} | |
h1 { | |
font-size: 2.5rem; | |
} | |
h2 { | |
font-size: 2rem; | |
text-align: center; | |
margin-bottom: 2rem; | |
position: relative; | |
padding-bottom: 1rem; | |
} | |
h2::after { | |
content: ''; | |
position: absolute; | |
bottom: 0; | |
left: 50%; | |
transform: translateX(-50%); | |
width: 50px; | |
height: 3px; | |
background-color: var(--secondary); | |
} | |
.highlight { | |
color: var(--secondary); | |
} | |
a { | |
text-decoration: none; | |
color: var(--highlight); | |
transition: color 0.3s; | |
} | |
a:hover { | |
color: var(--secondary); | |
} | |
button { | |
cursor: pointer; | |
border: none; | |
padding: 0.8rem 1.5rem; | |
font-size: 1rem; | |
border-radius: 4px; | |
transition: all 0.3s; | |
} | |
.cta-button { | |
background-color: var(--secondary); | |
color: var(--white); | |
font-weight: 700; | |
margin-top: 1.5rem; | |
} | |
.cta-button:hover { | |
background-color: #d35400; | |
transform: translateY(-2px); | |
} | |
/* Header Styles */ | |
header { | |
background-color: var(--primary); | |
color: var(--white); | |
padding: 1rem 0; | |
position: fixed; | |
width: 100%; | |
top: 0; | |
z-index: 100; | |
box-shadow: 0 2px 10px rgba(0,0,0,0.1); | |
} | |
nav { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
} | |
.logo { | |
font-family: 'Source Code Pro', monospace; | |
font-size: 1.5rem; | |
font-weight: 700; | |
} | |
.logo span { | |
color: var(--secondary); | |
} | |
.nav-links { | |
display: flex; | |
list-style: none; | |
} | |
.nav-links li { | |
margin-left: 1.5rem; | |
} | |
.nav-links a { | |
color: var(--white); | |
font-family: 'Source Code Pro', monospace; | |
} | |
.nav-links a:hover { | |
color: var(--secondary); | |
} | |
.menu-toggle { | |
display: none; | |
background: none; | |
flex-direction: column; | |
justify-content: space-between; | |
height: 21px; | |
} | |
.bar { | |
width: 25px; | |
height: 3px; | |
background-color: var(--white); | |
border-radius: 3px; | |
} | |
/* Hero Section */ | |
.hero { | |
height: 100vh; | |
display: flex; | |
align-items: center; | |
background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1559056199-641a0ac8b55e?ixlib=rb-4.0.3') center/cover no-repeat; | |
color: var(--white); | |
text-align: center; | |
} | |
.hero-content { | |
max-width: 800px; | |
margin: 0 auto; | |
} | |
.hero h1 { | |
font-size: 3rem; | |
color: var(--white); | |
margin-bottom: 1.5rem; | |
} | |
.hero p { | |
font-size: 1.2rem; | |
margin-bottom: 2rem; | |
} | |
/* Features Section */ | |
.features { | |
padding: 5rem 0; | |
background-color: var(--light); | |
} | |
.feature-grid { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
gap: 2rem; | |
} | |
.feature-card { | |
background-color: var(--white); | |
padding: 2rem; | |
border-radius: 8px; | |
text-align: center; | |
box-shadow: 0 5px 15px rgba(0,0,0,0.05); | |
transition: transform 0.3s; | |
} | |
.feature-card:hover { | |
transform: translateY(-10px); | |
} | |
.feature-icon { | |
font-size: 2.5rem; | |
margin-bottom: 1rem; | |
} | |
/* Beans Section */ | |
.beans { | |
padding: 5rem 0; | |
background-color: var(--white); | |
} | |
.beans-grid { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
gap: 2rem; | |
} | |
.bean-card { | |
background-color: var(--light); | |
padding: 2rem; | |
border-radius: 8px; | |
text-align: center; | |
position: relative; | |
border: 2px solid transparent; | |
transition: all 0.3s; | |
} | |
.bean-card:hover { | |
border-color: var(--secondary); | |
} | |
.price { | |
display: block; | |
font-size: 1.5rem; | |
font-weight: 700; | |
color: var(--primary); | |
margin-top: 1rem; | |
font-family: 'Source Code Pro', monospace; | |
} | |
/* Footer */ | |
footer { | |
background-color: var(--dark); | |
color: var(--white); | |
padding: 3rem 0 1rem; | |
} | |
.footer-logo { | |
font-family: 'Source Code Pro', monospace; | |
font-size: 1.8rem; | |
margin-bottom: 1rem; | |
text-align: center; | |
} | |
.footer-logo span { | |
color: var(--secondary); | |
} | |
.footer-content { | |
text-align: center; | |
} | |
.social-links { | |
margin: 1.5rem 0; | |
} | |
.social-links a { | |
color: var(--white); | |
margin: 0 1rem; | |
} | |
.social-links a:hover { | |
color: var(--secondary); | |
} | |
.copyright { | |
margin-top: 1.5rem; | |
font-size: 0.9rem; | |
color: #95a5a6; | |
} | |
/* Responsive Styles */ | |
@media (max-width: 768px) { | |
h1 { | |
font-size: 2rem; | |
} | |
.hero h1 { | |
font-size: 2.5rem; | |
} | |
.menu-toggle { | |
display: flex; | |
} | |
.nav-links { | |
position: fixed; | |
top: 70px; | |
right: -100%; | |
flex-direction: column; | |
background-color: var(--primary); | |
width: 100%; | |
text-align: center; | |
transition: all 0.5s; | |
padding: 2rem 0; | |
} | |
.nav-links.active { | |
right: 0; | |
} | |
.nav-links li { | |
margin: 1rem 0; | |
} | |
} |