@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(Poppins-Regular.ttf);
}

* {
  font-family: Poppins, sans-serif;
}

html {
  scroll-behavior: smooth; /* Powoduje płynne przewijanie strony np. przy skoku do jakiejś zakładki */
}

body {
  max-width: 960px;
  margin-top: 1em;
  margin-bottom: 2em;
  margin-left: auto;
  margin-right: auto;
  background: rgba(0, 128, 0, 0.1);
}

.tytul {
  text-align: center;
  font-size: 3em;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 2px black, 0 0 25px green, 0 0 5px darkgreen;
}

.podtytul {
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
  font-size: 1.5em;
  color: red;
}

.rozdzial {
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  color: green;
}

#aktualizacja {
  margin-bottom: 2em;
  text-align: center;
}

#opracowal {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.7em;
  text-align: center;
  line-height: 1.5em;
  border: 1px solid;
  border-radius: 10px;
  background-color: rgba(255, 255, 0, 0.1);;
}

#spis1 {
  margin-top: 3em;
  margin-bottom: 1em;
  text-align: center;
  font-weight: bold;
}

p {
  margin-top: 1.5em;
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-word;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-word;
}

img {
  margin-top: 1em;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

hr {
  margin-top: 3em;
}

hr.podrozdzial {
  margin-top: 3em;
  width: 80%;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: orange;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: none;
  transition: 0.5s;
}

a:hover {
  color: orange;
  transition: 0.5s;
}
