 * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Courier New', Courier, monospace;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: #fff;
        }
        header, footer {
            padding: 2rem;
            text-align: center;
            margin: 1rem 0;
        }
        nav ul {
            display: flex;
            justify-content: center;
            list-style: none;
            flex-wrap: wrap;
            gap: 1rem;
            padding: 1rem;
        }
        nav a {
            text-decoration: none;
            color: #333;
            padding: 0.5rem 1rem;
            border-bottom: 2px solid transparent;
        }
        nav a:hover { border-bottom-color: #333; }

        main {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 2rem;
            padding: 1rem 0;
        }
        article {
            padding: 3rem;
            border: 2px dotted #000;
        }

        p {
            text-indent: 40px; }

        /* Styl linków jak zakreślacz */
        a {
            color: #000; /* taki sam kolor jak tekst */
            text-decoration: none; /* usuwamy domyślne podkreślenie */
            font-weight: bold;
            position: relative;
            display: inline;
            padding: 0 2px;
            transition: all 0.2s ease;
        }

        /* Efekt zakreślacza */
        a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(235, 235, 235, 0.8); /* żółty jak zakreślacz */
            z-index: -1;
            transform: skewX(-0deg); /* lekko przekrzywione jak ręczne zakreślenie */
            opacity: 0.8;
            border-radius: 2px;
        }

        /* Efekt podkreślenia przy najechaniu */
        a:hover::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: #000;
            animation: underline-appear 0.3s ease;
        }

        @keyframes underline-appear {
            from { width: 0; left: 50%; }
            to { width: 100%; left: 0; }
        }

        /* Alternatywny styl - jeśli wolisz stałe podkreślenie */
        /*
        a::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            right: 0;
            height: 1px;
            background-color: #000;
            opacity: 0.5;
        }
        */

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        @media (max-width: 768px) {
            body { padding: 10px; }
            nav ul { flex-direction: column; align-items: center; }
            header, footer { padding: 1rem; }
            article { padding: 1rem; }
        }
