nav/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222; /*kolor czcionki*/
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: blue; /*#b3d4fc;*/
    text-shadow: none;
}

::selection {
    background: blue; /*#b3d4fc;*/
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img
{
    margin-top: 5px;
    margin-left: 5px;
}

svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
   
}

.browserupgrade {
    margin: 0.2em 0;
    background: blue;/*#ccc; */
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
    background-color: whitesmoke;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}
.wrapper a
{
    color: white;
}
.wrapper a hover
{
    color: blue;
}
/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 2px solid black; /*#e44d26;*/
}

.footer-container,
.main aside {
    border-top: 2px solid black;
   
}

    a{color: darkblue;}
    a:link {text-decoration: none}
    a:visited {text-decoration: blue}
    a:active {text-decoration: none}
    a:hover {text-decoration: none}


.header-container,
.footer-container,
.main aside {
    background: teal; /*#f16529; pomarańczowy*/
}
 a{color: darkblue;}
    a:visited {
        text-decoration: none;
        color: darkblue;
    }
    
.title {
    color: white;
}

.main-container a
{
    color: darkblue;
}

.main-container a:hover
{
    color: blue;
}

.footer-container a:hover
{
    color: darkblue;
}


/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
   
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: yellow;
    background: black;/*#e44d26;*/
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: none;
    color: blue;
}

    a{color: darkblue;}
    a:link {text-decoration: none}
    a:visited {text-decoration: darkblue}
    a:active {text-decoration: none}
    a:hover {text-decoration: none}
    
     a{color: darkblue;}
    a:visited {
        text-decoration: none;
        color: darkblue;
    }
/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 5px 0;
     text-align: justify;
}

.main article h1 {
    font-size: 2em;
}

.main-container a
{
    color: darkblue;
}

.main-container a:hover
{
    color: blue;
}


.main aside {
    color: white;
    padding: 0px 5% 10px;
    background-color: teal;
    padding-top: 20px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}
.footer-container a:hover

{
    color: blue;
}

.footer-container
{
    text-align-last: center;
}
.blogdata
{
    font-family: Trebuchet;
    font-size: 12px;
    text-align: right;
}
.kreska
{
    color: black;
}
.refleksjepolonisty
{
    font-family: Trebuchet;
    font-size: 15px;
}

.czytajdalej
{
    font-family: Trebuchet;
    font-size: 13px;
    text-align: right;
    color: white;
}

.blogwpis
{
    font-family: Arial Narrow, Trebuchet;
}
/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 10px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


.wiersz
{
    margin-left: 30px;
    font-family: Trebuchet;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.4
}












/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 27%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a href
    {
        text-decoration: none;
    }
    
    a:visited {
        text-decoration: none;
        color: blue;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
a{
text-decoration:none;
}
    
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

























.lesson-section {
  padding: 40px 20px;
  background: #f7f4f1;
  color: #2b2b2b;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

.lesson-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.lesson-header {
  margin-bottom: 32px;
}

.lesson-step {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9b2c2c;
}

.lesson-header h2,
.lesson-box h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.2;
  color: #7f1d1d;
}

.lesson-intro,
.main-thesis,
.final-question {
  font-size: 1.08rem;
}

.groups-grid,
.exam-grid,
.homework-grid {
  display: grid;
  gap: 24px;
}

.groups-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  margin-bottom: 36px;
}

.exam-grid,
.homework-grid {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
}

.group-card,
.exam-card,
.homework-card,
.lesson-box {
  background: #ffffff;
  border: 1px solid #e7ddd7;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.group-card,
.exam-card,
.homework-card {
  padding: 24px;
}

.lesson-box {
  padding: 28px;
  margin-bottom: 28px;
}

.group-card h3,
.exam-card h3,
.homework-card h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.35rem;
  color: #5f2120;
}

.block {
  margin-bottom: 18px;
}

.block h4,
.example h4,
.keywords h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #8b1e3f;
}

.block p,
.example p,
.lesson-box p,
.group-card p,
.exam-card p,
.homework-card p {
  margin: 0;
}

ul {
  margin: 8px 0 0 20px;
  padding: 0;
}

li {
  margin-bottom: 6px;
}

blockquote {
  margin: 10px 0 0;
  padding: 12px 16px;
  border-left: 4px solid #c2410c;
  background: #fff8f3;
  font-style: italic;
}

.conclusion {
  margin-top: 20px;
  padding: 14px 16px;
  background: #fff1f2;
  border-left: 4px solid #be123c;
  border-radius: 8px;
}

.main-thesis {
  margin-bottom: 20px;
  padding: 16px 18px;
  background: #fff7ed;
  border-left: 4px solid #c2410c;
  border-radius: 8px;
}

.keywords ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.keywords li {
  margin: 0;
  padding: 8px 12px;
  background: #fdf2f8;
  border: 1px solid #f3d5df;
  border-radius: 999px;
  font-size: 0.95rem;
}

.example {
  margin-top: 18px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 10px;
}

.final-question {
  font-weight: 700;
  color: #7f1d1d;
}

.advantages ul {
  margin-top: 12px;
}

.advantages li::marker {
  color: #9b2c2c;
}

@media (max-width: 900px) {
  .groups-grid,
  .exam-grid,
  .homework-grid {
    grid-template-columns: 1fr;
  }

  .lesson-header h2,
  .lesson-box h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .lesson-section {
    padding: 24px 14px;
  }

  .group-card,
  .exam-card,
  .homework-card,
  .lesson-box {
    padding: 20px;
  }

  .lesson-header h2,
  .lesson-box h2 {
    font-size: 1.4rem;
  }

  .group-card h3,
  .exam-card h3,
  .homework-card h3 {
    font-size: 1.15rem;
  }
}

diff --git a/c:\Users\andrz\OneDrive\Dokumenty\NetBeansProjects\HTML5Application\public_html\css/main.css b/c:\Users\andrz\OneDrive\Dokumenty\NetBeansProjects\HTML5Application\public_html\css/main.css
--- a/c:\Users\andrz\OneDrive\Dokumenty\NetBeansProjects\HTML5Application\public_html\css/main.css
+++ b/c:\Users\andrz\OneDrive\Dokumenty\NetBeansProjects\HTML5Application\public_html\css/main.css
@@ -36,2 +36,7 @@
 
+img {
+    max-width: 100%;
+    height: auto;
+}
+
 svg,
@@ -533,2 +538,2 @@
     padding: 10px !important;
-}
\ No newline at end of file
+}

main.scenariusz {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
}

main.scenariusz p {
  margin: 0 0 14px 0;
}

main.scenariusz .blok {
  margin-bottom: 22px;
}

main.scenariusz .etykieta {
  font-weight: 700;
}

main.scenariusz ul {
  margin: 8px 0 14px 22px;
}

main.scenariusz li {
  margin-bottom: 6px;
}

main.scenariusz .temat {
  font-size: 1.2rem;
  margin-bottom: 18px;
}

main.scenariusz .uwaga {
  font-style: italic;
}