@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;
  margin-top: 0;
  margin-bottom: 0;
}
p {
  text-indent: 1.5rem
}
ul {
  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
}
h3.green {
  font-family: sans-serif;
  font-size: clamp(19.95px, 2.7vw, 23.94px);
  color: darkgreen;
  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);
}
	    p.margin {
	    	margin-top: 0px;
	    	margin-bottom: 0px;
	    }
.green {
  color: darkgreen;
}

.maroon {
  color: maroon;
}

header {
  background-color: #f2e8d8;
  padding: 0.5rem 1rem;
  position: relative;
  margin-bottom: 6rem;
}
    @media (max-width: 820px) {
      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;
}

/* 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;
  padding: 0.3rem 0.3rem;
  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: 820px) {
  .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: 820px) {
  .mobile-nav {
    display: none;
  }
}
.over {
	overflow: auto;
}

/* ------zielone------- */
    .menu-container {
      position: relative;
    }

    .bar2 {
      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;
    }

    .bar2 li {
      position: relative;
    }

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

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

    .bar2 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: 820px) {
      .bar2 {
        flex-direction: column;
        display: none;
      }
      .bar2.show {
        display: flex;
      }
      .burger {
        display: block;
      }
      .submenu {
        position: static;
        border: none;
        background: none;
      }
      /* submenu w submenu na mobilkach */
      .submenu .submenu {
        left: 0;
      }
    }

    .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;
  }
}

/* ---------------index----------------- */

/* main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
} */



.span {
  color: #671b1b;
  font-size: 150%;
  font-weight: bold;
}
.spann {
	font-style: normal;
	color: firebrick
}
.spann2 {
	text-align: center;
	font-style: normal;
	font-size: 1rem
}
.kolor {
  color: maroon
}




.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  justify-content: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.tile {
  border-radius: 15px;
  box-shadow: 0 8px 16px 0 rgba(38, 128, 140, 0.5);
  border: 2px solid;
  border-color: #d19d3c;
  background-color: rgb(239, 238, 212);
  padding: 1rem;
  transition: box-shadow 0.3s ease;
  height: 150px
}

.tile:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tile h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.tile p {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.tile ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
}

.tile ul li {
  margin-bottom: 0.3rem;
}

.tile ul li a {
  text-decoration: none;
}

.tile ul li a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.box-left {
  border: 0.5px solid;
  text-align: center;
  margin-top: 0;
  margin-left: .2rem;
  padding-right: 1rem;
  padding-left: 1rem;
}

.box-right {
  margin-top: 0;

}

.box-left p,
.box-right p {
  margin: 0.5rem 0;
  line-height: 1.5;
  hyphens: auto;
}

.box-left p {
  font-style: italic;
  text-align: center;
  font-size: clamp(13px, 1.4vw, 14px);
}

.box-right p {
  text-align: justify;
  font-size: clamp(14px, 1.5vw, 16px);
  margin: 0
}
p.uwaga {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
	text-align: center;
	color: red;
  margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	font-weight: bold;
	font-style: italic;
  hyphens:none
}

/* ----------------gramatyka------------- */

.cont {
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 2%
}

.mrg {
  margin-left: auto;
}

.red {
  text-decoration: none;
  color: maroon;
}

/* .red:hover,
a.red:active {
  font-size: 120%;
  direction: rtl;
  text-decoration: none;
} */

.red2 {
  color: firebrick;
  font-style: normal
}

.cent {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  font-size: clamp(16.5px, 2.1vw, 19.8px);
  margin-bottom: 0.00em;
  margin-top: 0.00em;
  margin-right: 0.00em;
  margin-left: 0.00em;
  text-indent: 0.00em;
  text-align: center;
  font-weight: normal;
  font-style: normal;
  margin-top: 0.5em
}

.cent_it {
  font-family: serif;
  line-height: 1.5;
  font-size: clamp(16px, 2.1vw, 19.8px);
  margin-bottom: 0.5em;
  margin-top: 0.00em;
  margin-right: 0.00em;
  margin-left: 0.00em;
  text-indent: 0.00em;
  text-align: center;
  font-weight: normal;
  font-style: italic;
}

.szadda {
  width: 0.7rem;
  margin-bottom: 0.1875rem
}

.tanwin1 {
  width: 0.8rem
}

.tanwin2 {
  width: 0.8rem
}

.hamzaimg {
  width: 0.7rem;
}

.madda {
  width: 0.8rem;
  margin-bottom: 0.3125rem
}
.madda1 {
	width: 1.1rem;
}
.aref {
  font-family: ArefRuqaa;
  line-height: 1.2rem
}

.koranimg {
  width: 50%;
  margin-left: auto;
  margin-right: auto
}

.keyb {
  display: block;
  max-width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.625rem;
  margin-bottom: 0.625rem
}

.aref {
  font-family: ArefRuqaa;
  line-height: 1.2rem
}

.koranimg {
  width: 70%;
  margin-left: auto;
  margin-right: auto
}

.keyb {
  display: block;
  max-width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.625rem;
  margin-bottom: 0.625rem
}

.mrgtb10 {
  margin-top: 0.625rem;
  margin-bottom: 0.625rem
}

.ullist {
  list-style-type: disc;
  text-indent: 0;
  padding-left: 0.5rem;
  margin-left: 2rem
}

.scl80 {
  width: 80%
}

.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.8rem;
  line-height: 1.5;
  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;
}
.scl60 {
	width: 60%
}
.scl10 {
	width: 10%
}
.scl50 {
	width: 50%
}
.scl20 {
	width: 20%
}
.scl40 {
	width: 40%
}
.scl70 {
	width: 70%
}
.scl80 {
	width: 80%
}

.scl90 {
	width: 90%
}

.scl100 {
	width: 100%
}
    em.red {
      color:firebrick;
	  font-style: normal;
  font-size: clamp(16px, 2vw, 18px);

    }
a {
	text-decoration: none;
  color: #0000EE;
}
a:hover {
	text-decoration:underline
}
ul.bar {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: rgb(22, 168, 34);
}
li.bar a {
	float: left;
}

li.bar a {
	display: block;
	color: white;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	font-weight: 400;
	padding: 0.1rem 1rem;
	text-decoration: none;
	margin-left: auto;
	margin-right: auto
}
li.bar a:hover {
	background-color: grey;
}
li.bar a:active {
	background-color: rgb(158, 54, 54);
}

/* .bdy {
		font-size: 1.2rem;
} */

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

table {
  width: 100%;
  table-layout: auto;
  word-break: break-word;  
  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.2rem;
  padding-bottom: 0.2rem;
  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);
}

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

@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;
  }
}

/* -----------fiszki------------ */
.card-container {
  display: inline-block;
  width: 220px;
  height: 120px;
  margin-left: 25px;
  margin-bottom: 20px;
  perspective: 1000px;
}

.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);
}

.card {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.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;
}

.fiszki-pojemnik {
  display: inline-block;
  width: 290px;
  height: 160px;
  margin-left: 25px;
  margin-bottom: 20px;
  perspective: 1000px;
}

.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 {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
}

.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;

}

.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);
  transform-style: preserve-3d;

}

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

}

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

}

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

}

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

}

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

}

.but {
  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.5rem;
  text-align: center;
  text-decoration: none;
  border-width: 1px;
  border-radius: 10px;
  background-color: lightyellow;
  box-shadow: 0 4px 11px 0 darkgreen;
}

.darkgreen {
  font-family: sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 7px;
  color: darkgreen;
}

.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;
  text-align: center;
  /* background-color: aliceblue;     */
}

.result {
  font-size: 1.2rem;
  font-weight: bold;
  font-style: italic;
  color: maroon;
  text-align: center;
  background-color: aliceblue;
}

.result1 {
  font-size: 1.2rem;
  font-weight: bold;
  font-style: italic;
  color: maroon;
  text-align: center;
  line-height: normal;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 5px;
  z-index: 100;
}


.test-container {
	display: inline-block;
	width: 200px;
	height: 100px;
	margin-left: 25px;
	margin-bottom: 20px;
	perspective: 1000px;
}

.test {
	width: 100%;
	height: 100%;
	transition: transform 0.6s;
	transform-style: preserve-3d;
}

.card-test {
	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: #070581;
	background-color: rgb(122, 198, 221);
}
.ar1 {
	list-style-position: inside;
	list-style-type: disc;
	font-size: 1.3rem;
	line-height: 1.8rem;
	direction: rtl;
	text-indent: 0px;
	text-align: right;
	padding-right: 1px;
	padding-left: 1px
}
.ar2 {
	list-style-type: none;
	font-size: 1.3rem;
	line-height: 2rem;
	text-align: center;
	direction: rtl;
	text-indent: 0;
	padding-right: 2px;
	padding-left: 2px
}
    .ar3c {
      /* display: inline-block; */
      list-style-type: none;
      list-style-position:inherit;
      /* margin-right: 5px; */
      font-size: 1.3rem;
      line-height: 1.5;
      /* margin-left: auto; */
      margin-top: auto;
      margin-bottom: auto;
      margin-right: 0;
      direction: rtl;
      text-align: right;
      padding-right: 10px;
      padding-top: 5px;

    }
p.testy {
	font-style: italic;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 10px;
	margin-right: 0;
	text-indent: 10px;
	text-align: left;
}
.testyimg {
  background-color: aliceblue; 
  width: 100%
}

/* --------------literacki----------- */



.fiszka-front1 {
	    	position: absolute;
	    	width: 100%;
	    	height: 100%;
	    	cursor: pointer;
	    	display: flex;
	    	padding-right: 10px;
	    	padding-left: 10px;
	    	margin-top: 30px;
	    	text-align: right;
	    	justify-content: right;
	    	align-items: center;
	    	/* background-color: rgb(40, 92, 51); */
	    	background-image: linear-gradient(to right, rgb(255, 248, 230), white);
	    	color: maroon;
	    	font-size: 1.1rem;
	    	line-height: 1.4rem;
	    	/* text-align: 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%);
	    }


.proza {
	font-family: 'Times New Roman', Times, serif;
	font-size: 0.9rem;
	margin-left: 1rem;
	margin-right: 1rem;
	margin-bottom: 0;
	text-indent: 1rem;
	text-align: justify;
	line-height: 0.9rem;
	-ms-hyphens: auto;
	hyphens: auto;
	    }

.prozaar {
font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	line-height: 1.2rem;
	direction: rtl;
	text-align: justify;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
	text-indent: 1.5rem;
	margin-bottom: 3px;
	color: darkgreen
}
.prozaar2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9rem;
	line-height: 1.2rem;
	direction: rtl;
	text-align: justify;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
	text-indent: 1.5rem;
	margin-bottom: 3px;
	color: darkgreen
}
	    table#t1 {
	    	width: 390px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t2 {
	    	width: 390px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t3 {
	    	width: 430px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t4 {
	    	width: 430px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t5 {
	    	width: 360px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t6 {
	    	width: 410px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t7 {
	    	width: 250px;
	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t8 {
	    	width: 380px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t9 {
	    	width: 440px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t10 {
	    	width: 370px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t11 {
	    	width: 380px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }

	    table#t12 {
	    	width: 310px;

	    	color: darkgreen;
	    	line-height: 1.2rem;
	    }
		table#t13 {
			width: 350px;
			/* background-color:blanchedalmond; */
			color: darkgreen;
			line-height: 1.2rem;
		}
    .tyt {
	font-family:'Times New Roman', Times, serif;
	font-size: 1rem;
	font-weight: bold;
	text-align: center;
	line-height: 1rem;
  margin-top:10px;
	margin-bottom:0;
}
