/* Сброс базовых отступов */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Times New Roman', Times, serif; /* Шрифт из методички */
font-size: 14pt; /* Размер шрифта из требований */
line-height: 1.5;
background-color: #f7f9fa;
color: #333333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}
/* Шапка сайта — нежно-розовый оттенок по образцу первого фото */
.site-header {
background-color: #f3cfd4;
border-bottom: 2px solid #e0b4ba;
position: sticky;
top: 0;
z-index: 100;
}
.header-container {
max-width: 1200px;
margin: 0 auto;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 18pt;
font-weight: bold;
color: #4a282d;
text-transform: uppercase;
letter-spacing: 1px;
}
.navigation {
display: flex;
align-items: center;
}
.nav-menu {
display: flex;
list-style: none;
gap: 25px;
}
.nav-menu a {
text-decoration: none;
color: #4a282d;
font-weight: bold;
transition: color 0.3s;
}
.nav-menu a:hover {
color: #ffffff;
}
/* Кнопка бургер-меню для мобильных (3 линии справа на макете) */
.burger-menu {
display: none; /* Скрыта на больших экранах */
flex-direction: column;
justify-content: space-between;
width: 24px;
height: 18px;
cursor: pointer;
}
.burger-menu span {
display: block;
height: 3px;
width: 100%;
background-color: #4a282d;
border-radius: 2px;
transition: 0.3s;
}
/* Секции контента */
.hero-section {
background-color: #ffffff;
text-align: center;
border-bottom: 1px solid #e1e4e6;
padding: 60px 0;
}
.hero-title {
font-size: 28pt;
color: #2c3e50;
margin-bottom: 15px;
}
.hero-subtitle {
font-size: 16pt;
color: #7f8c8d;
}
.about-section {
background-color: #f9fbfd;
border-bottom: 1px solid #e1e4e6;
}
.about-section h2, .portfolio-section h2 {
font-size: 22pt;
margin-bottom: 20px;
color: #2c3e50;
}
/* Сетка карточек (3 колонки в ряд по образцу) */
.portfolio-section {
background-color: #ffffff;
}
.portfolio-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
margin-top: 30px;
}
.portfolio-card {
background-color: #ffffff;
border: 1px solid #dcdde1;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0,0,0,