*, *:before, *:after {
  box-sizing: border-box;
}
body {
  background: black;
  padding: 0;
  margin: 0;
  font-family: "Roboto";
  font-size: 18px;
  line-height: 21px;
  color: rgb(200, 200, 200);

}
.bg,
.przyslona {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0px;
  top: 0px;
  z-index: -1;
}
.bg {
  background: url(https://test-udt.pl/img/tlo.jpg) no-repeat fixed;
  background-size: cover;
  filter: blur(15px);
  z-index: -1;
}
.przyslona {
  background: rgba(0, 0, 0, 0.73);
  opacity: 1;
}
.header {
  position: relative;
  height: 92px;
  margin: 19px 86px 0;
}

.logo {
  position: relative;
  width: 59px;
  height: 92px;
}
.line {
  position: absolute;
  border-top: 1px solid rgba(255, 255, 255, 0.692);
  width: calc(100% - 72px);
  left: 72px;
  top: 59px;
}
.tytul {
  color: white;
  position: absolute;
  left: 72px;
  top: 25px;
}
.btn {
  color: white;
  display: block;
  position: absolute;
  right: 0px;
  top: 15px;
  border: 1px solid #f5f5f5;
  background-color: rgba(51, 255, 0, 0.21);
  padding: 5px 21px;
  cursor: pointer;
}
a:hover > .btn,
a:focus > .btn,
a:active > .btn {
  box-shadow: 0 0 5px 0 white;
  background-color: rgba(51, 255, 0, 0.47);
  color: #f5f5f5;
}

#btnLic {
  opacity: 0;
  transform: translateX(50%);
  visibility: hidden;
}
#btnLic.show {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition: transform 1.5s, opacity 2s;
}
.container{
  margin: auto 86px;
  width: calc(100vw - 86px *2);
  height: 100%;
  display: flex;
  overflow: visible;
}
.container>div{

  height: 100%;
  width: inherit;
}
#desc, #menu{
  opacity:0;
  transition: transform 1s,opacity 0.7s ease 0.3s;
}
#menu{
  display: grid;
  padding-left: 10vw;
  grid-template-rows: min-content;
  grid-template-columns: 1fr 1fr;
}
@keyframes animMenu{
  0%{
    opacity:0;

  }
  100%{
    opacity:1;

  }
}
#desc.show, #menu.show{

  animation: animMenu 2s 1;
  animation-fill-mode: forwards;
  opacity:0;
}
.d-none{
  display: none!important;
}
.all{
  display:flex;
  flex-direction: column;
  height: 100vh;
}
.footer{
  font-size: 16px;
  margin: 15px 86px;
  text-align: left;
  position: fixed;
  bottom: 0px;
}
.first-page{
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: flex-start;
  font-size: 3rem;
  padding-top: calc(92px + 5%);
  transition: transform 1s,opacity 0.7s;
}
.first-page.out{
  transform: scale(1) translate(0, -200px);
  opacity:0;
}
.cont{
  font-weight: 300;
  color: white;
  font-size: 3rem;
  opacity: 0;
  transform: scale(0.95) translate(0, -150%);
  position: absolute;
  text-shadow: 0 0 20px black;
  line-height: 3rem;
}
.cont.in{
  opacity: 1;
  transform: scale(1) translate(0, 0);
  transition :transform 3s, opacity 3.5s ease 0.5s;
}
.cont.out{
  opacity: 0;
  transform: scale(0.95) translate(0, 150%);
  transition :transform 1s, opacity 0.7s ease 0.2s;
}
.br-sm{
  display: none;
}
#menu ul {
  list-style-type: none;
  font-weight: 300;
  line-height: 3.2rem;
  text-align: left;
  font-size: 1.3rem;
  padding-left: 10px;
}
@keyframes menu-anim{
  0%{
    transform: translateX(-50%);
    opacity:0;
  }
  20%{
    opacity:0;
  }
  100%{
    transform: translateX(0);
    opacity:1;
  }
}
#menu ul li{
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  animation-name: menu-anim;
  transform: translateX(-50%);
    opacity:0;
  transition: color 0.3s;
}
#menu ul li:nth-child(2){
  animation-delay: 0.2s;
}
#menu ul li:nth-child(3){
  animation-delay: 0.4s;
}
#menu ul li:nth-child(4){
  animation-delay: 0.6s;
}
#menu ul li:nth-child(5){
  animation-delay: 0.8s;
}
#menu ul li:nth-child(6){
  animation-delay: 1s;
}
#menu ul li:nth-child(7){
  animation-delay: 1.2s;
}
#menu ul li:nth-child(8){
  animation-delay: 1.4s;
}
#menu ul li:nth-child(9){
  animation-delay: 1.6s;
}
#menu ul li.active,#menu ul li:hover{
  cursor: pointer;
  color:white;
}
#menu .after {
  position: absolute;
  width: 13px;
  height: 13px;
  left: 224px;
  top: 192px;
  border: 2px solid #FFFFFF;
  transform: rotate(45deg);
  border-bottom: none;
  border-left: none;
  transition: top 0.3s;
  opacity:0
}

h2.menu-title {
  font-weight: 300;
  font-style: italic;
  grid-column-start: 1;
  grid-column-end: span 2;
  grid-row-start: 1;
  grid-row-end: 1;
  margin: 29px 0 5px;
}
#menu-first{
  grid-column-start: 1;
  grid-column-end: 1;
  grid-row-start: 2;
  grid-row-end: 2;
}
#menu-second{
  grid-column-start: 2;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 2;
}

.podglad {
  max-width: 640px;
  perspective: 1000px;
  margin: auto;
}
.img{
  box-shadow: 0 0 26px 0 rgba(255, 255, 255 , 0.25);
  display: block;
  margin: auto;
  width: 100%;
  max-width: 500px;
  height:auto;
  margin-top: 25px;
  border: 1px solid white;
  overflow: hidden;
  transform: rotate3d(0, 1, 0, 0deg);
  transition: transform 4s, width 1s, height 1s;
}
.img:hover{
  transition: transform 1s;
}
.img>*{
  width:100%;
  height: auto;
  display: block;
}
.img>div{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}
article p {
  margin: 39px 38px 12px;
  text-align: justify;
}

@media only screen and (max-width: 1368px){
  #menu{
    padding-left: 0vw;
    transform: translateX(10vw);
  }
  article p{
    margin: 39px 10px 12px
  }
}
@media only screen and (max-width: 1248px){
  .container {
    margin: auto 25px;
    width: calc(100vw - 25px *2);

  }
  .header{
    margin: 10px 25px 5px;
    width: calc(100vw - 25px *2);
  }
}
@media only screen and (max-width: 900px){
  #menu{
    padding-left: 10vw;
    transform: translateX(0vw);
  }
  .container{
    flex-direction: column;
  }
  .podglad{
    margin-bottom: 72px;
  }
  .footer{
    width: 100vw;
    text-align: center;
    margin:auto;
  }
}
@media only screen and (max-width: 610px){
  #menu{
    padding-left: 0vw;
    transform: translateX(10vw);
  }
}
@media only screen and (max-width: 440px){
  .btn{
    display: none;
  }
  .br-sm{
     display: unset;
  }

  #menu ul{
    font-size: 1rem;
    line-height: 1.4rem;
  }
  #menu ul li{
    margin: 1rem auto;
  }
  #menu .after {
    width: 10px;
    height: 10px;
  }

}
h2#licznik {
    text-align: center;
    font-weight: 300;
    line-height: 4rem;
    background: #006d17;
    margin: 0px;
    box-shadow: inset 0px 0px 100px 18px black;
    color: white;
    padding: 2rem 0;
}
h2#licznik>span {
    font-size: 3rem;
}