* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background: #181818;
color: white;
line-height: 1.6;
}
/* Шапка */
header {
text-align: center;
padding: 70px 20px;
background: linear-gradient(
rgba(0, 0, 0, 0.6),
rgba(0, 0, 0, 0.7)
),
url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?auto=format&fit=crop&w=1600&q=80");
background-size: cover;
background-position: center;
}
header h1 {
font-size: 50px;
margin-bottom: 10px;
}
header p {
font-size: 20px;
color: #ff3333;
}
/* Основная часть */
main {
max-width: 1100px;
width: 90%;
margin: 40px auto;
}
/* Первый блок */
.intro {
display: flex;
gap: 30px;
align-items: center;
background: #252525;
padding: 30px;
border-radius: 15px;
margin-bottom: 30px;
}
.intro img {
width: 350px;
border-radius: 10px;
}
/* Заголовки */
h2 {
color: #ff3333;
margin-bottom: 15px;
}
h3 {
color: #ff5555;
margin-bottom: 10px;
}
/* Карточки */
.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 30px;
}
.card {
background: #252525;
padding: 25px;
border-radius: 12px;
border-top: 4px solid #e60000;
}
.card:hover {
background: #303030;
}
/* Список */
.types {
background: #252525;
padding: 30px;
border-radius: 15px;
margin-bottom: 30px;
}
.types ul {
padding-left: 25px;
}
.types li {
margin: 8px 0;
}
/* Факты */
.facts {
background: #252525;
padding: 30px;
border-radius: 15px;
margin-bottom: 30px;
}
.fact {
display: inline-block;
width: 48%;
vertical-align: top;
background: #303030;
padding: 20px;
margin: 5px 0;
border-left: 4px solid #ff3333;
}
/* Ссылка */
.link {
text-align: center;
background: #252525;
padding: 35px;
border-radius: 15px;
}
.link a {
display: inline-block;
margin-top: 10px;
padding: 12px 25px;
background: #e60000;
color: white;
text-decoration: none;
border-radius: 8px;
}
.link a:hover {
background: #ff3333;
}
/* Подвал */
footer {
text-align: center;
padding: 25px;
background: #101010;
color: #888;
}
/* Телефон */
@media (max-width: 800px) {
header h1 {
font-size: 35px;
}
.intro {
flex-direction: column;
text-align: center;
}
.intro img {
width: 100%;
}
.cards {
grid-template-columns: 1fr;
}
.fact {
width: 100%;
}
}