/*
Theme Name: Noiseroom
Author: Yantei
Version: 0.1.0
*/
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

html, button, input, select, textarea {
  font-family: sans-serif;
}

body, form, fieldset, legend, input, select, textarea, button {
  margin: 0;
}

html {
  font-size: 100%;
}

section {
  height: 100vh;
  position: relative;
}
section img {
  max-width: 100%;
  height: auto;
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: portrait) {
  section {
    height: 1024px;
  }
}
/** 
 * iPad with landscape orientation.tain
 */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation: landscape) {
  section {
    height: 768px;
  }
}
/**
 * iPhone 5
 * You can also target devices with aspect ratio.
 */
@media screen and (device-aspect-ratio: 40 / 71) {
  section {
    height: 500px;
  }
}
#noiseroom {
  background: url(../images/nr1.jpg) no-repeat center center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}
#noiseroom #video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#noiseroom video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
#noiseroom video.playing {
  opacity: 1;
}
@media screen and (orientation: portrait) {
  #noiseroom {
    background-size: contain;
  }
  #noiseroom video {
    object-fit: contain;
  }
}
#noiseroom nav {
  padding: 0 12.3125%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5%;
}
#noiseroom nav div {
  float: left;
  width: 50%;
  position: relative;
}
#noiseroom nav div:before {
  content: '';
  display: block;
  padding-top: 21.06136%;
}
#noiseroom nav div a {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 30px;
  font-size: 1.875rem;
  text-indent: -9999px;
  background: url(../images/buttons_pl.png) no-repeat left top;
  background-size: 200%;
}
html[lang="en"] #noiseroom nav div a {
  background-image: url(../images/buttons_en.png);
}
#noiseroom nav div:nth-child(1) a:hover {
  background-position: left bottom;
}
#noiseroom nav div:nth-child(2) a {
  background-position: right top;
}
#noiseroom nav div:nth-child(2) a:hover {
  background-position: right bottom;
}

#noiseroom {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
#noiseroom #back {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 100%;
  background: url(../images/powrot.png) no-repeat bottom left;
  background-size: contain;
  opacity: 0;
  z-index: 1;
}
#noiseroom #back a {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25%;
  height: 30%;
}
.wszystko #noiseroom {
  overflow: visible;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
}

#noiseroom:after {
  content: ' ';
  display: block;
  position: absolute;
  left: 100%;
  width: 100%;
  top: 0;
  bottom: 0;
  background: url(../images/plansza_przepraszamy.jpg) no-repeat bottom left;
  background-size: contain;
}
html[lang="en"] #noiseroom:after {
  background-image: url(../images/plansza_przepraszamy_en.jpg);
}

#kontakt {
  text-align: left;
  background: #000;
}
#kontakt h1 {
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 86.41667%;
  line-height: 0;
  text-align: center;
}
#kontakt h1 img {
  height: 100%;
  width: auto;
  margin: 0 auto;
}

#rzut {
  position: absolute;
  top: 13.58333%;
  left: 0;
  right: 0;
  bottom: 18.5%;
  text-align: center;
}
#rzut .dn {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
}
#rzut img {
  margin-left: 0;
  height: 100%;
  width: auto;
  max-width: none;
}
@media screen and (orientation: portrait) {
  #rzut img {
    width: 100%;
    height: auto;
  }
}
#rzut.h0 div:nth-child(3) {
  display: block;
}
#rzut.h1 div:nth-child(4) {
  display: block;
}
#rzut.h2 div:nth-child(2) {
  display: block;
}

#namiary {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18.5%;
  font-family: "Cambria", serif;
  font-size: 24px;
  font-size: 1.5rem;
  text-align: left;
  color: #f00;
  background: url(../images/namiary.png) no-repeat center;
  background-size: contain;
  padding: 0 15%;
  padding-bottom: 5%;
}
@media screen and (max-height: 50em) {
  #namiary {
    font-size: 23px;
    font-size: 1.4375rem;
  }
}
@media screen and (max-height: 46.875em) {
  #namiary {
    font-size: 22px;
    font-size: 1.375rem;
  }
}
@media screen and (max-height: 43.75em) {
  #namiary {
    font-size: 21px;
    font-size: 1.3125rem;
  }
}
@media screen and (max-height: 40.625em) {
  #namiary {
    font-size: 19px;
    font-size: 1.1875rem;
  }
}
@media screen and (max-height: 37.5em) {
  #namiary {
    font-size: 18px;
    font-size: 1.125rem;
  }
}
@media screen and (max-height: 34.375em) {
  #namiary {
    font-size: 17px;
    font-size: 1.0625rem;
  }
}
@media screen and (max-height: 31.25em) {
  #namiary {
    font-size: 16px;
    font-size: 1rem;
  }
}
#namiary a {
  color: #f00;
  color: rgba(255, 255, 255, 0);
  text-decoration: none;
  display: block;
}
#namiary > * {
  width: 33%;
  float: left;
  text-align: center;
  margin-top: 1%;
}
#namiary > * > * {
  line-height: 1.35;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0);
}
#namiary > * div:hover {
  color: #fff;
  color: rgba(255, 255, 255, 0);
}
#namiary > * div:hover a {
  color: #fff;
  color: rgba(255, 255, 255, 0);
}
#namiary > * div:hover a:after {
  content: ' ';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: url(../images/namiary11.png) no-repeat center;
  background-size: contain;
  pointer-events: none;
}
#namiary > * div:first-child:hover {
  color: #f00;
  color: rgba(255, 255, 255, 0);
}
#namiary > *:last-child:hover {
  color: #fff;
  color: rgba(255, 255, 255, 0);
}
#namiary > *:last-child:hover div:first-child {
  color: #fff;
  color: rgba(255, 255, 255, 0);
}
@media screen and (orientation: portrait) {
  #namiary {
    padding: 0;
    font-size: 18px;
    font-size: 1.125rem;
  }
  #namiary > * {
    margin-top: 6%;
  }
}

#namiary > div:nth-child(1) > div:nth-child(3):hover a:after {
  background-image: url(../images/namiary12.png);
}

#namiary > div:nth-child(2) > div:nth-child(2):hover a:after {
  background-image: url(../images/namiary21.png);
}
#namiary > div:nth-child(2) > div:nth-child(3):hover a:after {
  background-image: url(../images/namiary22.png);
}

#namiary > a:nth-child(3):hover:after {
  content: ' ';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/namiary31.png) no-repeat center;
  background-size: contain;
  pointer-events: none;
}

#lang {
  position: absolute;
  right: 18.125%;
  top: 5.66667%;
  width: 14.0625%;
  height: 9.25%;
  background: url(../images/pleng.png) no-repeat center;
  background-size: cover;
  color: rgba(255, 255, 255, 0);
}
#lang a {
  color: rgba(255, 255, 255, 0);
  display: block;
  position: absolute;
  top: 20%;
  bottom: 0;
  left: 0;
  width: 30%;
}
#lang b {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-size: cover;
  background-position: center;
  display: none;
}
#lang b:nth-child(1) {
  background-image: url(../images/lang_pl.png);
}
#lang b:nth-child(2) {
  background-image: url(../images/lang_en.png);
}
#lang a:nth-child(4) {
  width: 50%;
  left: auto;
  right: 10%;
}
#lang.lang2 b:nth-child(1) {
  display: block;
}
#lang.lang3 b:nth-child(2) {
  display: block;
}

/*# sourceMappingURL=style.css.map */
