html {
  font-size: 16px;
}
body {
  font-family: "Merriweather", serif;
  color: #565656;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1180px;
  }
}
#header {
  height: 820px;
  background: url("../gfx/header-bg.jpg") top center;
}

@media (min-width: 1200px) {
  #menu ul {
    list-style: none;
  }
  #menu li {
    float: left;
    height: 65px;
    margin: 11px 0;
    display: table-row;
    box-sizing: padding-box;
  }
  #menu li.home {
    margin-left: 7px;
  }
  #menu li.home a {
    width: 123px;
  }
  #menu li.czym-jest-asi a {
    width: 245px;
  }

  #menu li.objawy {
    margin-left: 264px;
  }

  #menu li.objawy a {
    width: 122px;
  }
  #menu li.blog a {
    width: 123px;
  }
  #menu li.kontakt a {
    width: 122px;
  }
  #menu li.cennik a {
    width: 122px;
  }
  #menu li.facebook a {
    width: 122px;
  }
  #menu li.facebook a img {
    padding-bottom: 5px;
    border: 0;
  }
  #menu li a {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 65px;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.3rem;
  }
  #menu li a:hover {
    background: rgba(240, 20, 20, 0.2);
    text-decoration: none;
  }

  #main-menu {
    position: fixed;
    top: 78px;
    z-index: 500;
  }

  .pszczolki {
    position: absolute;
    z-index: 3;
    left: 14px;
    top: 14px;
    height: 100%;
    width: 0;
    display: table-cell;
  }

  .pszczolki > span {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url("../gfx/bees.png") left center;
    animation: play 0.1s steps(3) infinite;
    -webkit-animation: play 0.1s steps(3, end) infinite;
  }

  .pszczolki > span {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
  }

  .pszczolki_right {
    position: absolute;
    top: 14px;
    left: 1162px;
    -webkit-transform: rotateY(180deg) translateX(125%);
    -moz-transform: rotateY(180deg) translateX(125%);
    -ms-transform: rotateY(180deg) translateX(125%);
    transform: rotateY(180deg) translateX(125%);
  }

  #menu {
    background: url("../gfx/menu-bg.png");
    width: 1093px;
    height: 87px;

    z-index: 400;
  }
}
#integracja-sensoryczna-asi {
  position: absolute;
  top: 180px;
  left: 62px;
  background: url("../gfx/asi-integracja-sensoryczna.png");
  width: 508px;
  height: 348px;
  z-index: 300;
}
#butterfly {
  background: url("../gfx/butterfly.png");
  width: 231px;
  height: 207px;
  position: absolute;
  left: 452px;
  top: 184px;
}
#girl {
  background: url("../gfx/girl.png");
  width: 224px;
  height: 428px;
  position: absolute;
  top: 152px;
  right: 276px;
  z-index: 100;
}
#boy {
  background: url("../gfx/boy.png");
  width: 210px;
  height: 544px;
  position: absolute;
  top: 112px;
  right: 40px;
  z-index: 100;
}

#cloud {
  background: url("../gfx/cloud.png");
  position: absolute;
  top: 532px;
  left: 20px;
  z-index: 200;
  width: 449px;
  height: 210px;
  color: #0095da;
  padding: 40px 50px 40px 60px;
}
#poznan {
  background: url("../gfx/poznan.png");
  position: absolute;
  width: 179px;
  height: 178px;
  left: 443px;
  top: 507px;
  z-index: 201;
}

@keyframes play {
  100% {
    background-position: -120px;
  }
}

@-webkit-keyframes play {
  100% {
    background-position: -120px;
  }
}

#grass {
  position: absolute;
  bottom: 0;
  left: auto;
  background: url("../gfx/grass.png") center;
  height: 329px;
  width: 100%;
  z-index: 10;
}
#grass .container {
  z-index: 400;
  position: relative;
}
#grass h1 {
  color: #ffffff;
  position: absolute;
  top: 260px;
  font-style: italic;
  font-weight: 300;
  font-size: 2.4rem;
}
#grass #ASI {
  background: url("../gfx/ASI.png");
  width: 252px;
  height: 116px;
  position: absolute;
  top: 200px;
  right: 230px;
}
#section1 {
  background: #c8db3e;
}
#section2 {
  background: #d8ebee;
}
#section2 .container {
  z-index: 2;
}

#section2 #cloud1 {
  background: url("../gfx/cloud1.png");
  width: 522px;
  height: 302px;
  position: absolute;
  top: -20px;
  left: -260px;
}
#section2 #cloud2 {
  background: url("../gfx/cloud2.png");
  width: 326px;
  height: 195px;
  position: absolute;
  top: 235px;
  left: 240px;
  z-index: 2;
}
#section2 #uwolnij-potencjal-dziecka {
  background: url("../gfx/butterfly2.png");
  width: 302px;
  height: 308px;
  position: absolute;
  top: 55px;
  left: 250px;
  z-index: 1;
}
#section3 #a-jesli-tak-nie-jest {
  background: url("../gfx/section3-header-bg.png");
  width: 417px;
  height: 119px;
  color: #ffffff;
  position: absolute;
  left: 0;
  top: -85px;
  padding: 45px 60px;
  z-index: 500;
}
#section2 #a-jesli-tak-nie-jest h2 {
  font-style: italic;
  font-weight: normal;
  font-size: 2.1rem;
}
#arrow1 {
  background: url("../gfx/arrow1.png");
  width: 225px;
  height: 57px;
  position: absolute;
  top: 25px;
  left: 350px;
}
#arrow2 {
  background: url("../gfx/arrow2.png");
  width: 248px;
  height: 142px;
  position: absolute;
  top: 280px;
  left: 480px;
  z-index: 300;
}

h2.magenta {
  color: #ec008c;
  font-style: italic;
  font-weight: normal;
  font-size: 2.1rem;
}
h2.cyan {
  color: #0095da;
  font-style: italic;
  font-weight: normal;
  font-size: 2.1rem;
}
ul.mark-magenta {
  list-style-image: url("../gfx/mark-magenta.png");
}
ul.mark-magenta li {
  line-height: 2rem;
}
#cloud3 {
  background: url("../gfx/cloud3.png");
  width: 727px;
  height: 419px;
  position: absolute;
  top: -260px;
  right: 50px;
  z-index: 1;
}

#section3 {
  background: #c8db3e;
}
#section3 .container {
  z-index: 10;
  position: relative;
}
ul.mark-cyan {
  list-style-image: url("../gfx/mark-cyan.png");
}
ul.mark-cyan li {
  line-height: 2rem;
  padding: 0.6rem 0;
}
ul.mark-cyan.pricing li {
  padding: 0.2rem 0;
}

#section4 {
  background: #8dc73f;
}
#section4 h2 {
  color: #ffffff;
  font-style: italic;
}
#section4 #chevron {
  position: absolute;
  top: 25px;
  right: 270px;
  background: url("../gfx/chevron.png");
  width: 66px;
  height: 81px;
}
#section4 #arrow3 {
  position: absolute;
  background: url("../gfx/arrow3.png");
  width: 393px;
  height: 481px;
  top: -190px;
  right: 20px;
  z-index: 100;
}
#section5 {
  min-height: 614px;
  background: url("../gfx/section5-bg.jpg") bottom center no-repeat #d9ebef;
}
#section6 {
  background: url("../gfx/section6-bg.jpg");
  min-height: 592px;
  position: relative;
}
#section6 #girl2 {
  background: url("../gfx/girl2.png");
  width: 612px;
  height: 592px;
  position: relative;
  left: -95px;
  top: 0;
}

#footer .container {
  position: relative;
}
#footer {
  background: #c8db3e;
  border-bottom: 30px solid #8dc63f;
}
#footer .magenta {
  color: #ec008c;
}
#footer .small {
  font-size: 70%;
}
#footer .large {
  font-size: 130%;
}
#footer .map {
  width: 100%;
  text-align: center;
}
#footer .map .map_canvas {
  width: 180px;
  height: 180px;
  background: #cccccc;
  margin: auto;
}

#integracja-sensoryczna-footer {
  background: url("../gfx/integracja-sensoryczna-footer.png");
  width: 547px;
  height: 465px;
  position: absolute;
  bottom: 0px;
  left: 30px;
}
#boy2 {
  background: url("../gfx/boy2.png");
  width: 279px;
  height: 589px;
  position: absolute;
  top: -3rem;
  right: 0;
}

@media only screen and (max-width: 1200px) {
  #arrow1 {
    top: 50px;
    left: 200px;
  }
  #grass #ASI {
    right: 20px;
  }
  #section4 #arrow3 {
    top: -270px;
    right: 0px;
    -webkit-transform: scale(0.7, 0.7);
    -moz-transform: scale(0.7, 0.7);
    -ms-transform: scale(0.7, 0.7);
    transform: scale(0.7, 0.7);
  }
  #section5 {
    padding-bottom: 120px !important;
  }
  #integracja-sensoryczna-footer {
    width: 410px;
    height: 349px;
    background-size: contain;
    left: 0;
  }

  #boy {
    top: -38px;
  }
  #integracja-sensoryczna-asi {
    top: 30px;
  }
  #butterfly {
    top: 34px;
  }
  #cloud {
    top: 400px;
  }
  #poznan {
    top: 357px;
  }
  #grass #ASI {
    top: 200px;
  }
  #header {
    height: 670px;
  }
}

@media only screen and (max-width: 992px) {
  #arrow1 {
    top: 50px;
    left: 140px;
  }

  #section6 {
    background: url("../gfx/section5-bg.jpg") bottom center no-repeat #d9ebef;
    min-height: 614px;
  }
}
@media only screen and (max-width: 768px) {
  #section5 {
    padding-bottom: 100px !important;
  }
  #arrow1 {
    top: 110px;
    left: 150px;
    -webkit-transform: rotate(90deg) scale(0.9, -0.9);
    -moz-transform: rotate(90deg) scale(0.9, -0.9);
    -ms-transform: rotate(90deg) scale(0.9, -0.9);
    transform: rotate(90deg) scale(0.9, -0.9);
  }

  #grass h1 {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 480px) {
  html {
    font-size: 14px !important;
  }
  h2 {
    font-size: 1.6rem !important;
  }
  #header {
    height: 620px;
    padding-top: 20px !important;
  }
  #grass {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  #grass h1 {
    position: relative;
    top: auto;
    left: auto;
    padding-top: 220px;
    font-size: 1.8rem;
  }

  #integracja-sensoryczna-asi {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    height: 230px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 1rem !important;
  }
  #cloud {
    position: relative;
    top: auto;
    left: auto;
    padding: 0;
    background: none;
    width: auto;
    margin-top: 40px;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  #section3 #a-jesli-tak-nie-jest {
    background: url("../gfx/section3-header-bg.png");
    width: 292px;
    height: 83px;
    background-size: contain;
    color: #ffffff;
    position: absolute;
    left: 0;
    top: -40px;
    padding: 30px;
    z-index: 500;
  }
  #section5 {
    padding-bottom: 200px !important;
  }
}
