html {
  width: 100%;
  min-height: 100%;
}

:root {
  --page-x-padding: 70px;
}
@media (min-width: 1000px) and (max-width: 1400px) {
  :root {
    --page-x-padding: 50px;
  }
}
@media (max-width: 1000px) {
  :root {
    --page-x-padding: 7%;
  }
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  min-width: 320px;
  font-size: 15px;
  scroll-behavior: smooth;
}
@media (min-width: 450px) {
  body {
    font-size: 16px;
  }
}
@media (min-width: 1000px) and (max-width: 1200px) {
  body {
    font-size: 14px;
  }
}
@media (min-width: 1200px) and (max-width: 1400px) {
  body {
    font-size: 15px;
  }
}
@media (min-width: 1400px) and (max-width: 1600px) {
  body {
    font-size: 16px;
  }
}
@media (min-width: 1600px) {
  body {
    font-size: 18px;
  }
}
body[data-popup~=menu] .main-menu {
  display: flex;
}
body.modal-open {
  overflow: hidden;
}

.kontener {
  width: 100%;
  min-height: 100%;
}

.kon {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  width: 100%;
  padding: 0 var(--page-x-padding);
  box-sizing: border-box;
}

.tresc {
  position: relative;
}

/* reset */
* {
  font-family: "p-reg", Arial, Helvetica, sans-serif;
  font-weight: normal;
  border: none;
  outline: none;
}

:focus-visible {
  outline: 3px solid #0078d4;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "p-med", Arial, Helvetica, sans-serif;
  font-weight: normal;
}

b, strong {
  font-family: "p-sb", Arial, Helvetica, sans-serif;
  font-weight: normal;
}

.left {
  float: left;
}

.right {
  float: right;
}

/* top */
.top {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 102;
  transition: all 300ms ease-in-out;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
}
.top .logo {
  margin: 40px 0;
  float: left;
  transition: all 300ms ease-in-out;
}
.top .logo .sygnet {
  height: 90px;
  width: auto;
  transition: all 300ms ease-in-out;
  float: left;
}
.top .logo .logotyp {
  height: 90px;
  width: auto;
  transition: all 300ms ease-in-out;
  float: left;
  margin-left: 20px;
}
.top__bar {
  overflow: visible;
  display: flex;
  justify-content: space-between;
}
.top__nav-btns {
  display: flex;
  gap: 25px;
  align-items: center;
}
.top {
  /* top */
}
.top.pin {
  height: 70px;
  background-color: rgb(255, 255, 255);
}
.top.pin .logo {
  margin: 14px 0;
}
.top.pin .logo .sygnet {
  height: 40px;
}
.top.pin .logo .logotyp {
  height: 40px;
  opacity: 0;
}

/* menu */
.menu-button {
  position: relative;
  z-index: 3;
  width: 42px;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  --menu-color: #231f20;
}
@media (max-width: 1000px) {
  [data-popup~=menu] .menu-button {
    align-self: flex-start;
    margin-top: 10px;
  }
}
.menu-button span {
  position: absolute;
  background-color: var(--menu-color);
  width: 100%;
  height: 6px;
  border-radius: 5px;
  transition: width 200ms ease-in-out, opacity 200ms ease-in-out, background-color 200ms ease-in-out, transform 200ms ease-in-out;
  top: 50%;
  margin-top: -4px;
  left: 0;
}
[data-popup~=menu] .menu-button span {
  transform: rotate(135deg);
}
@media (min-width: 1000px) {
  [data-popup~=menu] .menu-button span {
    background-color: #fff;
  }
}
.menu-button span::before, .menu-button span::after {
  content: "";
  position: absolute;
  background-color: var(--menu-color);
  height: 6px;
  left: 0;
  border-radius: 5px;
}
@media (min-width: 1000px) {
  [data-popup~=menu] .menu-button span::before, [data-popup~=menu] .menu-button span::after {
    background-color: #fff;
  }
}
.menu-button span::after {
  top: -12px;
  width: 93%;
  transition: width 200ms ease-in-out, opacity 200ms ease-in-out, background-color 200ms ease-in-out;
}
[data-popup~=menu] .menu-button span::after {
  opacity: 0;
}
.menu-button span::before {
  top: 12px;
  width: 88%;
  transition: width 200ms ease-in-out, opacity 200ms ease-in-out, background-color 200ms ease-in-out, transform 200ms ease-in-out;
}
[data-popup~=menu] .menu-button span::before {
  transform: rotate(90deg) translateX(-30%);
  width: 100%;
}
.menu-button:hover span {
  width: 88%;
}
.menu-button:hover span::after {
  width: 110%;
}
.menu-button:hover span::before {
  width: 110%;
}
[data-popup~=menu] .menu-button:hover span {
  width: 100%;
}
[data-popup~=menu] .menu-button:hover span::after {
  width: 100%;
}
[data-popup~=menu] .menu-button:hover span::before {
  width: 100%;
}

/* -- MOBILE -- */
/* full screen */
.full-screen {
  position: relative;
  height: 50px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: all 300ms ease-in-out;
  width: 55px;
  display: none;
}
@media (min-width: 800px) {
  .full-screen {
    display: block;
  }
}
.full-screen {
  /* full screen */
}
.full-screen .lg {
  position: absolute;
  background-color: #231f20;
  width: 15px;
  height: 5px;
  border-radius: 5px;
  transition: all 200ms ease-in-out;
  top: 9px;
  left: 6px;
}
.full-screen .lg::after {
  position: absolute;
  content: "";
  background-color: #231f20;
  width: 9px;
  height: 5px;
  border-radius: 5px;
  transform: rotate(90deg);
  transition: all 200ms ease-in-out;
  left: -3px;
  top: 3px;
}
.full-screen .ld {
  position: absolute;
  background-color: #231f20;
  width: 15px;
  height: 5px;
  border-radius: 5px;
  transition: all 200ms ease-in-out;
  bottom: 11px;
  left: 6px;
}
.full-screen .ld::after {
  position: absolute;
  content: "";
  background-color: #231f20;
  width: 9px;
  height: 5px;
  border-radius: 5px;
  transform: rotate(90deg);
  transition: all 200ms ease-in-out;
  left: -3px;
  bottom: 3px;
}
.full-screen .pd {
  position: absolute;
  background-color: #231f20;
  width: 15px;
  height: 5px;
  border-radius: 5px;
  transition: all 200ms ease-in-out;
  bottom: 11px;
  right: 6px;
}
.full-screen .pd::after {
  position: absolute;
  content: "";
  background-color: #231f20;
  width: 9px;
  height: 5px;
  border-radius: 5px;
  transform: rotate(90deg);
  transition: all 200ms ease-in-out;
  bottom: 3px;
  right: -3px;
}
.full-screen .pg {
  position: absolute;
  background-color: #231f20;
  width: 15px;
  height: 5px;
  border-radius: 5px;
  transition: all 200ms ease-in-out;
  top: 9px;
  right: 6px;
}
.full-screen .pg::after {
  position: absolute;
  content: "";
  background-color: #231f20;
  width: 9px;
  height: 5px;
  border-radius: 5px;
  transform: rotate(90deg);
  transition: all 200ms ease-in-out;
  top: 3px;
  right: -3px;
}
.full-screen:hover .lg {
  top: 9px;
  left: 5px;
}
.full-screen:hover .ld {
  bottom: 9px;
  left: 5px;
}
.full-screen:hover .pd {
  bottom: 9px;
  right: 5px;
}
.full-screen:hover .pg {
  top: 9px;
  right: 5px;
}
.full-screen.active * {
  background-color: #d4d4d4;
}
.full-screen.active *::after {
  background-color: #d4d4d4;
}
.full-screen.active .x1 {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%) rotate(45deg);
}
.full-screen.active .x2 {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%) rotate(-45deg);
}
.full-screen .x1 {
  position: absolute;
  background-color: #231f20;
  width: 15px;
  height: 5px;
  border-radius: 5px;
  top: 50%;
  left: 50%;
  transition: all 200ms ease-in-out;
  opacity: 0;
  transform: scale(0.8) translate(-50%, -50%);
}
@media (min-width: 1000px) and (max-width: 1400px) {
  .full-screen .x1 {
    width: 12px;
    height: 4px;
    top: 23px;
  }
}
@media (max-width: 1000px) {
  .full-screen .x1 {
    width: 12px;
    height: 5px;
  }
}
.full-screen .x2 {
  position: absolute;
  background-color: #231f20;
  width: 15px;
  height: 5px;
  border-radius: 5px;
  top: 50%;
  left: 50%;
  transition: all 200ms ease-in-out;
  opacity: 0;
  transform: scale(0.8) translate(-50%, -50%);
}
@media (min-width: 1000px) and (max-width: 1400px) {
  .full-screen .x2 {
    width: 12px;
    height: 4px;
    top: 23px;
  }
}
@media (max-width: 1000px) {
  .full-screen .x2 {
    width: 12px;
    height: 5px;
  }
}

.main-menu {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.8);
}
.main-menu[hidden] {
  display: none;
}
@media (max-width: 1000px) {
  .main-menu {
    align-items: stretch;
    justify-content: flex-start;
  }
}
.main-menu__panel {
  background-color: white;
  box-sizing: border-box;
  display: block;
  padding: 70px 5% 2%;
  width: 100%;
  min-height: 100%;
  border-radius: 0;
}
@media (min-width: 1000px) {
  .main-menu__panel {
    display: flex;
    padding: 60px 75px;
    width: 750px;
    border-radius: 60px;
    min-height: unset;
  }
}
@media (min-width: 1000px) and (max-width: 1200px) {
  .main-menu__panel {
    padding: 40px 55px;
    border-radius: 45px;
    width: 650px;
  }
}
.main-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-menu ul li {
  padding-left: 50px;
  height: 56px;
  margin-top: 20px;
}
@media (min-width: 1000px) and (max-width: 1200px) {
  .main-menu ul li {
    margin-top: 15px;
    height: 50px;
  }
}
@media (max-width: 1000px) {
  .main-menu ul li {
    height: 50px;
    padding-left: 55px;
    margin-top: 10px;
  }
}
.main-menu ul li:first-child {
  margin-top: 0px;
}
.main-menu ul li.show .podmenu {
  opacity: 1;
}
.main-menu ul li:hover > a {
  color: #6d6b6b;
}
.main-menu ul li:hover > a img {
  opacity: 0.6;
}
.main-menu ul li:hover .menu-item + .podmenu {
  opacity: 1;
}
.main-menu .left {
  width: 350px;
}
@media (max-width: 1000px) {
  .main-menu .left {
    width: 100%;
  }
}
.main-menu .right {
  width: 200px;
  margin-left: 40px;
}
@media (max-width: 1000px) {
  .main-menu .right {
    width: 100%;
    margin-left: 0;
  }
}
.main-menu a {
  font-family: "p-sb", Arial, Helvetica, sans-serif;
  font-weight: normal;
}
.main-menu .podmenu {
  width: 100%;
  margin-top: 10px;
  float: left;
  opacity: 0;
  transition: all 300ms ease-in-out;
}
@media (max-width: 1000px) {
  .main-menu .podmenu {
    margin-top: 8px;
  }
}
.main-menu .podmenu {
  /* menu */
}
.main-menu .podmenu a {
  float: left;
  color: white;
  padding: 5px 12px;
  background-color: #231f20;
  font-size: 0.65em;
  margin-right: 8px;
  border-radius: 20px;
}
@media (max-width: 1600px) and (min-width: 1400px) {
  .main-menu .podmenu a {
    padding: 5px 10px;
    margin-right: 6px;
  }
}
.main-menu .podmenu a:hover {
  background-color: #6d6b6b;
}
.main-menu .podmenu a.active {
  background-color: #d6d6d6;
  color: #231f20;
}

.menu-item {
  color: #231f20;
  font-size: 1em;
  position: relative;
  text-transform: uppercase;
  float: left;
  border-bottom: 1px solid #231f20;
  line-height: 18px;
  font-family: "p-sb", Arial, Helvetica, sans-serif;
  font-weight: normal;
}
.menu-item img {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}
.menu-item.active {
  opacity: 0.6;
}
.menu-item.active + .podmenu {
  opacity: 1;
}

/* teksty */
.nazwa-dzialu {
  color: #bfbfbf;
  font-family: "p-sb", Arial, Helvetica, sans-serif;
  position: absolute;
  left: 24px;
  top: 100px;
  margin: 0;
  font-size: 30px;
  line-height: 30px;
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@media (min-width: 1000px) and (max-width: 1200px) {
  .nazwa-dzialu {
    font-size: 25px;
    top: 80px;
    left: 23px;
  }
}
@media (max-width: 1000px) {
  .nazwa-dzialu {
    top: 4%;
  }
}
@media (max-width: 450px) {
  .nazwa-dzialu {
    font-size: 1.1em;
    left: 15px;
  }
}

.footer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px 50px;
  box-sizing: border-box;
  width: 100%;
  min-height: 70px;
  padding: 13px calc(var(--page-x-padding) + 50px) 13px var(--page-x-padding);
  flex-wrap: wrap;
}
@media (min-width: 600px) {
  .footer {
    flex-wrap: nowrap;
  }
}
.footer img {
  width: auto;
  height: 44px;
  max-width: none;
}
@media (min-width: 1000px) and (max-width: 1400px) {
  .footer img {
    height: 36px;
  }
}
.footer__credit {
  display: flex;
  align-items: center;
  gap: 20px;
  color: black;
  font-size: 0.65em;
  line-height: 1;
}
@media (min-width: 600px) {
  .footer__credit {
    margin-left: auto;
  }
}

.memo-contact-link {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  z-index: 25;
  border-radius: 50%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.memo-contact-link__icon {
  width: 56%;
  height: auto;
}
.memo-contact-link--text {
  opacity: 0;
  font-size: 15px;
  width: 160px;
  box-sizing: border-box;
  display: flex;
  padding-right: 25px;
  position: absolute;
  top: 50%;
  left: 0;
  transition: 300ms left ease-in-out, 300ms opacity ease-in-out;
  transform: translate(-95%, -50%);
}
.memo-contact-link--text span {
  background: white;
  color: black;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  padding: 4px 0 4px 10px;
}
.memo-contact-link:hover .memo-contact-link--text {
  opacity: 1;
  transform: translate(-100%, -50%);
}
