u-menya-est-proekt-sayta-s-k/style.css
2026-08-21 07:00:27 +00:00

122 lines
1.7 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
line-height: 1.6;
color: #333;
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 20px;
}
.hero {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 100px 20px;
text-align: center;
}
.hero h1 {
font-size: clamp(32px, 5vw, 56px);
margin-bottom: 16px;
}
.hero .subtitle {
font-size: clamp(16px, 2vw, 20px);
margin-bottom: 32px;
opacity: 0.95;
}
.btn {
display: inline-block;
background: white;
color: #667eea;
padding: 14px 32px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
transition: transform 0.2s;
}
.btn:hover {
transform: translateY(-2px);
}
.features {
padding: 80px 20px;
background: #f8f9fa;
}
.features h2, .about h2, footer h2 {
text-align: center;
font-size: clamp(24px, 3vw, 36px);
margin-bottom: 48px;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 32px;
}
.card {
background: white;
padding: 32px;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
text-align: center;
}
.icon {
font-size: 48px;
margin-bottom: 16px;
}
.card h3 {
margin-bottom: 12px;
color: #667eea;
}
.about {
padding: 80px 20px;
}
.about p {
max-width: 700px;
margin: 0 auto;
text-align: center;
font-size: 18px;
}
footer {
background: #2d3748;
color: white;
padding: 60px 20px;
text-align: center;
}
footer h2 {
margin-bottom: 32px;
}
footer p {
margin: 8px 0;
opacity: 0.9;
}
@media (max-width: 768px) {
.hero {
padding: 60px 20px;
}
.features, .about {
padding: 50px 20px;
}
}