/* --- БАЗОВЫЕ НАСТРОЙКИ --- */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Более современный шрифт */
background-color: #ffffff;
color: #333;
}
/* --- ЦВЕТА --- */
/* Основной темно-синий цвет из макета */
:root {
--main-dark: #3d3a65;
}
/* --- МЕНЮ --- */
header {
background-color: var(--main-dark);
padding: 15px 0;
}
header nav {
display: flex;
justify-content: center;
gap: 30px;
}
header nav a {
color: #ffffff;
text-decoration: none;
font-size: 14px;
letter-spacing: 0.5px;
}
/* --- БЛОК С КАРТОЧКАМИ --- */
.movies-2023 {
padding: 40px 20px;
text-align: center;
max-width: 1000px;
margin: 0 auto;
}
.movies-2023 h2 {
color: var(--main-dark);
font-weight: normal;
margin-bottom: 30px;
font-size: 22px;
}
.cards-wrapper {
display: flex;
justify-content: space-between;
gap: 20px;
}
.card {
display: flex;
flex-direction: column;
width: 30%; /* Карточки занимают по 30% ширины */
}
.card img {
width: 100%;
height: 350px; /* Жесткая высота, чтобы картинки были ровными */
object-fit: cover; /* Картинка заполняет блок без искажений */
margin-bottom: 15px;
}
.card p {
font-size: 15px;
color: var(--main-dark);
margin-bottom: 15px;
}
.card button {
background-color: var(--main-dark);
color: white;
border: none;
padding: 12px 0;
cursor: pointer;
font-size: 14px;
border-radius: 2px;
width: 100%;
}
/* --- ТЕКСТОВЫЙ БЛОК --- */
.info-text {
background-color: var(--main-dark);
color: #ffffff;
padding: 40px 10%;
}
.info-text h2 {
text-align: center;
font-weight: normal;
margin-bottom: 25px;
font-size: 20px;
}
.info-text p {
font-size: 13px;
line-height: 1.6;
margin-bottom: 15px;
text-align: justify; /* Выравнивание текста по краям */
}
.info-text .list-title {
margin-bottom: 5px;
}
.info-text ol {
margin-left: 20px;
font-size: 13px;
line-height: 1.5;
}
/* --- БАННЕР (КИНОКАМЕРА) --- */
.banner {
width: 100%;
height: 350px; /* Фиксируем высоту */
overflow: hidden;
}
.banner img {
width: 100%;
height: 100%;
object-fit: cover; /* Заполняет блок целиком */
display: block;
}
/* --- БЛОК С ТАБЛИЦЕЙ --- */
.info-table {
background-color: var(--main-dark);
color: #ffffff;
padding: 40px 10%;
}
.info-table h2 {
text-align: center;
font-weight: normal;
margin-bottom: 25px;
font-size: 20px;
}
table {
width: 100%;
border-collapse: collapse;
background-color: #ffffff;
color: #000;
font-size: 12px;
}
th, td {
border: 1px solid var(--main-dark); /* Тонкие рамки */
padding: 10px;
text-align: left;
vertical-align: top;
}
th {
background-color: #ffffff;
font-weight: bold;
text-align: center;
}
/* --- ПОДВАЛ --- */
footer {
background-color: #ffffff;
text-align: center;
padding: 25px;
font-size: 13px;
color: var(--main-dark);
}