Загрузка данных


/* --- БАЗОВЫЕ НАСТРОЙКИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #e9e9e9; /* Светло-серый фон всей страницы */
    color: #333;
}

/* --- МЕНЮ --- */
header {
    background-color: #3b3b63; /* Темно-синий цвет */
    padding: 15px 0;
}

/* Делаем меню в ряд по центру */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

/* --- БЛОК С КАРТОЧКАМИ (СВЕТЛЫЙ) --- */
.movies-section {
    background-color: #ffffff; /* Белый фон под карточками */
    text-align: center;
    padding: 40px 10%;
}

.movies-section h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 20px;
    font-weight: normal;
}

/* Ставим карточки в ряд */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.card {
    display: flex;
    flex-direction: column;
    width: 250px; /* Фиксированная ширина карточки */
}

/* Настройка картинок, чтобы не сжимались */
.card img {
    width: 100%;
    height: 350px; /* Одинаковая высота для всех постеров */
    object-fit: cover; /* Картинка заполняет блок без искажений */
    margin-bottom: 15px;
}

.card p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
}

.card button {
    background-color: #3b3b63;
    color: white;
    border: none;
    padding: 10px 0;
    width: 100%;
    cursor: pointer;
    font-size: 13px;
    margin-top: auto; /* Прижимает кнопку к низу */
}

/* --- ТЕКСТОВЫЙ БЛОК (ТЕМНЫЙ) --- */
.text-section {
    background-color: #3b3b63;
    color: #ffffff;
    padding: 40px 15%;
}

.text-section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: normal;
}

.text-section p {
    text-align: justify;
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.5;
}

.text-section ol {
    text-align: left;
    margin-left: 20px;
    font-size: 12px;
    line-height: 1.5;
}

/* --- БАННЕР С КИНОКАМЕРОЙ --- */
.camera-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.camera-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- ТАБЛИЦА (ТЕМНЫЙ БЛОК) --- */
.table-section {
    background-color: #3b3b63;
    color: #ffffff;
    padding: 40px 10%;
}

.table-section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: normal;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    color: #000;
    font-size: 11px;
}

th, td {
    border: 1px solid #3b3b63;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

th {
    background-color: #f0f0f0;
    font-weight: bold;
    text-align: center;
}

/* --- ПОДВАЛ --- */
footer {
    background-color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #333;
}