dev / styles.css
Aleksmorshen's picture
Rename style.css to styles.css
d663a3e verified
raw
history blame
2.29 kB
/* Общие стили */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header */
.header {
position: fixed;
width: 100%;
background: #1a1a1a;
color: #fff;
padding: 20px 0;
z-index: 100;
}
.header .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: bold;
}
.nav a {
color: #fff;
text-decoration: none;
margin-left: 30px;
transition: color 0.3s;
}
.nav a:hover {
color: #00d4ff;
}
.cta-btn {
padding: 10px 20px;
background: #00d4ff;
border: none;
border-radius: 5px;
color: #fff;
cursor: pointer;
transition: transform 0.3s;
}
.cta-btn:hover {
transform: scale(1.05);
}
/* Hero */
.hero {
height: 100vh;
background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
display: flex;
align-items: center;
text-align: center;
color: #fff;
}
.hero-title {
font-size: 60px;
margin-bottom: 20px;
animation: fadeIn 1.5s ease-in-out;
}
.hero-subtitle {
font-size: 24px;
margin-bottom: 30px;
}
.hero-btn {
padding: 15px 30px;
background: #00d4ff;
border: none;
border-radius: 5px;
color: #fff;
font-size: 18px;
cursor: pointer;
transition: background 0.3s;
}
.hero-btn:hover {
background: #00b0d4;
}
/* Services */
.services {
padding: 80px 0;
background: #f5f5f5;
text-align: center;
}
.services h2 {
font-size: 40px;
margin-bottom: 50px;
}
.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}
.service-card {
padding: 30px;
background: #fff;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.service-card:hover {
transform: translateY(-10px);
}
.service-card h3 {
font-size: 24px;
margin-bottom: 15px;
}
.footer {
padding: 20px 0;
background: #1a1a1a;
color: #fff;
text-align: center;
}
/* Анимации */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}