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


/* --- БАЗА --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* Серый фон вокруг всего контента (как по бокам на фото) */
    background-color: #b0b0b0; 
    color: #333;
}

/* --- ШАПКА / МЕНЮ --- */
header {
    background-color: #3b3b63;
    padding: 12px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Times New Roman', Times, serif; /* На фото шрифт с засечками */
}

/* --- ОСНОВНОЙ БЕЛЫЙ БЛОК С КАРТОЧКАМИ --- */
/* Делаем белый фон строго до картинки с камерой, с отступами по бокам */
.movies-section {
    background-color: #f0f0f0; /* Светло-серый/белый фон */
    padding: 40px 10%; /* Отступы сверху/снизу и по бокам */
    text-align: center;
}

.movies-section h2 {
    color: #3b3b63;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Карточки в ряд */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Расстояние между карточками */
    align-items: stretch; /* Растягиваем по высоте */
}

.card {
    display: flex;
    flex-direction: column;
    width: 30%; /* Каждая карточка занимает треть контейнера */
    max-width: 280px;
}

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

.card p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Times New Roman', Times, serif;
}

/* Кнопки */
.card button {
    background-color: #3b3b63;
    color: white;
    border: none;
    padding: 12px 0;
    cursor: pointer;
    font-size: 13px;
    width: 100%;
    border-radius: 2px;
    margin-top: auto; /* Прижимает кнопку вниз, если текст разной длины */
}

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

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

.text-section p, .text-section ol {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-family: 'Times New Roman', Times, serif;
}

.text-section ol {
    margin-left: 20px;
}

/* --- КАРТИНКА С КИНОКАМЕРОЙ --- */
.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: 20px;
    font-size: 18px;
}

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

th, td {
    border: 1px solid #3b3b63;
    padding: 10px 8px;
    text-align: left;
    vertical-align: top;
    font-family: 'Times New Roman', Times, serif;
}

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

/* --- ПОДВАЛ --- */
footer {
    background-color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #3b3b63;
    font-family: 'Times New Roman', Times, serif;
}