#sg_b.sungroup .sg-big-box-range {
  width: 495px;
  max-width: 100%;
  height: 28px;
  background: #AB6977;
  box-shadow: 1px 1px 2px rgba(209, 128, 145, 0.3), -1px -1px 2px rgba(133, 82, 93, 0.5), inset -5px 5px 10px rgba(133, 82, 93, 0.2), inset 5px -5px 10px rgba(133, 82, 93, 0.2), inset -5px -5px 10px rgba(209, 128, 145, 0.9), inset 5px 5px 13px rgba(133, 82, 93, 0.9);
  border-radius: 50px;
}

#sg_b.sungroup .sg-big-box-range-dot {
  width: 138px;
  max-width: 100%;
  height: 28px;
  background: #AB6977;
  box-shadow: -5px 5px 10px rgba(140, 86, 98, 0.2), 5px -5px 10px rgba(140, 86, 98, 0.2), -5px -5px 10px rgba(202, 124, 140, 0.9), 5px 5px 13px rgba(140, 86, 98, 0.9), inset 1px 1px 2px rgba(202, 124, 140, 0.3), inset -1px -1px 2px rgba(140, 86, 98, 0.5);
  border-radius: 50px;
  left: 0;
  animation: anim-range 8s ease-in-out infinite;
}

@keyframes anim-range {
  0% {
    left: 0%;
  }
  50% {
    left: calc(100% - 138px);
  }
  100% {
    left: 0%;
  }
}

/* #sg_b.sungroup #big-boxes {
  filter: grayscale(0%);
  animation: anim-range-color 8s ease-in-out infinite;
}

@keyframes anim-range-color {
  0% {
    filter: grayscale(0%);
  }
  50% {
    filter: grayscale(100%);
  }
  100% {
    filter: grayscale(0%);
  }
}

#sg_b.sungroup #img_cl {
  filter: brightness(100%);
  animation: anim-range-color-img 8s ease-in-out infinite;
}

@keyframes anim-range-color-img {
  0% {
    filter: brightness(100%);
  }
  50% {
    filter: brightness(85%);
  }
  100% {
    filter: brightness(100%);
  }
} */

/* animate-section2 */

#sg_b.sungroup .sg-gray-circle {
  width: 793px;
  max-width: 100%;
  height: 793px;
  max-height: 100%;
  background: #EEF1F7;
  border-radius: 50%;
}

#sg_b.sungroup .sg-switch {
  width: 165px;
  max-width: 100%;
  height: 75px;
  background: #EEF1F7;
  box-shadow: 1px 1px 2px rgba(255,255,255,.3),-1px -1px 2px rgba(181,183,188,.5),inset -6px 6px 12px rgba(181,183,188,.2),inset 6px -6px 12px rgba(181,183,188,.2),inset -6px -6px 12px rgba(255,255,255,.9),inset 6px 6px 15px rgba(181,183,188,.9);
  border-radius: 50px;
  cursor: pointer;
  top: 0;
  right: 0;
  transform: translate(-30%,180%);
  z-index: 12;
}

#sg_b.sungroup .sg-switch::before {
  content: "naciśnij aby sprawdzić pozostałe kolory";
  position: absolute;
  top: -80px;
  left: 50%;
  width: 220px;
  transform: translate(-50%,0);
  font-family: Segoe Ui;
  font-weight: 500;
  font-size: 16px;
  pointer-events: none;
  border-radius: 30px;
  background: #5553;
  padding: 9px;
  box-sizing: border-box;
  opacity: 0;
  transition: .3s;
}

#sg_b.sungroup .sg-switch:hover::before {
  opacity: 1;
  transition: .3s;
}

#sg_b.sungroup .active .sg-switch:hover::before {
  display: none;
}

#sg_b.sungroup .sg-switch-el {
  width: 75px;
  max-width: 100%;
  height: 75px;
  background: #EEF1F5;
  box-shadow: -2px 2px 4px rgba(171, 174, 176, 0.2), 2px -2px 4px rgba(171, 174, 176, 0.2), -2px -2px 4px rgba(255, 255, 255, 0.9), 2px 2px 5px rgba(171, 174, 176, 0.9), inset 1px 1px 2px rgba(255, 255, 255, 0.3), inset -1px -1px 2px rgba(171, 174, 176, 0.5);
  border-radius: 50%;
  transform: translateX(0%);
  transition: .5s;
}

#sg_b.sungroup .active .sg-switch-el {
  transform: translateX(118%);
  transition: .5s;
}

#sg_b.sungroup .sg-anim-sections {
  position: absolute;
  width: 100%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
  pointer-events: none;
  z-index: 2;
}

#sg_b.sungroup .sg-anim-sections .item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
}

#sg_b.sungroup .sg-anim-sections .item img {
  max-width: unset;
}

/* animate-section2 */

#sg_b.sungroup .sg-anim-section2 {
  background: #EEF1F7;
  overflow: hidden;
  width: 1360px;
  max-width: 100%;
  height: 548px;
  margin: 100px auto 0;
}

#sg_b.sungroup .sg-anim-section2-left ,
#sg_b.sungroup .sg-anim-section2-right  {
  width: 605px;
  max-width: 100%;
  height: 100%;
}

#sg_b.sungroup .sg-anim-section2-left {
  bottom: 0;
  left: 0;
  transform: translate(10%,-23%);
}

#sg_b.sungroup .sg-anim-section2-right {
  top: 0;
  right: 0;
  transform: translate(-10%, 25%);
}

#sg_b.sungroup .sg-anim-section2-left img,
#sg_b.sungroup .sg-anim-section2-right img {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#sg_b.sungroup .sg-anim-section2-left img:first-child,
#sg_b.sungroup .sg-anim-section2-right img:first-child {
  z-index: 2;
  animation: fade 2.5s ease-in-out infinite;
  animation-direction: alternate;
}

@keyframes fade {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

#sg_b.sungroup .sg-anim-section-mobil {
  display: none;
}

#sg_b.sungroup .sg-anim-section-mobil img {
  animation-name: fade_mobil;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 12s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#sg_b.sungroup .active .sg-anim-sections .item {
  animation-name: fade_mobil;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 12s;
}

@keyframes fade_mobil {
  0% {
    opacity:1;
  }
  17% {
    opacity:1;
  }
  25% {
    opacity:1;
  }
  38% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

#sg_b.sungroup .sg-anim-section-mobil img:nth-of-type(1),
#sg_b.sungroup .sg-anim-sections .item:nth-of-type(1) {
  animation-delay: 9s;
}
#sg_b.sungroup .sg-anim-section-mobil img:nth-of-type(2),
#sg_b.sungroup .sg-anim-sections .item:nth-of-type(2) {
  animation-delay: 6s;
}
#sg_b.sungroup .sg-anim-section-mobil img:nth-of-type(3),
#sg_b.sungroup .sg-anim-sections .item:nth-of-type(3) {
  animation-delay: 3s;
}
#sg_b.sungroup .sg-anim-section-mobil img:nth-of-type(4),
#sg_b.sungroup .sg-anim-sections .item:nth-of-type(4) {
  animation-delay: 0;
}

#sg_b.sungroup .laazy.p-a.img-sound-ab {
  top: 50%;
  left: 50%;
  transform: translate(-30%, -20%);
  z-index: 1;
}

#sg_b.sungroup .section3 .sg-inner-section-text {
  position: relative;
  z-index: 2;
  background: #fff;
  padding-right: 105px;
  margin-right: 0;
  box-sizing: unset;
}


/* mobil */


@media (max-width:1260px) {
  #sg_b.sungroup .sg-anim-sections {
    transform: translate(-50%,-50%);
  }
  #sg_b.sungroup .sg-anim-sections .item img {
    max-width: 100%;
  }
  #sg_b.sungroup .sg-anim-section2-left {
    transform: translate(0%,-23%);
  }
  #sg_b.sungroup .sg-anim-section2-right {
    transform: translate(0%,25%);
  }
}

@media (max-width:1200px) {
  #sg_b.sungroup .sg-gray-circle {
    width: 650px;
    height: 650px;
  }
  #sg_b.sungroup .sg-switch {
    transform: translate(-30%,120%);
  }
  #sg_b.sungroup .sg-anim-section2-left, #sg_b.sungroup .sg-anim-section2-right {
    width: 50%;
  }
}

@media (max-width:1030px) {
  #sg_b.sungroup .section3 .sg-inner-section-text {
    margin-right: 30px;
  }
  #sg_b.sungroup .sg-gray-circle {
    width: 600px;
    height: 600px;
  }
  #sg_b.sungroup .sg-inner-section.section3 {
    margin-top: 50px;
  }
}

@media (max-width:900px) {
  #sg_b.sungroup .section3 .sg-inner-section-text{
    padding-right: 10px;
  }
  #sg_b.sungroup .sg-inner-section.section3 {
    flex-direction: column-reverse;
  }
  #sg_b.sungroup .sg-inner-section-img.animation-section-switch {
    margin: 0 auto;
  }
  #sg_b.sungroup .sg-anim-section2-left,
  #sg_b.sungroup .sg-anim-section2-right {
    display: none;
  }
  #sg_b.sungroup .sg-anim-section-mobil {
    display: block;
    position: relative;
    width: 500px;
    height: 100%;
    margin: 0 auto;
  }
  #sg_b.sungroup .sg-anim-section2 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px auto 0;
  }
  #sg_b.sungroup .laazy.p-a.img-sound-ab {
    transform: translate(-59%,-90%);
  }
  #sg_b.sungroup .sg-gray-circle {
    margin: 0 auto;
  }
}

@media (max-width:600px) {
  #sg_b.sungroup .sg-gray-circle {
    width: 500px;
    height: 500px;
  }
  #sg_b.sungroup .sg-switch {
    width: 130px;
    height: 50px;
  }
  #sg_b.sungroup .sg-switch-el {
    width: 50px;
    height: 50px;
  }
  #sg_b.sungroup .active .sg-switch-el {
    transform: translateX(155%);
  }
  #sg_b.sungroup .sg-big-box-range {
    width: 100%;
  }
}

@media (max-width:500px) {
  #sg_b.sungroup .sound-abs {
    display: none;
  }
  #sg_b.sungroup .sg-gray-circle {
    width: 360px;
    height: 360px;
    margin: 0 auto;
  }
  #sg_b.sungroup .sg-switch {
    width: 66px;
    height: 30px;
    transform: translate(140%,-400%);
    top: 50%;
    left: 50%;
  }
  #sg_b.sungroup .sg-switch-el {
    width: 30px;
    height: 30px;
  }
  #sg_b.sungroup .active .sg-switch-el {
    transform: translateX(110%);
  }
  #sg_b.sungroup .sg-anim-sections .item img {
    max-width: unset;
    width: 388px;
    margin: 0 auto;
  }
  #sg_b.sungroup .sg-inner-section.section3 {
    padding: 0;
  }
  #sg_b.sungroup .sg-anim-sections .item {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #sg_b.sungroup .sg-switch::before {
    top: -55px;
    width: 160px;
    font-size: 13px;
    padding: 5px;
  }
  #sg_b.sungroup .sg-inner-section-img.animation-section-switch {
    width: 100%;
  }
  #sg_b.sungroup .sg-anim-section2 {
    height: 360px;
    padding: 20px;
    box-sizing: border-box;
  }
  #sg_b.sungroup .sg-anim-section-mobil {
    width: 80%;
  }
  #sg_b.sungroup .laazy.p-a.img-sound-ab {
    top: 140px;
    left: 50%;
    transform: unset;
    z-index: 1;
    transform: translate(-50%, 0%);
  }
}

@media (max-width:400px) {
  #sg_b.sungroup .sg-inner-section-img.animation-section-switch {
    display: flex;
    justify-content: center;
  }
  #sg_b.sungroup .sg-gray-circle {
    min-width: 360px;
    min-height: 360px;
  }
  #sg_b.sungroup .sg-switch {
    transform: translate(130%,-400%);
  }
  #sg_b.sungroup .sg-switch::before {
    left: -10%;
  }
  #sg_b.sungroup .sg-anim-section-mobil {
    width: 100%;
  }
}
