@keyframes moveBubbles {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes show-with-fade {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes swing-in-top-fwd {
  0% {
    transform: rotateX(-100deg);
    transform-origin: top;
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    transform-origin: top;
    opacity: 1;
  }
}
@keyframes greenLinesAnimation {
  0% {
    opacity: 0;
    width: 0;
  }
  100% {
    opacity: 1;
    width: 100vw;
  }
}
section#events-main {
  background: url("../images/events/banner-bg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  padding-bottom: 270px;
  position: relative;
}
section#events-main::before {
  content: "";
  position: absolute;
  bottom: 160px;
  right: 250px;
  background: url("../images/app/icons/bubble-m.png");
  background-repeat: no-repeat;
  width: 52px;
  height: 52px;
  animation: moveBubbles 10s infinite reverse;
}
section#events-main .wrapper {
  padding-top: 245px;
}
section#events-main .wrapper h1 {
  color: white;
  text-align: center;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
}
section#events-main .wrapper h1::before {
  content: "";
  position: absolute;
  top: -120px;
  right: 380px;
  background: url("../images/app/icons/bubble-lg.png");
  background-repeat: no-repeat;
  width: 86px;
  height: 86px;
  animation: moveBubbles 15s infinite;
}
section#events-main .wrapper h1::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 250px;
  background: url("../images/app/icons/bubble-m.png");
  background-repeat: no-repeat;
  width: 52px;
  height: 52px;
  animation: moveBubbles 10s 0.3s reverse infinite;
}
section#events-main .wrapper h1 > span {
  position: relative;
  background: -webkit-gradient(linear, left top, right top, from(#B8FF80), to(#00A659));
  background: linear-gradient(90deg, #B8FF80 0%, #00A659 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0.9;
  font-size: 128px;
  z-index: 2;
}
section#events-main .wrapper h1 > span::before {
  content: "";
  position: absolute;
  top: -34px;
  left: -36px;
  width: 114px;
  height: 114px;
  background: url("../images/events/splash.svg");
  background-repeat: no-repeat;
  z-index: 1;
}

section#event-scroll-text {
  padding-top: 115px;
  padding-bottom: 105px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  align-items: center;
}
section#event-scroll-text .wrapper > h3 {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}
section#event-scroll-text .wrapper > span {
  background: linear-gradient(94deg, #00A659 8.94%, #90ED99 89.27%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 70px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  white-space: pre-wrap;
  display: block;
}
section#event-scroll-text .wrapper > span > .active {
  font-size: inherit;
  -webkit-text-fill-color: transparent;
}
section#event-scroll-text .wrapper > span > .inactive {
  font-size: inherit;
  color: gray;
  -webkit-text-fill-color: initial;
}

section#events-solutions {
  background: url("../images/events/solutions.jpg");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
  min-height: 900px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-end;
}
section#events-solutions .wrapper {
  max-width: 1417px;
  position: relative;
}
section#events-solutions .wrapper.animate::before {
  animation: greenLinesAnimation 2s ease 0s 1 normal forwards;
}
section#events-solutions .wrapper::before {
  position: absolute;
  content: "";
  top: -385px;
  left: 0;
  width: 1670px;
  height: 900px;
  background: url("../images/other-projects/green-lines.svg");
  opacity: 0;
}
section#events-solutions .wrapper .square {
  background: rgba(58, 106, 92, 0.44);
  width: 717px;
  min-height: 428px;
  padding-top: 45px;
  padding-left: 58px;
  margin-bottom: 88px;
}
section#events-solutions .wrapper .square > h3 {
  color: #F5F5F5;
  font-size: 45px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 25px;
}
section#events-solutions .wrapper .square > h3 > span {
  background: linear-gradient(91deg, #F5F5F5 0.96%, #26DB8C 85.49%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: inherit;
  font-weight: inherit;
}
section#events-solutions .wrapper .square > p {
  color: #FFF;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 565px;
}

section#events-service {
  position: relative;
}
section#events-service::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0px;
  background: url("../images/app/icons/bubble-bot-left-lg.png");
  background-repeat: no-repeat;
  width: 183px;
  height: 410px;
  animation: moveBubbles 20s infinite;
  z-index: -1;
}
section#events-service::after {
  content: "";
  position: absolute;
  bottom: 60px;
  right: 60px;
  background: url("../images/app/icons/bubble-xl.png");
  background-repeat: no-repeat;
  width: 129px;
  height: 129px;
  animation: moveBubbles 10s 1s infinite;
  z-index: -1;
}
section#events-service .wrapper {
  padding-top: 120px;
  padding-bottom: 110px;
  position: relative;
  justify-content: space-between;
}
section#events-service .wrapper::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 40%;
  background: url("../images/app/icons/bubble-md.png");
  background-repeat: no-repeat;
  width: 86px;
  height: 86px;
  animation: moveBubbles 10s 0.3s infinite;
}
section#events-service .wrapper .left,
section#events-service .wrapper .right {
  width: 565px;
}
section#events-service .wrapper .left > h3,
section#events-service .wrapper .right > h3 {
  color: var(--darkColor);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 38px;
}
section#events-service .wrapper .left > h3 > span,
section#events-service .wrapper .right > h3 > span {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--greenColor);
}
section#events-service .wrapper .left > p,
section#events-service .wrapper .right > p {
  color: var(--lightDarkColor);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
}

@media screen and (max-width: 1024px) {
  section {
    overflow: hidden !important;
  }
  section#events-main {
    padding-bottom: 100px;
  }
  section#events-main .wrapper {
    padding-top: 130px;
  }
  section#events-main .wrapper h1 {
    font-size: 28px;
    line-height: 1.1;
  }
  section#events-main .wrapper h1 > span {
    font-size: 38px;
  }
  section#events-main .wrapper h1 > span::before {
    width: 40px;
    height: 40px;
    background-size: contain;
    top: -13px;
    left: -14px;
  }
  section#event-scroll-text {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  section#event-scroll-text .wrapper > h3 {
    font-size: 26px;
    text-align: center;
  }
  section#event-scroll-text .wrapper > span {
    font-size: 36px;
    margin-top: 10px;
  }
  section#events-solutions {
    min-height: 490px;
    overflow: hidden;
  }
  section#events-solutions .wrapper::before {
    width: 100%;
  }
  section#events-solutions .wrapper .square {
    max-width: 100%;
    padding: 25px;
    margin-bottom: 20px;
    height: auto;
  }
  section#events-solutions .wrapper .square > h3 {
    font-size: 26px;
    margin-bottom: 15px;
  }
  section#events-solutions .wrapper .square > h3 > span {
    font-size: 16px;
  }
  section#events-solutions .wrapper .square > p {
    font-size: 14px;
  }
  section#events-service::before, section#events-service::after {
    display: none;
  }
  section#events-service .wrapper {
    flex-direction: column;
    padding: 60px 0;
  }
  section#events-service .wrapper .left,
  section#events-service .wrapper .right {
    width: 100%;
    z-index: 2;
  }
  section#events-service .wrapper .left > h3,
  section#events-service .wrapper .right > h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  section#events-service .wrapper .left > p,
  section#events-service .wrapper .right > p {
    font-size: 14px;
  }
  section#events-service .wrapper .left {
    margin-bottom: 40px;
  }
}
