/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 * <link href="guide.css" rel="Stylesheet" type="text/css">
 */
/*
 + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
 +                     LIBREOFFICE GUIDES IN BROWSER                 +
 +                          COLORS STYLESHEET                       +
 +                           WESTERN LANGUAGES                       +
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 */

:root {
            --primary-color: #1a5f7a;
            --secondary-color: #0e3d4f;
            --accent-color: #00bcd4;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --success-color: #28a745;
            --gradient-blue: linear-gradient(to right, rgb(0, 1, 51), rgb(15, 0, 187)) rgb(61, 0, 33);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark-color);
            margin: 0;
            padding: 0;
            background-color: #f5f7fa;
        }

        header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 2rem 0;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .tdf-banner {
            display: flex;
            align-items: center;
            gap: 40px;
            padding: 60px;
            background: var(--gradient-blue);
            color: white;
            font-size: 1.2rem;
            box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 12px;
            margin: 10px;
            border-radius: 12px;
        }
        .container {
            max-width: 1200px;
            margin-top: 0px;
            margin-bottom: 0px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 20px;
        }

        .logo {
            max-width: 200px;
            margin-bottom: 1rem;
        }

        h1 {
            margin: 0;
            font-size: 2.5rem;
        }

        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-top: 0.5rem;
        }

        nav {
            background-color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            margin: 0;
            padding: 0;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .nav-links a:hover, .nav-links a.active {
            background-color: var(--accent-color);
            color: white;
        }

        .search-bar {
            display: flex;
            align-items: center;
        }

        .search-bar input {
            padding: 0.5rem 1rem;
            border: 1px solid #ddd;
            border-radius: 4px 0 0 4px;
            width: 250px;
        }

        .search-bar button {
            padding: 0.5rem 1rem;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
        }

        .hero {
            background-color: white;
            padding: 3rem 0;
            margin-bottom: 2rem;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .hero-content {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .hero-text {
            flex: 1;
        }

        .hero-image {
            flex: 1;
            text-align: center;
        }

        .hero-image img {
            max-width: 100%;
            border-radius: 8px;
        }

        .btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            background-color: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
            transition: background-color 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background-color: var(--secondary-color);
        }

        .btn-secondary {
            background-color: var(--accent-color);
        }

        .btn-secondary:hover {
            background-color: #0097a7;
        }

        .chapters {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .chapter-card {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .chapter-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        }

        .chapter-card h3 {
            color: var(--primary-color);
            margin-top: 0;
            margin-bottom: 0.75rem;
        }

        .chapter-card p {
            color: #666;
            margin-bottom: 1rem;
        }

        .chapter-card .btn {
            display: block;
            text-align: center;
            margin-top: 1rem;
        }

        .chapter-icon {
            font-size: 2rem;
            color: var(--accent-color);
            margin-bottom: 1rem;
        }

        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 2rem 0;
            text-align: center;
            margin-top: 3rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            list-style: none;
            gap: 2rem;
            margin: 0;
            padding: 0 0 1rem;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-icons a {
            color: white;
            font-size: 1.5rem;
        }

        @media (max-width: 768px) {
            .hero-content {
                flex-direction: column;
            }

            .nav-links {
                display: none;
            }

            .chapters {
                grid-template-columns: 1fr;
            }
        }
