* {
  font-family: "Montserrat";
  /*overflow: hidden;*/
}

html > body {
  overflow-x: hidden;
  overflow-y: auto;
}

h2 {
  position: absolute;
  font-size: 50px;
  margin-left: 30px;
  z-index: 99;
  color: white;
}

header {
  z-index: 7;
  display: block;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
header a {
  width: 200px;
  transition: all 0.4s;
}
header a:hover {
  transform: scale(1.05);
  filter: invert(0.5);
}
header a img {
  width: 100%;
}
footer {
  z-index: 7;
  color: white;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
.fx-art {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.fx-items-art {
  position: relative;
  max-width: 400px;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 40px;
  background-color: #212121;
  border-radius: 20px;
  color: white;
  z-index: 9;
  margin: 20px;
}
@media only screen and (max-width: 550px) {
  .fx-items-art {
    padding: 15px;
  }
}
section {
  height: 100%;
  z-index: 9;
}

section button {
  font-weight: 500;
  padding: 5px 10px 5px 10px;
  border: none;
  border-radius: 5px;
  transform: scale(1.01);
  transition-duration: 0.5s;
  transition-property: transform, opacity;
}

section button#youtube {
  background-color: red;
  margin-top: 10px;
  cursor: pointer;
}

section h1 {
  font-size: 32px;
}

section hr {
  width: 80px;
}

section p {
  font-size: 16px;
}

section button#youtube span {
  font-size: 18px;
  color: white;
  padding-left: 5px;
  vertical-align: middle;
}

section button#youtube svg {
  width: 25px;
  vertical-align: middle;
  color: white;
}

section button#youtube:hover {
  /*opacity: 0.7;*/
  transform: scale(1.08);
  transition-duration: 0.5s;
  transition-property: transform, opacity;
}

section #progres {
  margin-top: 8px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  height: 4px;
  background-color: #3c3c3c;
}

section #zadania {
  margin-top: 20px;
  display: block;
}

section #zadania.hide {
  display: none !important;
}

section #zadaniaa {
  margin-top: 20px;
  display: none;
}

section #zadaniaa.zadaniazrobione {
  display: block;
}

section #zadaniaa::after {
  content: "1/1";
  font-weight: 600;
  color: white;
  position: relative;
  z-index: 9;
  text-align: center;
  font-size: 18px;
  letter-spacing: 3px;
  color: #217d00;
}

section #zadania::after {
  content: "0/1";
  font-weight: 600;
  color: white;
  position: relative;
  z-index: 9;
  text-align: center;
  font-size: 18px;
  letter-spacing: 3px;
}

section .odbl {
  background-color: #217d00 !important;
}

section button#odblokuj {
  margin-top: 20px;
  color: #757575;
  background-color: #3c3c3c;
}

section button.odblokowane {
  background-color: #217d00 !important;
  color: white !important;
  cursor: pointer;
  transition-duration: 0.5s;
  transition-property: transform, opacity;
}

section button.odblokowane:hover {
  transform: scale(1.08);
  transition-duration: 0.5s;
  transition-property: transform, opacity;
}

/* tło film */
#filmtla {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

iframe#tlo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  z-index: 1;
}

@media (min-aspect-ratio: 16/9) {
  #filmtla iframe {
    height: 56.25vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  #filmtla iframe {
    width: 177.78vh;
  }
}

/* maska */
.maska {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: black;
  opacity: 0.6;
}

/* ttv i ttvframe */
#ttv {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 500px;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  /*transform: scale(0.6);*/
}

#ttvframe {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 1000px) {
  body {
    background-image: url("fotka.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  #filmtla {
    display: none;
  }

  #iframe#tlo {
    display: none;
  }
}

/* dolna sekcja */

#sprawdztez {
  position: relative;
  max-width: 400px;
  width: calc(100% - 50px);
  text-align: center;
  padding: 40px;
  background-color: #212121;
  border-radius: 20px;
  color: white;
  z-index: 9;
  margin: 20px;
}

#sprawdztez h1 {
  font-size: 30px;
  padding-bottom: 20px;
}

#sprawdztez p {
  text-align: left;
  font-size: 18px;
  padding: 0px 0px 5px 0px;
}

#sprawdztez a#t {
  text-decoration: none;
  border: 2px solid #613fa0;
  margin-left: 5px;
  margin-right: 5px;
  padding: 2px 8px 2px 8px;
  background-color: #613fa0;
  transition-property: background-color, color;
  transition-duration: 0.5s;
  border-radius: 5px;
  color: white;
  font-weight: 500;
}

#sprawdztez a#t:hover {
  background-color: #212121;
  color: #613fa0;
  transition-property: background-color, color;
  transition-duration: 0.5s;
}

#sprawdztez a#y {
  color: white;
  text-decoration: none;
  border: 2px solid #ff0000;
  margin-left: 5px;
  padding: 2px 5px 2px 5px;
  background-color: #ff0000;
  transition-property: background-color, color;
  transition-duration: 0.5s;
  border-radius: 5px;
  font-weight: 500;
}

#sprawdztez a#y:hover {
  background-color: #212121;
  color: #ff0000;
  transition-property: background-color, color;
  transition-duration: 0.5s;
}
.linkclass {
  color: white;
  text-decoration: none;
  border: 2px solid #ff0000;
  margin-left: 5px;
  padding: 2px 5px 2px 5px;
  background-color: #ff0000;
  transition-property: background-color, color;
  transition-duration: 0.5s;
  border-radius: 5px;
  margin-top: 20px;
  font-weight: 500;
}
.linkclass:hover {
  background-color: #212121;
  color: #ff0000;
  transition-property: background-color, color;
  transition-duration: 0.5s;
}
