﻿    .main-content {
    flex: 10;
    background-color: #d2d2d2;
}

.main-content2 {
    flex: 10;
    background-color: #666;     
}
p{
    margin:0px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
}

/* ====== RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* ====== HEADER ====== */
.site-header {
    background: linear-gradient(180deg, #2a2a2a 0%, #0d0d0d 100%);
    border-bottom: 1px solid #444;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link img {
    height: 70px;
}

.titles h1 {
    font-size: 16px;
    letter-spacing: 2px;
    color: #cfcfcf;
}

.titles h2 {
    font-size: 14px;
    color: #9e9e9e;
}

.titles p {
    font-size: 12px;
    color: #777;
}

/* ====== NAV ====== */
.site-nav {
    background: #000;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
}

.site-nav a {
    padding: 12px 20px;
    color: #d0d0d0;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
    background: #1a1a1a;
    color: #ffffff;
}



/* ====== FOOTER ====== */
.site-footer {
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: #777;
    border-top: 1px solid #333;
    background: #0d0d0d;
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .nav-inner {
        flex-wrap: wrap;
    }

    .site-nav a {
        flex: 1 1 50%;
        text-align: center;
        border-bottom: 1px solid #222;
    }
}

header2 img {
    height: 130px;
    margin-right: 10px;
    cursor: pointer;
}

header3 {
    background-color: #475e51;
    display: flex;
    align-items: center;
    padding: px;
    color: black;
}

    header3 img {
        height: 130px;
        margin-right: 30px;
        cursor: pointer;
    }

header5 {
    background-color: #475e51;
    display: flex;
    align-items: center;
    padding: px;
    color: black;
}

    header5 img {
        height: 150px;
        margin-right: 30px;
        cursor: pointer;
    }

nav {
    background-color: #222;
    display: flex;
    padding: 10px 20px;
    gap: 15px;
}




nav a {
    background-color: #444;
    color: white;
    text-decoration: none;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #666;
}

nav button:hover {
    background-color: #666;
}

main {
    padding: 30px;
    font-size: 18px;
    text-align: center;
}


footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 10px;
}



.main-list {
    padding: 70px;
}

h2 {
    color: #b30000;
    font-weight: bold; 
}

h3 {
    color: #222;
}


.main-list h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8em;
    color: #b30000;
}

.anomaly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 0 10px;
}

.anomaly-card {
    display: flex;
    align-items: flex-start;
    background: #0e0e0e;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 12px 15px;
    text-decoration: none;
    color: #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
    /* Внутренняя тень */
    box-shadow: inset 0 0 10px rgba(0,0,0,0.7), 0 5px 15px rgba(0,0,0,0.6); /* Тень снизу */
}


    .anomaly-card:hover {
        transform: scale(1.02);
        box-shadow: inset 0 0 10px rgba(0,0,0,0.7), 0 5px 20px rgba(255, 215, 0, 0.4); /* Подсветка снизу при hover */
    }

.anomaly-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 6px;
    flex-shrink: 0;
}

    .anomaly-dot.green {
        background: #4caf50;
    }

    .anomaly-dot.yellow {
        background: #ffeb3b;
    }

    .anomaly-dot.red {
        background: #f44336;
    }

    .anomaly-dot.blue {
        background: #2196f3;
    }

.anomaly-info strong {
    display: block;
    font-size: 1.05em;
    margin-bottom: 4px;
}

.anomaly-info p {
    font-size: 0.9em;
    color: #cccccc;
    margin: 0;
}

.archieved-message {
    box-sizing: border-box;
    border: 2px solid white !important;
    background: yellow !important;
    box-shadow: 0 0 0 2px yellow !important;
    margin: 2px !important;
    padding: 16px !important;
    margin-bottom: 32px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    width: 100% !important;
    min-width: 100% !important;
    min-height: min-content !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
}

.broken-message {
    box-sizing: border-box;
    border: 2px solid white !important;
    background: #ff9a42 !important;
    box-shadow: 0 0 0 2px #ff9a42 !important;
    margin: 2px !important;
    padding: 16px !important;
    margin-bottom: 32px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    width: 100% !important;
    min-width: 100% !important;
    min-height: min-content !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
}
















.main-anomaly {
    padding: 10px;
    max-width: 1000px;
    margin: auto;
    background-color: #e6dfdf;
    border-radius: 20px;
    box-shadow: 0 px 20px rgba(0,0,0,0.1);
   
    
}


h2 {
    color: #cc0000;
    margin-top: 0;
}

.section-title {
    font-weight: bold;
    margin-top: 5px;
    color: #444;
    padding:0;
}

.image-block {
    float: left;
    margin-right: 15px;
    margin-bottom: 20px;
    padding:0;
    max-width: 300px;
}

.image-block img {
    width: 100%;
    border: 3px solid #000;
}

.image-block2 {
    float: left;
    margin-right: 15px;
    margin-bottom: 20px;
    padding: 0;
    max-width: 100%;
}

    .image-block2 img {
        width: 100%;
        border: 3px solid #000;
    }

.image-block3 img {
    width: 300px; /* одинаковая ширина */
    height: auto; /* сохраняет пропорции */
    margin: 5px;
    border: 3px solid #000;
}

    .image-block3 img {
        width: 100%;
        border: 3px solid #000;
    }

    .image-block3 img {
        width: 2px; /* ширина */
        height: auto; /* высота автоматически */
    }   

.highlight {
    background-color: #ffe0b2;
    padding: 10px;
    border-left: 5px solid #ff7700;
    margin: 20px 0;
    font-weight: bold;
}



.footer-bar {
    margin-top: 600px;
    padding: 15px;
    background-color: #444;
    color: black;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-top: 3px solid black;
}

.footer-bar-second {
    margin-top: 500px;
    padding: 15px;
    background-color: #ffe0b2;
    color: black;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-top: 3px solid black;
}



.back-button:hover {
    background-color: #666;
}













.dialogue-block {
    margin-top: 30px;
    padding: 15px 20px;
    background-color: #cfcfcf;
    border-left: 4px solid #ccc;
    font-size: 16px;
    line-height: 1.5;

}

    .dialogue-block p {
        margin-bottom: 10px;
    }

    .dialogue-block em {
        color: #666;
        font-style: italic;
    }

    .dialogue-block p:empty {
      .content { display: none; } 
    }



.object-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.back-button,
.next-button {
    background-color: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
}

#more {
    display: none;
}

.dialogue p {
    margin: 6px 0;
}





.dialogue .note {
    margin-top: 10px;
    padding: 6px 10px;
    background: #898989;
    border-left: 4px solid #444;
    font-size: 0.95em;
    color: #2;
}



body {
    min-height: 100vh;
}


header {
    /* Градиент: сверху темно-серый (#333), снизу чисто черный (#000) */
    background: linear-gradient(180deg, #333333 0%, #1a1a1a 50%, #000000 100%);
    color: #f2f2f2;
    padding: 24px 40px;
    flex-shrink: 0;
    /* Опционально: добавим тонкую светлую линию в самом верху для эффекта объема */
    border-top: 1px solid #444;
}

    header > div,
    .header-inner {
        display: flex;
        align-items: center;
        gap: 20px;
    }


    header img {
        height: 100px !important;
        width: 100px !important;
        object-fit: contain;
        /* Контур удален по вашей просьбе */
        border: none;
        padding: 0;
        margin-right: 10px;
    }

    header h1 {
        font-size: 16px;
        letter-spacing: 2px;
        color: #f2f2f2;
        margin: 0;
    }

    header h2 {
        font-size: 14px;
        color: #ccc;
        margin: 4px 0 0 0;
        font-weight: normal;
    }

    header p {
        font-size: 12px;
        color: #888;
        margin-top: 4px;
    }

nav {
    background-color: #0d0d0d;
    padding: 0 30px;
    gap: 0;
    flex-shrink: 0;
}

    nav a {
        background: none;
        border-radius: 0;
        padding: 14px 18px;
        color: #ddd;
        font-size: 14px;
        border-bottom: 2px solid transparent;
    }

        nav a:hover {
            background-color: #3a3a3a;
            color: #fff;
        }

        nav a.active {
            border-bottom: 2px solid #ffffff;
            color: #fff;
        }

.main-content {
    flex: 1;
    padding: 30px 40px;
    text-align: left;
}

footer {
    background-color: #1b1b1b;
    color: #aaa;
    font-size: 12px;
    border-top: 1px solid #333;
    flex-shrink: 0;
}






/* Основные настройки страницы */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.container {
    display: flex;
    height: 30vh;
    position: relative;
}

/* Колонки */
.column {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание текста по левому краю внутри колонки */
}

/* Заголовки */
h5 {
    color: #b30000; /* Красный цвет */
    font-family: Arial, sans-serif;
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 30px;
    width: 100%;
    text-align: center; /* Заголовки центрированы относительно своих колонок */
}

.divider {
    width: 3px;
    background-color: #000;
    height: 90%;
    align-self: center;
}

.content p {
    margin: 5px 0;
}

/* ===== SCP PREVIEW CONTAINER ===== */
.scp-preview {
    max-width: 900px;
    margin: 40px auto;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #e0e0e0;
}

/* ===== WARNING BLOCK ===== */
.scp-warning {
    border: 1px solid #7a0000;
    background: linear-gradient( 180deg, rgba(120, 0, 0, 0.25), rgba(60, 0, 0, 0.15) );
    padding: 18px;
    margin-bottom: 28px;
    text-align: center;
    box-shadow: 0 0 18px rgba(120, 0, 0, 0.25);
}

    .scp-warning h2 {
        color: #ff4d4d;
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .scp-warning p {
        margin: 6px 0;
        font-size: 14px;
        color: #d0b0b0;
    }

/* ===== ACCESS LEVEL ===== */
.scp-access {
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-left: 6px;
}

/* L2 */
.scp-access-l2 {
    background: #3a3a00;
    color: #fff09a;
    border: 1px solid #9a8f00;
}

/* ===== SCP CARD ===== */
.scp-card {
    border: 1px solid #2f2f2f;
    background: #0e0e0e;
    padding: 22px;
    position: relative;
    box-shadow: inset 0 0 0 1px #111;
}

    .scp-card::before {
        content: "REDACTED";
        position: absolute;
        top: 10px;
        right: 14px;
        font-size: 11px;
        letter-spacing: 1px;
        color: #7a0000;
        opacity: 0.7;
    }

    .scp-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
        color: #cfcfcf;
        border-bottom: 1px solid #2a2a2a;
        padding-bottom: 6px;
    }

    .scp-card p {
        font-size: 14px;
        line-height: 1.6;
        color: #bdbdbd;
    }
