* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #fff;
  font-size: 16px;
}

p {
  margin: 10px;
}

.navbar {
  padding: 1rem;
  width: 60%;
  background-color: #444444;
  margin: 0 auto;
}

.mainclass {
  width: 60%;
  /* align-items: center;   */
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin: auto;
  background-color: #eff5fa;
}

table {
  width: 100%;
}

th {
  text-align: left;
  padding: 10px;
}

td {
  text-align: left;
  width: 33%;
  padding: 10px;
}

.limg {
  width: 100px;
}

.logodiv {
  margin-bottom: 10px;
}

.haslo {
  background-color: white;
  border: 1px solid #212529;
  padding: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
  line-height: 3rem;
}

.explanation {
  background-color: #f8f9fa;
  border: 1px solid #6c757d;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.ar {
  border: 0;
  padding: 20px;
}

.btn {
  padding: 5px;
  margin: 5px;
  cursor: pointer;
  border: 1px solid gray;
  font-size: 2rem;
  background-color: #c2f6ea;
}

.btn:hover {
  background-color: gray;
  color: white;
}

.wyszuk {
  background-color: #212529;
  padding: 10px;
}

.wyszuk-h {
  color: white;
}

.tbl-answer {
  border: 0px;
  border-spacing: 0 10px;
}

.tbl-answer2 {
  border: 0px;
  border-spacing: 0 10px;
}

.tbl-td {
  background-color: white;
  margin-top: 5px;
  margin-bottom: 5px;
}

video {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.bolder {
  font-weight: 600;
  text-decoration: underline;
}

.b2 {
  font-weight: 600;
}

.b3 {
  text-decoration: underline;
}

th {
  font-style: italic;
  font-weight: 600;
}

.h1-krz {
  text-decoration: underline;
  font-weight: 500;
}

.b-bld {
  font-weight: 600;
}

.b-und {
  text-decoration: underline;
}

.b-ital {
  font-style: italic;
}

.social {
  font-style: italic;
}

.possible-ans {
  text-decoration: underline;
}

.flexdiv {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.flexdiv-b {
  padding: 10px;
  margin: 5px;
  background-color: white;
  border-radius: 10px;
  border: none;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.flexdiv-c {
  padding: 10px;
  margin: 5px;
  background-color: white;
  border-radius: 10px;
  border: none;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.answer-c {
  display: flex;
  justify-content: space-between;
}

.flexdiv-c span {
  text-transform: uppercase;
  font-weight: 600;
}

.flexdiv-inside-a {
  color: white;
}

.flexdiv-cap {
  padding: 10px;
  margin: 5px;
  background-color: lightblue;
  border-radius: 10px;
  border: none;
  display: flex;
  justify-content: space-between;
}

.span-left {
  flex-grow: 1;
}

.span-right {
  margin-left: auto;
}

.flexdiv-b a:hover {
  color: blue;
}

/* .flexdiv-b span {
    border: 1px solid black;
    text-transform: uppercase;
    padding: 5px;
    margin-right: 3px;
    margin-left: 3px;
    font-weight: 600;
} */

.flexdiv-inside {
  padding: 10px;
  margin: 5px;
  background-color: black;
  border-radius: 10px;
  border: 1px solid black;
}

.answer-a span {
  border: 1px solid black;
  text-transform: uppercase;
  padding: 5px;
  margin-right: 3px;
  margin-left: 3px;
  font-weight: 600;
}

.h2-main {
  font-size: 1.5rem;
}

.flexdiv-inside:hover {
  padding: 10px;
  margin: 5px;
  background-color: #333;
  border-radius: 10px;
  border: 1px solid black;
}

.flexdiv-inside a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.flexdiv-inside a:hover {
  color: white;
  text-decoration: underline;
  font-weight: 500;
}

.img-sm {
  max-width: 30%;
}

.foot {
  min-height: 100px;
  background-color: #444444;
  padding: 1rem;
  width: 60%;
  text-align: center;
  margin: 0 auto;
}
.foot a{
  color: #fff;
}
.rebus {
  object-fit: contain;
  max-width: 100%;
  max-height: 500px;
}

.rebus-hide {
  display: none;
}

.rebus-btn {
  color: white;
  background-color: black;
  border: 0;
  border-radius: 2px;
  padding: 5px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 900;
}

.container {
  flex-basis: 70%;
  flex-shrink: 1;
  flex-grow: 1;
}

.container-no-side {
  width: 100%;
}

.side {
  flex-basis: 250px;
  flex-shrink: 1;
  flex-grow: 1;
}

.div-inside {
  font-size: 1rem;
  line-height: 2rem;
  border: 0;
  padding: 1rem;
  margin: 0;
  background-color: #eff5fa;
  overflow: hidden;
}

article {
  width: 100%;
}

.div-inside-in {
  width: 100%;
}

.div-side {
  font-size: 0.7rem;
  line-height: 1.5rem;
  border: 0;
  padding: 1rem;
  margin: 1rem;
  background-color: white;
  overflow: hidden;
}

.expl-low {
  background-image: url("background-krzyzowka.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  color: white;
  padding: 10px;
  text-align: center;
}

.list {
  display: inline-block;
}

.input {
  height: 2rem;
  font-size: 1rem;
  margin-right: 10px;
  padding: 4px;
}

.searchbtn {
  padding: 5px;
  background-color: #04aa6d;
  color: white;
  font-size: 1rem;
  font-weight: 500;
}

.searchbtn:hover {
  background-color: #444444;
  cursor: pointer;
}

.clear-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.hidden {
  display: none;
}

.imgmain {
  margin: 10px;
  max-width: 100%;
}

.imgdiv {
  width: 50%;
  margin: 0 auto;
}

.videodiv {
  width: 90%;
  margin: 0 auto;
}

.list li {
  display: inline;
  padding: 1em;
  font-weight: 500;
}

.list-art {
  list-style: none;
}

.ul_main {
  list-style-type: square;
  list-style-position: inside;
}

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

a:hover {
  color: darkblue;
  text-decoration: underline;
}

.tbl-td a:hover {
  color: darkblue;
}

.image1 {
  float: left;
  max-width: 400px;
  margin-right: 1em;
}

.image2 {
  float: right;
  max-width: 400px;
  margin-left: 1em;
}

.image3 {
  max-width: 50px;
  display: inline-block;
}

.img-blog {
  max-width: 100%;
  object-fit: contain;
}

.img-blog-mini {
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
  display: block;
}

.img1 {
  width: 100%;
}

.imglogo {
  width: 100%;
}

.div-navbar {
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
}

h2 {
  margin-bottom: 1rem;
  margin-top: 1rem;
  font-weight: 400;
}

h3 {
  margin-bottom: 0.8rem;
  margin-top: 0.8rem;
  font-weight: 400;
}

/* || MEDIUM */
@media (max-width: 1200px) {
  .flexdiv-b {
    padding: 10px;
    margin: 5px;
    background-color: white;
    border-radius: 10px;
    border: none;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
  }
}

/* || SMALL */
@media (max-width: 800px) {
  .mainclass {
    width: 100%;
  }

  .navbar {
    width: 100%;
  }

  .flexdiv-b {
    padding: 10px;
    margin: 5px;
    background-color: white;
    border-radius: 10px;
    border: none;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
  }

  .flexdiv-cap {
    padding: 10px;
    margin: 5px;
    background-color: lightblue;
    border-radius: 10px;
    border: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .stars {
    display: none;
  }

  .foot {
    width: 100%;
  }

  .imgdiv {
    width: 80%;
    margin: 0 auto;
  }

  .haslo {
    background-color: white;
    border: 1px solid #212529;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
    line-height: 2rem;
    display: flex;
    flex-direction: column;
  }

  .img-sm {
    display: none;
  }

  .btn {
    padding: 5px;
    margin: 5px;
    cursor: pointer;
    border: 1px solid gray;
    font-size: 1rem;
    background-color: #c2f6ea;
  }
}

/* quiz */
/* Add a black background color to the top navigation */
.topnav {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: black;
  color: white;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Add styles for the search container */
.search-container2 {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
}

/* Adjust styles for the search input and button */
.search-container2 .input {
  padding: 10px;
  margin-right: 5px;
  border: none;
}

.search-container2 .searchbtn {
  padding: 10px;
  border: none;
  cursor: pointer;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  /* Adjust styles for the search container in small screens */
  .search-container2 {
    float: none;
    display: block;
    text-align: left;
  }

  /* Adjust styles for the search input and button in small screens */
  .search-container2 .input,
  .search-container2 .searchbtn {
    width: 100%;
    margin: 5px 0;
  }
}
h1,
h2,
h3 {
  font-weight: bold;
}

h1 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
}

h2 {
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.75rem);
}
ul,
ol{
  padding-left: 1.3rem;
}
.o-table {
  margin: 1rem 0;
  overflow-x: auto;
}
.o-table table {
  border-collapse: collapse;
  margin: 0 auto;
}
.o-table table caption,
.o-table table th,
.o-table table td {
  border: 1px solid #000;
}
.o-table table caption {
  padding: calc((1rem) / 2) 1rem;
  background-color: #444444;
  color: #fff;
  border-bottom: none;
  font-weight: 500;
}
.o-table table th,
.o-table table td{
  padding: calc(1rem / 2) 0.8rem;
}
.o-table table th {
  font-weight: bold;
  font-size: 1rem;
}
.o-table table td {
  width: unset;
}

.o-p-img {
  display: grid;
  place-items: center;
  gap: 1rem;
}
.o-p-img div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .o-p-img {
    grid-template-columns: auto auto;
  }
}
.o-img-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.o-img-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.o-responsive {
  height: auto;
}