Загрузка данных
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SneakerShop</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="header-content">
<a href="#home" class="logo">SNEAKERSHOP</a>
<nav>
<ul>
<li><a href="#home">Главная</a></li>
<li><a href="#catalog">Каталог</a></li>
<li><a href="#">Новинки</a></li>
<li><a href="#">О нас</a></li>
<li><a href="#">Контакты</a></li>
</ul>
</nav>
<div class="auth-buttons">
<a href="#" class="btn btn-outline">Войти</a>
<a href="#" class="btn btn-filled">Регистрация</a>
</div>
</div>
</header>
<section id="home" class="hero">
<div class="hero-content">
<h1>Крутые кроссовки<br>для городских джунглей</h1>
<p>Самые стильные и комфортные модели от ведущих брендов</p>
<button class="cta-button">Смотреть каталог</button>
</div>
</section>
<section id="catalog" class="products">
<div class="container">
<h2 class="section-title">Хиты продаж</h2>
<div class="cards">
<div class="card">
<img src="https://placehold.co/600x400/333/fff?text=NIKE+AIR" alt="Nike Air">
<div class="card-content">
<h3>Nike Air Max 270</h3>
<p>Максимальная амортизация и стиль</p>
<div class="price">12 990 ₽</div>
<button>Купить</button>
</div>
</div>
<div class="card">
<img src="https://placehold.co/600x400/333/fff?text=ADIDAS" alt="Adidas">
<div class="card-content">
<h3>Adidas Ultraboost 23</h3>
<p>Энергия в каждом шаге</p>
<div class="price">15 490 ₽</div>
<button>Купить</button>
</div>
</div>
<div class="card">
<img src="https://placehold.co/600x400/333/fff?text=NEW+BALANCE" alt="New Balance">
<div class="card-content">
<h3>New Balance 550</h3>
<p>Ретро-стиль</p>
<div class="price">11 290 ₽</div>
<button>Купить</button>
</div>
</div>
<div class="card">
<img src="https://placehold.co/600x400/333/fff?text=PUMA" alt="Puma">
<div class="card-content">
<h3>Puma RS-X</h3>
<p>Яркий дизайн</p>
<div class="price">9 990 ₽</div>
<button>Купить</button>
</div>
</div>
<div class="card">
<img src="https://placehold.co/600x400/333/fff?text=ADIDAS+SAMBA" alt="Adidas Samba">
<div class="card-content">
<h3>Adidas Samba OG</h3>
<p>Samba OG — это вечная классика</p>
<div class="price">14 990 ₽</div>
<button>Купить</button>
</div>
</div>
<div class="card">
<img src="https://placehold.co/600x400/333/fff?text=JORDAN+1" alt="Air Jordan 1 Low">
<div class="card-content">
<h3>Air Jordan 1 Low</h3>
<p>Культовый образ, который остаётся надолго.</p>
<div class="price">8 490 ₽</div>
<button>Купить</button>
</div>
</div>
</div>
</div>
</section>
<footer>
<div class="footer-content">
<div class="footer-column">
<h3>SNEAKERSHOP</h3>
<p>Лучшие кроссовки<br>по лучшим ценам</p>
</div>
<div class="footer-column">
<h3>Магазин</h3>
<ul>
<li><a href="#">Новинки</a></li>
<li><a href="#">Распродажа</a></li>
<li><a href="#">Бренды</a></li>
<li><a href="#">Каталог</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Поддержка</h3>
<ul>
<li><a href="#">Доставка</a></li>
<li><a href="#">Возврат</a></li>
<li><a href="#">Гарантия</a></li>
<li><a href="#">FAQ</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Компания</h3>
<ul>
<li><a href="#">О нас</a></li>
<li><a href="#">Вакансии</a></li>
<li><a href="#">Контакты</a></li>
<li><a href="#">Политика конфиденциальности</a></li>
</ul>
</div>
</div>
</footer>
</body>
</html>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Arial, sans-serif;
line-height: 1.6;
color: #333;
}
header {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
.header-content {
max-width: 1200px;
margin: 0 auto;
padding: 15px 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
font-size: 28px;
font-weight: 800;
color: #e63939;
text-decoration: none;
}
nav ul {
display: flex;
list-style: none;
gap: 35px;
}
nav a {
text-decoration: none;
color: #333;
font-weight: 500;
transition: color 0.3s;
}
nav a:hover {
color: #e63939;
}
.auth-buttons {
display: flex;
gap: 12px;
}
.btn {
padding: 10px 20px;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
text-decoration: none;
display: inline-block;
}
.btn-outline {
border: 2px solid #e63939;
color: #e63939;
}
.btn-outline:hover {
background-color: #e63939;
color: white;
}
.btn-filled {
background-color: #e63939;
color: white;
}
.btn-filled:hover {
background-color: #c1121f;
transform: translateY(-2px);
}
.hero {
height: 90vh;
background: linear-gradient( to bottom, #252525, #1f1f1f, #0a0a0a);
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
padding: 0 20px;
}
.hero h1 {
font-size: 4.5rem;
margin-bottom: 20px;
line-height: 1.1;
}
.hero p {
font-size: 1.4rem;
margin-bottom: 40px;
opacity: 0.95;
}
.cta-button {
font-size: 1.3rem;
padding: 18px 50px;
background-color: #e63939;
color: white;
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.4s;
}
.cta-button:hover {
background-color: #c1121f;
transform: scale(1.08);
}
.products {
padding: 100px 20px;
background-color: #f8f9fa;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.section-title {
text-align: center;
font-size: 2.8rem;
margin-bottom: 60px;
color: #222;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
}
.card {
background: white;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: all 0.4s ease;
}
.card:hover {
transform: translateY(-15px) scale(1.03);
box-shadow: 0 20px 30px rgba(230, 57, 57, 0.15);
}
.card img {
width: 100%;
height: 240px;
object-fit: cover;
}
.card-content {
padding: 25px;
}
.card h3 {
font-size: 1.4rem;
margin-bottom: 10px;
}
.card p {
color: #666;
margin-bottom: 20px;
font-size: 1.05rem;
}
.card .price {
font-size: 1.5rem;
font-weight: 700;
color: #e63939;
margin-bottom: 15px;
}
.card button {
width: 100%;
padding: 12px;
background-color: #333;
color: white;
border: none;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.card button:hover {
background-color: #e63939;
}
footer {
background-color: #222;
color: #ddd;
padding: 80px 20px 40px;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
}
.footer-column h3 {
color: #e63939;
margin-bottom: 20px;
font-size: 1.3rem;
}
.footer-column ul {
list-style: none;
}
.footer-column ul li {
margin-bottom: 12px;
}
.footer-column a {
color: #bbb;
text-decoration: none;
transition: color 0.3s;
}
.footer-column a:hover {
color: #e63939;
}
.footer-bottom {
text-align: center;
margin-top: 80px;
padding-top: 30px;
border-top: 1px solid #444;
color: #777;
font-size: 0.95rem;
}