body {
  background: url(/img/fon/fon333.jpg);
  background-size: cover;
}
.header {
  background: url(/img/header/4.webp);
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 1200px;
  margin: 2rem auto;
  text-align: center;
  height: auto;
  border-radius: 4px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    filter: drop-shadow(0 0 1px var(--black));
    
}
.header-fon {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 60px;
  border-radius: 4px 4px 0 0;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 90% 0%, 10% 0%, 0% 100%);
  background: var(--grey);
}
.header > h3 {
  font-family: "MyFont2";
  font-size: 2rem;
  color: var(--orangered);
  text-shadow: 1px 1px 2px var(--black);
  margin: 1rem 10px;
  padding: 0;
  height: 27px;
  -webkit-box-reflect: below 5px
    linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
}
.header h1 {
  max-width: 1200px;
  color: var(--yelow);
  text-shadow:
    1px 1px 0 #000,
    0 2px 4px var(--black);
  font-size: 3.5rem;
  margin-inline: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 900px) {
  .header h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 660px) {
  .header h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
}
@media (max-width: 540px) {
  .header h1 {
    font-size: 1.5rem;
  }
}
@media (max-width: 425px) {
  .header h1 {
    font-size: 1.2rem;
  }
}
.header-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.foto-on,
.foto-ty,
.foto-fri {
  width: 300px;
  height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.foto-on::before,
.foto-ty::before,
.foto-fri::before {
  z-index: 0;
  content: "";
  background-color: var(--prblack);
  position: absolute;
  width: 400px;
  height: 340px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.foto-on::after,
.foto-ty::after,
.foto-fri::after {
  z-index: 0;
  content: "";
  background-color: #000000;
  position: absolute;
  width: 390px;
  height: 330px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.foto-ty::before,
.foto-ty::after {
  z-index: 1;
}
.header-opis {
  max-width: 1200px;
  height: 60px;
  margin: 0 auto;
  margin-top: 2rem;
  padding: 0.3rem;
  background: var(--grey);
  clip-path: polygon(
    0% 0%,
    2% 0%,
    20% 100%,
    22% 100%,
    4% 0%,
    96% 0%,
    78% 100%,
    80% 100%,
    98% 0%,
    100% 0%,
    100% 100%,
    0% 100%
  );
  border-radius: 0 0 4px 4px;
}
@font-face {
  font-family: "MyFont3";
  src: url(/shrift/shrift10/Sacramento.ttf) format("truetype");
}
.header-opis h3 {
  color: var(--black);
  color: var(--blue);
  text-shadow: 1px 1px 2px var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "MyFont3";
  font-size: 2.3rem;
}
@media (max-width: 600px) {
  .header-opis h3 {
    font-size: 1.8rem;
  }
}
@media (max-width: 425px) {
  .header-opis h3 {
    padding-top: 0.6rem;
    font-size: 1.4rem;
  }
}
/* === img === */
.foto-on::after {
  background: url(/img/header/1.webp);
  background-size: cover;
}
.foto-ty::after {
  background: url(/img/header/2.webp);
  background-size: cover;
}
.foto-fri::after {
  background: url(/img/header/3.webp);
  background-size: cover;
}
@media (max-width: 1024px) {
  .foto-on,
  .foto-ty,
  .foto-fri {
    width: 200px;
    height: 300px;
  }
  .foto-on::before,
  .foto-ty::before,
  .foto-fri::before {
    width: 310px;
    height: 300px;
  }
  .foto-on::after,
  .foto-ty::after,
  .foto-fri::after {
    width: 300px;
    height: 290px;
  }
}
@media (max-width: 768px) {
  .foto-on,
  .foto-ty,
  .foto-fri {
    width: 160px;
    height: 240px;
  }
  .foto-on::before,
  .foto-ty::before,
  .foto-fri::before {
    width: 260px;
    height: 250px;
  }
  .foto-on::after,
  .foto-ty::after,
  .foto-fri::after {
    width: 250px;
    height: 240px;
  }
}
@media (max-width: 628px) {
  .foto-on,
  .foto-ty,
  .foto-fri {
    width: 110px;
    height: 200px;
  }
  .foto-on::before,
  .foto-ty::before,
  .foto-fri::before {
    width: 200px;
    height: 200px;
  }
  .foto-on::after,
  .foto-ty::after,
  .foto-fri::after {
    width: 190px;
    height: 190px;
  }
  .blok-opis {
    width: 90%;
    height: 100%;
  }
}
@media (max-width: 434px) {
  .foto-on,
  .foto-ty,
  .foto-fri {
    width: 90px;
    height: 140px;
  }
  .foto-on::before,
  .foto-ty::before,
  .foto-fri::before {
    width: 150px;
    height: 150px;
  }
  .foto-on::after,
  .foto-ty::after,
  .foto-fri::after {
    width: 140px;
    height: 140px;
  }
}
@media (max-width: 346px) {
  .foto-on,
  .foto-ty,
  .foto-fri {
    width: 70px;
    height: 100px;
  }
  .foto-on::before,
  .foto-ty::before,
  .foto-fri::before {
    width: 110px;
    height: 110px;
  }
  .foto-on::after,
  .foto-ty::after,
  .foto-fri::after {
    width: 100px;
    height: 100px;
  }
}
