@font-face {
  font-family: "ArefRuqaa";
  font-style: normal;
  font-weight: normal;
  src: url(../fonts/ArefRuqaa-Regular.ttf);
}


    * {
      box-sizing: border-box;
    }

html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 2vw, 18px);
  margin: 0;
  padding: 0;
  text-align: justify;
  -ms-hyphens: auto;
  hyphens: auto;
  /* background: #f0f0f0; */
  counter-reset: section;
}
main {
 max-width: 1200px;
 flex: 1;
  width: 96%;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
    }
.footer {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  text-align: center;
  background-color: rgb(237, 231, 215);
  color: rgb(50, 3, 3);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 4rem;
  padding-right: 4rem;
  margin-top: 4rem;
}
p, ul, li {
  line-height: 1.5
}
p {
  margin-top:0;
  margin-bottom:0;
  text-indent: 1.5rem
}
ul {
	font-family: sans-serif;
	margin-bottom: 0;
	margin-top: 0;
	margin-right: 0;
	text-align: justify;
}
h1 {
  font-size: clamp(35.25px, 4.7vw, 42.3px);
  margin: 0;
}

h2 {
  font-size: clamp(26.55px, 3.5vw, 31.86px);
  margin: 0;
}

h3 {
  font-family: sans-serif;
  font-size: clamp(19.95px, 2.7vw, 23.94px);
  margin-bottom: 0.4rem;
  margin-top: 0.2rem;
  font-weight: bold;
  -ms-hyphens: auto;
  hyphens: auto;
  padding-bottom: 0;
  padding-top: 0.625rem
}

h4 {
  font-size: clamp(16.5px, 2.2vw, 19.8px);
}
header {
  background-color: #f2e8d8;
  padding: 0.5rem 1rem;
  position: relative;
  margin-bottom: 6rem;
}
    @media (max-width: 821px) {
      header {
        margin-bottom: 2rem;
      }
	}
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      height: 30px
    }

    .nav-toggle {
      display: none;
      font-size: 1.5rem;
      background: none;
      border: none;
      cursor: pointer;
    }
.over {
	overflow: auto;
}
    /* Desktop menu */
    .desktop-nav {
      display: flex;
      gap: 1rem;
    }

    .desktop-nav ul,
    .mobile-nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    nav ul,
    nav ul ul,
    nav li {
      list-style: none;
    }

    .desktop-nav li {
      position: relative;
    }

    .desktop-nav a {
      text-decoration: none;
      color: maroon;
      font-weight: bold;
      line-height: 1.2;
      padding: 0.3rem 0.5rem;
      display: block;
    }

    .desktop-nav .dropdown {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #fbeaca;
      min-width: 180px;
      z-index: 999;
    }

    .desktop-nav .has-dropdown:hover>.dropdown {
      display: block;
    }

    .desktop-nav .dropdown .has-dropdown {
      position: relative;
    }

    .desktop-nav .dropdown .dropdown {
      top: 0;
      left: 100%;
      display: none;
    }

    .desktop-nav .dropdown .has-dropdown:hover>.dropdown {
      display: block;
    }

/* Mobile styles */
@media (max-width: 821px) {
  .nav-toggle {
    display: block;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 50%;
    max-width: 300px;
    background: #f2e8d8;
    z-index: 1000;
    padding: 1rem 0;
  }

  .mobile-nav.open {
    display: flex;
  }

  .mobile-nav li {
    border-bottom: 1px solid #e5d2b0;
  }

  .mobile-nav a {
    padding: 0.5rem 0.5rem;
    margin-left: 1rem;
    text-decoration: none;
    color: maroon;
    font-weight: bold;
    display: block;
    line-height: 1;
  }

  .mobile-nav .dropdown {
    display: none;
    flex-direction: column;
    background: #fbeaca;
  }

  .mobile-nav .has-dropdown.open>.dropdown {
    display: flex;
  }

  .mobile-nav .has-dropdown>a::after {
    content: ' ▼';
    font-size: 0.8em;
  }
}

@media (min-width: 821px) {
  .mobile-nav {
    display: none;
  }
}


/* ------------menu sienna------------- */

.menu-container .submenu {
  max-width: 300px;
  width: 200px;
  box-sizing: border-box;
}

    @media (min-width: 821px) {
      #mobileNav {
        display: none !important;
      }
    }

    #mobileNav {
      display: none;
    }

    #mobileNav.open {
      display: block;
    }

    .submenu {
      display: none;
    }

    a.active + .submenu {
      display: block;
    }

@media (max-width: 821px) {
  #main-menu {
    width: 70vw;         /* 50% szerokości viewportu */
    max-width: 300px;    /* opcjonalnie ogranicz maksymalnie */
    position: absolute;  /* lub fixed – zależnie od projektu */
    top: 100%;           /* pod górnym paskiem */
    left: 0;
    background-color: sienna;  /* zielone tło */
    z-index: 999;
    display: none;       /* domyślnie ukryte */
  }

  #main-menu.open {      /* np. po kliknięciu burgera */
    display: block;
  }
}

/* -------------------------- */


    .span {
      color: #671b1b;
      font-size: 150%;
      font-weight: bold;
    }
    .kolor {
      color: maroon
    }
.img {
	display: block;
	margin-left: auto;
	margin-right: auto;
  width: 100%;         /* Domyślnie: pełna szerokość kontenera */
  max-width: 200px;    /* Maksymalna szerokość */
  height: auto;        /* Zachowaj proporcje */
}


/* 🔽 Dla małych ekranów (np. telefonów) */
@media (max-width: 820px) {
  .img {
    max-width: 120px;  /* 50% oryginalnej max-szerokości */
	margin-top: 2rem;
  }
}
/* ------------style tekstu--------- */



    .span {
      color: maroon;
      font-size: 150%;
      font-weight: bold;
    }
    .kolor {
      color: maroon
    }
.img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 200px;
}
    em.red {
      color: darkred;
	  font-style: normal
    }

.button {
	display: inline-block;
	padding: 0.1875rem 7px 3px 7px;
	font-size: 0.8rem;
	line-height: 0.8rem;
	font-weight: bold;
	cursor: pointer;
	text-align: center;
	outline: none;
	color: #006600;
	background-color: lightgreen;
	border: none;
	border-radius: 0.4375rem;
	box-shadow: 0 3px #999;
	margin-bottom: 0.3125rem
}

.button:hover {
	background-color: #ffc2b3;
}

.button:active {
	background-color: lightgreen;
	box-shadow: 0 4px #666;
	transform: translateY(4px);
}

.dropdown-content {
	display: none;
	position: relative;
	background-color: #e6f4d7;
	margin-top: 0;
	margin-bottom: 0;
	text-align: justify;
	font-size: 0.9rem;
	line-height: 1.1;
	text-indent: 1rem;
	color: darkgreen;
	overflow: auto;
	box-shadow: 0 8px 16px 0 rgba(91, 140, 38, 0.5);
	padding: 0.625rem 10px 10px 10px;
	border: 2px solid;
	border-radius: 0.9375rem;
	border-color: #5b8c26;
}

.show {
	display: inline-block;
	width: auto;
}
.bibtext {
	margin: 0
}
.bibliodiv {
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 0.9rem
}
.cytat {
	font-family: Arial, Helvetica, sans-serif;
	font-style: italic;
	font-size: 1.1rem;
	text-align: justify;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-left: 5%;
	padding-right: 5%
}
p.uwaga {
	font-size: 1.3rem;
	text-align: center;
	color: red;
  margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	font-weight: bold;
	font-style: italic;
  hyphens:none

}
	      p.cnt_it {
	      	font-family: serif;
	      	/* font-size: 1.2rem; */
	      	font-style: italic;
	      	color: darkred;
	      	text-align: center;
	      	margin-bottom: 0;
	      }
	      p.cnt_itb {
	      	font-family: serif;
	      	/* font-size: 1.2rem; */
	      	font-style: italic;
	      	text-align: center;
	      	margin-top: 0;
	      }

/* -------------fiszki----------- */
.card-container {
	display: inline-block;
	width: 220px;
	height: 120px;
	margin-left: 25px;
	margin-bottom: 20px;
	perspective: 1000px;
}
.card {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.6s;
	transform-style: preserve-3d;
}
.card-front {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	padding-left: 1px;
	padding-right: 1px;
	align-items: center;
	border-radius: 15px;
	overflow: auto;
	box-shadow: 0 8px 16px 0 rgba(38, 128, 140, 0.5);
	border: 2px solid;
	border-color: #d19d3c;
	background-color: rgb(221, 219, 122);
}
.face {
	color: maroon;
	font-family: Gentium;
	font-weight: bold;
	font-style: italic;
	font-size: 1.5rem;
	line-height: 1.7rem;
	text-align: center;
	text-decoration: none;
}
.center {
	text-align: center;
}
.face:hover,
.face:active {
	color: red;
	text-decoration: none;
}
.fiszki-pojemnik {
	display: inline-block;
	width: 290px;
	height: 160px;
	margin-left: 25px;
	margin-bottom: 20px;
	perspective: 1000px;
}
.fiszka {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.6s;
}
.fiszki-pojemnik2 {
	display: inline-block;
	width: 320px;
	height: 200px;
	margin-left: 25px;
	margin-bottom: 20px;
	perspective: 1000px;
}

.fiszka-con2 {
	display: inline-block;
	width: 350px;
	height: 200px;
	margin-left: 15px;
	margin-bottom: 20px;
	perspective: 1000px;
}

.fiszka-convoc {
	display: inline-block;
	width: 200px;
	height: 120px;
	margin-left: 15px;
	margin-bottom: 20px;
	perspective: 1000px;
}

.fiszka-con3 {
	display: inline-block;
	width: 450px;
	height: 210px;
	margin-left: 20px;
	margin-bottom: 20px;
	perspective: 1000px;
}

.fiszka-con4 {
	display: inline-block;
	width: 350px;
	height: 270px;
	margin-left: 20px;
	margin-bottom: 20px;
	perspective: 1000px;
}

.fiszka-con5 {
	display: inline-block;
	width: 350px;
	height: 450px;
	margin-left: 20px;
	margin-bottom: 20px;
	perspective: 1000px;
}

.fiszka-con6 {
	display: inline-block;
	width: 700px;
	height: 1200px;
	margin-right: 20px;
	margin-bottom: 20px;
	perspective: 1000px;
}
.fiszka-convoc.flip .fiszka {
	transform: rotateY(180deg);
				transform-style:preserve-3d;

}

.fiszki-pojemnik.flip .fiszka {
	transform: rotateY(180deg);
			transform-style:preserve-3d;

}

.fiszki-pojemnik2.flip .fiszka {
	transform: rotateY(180deg);
}

.fiszka-con2.flip .fiszka {
	transform: rotateY(180deg);
}

.fiszka-con3.flip .fiszka {
	transform: rotateY(180deg);
}

.fiszka-con4.flip .fiszka {
	transform: rotateY(180deg);
}
.fiszka-con5.flip .fiszka {
	transform: rotateY(180deg);
		transform-style:preserve-3d;

}

.fiszka-con6.flip .fiszka {
	transform: rotateY(180deg);
			transform-style:preserve-3d;

}


.cwicz {
	font-weight: bold;
	font-style: normal;
	font-size: 1.8rem;
	color: rgb(139, 28, 8);
	text-align: left;
	margin-top: 0;
	margin-bottom: 0.5rem;
	margin-left: 10px;
	margin-right: 0;
	text-indent: 10px;
}
    .div1 {
      width: 90%;
      background-color: aliceblue;
      padding-top: 5px;
      padding-bottom: 5px;
      border-radius: 10px;
      border: 1px solid;
      border-color: d;
      margin: auto
    }

    .word {
      font-size: 1.2rem;
      font-weight: bold;
      font-style: italic;
      color: maroon;
    }

    .result {
      font-size: 1.2rem;
      font-weight: bold;
      font-style: italic;
      color: maroon;
      background-color: aliceblue;
    }
	 .but2 {
cursor: pointer;
margin: 0 10px;
display: inline-block;
padding: 5px;
color: darkgreen;
font-family:Arial, Helvetica, sans-serif;
font-weight: bold;
font-style: normal;
font-size: 1.2rem;
text-align: center;
text-decoration: none;
border-width: 1px;
border-radius: 10px;
background-color: lightyellow;
box-shadow: 0 4px 11px 0 darkgreen;
}
    .result1 {
      font-size: 1.2rem;
      font-weight: bold;
      font-style: italic;
      color: maroon;
    }
.fiszka-front,
.fiszka-tyl {
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 15px;
	overflow: auto;
	box-shadow: 0 7px 15px 0 rgba(80, 152, 160, 0.5);
	border: 2px solid;
	border-color: hsl(34, 85%, 25%);
}

.fiszka-front {
	background-color: rgb(218, 237, 222);
	color: maroon;
	font-size: 1.1rem;
	line-height: 1.4rem;
	padding-right: 5px;
	padding-left: 5px;
	text-align: center;
	-ms-hyphens: none;
	hyphens: none;

}
.fiszka-tyl {
	background-color: #cde9f2;
	font-size: 1.2rem;
	line-height: 1.5rem;
	color: rgb(8, 48, 107);
	transform: rotateY(180deg);
	border-width: 2px;
	border-color: maroon;
	text-align: center;
	padding-right: 5px;
	padding-left: 5px;
}
.sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	padding: 5px;
	z-index: 100;
}
.darkgreen {
	font-family: sans-serif;
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 7px;
	color: darkgreen;
}
/* ------zielone------- */
    .menu-container {
      position: relative;
    }

    .bar {
      display: flex;
      gap: 20px;
      list-style-type: none;
      padding-left: 25px;
      padding-top: 5px;
      padding-bottom: 5px;
      margin: 0;
      flex-wrap: wrap;
      background-color:saddlebrown;
    }

    .bar li {
      position: relative;
    }

    .bar a {
      text-decoration: none;
      color: white;
      font-weight: 400;
      display: flex;
      align-items: center;
      cursor: pointer;
    }

    .bar a .arrow {
      font-size: 10px;
      margin-left: 5px;
      transition: transform 0.3s;
    }

    .bar a.active .arrow {
      transform: rotate(180deg);
    }

    /* Podmenu i submenu */
.submenu {
  display: none;
  list-style-type: none;
  padding-left: 10px;
  padding-top: 0;
  padding-bottom: 0;
  margin: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: sienna;
  border: 1px solid #ccc;
  width: 180px;
  z-index: 1000;
}

/* submenu w submenu - rozwijanie pionowe z lekkim wcięciem */
.submenu .submenu {
  top: 100%;
  left: 0;
  padding-left: 10px;
  padding-top:0;
  padding-bottom:0;
  margin: 5px 0 0 0;
width: 180px
}


    .submenu a {
      display: block;
      font-size: 0.9rem;
      text-decoration: none;
      color: white;
      margin: 0px 0;
      padding: 5px 10px;
    }

    /* Burger menu */
    .burger {
      display: none;
      cursor: pointer;
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    @media (max-width: 821px) {
      .bar {
        flex-direction: column;
        display: none;
      }
      .bar.show {
        display: flex;
      }
      .burger {
        display: block;
      }
      .submenu {
        position: static;
        border: none;
        background: none;
      }
      /* submenu w submenu na mobilkach */
      .submenu .submenu {
        left: 0;
      }
    }

    /* -----------TABELE--------------- */

table {
	table-layout: auto;
	border-collapse: collapse;
	font-family: "Times New Roman", Times, serif;
	font-size: clamp(15px, 2vw, 18px);
	white-space: nowrap;
	margin-left: auto;
	margin-right: auto;
}
table {
	margin-top: 0.625rem;
	margin-bottom: 0.625rem;
}
.title {
  width: 300px;
  background-color: green;
  color: white;
  text-align: justify;
  padding: 10px;
  border-radius: 10px;
  font-size: 1rem;

}
.title_tab {
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	border: 0;
	background-color: white;
	color: maroon;
	font-style: italic;
	font-weight: bold;
	font-size: 1rem;
	text-shadow: none;
}
.tr1 {
	font-size: large;
	padding-bottom: 0.625rem;
	padding-top: 0.625rem;
	padding-left: 0.625rem;
	padding-right: 0.625rem;
}
.throwspan2 {
	padding-left: 0.625rem;
	padding-right: 0.625rem;
}
.tdnoall {
	border: 0;
	background-color: white;
}
.tr2 {
	font-weight: bold;
	color: maroon
}
th,
td {
	border: 1px solid black;
	text-align: center;
	padding-top: 0.1rem;
	padding-bottom: 0.1rem;
	padding-right: 0.1875rem;
	padding-left: 0.1875rem;
	/* width: auto; */
}
th {
	font-weight: bold;
	font-size: 1rem;
	color: white;
	background-color: green;
	padding-left: 0.3125rem;
	padding-right: 0.3125rem

}
.thx {
	padding-left: 10px;
	padding-right: 10px;
	background-color: white;
	font-weight: normal;
	font-size: 1rem;
	font-style: normal;
	color: black;
	padding-top: 0px;
	padding-bottom: 0px;
	line-height: 1.3rem;
}
.white {
  padding-left: 10px;
  padding-right: 10px;
  border-right-style: solid;
  border-right-width: 4px;
  border-right-color: white
}
    .green {
      color: darkgreen;
    }
 .bgreen {
  padding-left: 10px;
  padding-right: 10px;
  border-right-style: solid;
  border-right-width: 4px;
  border-right-color: green
 }
.maroon {
	color: maroon;
}
.th1 {
	font-weight: bold;
	color: black;
	background-color: white;
}
.thmedium {
	padding-bottom: 0.625rem;
	padding-top: 0.625rem;
	padding-left: 0.625rem;
	padding-right: 0.625rem
}
.tdno {
	border-top: 0px;
	border-left: 0px
}
.tdpad10 {
	padding-left: 0.625rem;
	padding-right: 0.625rem;
}
.os {
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	background-color: white;
	font-weight: bold;
	font-size: 1rem;
	font-style: italic;
	color: maroon;
}
.os2 {
	padding-left: 0.625rem;
	padding-right: 0.625rem;
	background-color: white;
	font-weight: bold;
	font-size: 0.8rem;
	font-style: normal;
	color: maroon;
}
.hum {
	padding-left: 10px;
	padding-right: 10px;
	background-color: white;
	font-weight: bold;
	font-size: 1rem;
	font-style: italic;
	color: maroon;
	padding-top: 0px;
	padding-bottom: 0px;
	line-height: 1.2rem;
}
table.t1 td:nth-child(3n+0) {
	font-style: italic;
	line-height: 1;
}

table.t2 td:nth-child(3n+0) {
	font-style: italic
}

table.t3 td:nth-child(2n+3) {
	font-style: italic;
	line-height: 1.1;
}

table.t4 td:nth-child(2n+0) {
	font-style: italic
}

table.t4a td:nth-child(2n+0) {
	font-style: italic
}

table.t5 td:nth-child(2n+3) {
	font-style: italic;
	white-space: nowrap
}

table.t6 td:nth-child(2n+3) {
	font-style: italic;
	white-space: nowrap
}

table.t7 td {
	background-color: lightyellow
}

table td.przekreslone {
	background-image: linear-gradient(to bottom right, transparent calc(50% - 1px), black, transparent calc(50% + 1px));
}
table#tab1 td:nth-child(3n+2) {
	color: red;
	background-color: lightyellow
}

table#tab2 td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
	white-space: nowrap;
}

table#tab2a td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
	white-space: nowrap;
}

table#tab2b td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
	white-space: nowrap
}

table#tab2c td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2d td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2e td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2f td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2g td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2h td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2i td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2j td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2k td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2l td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2m td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2n td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2p td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab2r td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow;
}

table#tab3 td:nth-child(2n+2) {
	color: red;
	background-color: lightyellow
}

table#tab4 td:nth-child(2n+1) {
	color: red;
	background-color: lightyellow
}

table#tab5 td:nth-child(2n+1) {
	color: red;
	background-color: lightyellow
}


.kol {
padding-left: 0.625rem;
	padding-right: 0.625rem;
	background-color: white;
	font-weight: bold;
	font-size: 1rem;
	font-style: italic;
	color: maroon;
	padding-top: 0rem;
	padding-bottom: 0rem;
	line-height: 1.3rem;
}


.caption1 {
	text-align: left;
	color: green;
	caption-side:bottom
}
caption::before {
	counter-increment: section;
	content: "Tabela " counter(section);
}

/* ------------------------------------- */
.testyimg {
  background-color: aliceblue; 
  width: 100%
}