body {
  padding: 0px;
  max-width: 1920px;
  margin: 0 auto;
}

@font-face {
  font-family: 'Bold';
  src: url("../fonts/Circe-Bold.ttf");
}

@font-face {
  font-family: 'ExtraBold';
  src: url("../fonts/Circe-ExtraBold.ttf");
}

@font-face {
  font-family: 'Regular';
  src: url("../fonts/Circe-Regular.ttf");
}

.block-1 {
  width: 100%;
  max-height: 55vw;
  height: 100vh;
  background: url(../img/bg-img1.jpg);
  background-size: cover;
  overflow: hidden;
  position: relative;
  padding-top: 120px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.block-1 h1 {
  font-family: 'ExtraBold';
  font-size: 24px;
  color: #fff;
  letter-spacing: 12px;
  text-transform: uppercase;
  text-align: right;
  z-index: 2;
  position: relative;
}

.container {
  max-width: 1140px;
  height: auto;
  margin: 0 auto;
}

svg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -32%);
  transform: translate(-50%, -32%);
  z-index: 2;
}

rect {
  fill: url(#grad1);
}

#stop1 {
  -webkit-animation: change-color1 2s ease-in-out infinite alternate;
  animation: change-color1 2s ease-in-out infinite alternate;
}

#stop2 {
  -webkit-animation: change-color2 4s ease-in-out infinite alternate;
  animation: change-color2 4s ease-in-out infinite alternate;
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

@-webkit-keyframes change-color1 {
  0% {
    stop-color: #d7a708;
  }
  100% {
    stop-color: #ffd23c;
  }
}

@keyframes change-color1 {
  0% {
    stop-color: #d7a708;
  }
  100% {
    stop-color: #ffd23c;
  }
}

@-webkit-keyframes change-color2 {
  0% {
    stop-color: #d7a708;
  }
  100% {
    stop-color: #ffd23c;
  }
}

@keyframes change-color2 {
  0% {
    stop-color: #d7a708;
  }
  100% {
    stop-color: #ffd23c;
  }
}

.cloud-1 {
  width: 986px;
  height: 527px;
  background: url(../img/cloud-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  top: 6%;
  right: 0px;
  position: absolute;
  z-index: 1;
  -webkit-animation: cloud1 86s infinite linear;
  animation: cloud1 86s infinite linear;
  zoom: 1;
  opacity: 0.8;
}

@-webkit-keyframes cloud1 {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

@keyframes cloud1 {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

/*.cloud-2 {
    width: 1810px;
    height: 589px;
    background: url(../img/pod.png);
    bottom: 12%;
    right: -2000px;
    position: absolute;
    z-index: 1;
    -webkit-animation: cloud2 56s infinite linear;
    animation: cloud2 56s infinite linear;
    -webkit-animation-delay: 2s;
    z-index: 1;
}
@-webkit-keyframes cloud2 {
from {right: -2000px;}
to {right: 3100px;}
}
@keyframes cloud2 {
from {right: -2000px;}
to {right: 3100px;}
}
.cloud-3 {
    width: 1810px;
    height: 589px;
    background: url(../img/nad.png);
    bottom: 12%;
    right: -2000px;
    position: absolute;
    z-index: 1;
    -webkit-animation: cloud3 56s infinite linear;
    animation: cloud3 56s infinite linear;
    -webkit-animation-delay: 2s;
    z-index: 3;
}
@-webkit-keyframes cloud3 {
from {right: -2000px;}
to {right: 3100px;}
}
@keyframes cloud3 {
from {right: -2000px;}
to {right: 3100px;}
}*/
.anim {
  position: absolute;
  top: 20%;
  left: 0;
  height: 100%;
  background-image: url(http://case-ecobars.dev-web.in.ua/img/animation1.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 0;
  -webkit-animation-duration: 30s;
  animation-duration: 30s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-name: bottles2;
  animation-name: bottles2;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  width: 100%;
}

.anim1 {
  -webkit-animation-name: animate1;
  animation-name: animate1;
}

.anim2 {
  -webkit-animation-name: animate2;
  animation-name: animate2;
}

@-webkit-keyframes animate1 {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

@keyframes animate1 {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

@-webkit-keyframes animate2 {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes animate2 {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.block-2 {
  width: 100%;
  height: 1085px;
  background: url(../img/bg-img2.png) center;
  background-size: cover;
  margin-top: -116px;
  z-index: 2;
  position: relative;
  padding-top: 275px;
}

.block-2 img {
  display: block;
  position: absolute;
  left: 47%;
  top: 50%;
  width: 100%;
  max-width: 750px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  zoom: 0.9;
}

.block-2 .left-text {
  max-width: 410px;
}

.block-2 .left-text p {
  font-size: 18px;
  font-family: 'Regular';
  letter-spacing: 3px;
  line-height: 22px;
}

.block-2 .left-text h1 {
  font-family: 'ExtraBold';
  font-size: 24px;
  letter-spacing: 14px;
  text-transform: uppercase;
  position: relative;
}

.block-2 .left-text h1:before {
  content: '';
  position: absolute;
  top: 110%;
  width: 16%;
  height: 1px;
  background: #000;
}

.block-2 .right-text {
  max-width: 410px;
  margin-top: 465px;
  z-index: 2;
}

.block-2 .right-text p {
  font-size: 18px;
  font-family: 'Regular';
  letter-spacing: 3px;
  line-height: 22px;
  text-align: right;
  margin-right: 11px;
}

.block-2 .right-text h1 {
  font-family: 'ExtraBold';
  font-size: 24px;
  letter-spacing: 14px;
  text-transform: uppercase;
  position: relative;
  text-align: right;
}

.block-2 .right-text h1:before {
  content: '';
  position: absolute;
  top: 110%;
  width: 16%;
  height: 1px;
  background: #000;
  right: 16px;
}

.block-2 .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.block-3 .container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.block-3 .container h1 {
  font-family: 'ExtraBold';
  font-size: 24px;
  letter-spacing: 14px;
  text-transform: uppercase;
  position: relative;
}

.block-3 .container h1:before {
  content: '';
  position: absolute;
  top: 110%;
  width: 7%;
  height: 1px;
  background: #000;
}

.block-3 .container p {
  font-size: 18px;
  font-family: 'Regular';
  letter-spacing: 3px;
  line-height: 22px;
}

.block-3 .padding-left-block {
  padding-left: 100px;
}

.block-3 .flex-animate {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-width: 934px;
  width: 100%;
  margin-top: 50px;
}

.block-3 .flex-animate img {
  -o-object-fit: contain;
  object-fit: contain;
}

.block-3 .flex-colora {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 80px;
}

.block-3 .flex-colora p {
  max-width: 514px;
}

.block-4 {
  width: 100%;
  height: 876px;
  background: url(../img/bg-img3.jpg) center no-repeat;
  background-size: contain;
}

.block-4 .container {
  max-width: 1105px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.block-4 .container .text-block {
  max-width: 455px;
  width: 100%;
  margin-top: 240px;
}

.block-4 .container .text-block h1 {
  font-family: 'ExtraBold';
  font-size: 24px;
  letter-spacing: 14px;
  text-transform: uppercase;
  position: relative;
}

.block-4 .container .text-block h1:before {
  content: '';
  position: absolute;
  top: 110%;
  width: 15%;
  height: 1px;
  background: #000;
}

.block-4 .container .text-block p {
  font-size: 18px;
  font-family: 'Regular';
  letter-spacing: 3px;
  line-height: 22px;
}

.block-5 {
  width: 100%;
  height: 636px;
  background: url(../img/bg-img5.jpg) center no-repeat;
  position: relative;
  overflow: hidden;
}

.block-5 .cloud-1 {
  opacity: 1;
}

.block-5 .text-block {
  max-width: 813px;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.block-5 .text-block h1 {
  font-family: 'ExtraBold';
  font-size: 24px;
  letter-spacing: 14px;
  text-transform: uppercase;
  position: relative;
}

.block-5 .text-block h1:before {
  content: '';
  position: absolute;
  top: 110%;
  width: 8%;
  height: 1px;
  background: #000;
}

.block-5 .text-block p {
  font-size: 18px;
  font-family: 'Regular';
  letter-spacing: 3px;
  line-height: 22px;
}

@media (max-width: 1170px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .block-5 .text-block {
    padding-left: 15px;
    padding-right: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
}

@media (max-width: 1050px) {
  .block-4 {
    background-size: cover;
  }
}

@media (max-width: 1000px) {
  .block-2 {
    height: auto;
    padding-bottom: 100px;
  }
  .block-2 img {
    position: relative;
    left: unset;
    top: unset;
    -webkit-transform: unset;
    transform: unset;
    zoom: 0.9;
    margin: 0 auto;
    -o-object-fit: contain;
    object-fit: contain;
    height: 550px;
  }
  .block-2 .flex {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .block-2 .right-text {
    max-width: 100%;
    margin-top: 0px;
  }
  .block-2 .left-text {
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .block-1 {
    padding-top: 30px;
  }
  .block-1 h1 {
    text-align: center;
  }
  .block-3 .flex-colora {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

.mob {
  display: none;
}

@media (max-width: 900px) {
  .mob {
    display: block;
    width: 100%;
  }
  .block-4 {
    height: auto;
    background: #fff;
  }
  .block-4 .container .text-block {
    max-width: 100%;
    width: 100%;
    margin-top: 0px;
  }
}

@media (max-width: 877px) {
  .block-3 .flex-colora p {
    max-width: 100%;
    margin: 0 auto;
  }
  .flex-colora img {
    margin: 40px auto;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
  }
}

@media (max-width: 810px) {
  .block-3 .flex-animate {
    zoom: 0.5;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .block-3 .flex-animate {
    zoom: 0.3;
  }
}

@media (max-width: 630px) {
  .block-1 h1 {
    font-size: 21px;
    letter-spacing: 2px;
  }
}

@media (max-width: 400px) {
  .block-1 {
    padding-top: 0px;
    max-height: 30vh;
  }
  .block-1 h1 {
    font-size: 16px;
  }
  svg {
    z-index: 4;
  }
  .block-2 {
    padding-top: 155px;
  }
}

@media (max-width: 1090px) {
  .block-3 .padding-left-block {
    padding-left: 0px;
  }
}

.toAnimate {
  background: #FF9800;
  margin: 15px 0;
  visibility: hidden;
}

.toAnimate.visible {
  visibility: visible;
}
