.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#juices .swiper-slide {
  max-width: 310px;
}

#juices .swiper {
  overflow: visible;
}

#juices .swiper-wrapper {
  justify-content: flex-start;
  gap: 2%;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

._max_width {
  width: 90%;
  max-width: 1366px;
  margin: 0 auto;
  position: relative;
}

@font-face {
  font-family: "Colby, Compressed Bold";
  src: url("../fonts/Colby-CpBld.woff2") format("woff2"),
    url("../fonts/Colby-CpBld.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Colby, Compressed";
  src: url("../fonts/Colby-CpLt.woff2") format("woff2"),
    url("../fonts/Colby-CpLt.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Colby, Compressed Medium";
  src: url("../fonts/Colby-CpMed.woff2") format("woff2"),
    url("../fonts/Colby-CpMed.woff") format("woff");
  font-weight: medium;
  font-style: normal;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #a5c600;
  min-height: 100vh;
}

@media screen and (min-resolution: 1.2dppx) and (max-resolution: 1.3dppx) {
  /* Compensate for 125% system scaling */

  header .wrapper {
    width: 80%;
  }

  main {
    transform: scale(0.8) !important;
    transform-origin: top center !important;
    width: 125vw !important;
    margin-left: -12.5vw !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
    margin-right: 0 !important;
    margin-bottom: -1100px !important;
  }

  /* Override the default main styles that are causing conflicts */
  main.main-override {
    left: 0 !important;
    right: 0 !important;
    margin-left: -12.5vw !important;
    margin-right: 0 !important;
  }

  /* Ensure content is properly sized */
  section#content .wrapper {
    width: 75% !important;
    /* max-width: 1100px !important; */
    margin: 0 auto !important;
    padding: 0 0 !important;
  }

  header {
    padding-top: 29px !important;
    width: 70% !important;
    /* width: 110px; */
  }

  header a.kubus {
    width: 13.7vw !important;
  }

  header a.pokemon {
    width: 20.8vw !important;
  }

  /* Fix header logo spacing in scrolled state */
  header .logo {
    gap: 10px !important;
    transition: gap 0.5s ease !important;
  }

  header.scrolled .logo {
    gap: 5px !important;
  }

  header.scrolled .logo img {
    transform: scale(1) !important;
  }

  /* Adjust logo sizes in scrolled state */
  header .kubus {
    width: 12vw !important;
    transition: width 0.5s ease !important;
  }

  header .pokemon {
    width: 18vw !important;
    transition: width 0.5s ease !important;
  }

  header.scrolled .kubus {
    width: calc(12vw * 0.7) !important;
    margin-right: 0 !important;
  }

  header.scrolled .pokemon {
    width: calc(18vw * 0.7) !important;
    margin-left: 0 !important;
  }

  section#juices {
    margin-top: 300px !important;
    width: 99% !important;
  }
  /* 
  section#juices ._max_width {
    width: 91% !important;
    max-width: unset !important;
  }

  section#juices .swiper {
    width: 72% !important;
  } */

  section#juices .swiper-slide {
    max-width: 310px !important;
  }

  /* Fix juice container positioning */
  section#juices .wrapper .swiper-holder .juice .cien {
    bottom: 0 !important;
    width: 100% !important;
  }

  .section#juices .left_back {
    top: -72px !important;
    left: 0px !important;
  }

  /* Adjust spacing for juice containers */
  section#juices .wrapper .swiper-holder .juice1 {
    margin-top: 45px !important;
  }

  section#juices .wrapper .swiper-holder .juice2 {
    margin-top: 10px !important;
  }

  section#juices .wrapper .swiper-holder .juice3 {
    margin-top: -30 !important;
  }

  section#juices .wrapper .swiper-holder .juice4 {
    margin-top: 30px !important;
  }

  section#move .wrapper .left h3 {
    font-size: 6.8vw !important;
  }
}

main {
  background-image: url("../img/TLO.png");
  width: 100vw;
  margin: 0;
  overflow-x: hidden;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #8cc63f;
  display: flex;
  flex-direction: column;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 86%;
  display: flex;
  justify-content: center;
  padding: 37px 0 0;
  z-index: 10;
  transition: all 0.5s ease;
}
@media (max-width: 650px) {
  header {
    padding: 20px 0 0;
  }

  section#juices {
    margin-top: 150px !important;
  }
}

@media (max-width: 950px) {
  section#juices {
    margin-top: 170px !important;
  }
}
@media (max-width: 650px) {
  header .wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
header .logo {
  display: flex;
  align-items: center;
  gap: 13px;
  transition: all 0.5s ease;
}

@media screen and (max-width: 1500px) and (min-width: 1101px) {
  header .kubus {
    width: 169px;
    height: 169px;
  }
}
@media screen and (max-width: 1100px) and (min-width: 651px) {
  header .kubus {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 650px) {
  header .logo {
    max-width: 90%;
    justify-content: center;
    margin: 0 auto;
    transform-origin: center;
  }
}
header .kubus {
  width: clamp(96px, 15vw, 263px);
  transition: width 0.5s ease;
}
@media (max-width: 650px) {
  header .kubus {
    width: 40%;
    max-width: 263px;
  }
}
header .pokemon {
  width: clamp(146px, 21vw, 398px);
  transition: width 0.5s ease;
}
@media (max-width: 650px) {
  header .pokemon {
    width: 60%;
    max-width: 398px;
  }
}

section#lotery {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 65px;
}
@media (max-width: 650px) {
  section#lotery {
    padding-top: 40vw;
  }
}
section#lotery .back {
  position: absolute;
  right: 55px;
  bottom: 20px;
  width: 55px;
  height: 80px;
  background: transparent url("../img/backs/kropla.png") 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
  opacity: 1;
}
@media (max-width: 1100px) {
  section#lotery .back {
    display: none;
  }
}
section#lotery .wrapper {
  display: flex;
  justify-content: end;
  max-width: 86%;
}
@media (max-width: 650px) {
  section#lotery .wrapper {
    max-width: 100%;
    justify-content: center;
  }
}
section#lotery .wrapper .path {
  position: relative;
  width: clamp(237px, 32.1vw, 632px);
}
section#lotery .wrapper .path .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  font-family: "Colby, Compressed Bold", sans-serif;
  font-size: clamp(26px, 4.1vw, 80px);
  color: #ffe66d;
  text-align: center;
  letter-spacing: 0;
}

section#juices {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
@media (max-width: 1100px) {
  section#juices {
    justify-content: flex-end;
  }
}
@media (max-width: 650px) {
  section#juices {
    margin-top: 30px;
  }
}
section#juices .back {
  position: absolute;
  top: 0;
  right: 77px;
  width: 77px;
  height: 114px;
  background: transparent url("../img/backs/kropla_mid.png") 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 1100px) {
  section#juices .back {
    display: none;
  }
}
section#juices .back_big {
  position: absolute;
  right: 20px;
  top: 170px;
  width: 115px;
  height: 170px;
  background: transparent url("../img/backs/kropla_big.png") 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
  opacity: 1;
}
@media (max-width: 1100px) {
  section#juices .back_big {
    display: none;
  }
}
section#juices .trawa {
  position: absolute;
  right: 53px;
  top: 50%;
  width: 53px;
  height: 76px;
  background: transparent url("../img/backs/trawa.svg") 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
  opacity: 1;
}
@media (max-width: 1100px) {
  section#juices .trawa {
    display: none;
  }
}
section#juices .trawa2 {
  position: absolute;
  right: 120px;
  top: 60%;
  width: 50px;
  height: 86px;
  background: transparent url("../img/backs/trawa.svg") 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
  opacity: 1;
}
@media (max-width: 1100px) {
  section#juices .trawa2 {
    display: none;
  }
}
section#juices .trawa3 {
  position: absolute;
  right: 53px;
  top: 63%;
  width: 40px;
  height: 57px;
  background: transparent url("../img/backs/trawa.svg") 0% 0% no-repeat
    padding-box;
  background-size: contain;
  mix-blend-mode: multiply;
  opacity: 1;
}
@media (max-width: 1100px) {
  section#juices .trawa3 {
    display: none;
  }
}
section#juices .trawa4 {
  position: absolute;
  right: 100px;
  top: 73%;
  width: 34px;
  height: 49px;
  background: transparent url("../img/backs/trawa.svg") 0% 0% no-repeat
    padding-box;
  background-size: contain;
  mix-blend-mode: multiply;
  opacity: 1;
}
@media (max-width: 1100px) {
  section#juices .trawa4 {
    display: none;
  }
}
section#juices .trawa5 {
  position: absolute;
  right: 53px;
  top: 82%;
  width: 23px;
  height: 33px;
  background: transparent url("../img/backs/trawa.svg") 0% 0% no-repeat
    padding-box;
  background-size: contain;
  mix-blend-mode: multiply;
  opacity: 1;
}
@media (max-width: 1100px) {
  section#juices .trawa5 {
    display: none;
  }
}
section#juices .left_back {
  position: absolute;
  top: -78px;
  left: 7px;
  width: 100%;
  height: 100%;
  background: transparent url("../img/backs/piorun3.svg") 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 1100px) {
  section#juices .left_back {
    display: none;
  }
}
section#juices .wrapper {
  display: flex;
  justify-content: center;
  gap: 22px;
}
@media (max-width: 1100px) {
  section#juices .wrapper {
    width: 100%;
    max-width: 100%;
  }
}
section#juices .wrapper .swiper-holder {
  width: 100%;
  max-width: 1360px;
}
section#juices .wrapper .swiper-holder .swiper-slide {
  height: -moz-fit-content;
  height: fit-content;
}
section#juices .wrapper .swiper-holder img {
  transition: 0.3s ease;
}
section#juices .wrapper .swiper-holder .juice {
  position: relative;
  padding-bottom: 19px;
}
section#juices .wrapper .swiper-holder .juice .cien {
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 107%;
  height: auto;
  transform: translateX(-50%);
  z-index: -1;
}
section#juices .wrapper .swiper-holder .juice1 {
  margin-top: 45px;
}
section#juices .wrapper .swiper-holder .juice1 .main {
  transform-origin: 15px calc(100% - 8px);
}
section#juices .wrapper .swiper-holder .juice1 .main:hover {
  transform: rotate(-2.5deg);
}
@media (max-width: 1100px) {
  section#juices .wrapper .swiper-holder .juice1 {
    margin-top: 0;
  }
}
section#juices .wrapper .swiper-holder .juice2 {
  margin-top: 10px;
  position: relative;
  display: flex;
}
section#juices .wrapper .swiper-holder .juice2 .cien {
  bottom: 0;
}
section#juices .wrapper .swiper-holder .juice2 .main {
  transform-origin: calc(100% - 8px) calc(100% - 10px);
}
section#juices .wrapper .swiper-holder .juice2 .main:hover {
  transform: rotate(2.5deg);
}

section#juices .wrapper .swiper-holder .juice3 {
  margin-top: -30px;
  display: flex;
}
@media (max-width: 1100px) {
  section#juices .wrapper .swiper-holder .juice2 {
    margin-top: 0;
  }
  section#juices .wrapper .swiper-holder .juice3 {
    margin-top: 0;
  }
}
section#juices .wrapper .swiper-holder .juice3 .cien {
  bottom: 0;
}
section#juices .wrapper .swiper-holder .juice3 .main {
  transform-origin: 15px calc(100% - 8px);
}
section#juices .wrapper .swiper-holder .juice3 .main:hover {
  transform: rotate(-2.5deg);
}
section#juices .wrapper .swiper-holder .juice4 {
  margin-top: 31px;
  position: relative;
}
@media (max-width: 1100px) {
  section#juices .wrapper .swiper-holder .juice4 {
    margin-top: 0;
  }
}
section#juices .wrapper .swiper-holder .juice4 .main {
  transform-origin: calc(100% - 10px) calc(100% - 10px);
}
section#juices .wrapper .swiper-holder .juice4 .main:hover {
  transform: rotate(2.5deg);
}

section#move {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 170px;
}
@media (max-width: 960px) {
  section#move {
    margin-top: 30px;
  }
}
section#move .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
@media (max-width: 960px) {
  section#move .wrapper {
    flex-direction: column;
  }
}
section#move .wrapper .left {
  width: 100%;
  /* max-width: 495px; */
  max-width: 560px;
}
section#move .wrapper .left h3 {
  font-family: "Colby, Compressed Bold", sans-serif;
  font-size: clamp(55px, 5.8vw, 100px);
  line-height: 125%;
  color: #004914;
  text-align: right;
}
@media (max-width: 960px) {
  section#move .wrapper .left h3 {
    text-align: center;
  }
}
@media (max-width: 650px) {
  section#move .wrapper .left h3 {
    padding: 0 35px;
    line-height: 115%;
  }
}
section#move .wrapper .left p {
  font-family: "Colby, Compressed", sans-serif;
  font-size: clamp(30px, 3.7vw, 55px);
  line-height: 125%;
  color: #ffffff;
  text-align: right;
  /* max-width: 500px; */
  /* margin-left: auto; */
  max-width: 600px;
  margin-left: 0;
}
@media (max-width: 960px) {
  section#move .wrapper .left p {
    text-align: center;
    margin-right: auto;
  }
}
@media (max-width: 650px) {
  section#move .wrapper .left p {
    margin-top: 50px;
    padding: 0px 30px;
  }
}
section#move .wrapper .mid {
  width: 100%;
  max-width: 56px;
}
section#move .wrapper .mid .mobile {
  display: none;
}
@media (max-width: 960px) {
  section#move .wrapper .mid {
    max-width: 292px;
  }
  section#move .wrapper .mid .mobile {
    display: block;
  }
  section#move .wrapper .mid .desktop {
    display: none;
  }
}
section#move .wrapper .right {
  width: 100%;
  max-width: 260px;
}
@media (max-width: 500px) {
  section#move .wrapper .right {
    max-width: 153px;
  }
}

section#content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 233px;
}
@media (max-width: 960px) {
  section#content {
    margin-top: 250px;
  }
}
section#content .wrapper {
  width: 90%;
  max-width: 1366px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 0;
}
@media (max-width: 960px) {
  section#content .wrapper {
    gap: 250px;
  }
}
section#content .wrapper .item {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
}
@media (min-width: 961px) {
  section#content .wrapper .item:nth-child(odd) .img {
    margin-top: 60px;
  }
}
@media (max-width: 960px) {
  section#content .wrapper .item {
    flex-direction: column;
  }
}
section#content .wrapper .item .right_back {
  position: absolute;
  top: -173px;
  right: -133px;
  width: 362px;
  height: 390px;
  background: transparent url(../img/backs/piorun_block_1_right.svg) 0% 0%
    no-repeat padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  section#content .wrapper .item .right_back {
    display: none;
  }
}
section#content .wrapper .item .left_top {
  position: absolute;
  top: -129px;
  left: -161px;
  width: 24em;
  height: 390px;
  background: transparent url(../img/backs/left_top.svg) 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  section#content .wrapper .item .left_top {
    background: transparent url(../img/backs/pioruny.svg) 0% 0% no-repeat
      padding-box;
    top: -50%;
    left: 50%;
    transform: translate(-50%, 0);
    /* section#content .wrapper .item .left_top {
      max-width: 90%;
    } */
  }
}
@media (min-width: 961px) {
  section#content .wrapper .item:nth-child(even) {
    flex-direction: row-reverse;
  }
}
@media (min-width: 961px) and (max-width: 960px) {
  section#content .wrapper .item:nth-child(even) {
    flex-direction: column;
  }
}
@media (min-width: 961px) {
  section#content .wrapper .item:nth-child(even) .back {
    transform: matrix(1, 0.03, -0.03, 1, 0, 0);
    right: unset;
    left: 0;
  }
  section#content .wrapper .item:nth-child(even) .back img {
    -o-object-position: left;
    object-position: left;
  }
  section#content .wrapper .item:nth-child(even) .img {
    position: relative;
    display: flex;
  }
  section#content .wrapper .item:nth-child(even) .img .cien {
    transform: translateX(-23%);
  }
  section#content .wrapper .item:nth-child(even) .img .main {
    -o-object-position: right;
    object-position: right;
    transform-origin: calc(100% - 2px) calc(100% - 28px);
    transition: 0.3s ease;
  }
  section#content .wrapper .item:nth-child(even) .img .main:hover {
    transform: rotate(2deg);
  }
  section#content .wrapper .item:nth-child(even) .text-content {
    transform: matrix(1, 0.03, -0.03, 1, 0, 0) translate(0, -2%);
  }
}
@media (max-width: 960px) {
  section#content .wrapper .item:nth-child(even) .back,
  section#content .wrapper .item:nth-child(even) .text-content {
    transform: matrix(1, 0.03, -0.03, 1, 0, 0) translate(0, -2%);
  }
}
section#content .wrapper .item .back {
  position: absolute;
  top: 0;
  right: 0;
  width: 90%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: matrix(1, -0.09, 0.09, 1, 0, 0);
}
section#content .wrapper .item .back .back-child {
  /* height: clamp(280px, 23vw, 444px); */
  height: clamp(280px, 41vw, 444px);
  width: 100%;
  overflow: hidden;
  box-shadow: 15px 15px 20px rgba(0, 73, 20, 0.2588235294);
}
@media (max-width: 960px) {
  section#content .wrapper .item .back .back-child {
    height: 100%;
  }
}
section#content .wrapper .item .back img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transform: scale(1.02);
}

section#content .wrapper .item .back img#lightning {
  background-color: #fbef7d;
}

section#content .wrapper .item .back img#fire {
  background-color: #ebbf9d;
}

section#content .wrapper .item .back img#grass {
  background-color: #cdd661;
}

section#content .wrapper .item .back img#water {
  background-color: #cbe2ef;
}

section#content .wrapper .item .back img {
  -o-object-position: left;
  object-position: left;
}
section#content .wrapper .item .back .text-content {
  display: none;
}
@media (max-width: 960px) {
  section#content .wrapper .item .back {
    position: relative;
    aspect-ratio: 320/500;
    /* height: 500px; */
    height: 475px;
    width: auto;
    transform: rotate(-6deg);
    z-index: 1;
  }
  section#content .wrapper .item .back .text-content {
    display: flex !important;
    align-items: center;
    transform: unset;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 20px 10px;
    min-height: 220px;
    height: auto;
  }
}
section#content .wrapper .item .img {
  position: relative;
  z-index: 1;
  width: 351px;
  height: 550px;
}
section#content .wrapper .item .img .main {
  transform-origin: calc(100% - 51px) calc(100% - 25px);
  transition: 0.3s ease;
}
section#content .wrapper .item .img .main:hover {
  transform: rotate(2deg);
}
section#content .wrapper .item .img .cien {
  position: absolute;
  left: 50%;
  bottom: -4%;
  height: auto;
  width: 100%;
  z-index: -1;
  transform: translateX(-37%);
}
@media (max-width: 960px) {
  section#content .wrapper .item .img .cien {
    width: 65%;
  }
}
@media (max-width: 960px) {
  section#content .wrapper .item .img {
    height: 340px;
    position: absolute;
    top: -30%;
  }
}
section#content .wrapper .item .text-content {
  max-width: 730px;
  padding: 20px 40px;
  /* height: clamp(250px, 21vw, 404px); */
  height: clamp(250px, 32vw, 404px);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1;
  transform: matrix(1, -0.09, 0.09, 1, 0, 0) translate(0, -7%);
}
@media (max-width: 960px) {
  section#content .wrapper .item .text-content {
    display: none;
  }
}
section#content .wrapper .item .text-content h5 {
  font-family: "Colby, Compressed Bold", sans-serif;
  /* font-size: clamp(40px, 3.4vw, 70px); */
  font-size: clamp(40px, 4vw, 70px);
  line-height: 80%;
  color: #004914;
}
@media (max-width: 960px) {
  section#content .wrapper .item .text-content h5 {
    font-size: 29px;
  }
}
section#content .wrapper .item .text-content .svg {
  width: 23%;
}
section#content .wrapper .item .text-content p {
  font-family: "Colby, Compressed Medium", sans-serif;
  /* font-size: clamp(23px, 2vw, 40px); */
  font-size: clamp(23px, 4vw, 40px);
  line-height: 120%;
  color: #004914;
}
@media (max-width: 960px) {
  section#content .wrapper .item .text-content p {
    font-size: 17.5px;
    text-align: center;
  }
}
section#content .wrapper .brzoskwinia .left2 {
  position: absolute;
  top: -50px;
  left: -178px;
  width: 362px;
  height: 390px;
  background: transparent url(../img/backs/left2.svg) 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  section#content .wrapper .brzoskwinia .left2 {
    display: none;
  }
}
section#content .wrapper .brzoskwinia .right2 {
  position: absolute;
  right: -190px;
  top: -240px;
  width: 285px;
  height: 455px;
  background: transparent url(../img/backs/back2right.svg) 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  section#content .wrapper .brzoskwinia .right2 {
    background: transparent url(../img/backs/plomien.svg) 0% 0% no-repeat
      padding-box;
    right: 50%;
    transform: translate(4%, -19%);
    /* z-index: -1; */
  }
}
section#content .wrapper .kaktus .left3 {
  position: absolute;
  top: -40px;
  left: -80px;
  width: 332px;
  height: 477px;
  background: transparent url(../img/backs/vvvv.svg) 0% 0% no-repeat padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  section#content .wrapper .kaktus .left3 {
    display: none;
  }
}
section#content .wrapper .kaktus .right3 {
  position: absolute;
  top: 0;
  right: -300px;
  width: 332px;
  height: 477px;
  background: transparent url(../img/backs/tawy.svg) 0% 0% no-repeat padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  section#content .wrapper .kaktus .right3 {
    background: transparent url(../img/backs/vvvv_mobile.svg) 0% 0% no-repeat
      padding-box;
    left: 50%;
    top: 0;
    transform: translate(-12%, -60%);
    /* z-index: -1; */
  }
}
section#content .wrapper .wielo .left4 {
  position: absolute;
  top: -10px;
  left: -160px;
  width: 332px;
  height: 677px;
  background: transparent url(../img/backs/kroply.svg) 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  section#content .wrapper .wielo .left4 {
    display: none;
  }
}
section#content .wrapper .wielo .right5 {
  position: absolute;
  right: -230px;
  top: -110px;
  width: 495px;
  height: 455px;
  background: transparent url(../img/backs/kropelki.svg) 0% 0% no-repeat
    padding-box;
  mix-blend-mode: multiply;
}
@media (max-width: 960px) {
  section#content .wrapper .wielo .right5 {
    background: transparent url(../img/backs/kropelki_mobile.svg) 0% 0%
      no-repeat padding-box;
    right: 50%;
    top: 0;
    transform: translate(57%, -75%);
    /* z-index: -1; */
  }
}
section#content .wrapper .wielo .text-content {
  transform: matrix(1, 0.05, -0.05, 1, 0, 0) translate(24px, -20px);
}
section#content .wrapper .wielo .img .main {
  transform-origin: 105px calc(100% - 12px) !important;
}
section#content .wrapper .wielo .img .main:hover {
  transform: rotate(-2deg) !important;
}

.slider-desktop {
  display: block;
}
.slider-mobile {
  display: none;
}

section#slider {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 80px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

section#slider .wrapper {
  max-width: 1364px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
section#slider .wrapper .button-prev,
section#slider .wrapper .button-next {
  width: 58px;
  height: 58px;
  cursor: pointer;
}

@media (max-width: 500px) {
  section#slider .wrapper .button-prev,
  section#slider .wrapper .button-next {
    width: 41px;
    height: 41px;
    cursor: pointer;
  }

  .button-prev {
    /* display: none; */
    position: absolute;
    left: 10px;
    top: 25%;
    z-index: 10;
  }
  .button-next {
    /* display: none; */
    position: absolute;
    right: 10px;
    top: 25%;
    z-index: 10;
  }
  .slider-desktop {
    display: none;
  }
  .slider-mobile {
    display: block;
  }
}

@media (min-width: 501px) and (max-width: 960px) {
  /* section#slider {
    display: none;
  } */

  section#slider .wrapper .button-prev,
  section#slider .wrapper .button-next {
    width: 49px;
    height: 49px;
    cursor: pointer;
  }

  .button-prev {
    position: absolute;
    left: 5%;
    top: 25%;
    z-index: 10;
  }
  .button-next {
    position: absolute;
    right: 5%;
    top: 25%;
    z-index: 10;
  }
  .slider-desktop {
    display: none;
  }
  .slider-mobile {
    display: block;
  }
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 50px 0 30px;
}
@media (max-width: 650px) {
  footer {
    padding-bottom: 15px;
  }
}
footer .wrapper {
  max-width: 1364px;
  margin: 0 auto;
}
@media (max-width: 650px) {
  footer .wrapper {
    width: 83%;
  }
}
footer .wrapper p {
  font-family: "Colby, Compressed Medium", sans-serif;
  color: #004914;
  font-size: clamp(14px, 4.1vw, 20px);
  line-height: 24px;
}
@media (max-width: 650px) {
  footer .wrapper p {
    font-size: 12px;
  }
}

.animation1 {
  animation: waterDrops 5s infinite ease-in-out alternate;
}
@media (max-width: 960px) {
  .animation1 {
    animation: waterDropsMobile 5s infinite ease-in-out alternate;
  }
}

@keyframes waterDrops {
  0% {
    transform: rotate(5deg) scale(1);
  }
  25% {
    transform: rotate(10deg) scale(1.07);
  }
  50% {
    transform: rotate(15deg) scale(1.08);
  }
  75% {
    transform: rotate(10deg) scale(1.07);
  }
  100% {
    transform: rotate(5deg) scale(1);
  }
}
@keyframes waterDropsMobile {
  0% {
    transform: rotate(5deg) scale(1) translate(57%, -75%);
  }
  25% {
    transform: rotate(10deg) scale(1.07) translate(57%, -75%);
  }
  50% {
    transform: rotate(15deg) scale(1.08) translate(57%, -75%);
  }
  75% {
    transform: rotate(10deg) scale(1.07) translate(57%, -75%);
  }
  100% {
    transform: rotate(5deg) scale(1) translate(57%, -75%);
  }
}

.animation2 {
  animation: swingDrop 5s infinite ease-in-out;
}
@media (max-width: 960px) {
  .animation2 {
    animation: swingDropMobile 5s infinite ease-in-out;
  }
}

@keyframes swingDrop {
  0% {
    transform: translateX(0) translateY(0) skewX(0deg);
  }
  50% {
    transform: translateX(10px) translateY(0px) skewX(-5deg);
  }
  100% {
    transform: translateX(0) translateY(0) skewX(0deg);
  }
}
@keyframes swingDropMobile {
  0% {
    transform: translateX(12%) translateY(-60%) skewX(0deg);
  }
  50% {
    transform: translateX(calc(12% - 10px)) translateY(-60%) skewX(-5deg);
  }
  100% {
    transform: translateX(12%) translateY(-60%) skewX(0deg);
  }
}

.animation3 {
  transform: scale(1);
  animation: zoomInOut 3s infinite ease-in-out alternate;
}

@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
.animation4 {
  animation: pulse 3s linear infinite alternate;
}
@media (max-width: 960px) {
  .animation4 {
    animation: pulseMobile 3s linear infinite alternate;
  }
}

@keyframes pulse {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(20deg);
  }
  75% {
    transform: rotate(30deg);
  }
  100% {
    transform: rotate(40deg);
  }
}
@keyframes pulseMobile {
  0% {
    transform: rotate(0deg) translate(-50%, 0);
  }
  50% {
    transform: rotate(10deg) translate(-50%, 0);
  }
  75% {
    transform: rotate(15deg) translate(-50%, 0);
  }
  100% {
    transform: rotate(20deg) translate(-50%, 0);
  }
}
.animation5 {
  animation: wave 7s ease-in-out infinite alternate;
}

@keyframes wave {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10%, -10%);
  }
  100% {
    transform: translate(0, 0);
  }
}
.animation6 {
  animation: topDown 6s ease-in-out infinite alternate;
}

@keyframes topDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10%);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  ._max_width,
  section#content .wrapper {
    width: 100%;
    padding: 0 20px;
  }

  section#content .wrapper .item {
    width: 100%;
  }

  section#slider .wrapper,
  footer .wrapper {
    padding: 0 15px;
  }
}

@media screen and (min-width: 1921px) {
  main {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    left: 0;
    right: 0;
    transform: none;
  }
}

@media screen and (max-width: 1440px) {
  html {
    overflow: auto;
  }

  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  main {
    transform: scale(0.8);
    transform-origin: top center;
    width: 125vw;
    margin-left: -62.5vw;
    margin-right: -62.5vw;
    margin-bottom: -1050px;
  }

  section#content {
    margin-bottom: 0;
    flex: 1;
  }

  footer {
    position: relative;
    padding-top: 0;
    background-color: transparent;
    z-index: 1;
  }

  ._max_width,
  section#content .wrapper {
    width: 85%;
  }
}

@media screen and (max-width: 960px) {
  body {
    overflow: auto;
  }

  main {
    transform: none;
    width: 100vw;
    height: auto;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
  }

  section#content {
    margin-bottom: 0;
  }

  footer {
    margin-top: 0;
    position: static;
  }

  ._max_width,
  section#content .wrapper {
    width: 100%;
    padding: 0 20px;
  }

  section#content .wrapper .item {
    width: 100%;
  }

  section#content .wrapper .item:nth-child(even) {
    flex-direction: column;
  }
}

/* Add class for scrolled state */
header.scrolled {
  padding: 0px 0 0;
}

/* Base logo transitions */
header .logo img {
  transition: transform 0.5s ease;
}

/* Scrolled state adjustments */
header.scrolled .logo {
  gap: 8px;
}

/* Add specific rules for the problematic range */
@media screen and (max-width: 1440px) and (min-width: 961px) {
  html {
    overflow-y: scroll;
  }

  body {
    overflow: hidden;
  }

  header.scrolled .logo {
    gap: 8px;
  }

  header.scrolled .logo img {
    transform: scale(0.7) !important;
  }

  /* Adjust spacing for this specific breakpoint when scrolled */
  header.scrolled .kubus {
    width: calc(clamp(96px, 15vw, 263px) * 0.7);
    margin-right: -20px; /* Reduce space after the Kubuś logo */
  }

  header.scrolled .pokemon {
    width: calc(clamp(146px, 21vw, 398px) * 0.7);
    margin-left: -20px; /* Reduce space before the Pokémon logo */
  }
}

/* Add specific rules for logo sizes when scrolled */
header.scrolled .kubus {
  width: calc(clamp(96px, 15vw, 263px) * 0.7);
}

header.scrolled .pokemon {
  width: calc(clamp(146px, 21vw, 398px) * 0.7);
}

/* Add transition to the gap */
header .logo {
  gap: 13px;
  transition: gap 0.5s ease;
}

header.scrolled .logo {
  gap: 8px;
}

/* Update mobile styles */
@media (max-width: 650px) {
  header {
    padding: 20px 0 0;
  }

  header .wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  header .logo {
    max-width: 90%;
    justify-content: center;
    margin: 0 auto;
    transform-origin: center;
  }

  header .kubus {
    width: 40%;
    max-width: 263px;
    transition: width 0.5s ease;
  }

  header .pokemon {
    width: 60%;
    max-width: 398px;
    transition: width 0.5s ease;
  }

  /* Adjust scrolled state for mobile */
  header.scrolled .logo {
    transform-origin: center;
    justify-content: center;
  }
}

.zigzag-section {
  display: block;
  width: 100%;
  margin: 120px auto 0 auto;
  max-width: 75%;
  /* overflow: hidden; */
}

.zigzag-section img {
  width: 110%;
  max-width: none;
  margin-left: -5%;
}

@media (max-width: 960px) {
  .zigzag-section {
    /* display: none; */
    margin: 50px auto 0 auto;
  }
  section#slider {
    margin-top: 30px;
  }
}
