* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.wrapper {
  margin: 0 auto;
  font-family: 'Myriad Web', Arial, Helvetica, sans-serif;

}

/* Nvigation */
nav {
  background-color: #d71d34;
  padding-left: 1%;
}

nav ul {
  position: relative;
  height: 255px;
  list-style: none;
}

nav ul li {
  height: 40px;
  margin-bottom: 20px;
  margin-left: 58px;
}

nav ul li.logo {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  padding-top: 30px;
  height: 29px;
  margin-bottom: 5px;
}

nav ul li:nth-child(1) img {
  height: 100%;
}

nav ul li a {
  display: inline-block;
  text-decoration: none;
  width: 200px;
  height: 53px;
  text-align: left;
  color: white;
  font-size: 21px;
  letter-spacing: 2px;
  margin-top: 7px;
  padding-top: 6px;
}

nav ul li:nth-child(2) a {
  border-bottom: 1px solid white;
}

nav ul li:nth-child(3) a {
  border-bottom: 1px solid white;
}

nav ul li.glass {
  position: absolute;
  right: 54px;
  bottom: -5px;
  width: 28px;
}

nav ul li.glass img {
  width: 100%;
}

@media(orientation: portrait) and (min-width: 410px) {

  nav ul li {
    margin-left: 73px;
  }

  nav ul li.glass {
    right: 91px;
  }
}

@media(orientation: portrait) and (min-width: 460px) {

  nav ul li {
    margin-left: 94px;
  }

  nav ul li.glass {
    right: 138px;
  }
}

@media(orientation: portrait) and (min-width: 560px) {
  nav ul li.glass {
    right: 205px;
  }
}

@media(min-width: 640px) {
  nav ul li:nth-child(2) {
    float: left;
  }

  nav ul li:nth-child(3) {
    float: left;
  }

  nav ul li:nth-child(4) {
    padding-top: 83px;
  }

  nav ul li:nth-child(4) a {
    border-bottom: 1px solid white;
    margin-top: -6px;
  }

  nav ul li.glass {
    right: 232px;
    bottom: 5px;
  }

  nav ul {
    height: 224px;
  }
}

@media(min-width: 800px) and (orientation:landscape) {
  nav ul {
    height: 160px;
  }

  nav ul li:nth-child(4) {
    float: left;
    padding-top: 0;
  }

  nav ul li a {
    text-align: center;
    height: 40px;
    font-size: 20px;
  }

  nav ul li:nth-child(2) a {
    border-bottom: none;
    margin-left: -40px;
  }

  nav ul li:nth-child(3) a {
    border-bottom: none;
    border-left: 1px solid white;
    border-right: 1px solid white;
  }

  nav ul li:nth-child(4) a {
    border-bottom: none;
    padding-right: 52px;
    padding-top: 20px;
  }

  nav ul li.glass {
    right: 69px;
    bottom: 19px;
    width: 22px;
  }
}

@media(min-width: 1024px) and (orientation:landscape) {

  nav ul {
    height: 106px;
  }

  nav ul li.logo {
    float: left;
    margin-left: 50px;
  }

  nav ul li {
    margin-top: 20px;
    margin-left: 40px;
  }

  nav ul li:nth-child(1) {
    padding-top: 15px;
  }

  nav ul li:nth-child(2) a {
    margin-left: 83px;
  }

  nav ul li a {
    font-size: 21px;
    margin-top: 18px;
  }

  nav ul li:nth-child(4) {
    padding-top: 10px;
  }

  nav ul li.glass {
    right: 50px;
    bottom: -1px;
    width: 24px;
  }
}

@media(min-width: 1200px) and (orientation:landscape) {
  body {

    background-color: #d71d34;
  }

  .wrapper {
    max-width: 1400px;
    margin: 0 auto;
    float: left;
  }

  /*Marginesy boczne dla 1200*/

  aside {
    float: left;
    width: calc((100% - 1400px)/2);
    /*height: 2140.13px;*/

  }

  aside .left:nth-child(1) {
    height: 106px;
    background-color: #d71d34;
  }

  aside .left:nth-child(2) {
    height: 540px;
    background-color: #CCF04D;
  }

  aside .left:nth-child(3) {
    height: 500px;
    background-color: #d71d34;
  }

  aside .left:nth-child(4) {
    height: 545.133px;
    background-color: #CCF04D;
  }

  aside .left:nth-child(5) {
    height: 500px;
    background-color: #CCF04D;
  }

  aside .left:nth-child(6) {
    height: 175px;
    background-color: #d71d34;
  }

  /*Margines prawy*/
  aside .right:nth-child(1) {
    height: 106px;
    background-color: #d71d34;
  }

  aside .right:nth-child(2) {
    height: 540px;
    background-color: #CCF04D;
  }

  aside .right:nth-child(3) {
    height: 500px;
    background-color: #d71d34;
  }

  aside .right:nth-child(4) {
    height: 500px;
    background-color: #CCF04D;
  }

  aside .right:nth-child(5) {
    height: 545.133px;
    background-color: #CCF04D;
  }

  aside .right:nth-child(6) {
    height: 175px;
    background-color: #d71d34;
  }

  nav {
    margin: 0 auto;
    padding-left: 5%;
  }

  nav ul li:nth-child(1) {
    margin-left: 70px;
  }

  nav ul li:nth-child(2) {
    margin-left: 190px;
  }

  nav ul li:nth-child(4) {
    padding-top: 6px;
  }

  nav ul li a {
    width: 172px;
    height: 30px;
    font-size: 20px;
    padding-top: 0px;
  }

  nav ul li.glass {
    right: 75px;
    bottom: 3px;
    width: 23px;
  }

  section {
    height: 359.5px;
  }

  article {
    height: 450px;
  }

  article.below {
    height: 545.133px;
  }
}

@media(min-width: 1300px) and (orientation:landscape) {
  nav ul li:nth-child(2) {
    margin-left: 335px;
  }

  nav ul li.glass {
    right: 56px;
  }
}

@media(min-width: 1390px) and (orientation:landscape) {
  nav ul li.glass {
    right: 74px;
  }
}

/* Header */
header {
  background-color: #CCF04D;
}

div.logo {
  width: 80%;
  margin: 0px auto;
  padding-top: 19px;
  background-color: #CCF04D;
}

div.logo img {
  width: 100%;
}

div.docisk {
  position: relative;
  width: 90%;
  height: 250px;
  margin: 0 auto;
  background-image: url(../images/Fotkadocisk1.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 40% 42%;
}

div.docisk p {
  position: absolute;
}

div.docisk p:nth-of-type(1) {
  left: 20px;
  top: 180px;
}

div.docisk p:nth-of-type(2) {
  left: 200px;
  top: 50px;
}

div.docisk img {
  width: 100%;
  display: none;
}

p {
  font-size: 19px;
  letter-spacing: 1px;
  margin-left: 14px;
  padding-bottom: 2px;
}

p:nth-child(4) {
  padding-bottom: 20px;
}

p span {
  font-weight: bold;
}

@media(orientation: portrait) and (min-width: 410px) {
  div.docisk {
    width: 80%;
    height: 260px;
    margin-top: 6px;
    margin-left: 37px;
    margin-bottom: 20px;
  }

  div.logo {
    width: 77%;
  }
}

@media(orientation: portrait) and (min-width: 460px) {
  div.logo {
    width: 71%;
  }

  div.docisk {
    height: 290px;
  }

  div.docisk p:nth-of-type(1) {
    left: 20px;
    top: 190px;
  }

  div.docisk p:nth-of-type(2) {
    left: 250px;
    top: 250px;
  }
}

@media (min-width: 560px) {
  div.logo {
    width: 66%;
  }

  div.docisk {
    width: 84%;
    height: 360px;
    margin-left: 47px;
    margin-bottom: 15px;
  }

  div.docisk p:nth-of-type(1) {
    left: 112px;
    top: 240px;
  }

  div.docisk p:nth-of-type(2) {
    left: 280px;
    top: 310px;
  }
}

@media (min-width: 640px) {
  div.logo {
    width: 57%;
    margin-bottom: 21px;
  }

  div.docisk {
    width: 87%;
    height: 430px;
    margin-left: 41px;
    margin-bottom: 35px;
  }

  div.docisk p:nth-of-type(1) {
    left: 144px;
    top: 311px;
  }

  div.docisk p:nth-of-type(2) {
    left: 333px;
    top: 397px;
  }
}

@media (min-width: 800px) {
  header {
    position: relative;
    height: 450px;
  }

  div.logo {
    position: absolute;
    right: 134px;
    top: 25px;
    width: 36%;
  }

  div.docisk {
    position: absolute;
    left: -94px;
    top: 0px;
    width: 58%;
    height: 100%;
    overflow: hidden;
    background-image: none;
  }

  div.docisk p:nth-of-type(1) {
    left: 112px;
    top: 281px;
  }

  div.docisk p:nth-of-type(2) {
    left: 280px;
    top: 352px;
  }

  div.docisk img {
    display: inline;
  }

  div.description {
    position: absolute;
    width: 49%;
    right: 28px;
    bottom: 38px;
  }

  p {
    font-size: 19px;
  }

  .description p:nth-child(1) {
    text-align: center;
  }

  .description p:nth-child(3) {
    text-align: center;
  }

  .description p:nth-child(4) {
    text-align: center;
  }
}

@media(min-width: 1024px) and (orientation:landscape) {

  div.description {
    right: 38px;
    bottom: 58px;
  }

  div.docisk {
    left: -69px;
    top: 0px;
    width: 50%;
  }

  div.docisk p:nth-of-type(1) {
    left: 121px;
    top: 320px;
  }

  div.docisk p:nth-of-type(2) {
    left: 303px;
    top: 384px;
  }

  div.docisk img {
    width: 100%;
  }

  div.logo {
    right: 118px;
    top: 28px;
    width: 34%;
  }

  .description p:nth-child(2) {
    margin-bottom: 12px;
    text-align: center;
  }
}

@media(min-width: 1200px) and (orientation:landscape) {
  header {
    height: 512px;
  }

  div.logo {
    right: 160px;
    top: 37px;
  }

  div.docisk {
    left: -94px;
    top: 0px;
    width: 50%;
  }

  div.docisk p:nth-of-type(1) {
    left: 152px;
    top: 343px;
  }

  div.docisk p:nth-of-type(2) {
    left: 360px;
    top: 411px;
  }

  div.description {
    right: 102px;
    bottom: 93px;
  }
}

@media(min-width: 1300px) and (orientation:landscape) {
  header {
    height: 540px;
  }

  div.docisk {
    left: -32px;
    top: 0px;
    width: 43%;
  }

  div.description {
    right: 80px;
    bottom: 93px;
  }

  div.logo {
    right: 171px;
    top: 37px;
  }
}

/* Diagram */
section {
  background-color: #d71d34;
}

section p {
  padding-top: 42px;
  text-align: center;
  font-size: 22px;
  color: white;
}

div.jarsL {
  height: 188px;
  margin-top: 41px;
}

div.jarsP {
  height: 231px;
}

section img {
  width: 89%;
  margin-left: 15px;
  margin-top: 2px;
}

@media(orientation: portrait) and (min-width: 410px) {
  section img {
    width: 79%;
    margin-left: 44px;
  }
}

@media(orientation: portrait) and (min-width: 460px) {
  section img {
    width: 67%;
    margin-left: 75px;
  }
}

@media (min-width: 560px) {
  section img {
    width: 54%;
    margin-left: 128px;
  }
}

@media (min-width: 640px) {
  section img {
    width: 52%;
    margin-left: 145px;
  }
}

@media (min-width: 740px) {
  section img {
    width: 44%;
    margin-left: 200px;
  }
}

@media (min-width: 860px) {
  section img {
    width: 41%;
    margin-left: 254px;
  }
}

@media(min-width: 1024px) and (orientation:landscape) {
  section {
    height: 400px;
  }

  div.jarsL {
    float: left;
    height: 260px;
    width: 50%;
    margin-top: 0px;
    text-align: center;
  }

  div.jarsP {
    float: left;
    width: 50%;
    height: 260px;
    text-align: center;
  }

  section img {
    width: 82%;
    margin: 0;

  }

  section p {
    padding-top: 54px;
    padding-bottom: 20px;
    font-size: 22px;
  }
}

@media(min-width: 1100px) and (orientation:landscape) {
  section img {
    width: 82%;
  }
}

@media(min-width: 1200px) and (orientation:landscape) {
  section {
    height: 440px;
  }

  section img {
    width: 75%;
  }

  section p {
    padding-top: 54px;
  }
}

@media(min-width: 1300px) and (orientation:landscape) {
  section {
    height: 500px;
  }
}

/* Article Duży Słoik */
article {
  position: relative;
  height: 530px;
  background-color: #CCF04D;
}

article p:nth-child(1) {
  position: absolute;
  left: 0;
  top: 30px;
  padding-left: 5px;
  padding-right: 5px;
}

article p:nth-child(1) span,
article p:nth-child(3) span {
  color: #d71d34;
}

article p:nth-child(3) {
  position: absolute;
  left: 0;
  top: 418px;
  padding-left: 5px;
  padding-right: 5px;
}

div.jar {
  position: absolute;
  left: 99px;
  top: 186px;
  width: 200px;
  height: 200px;
}

div.jar img {
  height: 100%;
}

div.jar p:nth-child(2) {
  position: absolute;
  left: -70px;
  top: -45px;
  height: 10px;
  width: 10px;
}

div.jar p:nth-child(3) {
  position: absolute;
  left: 140px;
  top: -38px;
  height: 10px;
  width: 10px;
}

@media(orientation: portrait) and (min-width: 460px) {

  div.jar {
    position: absolute;
    left: 139px;
  }
}

@media (min-width: 560px) {
  div.jar {
    position: absolute;
    left: 191px;
  }
}

@media (min-width: 640px) {
  div.jar {
    position: absolute;
    left: 87px;
  }

  article p:nth-child(1) {
    position: absolute;
    left: 310px;
    top: 51px;
  }

  article p:nth-child(3) {
    position: absolute;
    left: 250px;
    top: 329px;
  }

  article {
    height: 448px;
  }
}

@media (min-width: 768px) {

  div.jar {
    position: absolute;
    left: 96px;
    top: 84px;
  }

  article p:nth-child(1) {
    position: absolute;
    left: 322px;
    top: 144px;
    width: 388px;
  }

  article p:nth-child(3) {
    position: absolute;
    left: 318px;
    top: 251px;
    width: 388px;
  }

  article {
    height: 400px;
  }
}

@media(min-width: 1024px) and (orientation:landscape) {
  div.jar {
    position: absolute;
    left: 96px;
    top: 84px;
  }

  article p:nth-child(1) {
    left: 508px;
    top: 137px;
    width: 375px;
    font-size: 20px;
  }

  article p:nth-child(3) {
    left: 506px;
    font-size: 20px;
  }

  article {
    height: 500px;
  }

  div.jar {
    left: 134px;
    top: 77px;
    height: 276px;
  }

  div.jar p:nth-child(2) {
    font-size: 20px;
  }

  div.jar p:nth-child(3) {
    left: 203px;
    top: -21px;
  }
}

@media(min-width: 1200px) and (orientation:landscape) {

  div.jar {
    left: 283px;
    height: 343px;
  }

  div.jar p:nth-child(2) {
    left: -105px;
    top: -18px;
    font-size: 25px;
  }

  div.jar p:nth-child(3) {
    left: 255px;
    top: 6px;
    font-size: 25px;
  }

  article p:nth-child(1) {
    left: 701px;
    top: 121px;
    width: 495px;
    font-size: 25px;
  }

  article p:nth-child(3) {
    left: 701px;
    width: 502px;
    font-size: 25px;
  }
}

/* article słoiki 3 razem */
div.nextto {
  display: none;
}

.below {
  height: auto;
  position: relative;
}

.below div.cucamber {
  width: 210px;
  margin: 0 auto;
}

.below div.strawberry {
  width: 210px;
  margin: 0 auto;
}

/* Zmiany!!!! */
.below div.cabbage {
  width: 210px;
  height: 225px;
  margin: 0 auto;
  margin-top: 2px;

}

.below img {
  width: 100%;
}

.below p:nth-child(2) {
  padding: 11px 11px 12px 6px;
}

.below p:nth-child(4) {
  padding: 11px 11px 12px 6px;
}

@media (min-width: 560px) {
  .below {
    position: relative;
  }

  .below div.cucamber {
    position: absolute;
    left: 66px;
    top: -25px;
    width: 190px;
  }

  .below div.strawberry {
    width: 190px;
  }

  .below div.cabbage {
    position: absolute;
    left: 305px;
    top: -32px;
    width: 190px;
    height: auto;
  }

  .below p:nth-child(2) {
    padding-top: 255px;
  }

  .below p:nth-child(4) {
    padding-bottom: 35px;
  }
}

@media (min-width: 640px) {
  .below div.cucamber {
    left: 94px;
  }

  .below div.cabbage {
    left: 342px;
  }

  .below div.strawberry {
    margin-left: 228px;
  }
}

@media (min-width: 768px) {



  div.nextto {
    display: block;
    width: 80%;
    margin: 0 auto;
    font-size: 0;
    padding-top: 3px;
  }



  .below div.cucamber {
    display: none;
  }

  .below div.cabbage {
    display: none;
  }

  .below div.strawberry {
    display: none;
  }

  .below p:nth-child(2) {
    text-align: center;
    margin: 0 auto;
    padding-top: 4px;
    padding-left: 95px;
    padding-right: 88px;
  }

  .below p:nth-child(4) {
    text-align: center;
    margin: 0 auto;
  }
}

@media(min-width: 1024px) and (orientation:landscape) {
  div.nextto {
    width: 60%;
  }

  .below p:nth-child(2) {
    width: 92%;
    font-size: 20px;
  }

  .below p:nth-child(4) {
    font-size: 20px;
  }
}

@media(min-width: 1200px) and (orientation:landscape) {
  div.nextto {
    width: 71%;
  }

  .below p:nth-child(2) {
    font-size: 25px;
    padding-top: 61px;
  }

  .below p:nth-child(4) {
    font-size: 25px;
    padding-bottom: 59px;
  }
}

@media(min-width: 1280px) and (orientation:landscape) {
  div.nextto {
    width: 67%;
  }
}

@media(min-width: 1300px) and (orientation:landscape) {
  div.nextto {
    width: 66%;
  }
}

@media(min-width: 1360px) and (orientation:landscape) {
  div.nextto {
    width: 64%;
  }
}

@media(min-width: 1400px) and (orientation:landscape) {
  div.nextto {
    width: 61.5%;
  }
}

/* Footer */
footer {
  background-color: #d71d34;
}

div.contact {
  padding-bottom: 37px;
}

div.fotlog {
  width: 40%;
  margin: 0 auto;
  padding-top: 50px;
}

div.fotlog img {
  width: 100%;
}

div.maker {
  width: 70%;
  margin: 20px auto 0 auto;
  color: white;
}

div.worker a {
  text-decoration: none;
  color: white;
}

.worker p:nth-child(2) {
  width: 264px;
}

@media (min-width: 768px) {
  div.contact {
    width: 80%;
    margin: 0 auto;
  }

  div.fotlog {
    float: left;
    width: 50%;
    padding-top: 45px;
    padding-left: 42px;
  }

  div.fotlog img {
    width: 68%;
  }

  div.maker {
    float: left;
    width: 50%;
    padding-left: 37px;
    border-left: 1px solid white;
  }

}

@media(min-width: 1024px) and (orientation:landscape) {
  div.maker {
    width: 40%;
  }

  div.fotlog {
    padding-left: 151px;
  }
}

@media(min-width: 1200px) and (orientation:landscape) {
  div.fotlog {
    padding-left: 236px;
  }

  div.maker {
    width: 30%;
  }
}
}