body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Стили для модального окна */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Темный фон */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 3px solid #d32f2f;
    /* Красная рамка как предупреждение */
    max-width: 400px;
}

.modal-content h2 {
    margin-top: 0;
    color: #d32f2f;
}

.modal-buttons button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#btn-yes {
    background-color: #4CAF50;
    color: white;
}

#btn-yes:hover {
    background-color: #45a049;
}

#btn-no {
    background-color: #f44336;
    color: white;
}

#btn-no:hover {
    background-color: #da190b;
}

/* Скрытие контента до проверки */
.hidden {
    display: none;
}

/* Основной сайт */
header {
    background-color: #212121;
    color: white;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffc107;
    /* Золотистый цвет */
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

nav a:hover {
    color: #ffc107;
}

main {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 32px;
    margin-bottom: 5px;
}

.date {
    color: #777;
    font-size: 14px;
    margin-bottom: 30px;
}

.image-gallery {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

.chapman-card {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.chapman-card img {
    width: 100%;
    max-width: 250px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.chapman-card p {
    font-weight: bold;
    margin-top: 10px;
    color: #555;
}

.article-text {
    line-height: 1.6;
    font-size: 18px;
}

blockquote {
    border-left: 4px solid #ffc107;
    margin: 20px 0;
    padding-left: 20px;
    font-style: italic;
    background: #fff8e1;
    padding: 15px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #eeeeee;
    color: #666;
    font-size: 14px;
    margin-top: 40px;
}