/* Подключение шрифтов из Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;700&family=Montserrat:wght@400;600;700&family=Overpass:wght@300;400;600&display=swap');

/* Основной текст — Overpass (читаемый, строгий, современный) */
body, p, div, span {
    font-family: 'Overpass', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333; /* Темно-серый для лучшей читаемости */
}

/* Заголовки — Montserrat (контрастный, технологичный) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #222; /* Чуть темнее для контраста */
}

/* Курсив, цитаты */
em, blockquote {
    font-family: 'Overpass', sans-serif;
    font-style: italic;
    color: #555;
}

/* Код, технические элементы — Fira Sans */
pre, code, .code-snippet {
    font-family: 'Fira Sans', monospace;
    background: #f4f4f4;
    padding: 5px 10px;
    border-radius: 5px;
    color: #c7254e;
}

/* Улучшенная читаемость таблиц */
table {
    font-family: 'Overpass', sans-serif;
    font-size: 15px;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

th {
    background: #f8f8f8;
    font-weight: 600;
}

/* Ссылки */
a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Улучшенная читаемость на мобильных */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }
    .cover .img-fluid {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

.copyright, .credits {
    display: none;
}

@media (max-width: 999px) {
    .iphone-wrap {
        display: none;
    }
}

.hero-section .iphone-wrap .phone-2 {
    margin-top: 10px;
}

/* .pkp_screen_reader, .cmp_skip_to_content a, .pkp_page_index .journals h2, .pkp_page_index .cmp_announcements h2, .page_register .context_optin .roles legend  {
    position: inherit !important;
    margin-top: 2rem;
    font-size: 2rem; 
    font-weight: bold
} */

.footer {
    background: rgba(39, 70, 133, 0.8);
    color: white; /* Ensures text is readable on darker background */
    padding: 2rem 0; /* Adjust padding for better spacing */
}


.footer p, .footer a {
    color: #f8f9fa;
}

.footer a {
    font-weight: 400;
    font-family: 'Overpass', sans-serif;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

