#main-scrollbar {
  background: #f3f6f8;
}
.main-container {
  margin: 0 auto;
  max-width: 1384px;
  padding-left: 50px;
  padding-right: 50px;
}
.main-screen {
  background: #4c75e6;
  /* background-image: url(/wp-content/themes/mightycall2021/img/front-page/images/vector-green-snake.png); */
  background-position: center bottom 116px;
  background-repeat: no-repeat;
  background-size: 100% 437px;
  padding-top: 34px;
  position: relative;
  overflow: hidden;
}

/* animation  */

#root-svg {
  width: 100%;
  background-color: transparent;
  position: absolute;
  top: 196px;
  right: 50%;
  transform: translateX(50%);
}

.green-active-line {
  height: 100%;
  width: 100%;
  background-color: transparent;
}
.green-active-line-2 {
  display: none;
  visibility: hidden;
  opacity: 0;
}

.line-green {
  fill: none;
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke-width: 10px;
  stroke: #cdfb3e;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 5s 1 alternate forwards;
}
.line-green-2 {
  display: none;
  visibility: hidden;
  opacity: 0;
}

@keyframes draw {
  from {
    stroke-dashoffset: 400;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.main-screen-wrapper {
  max-width: 1200px;
  margin: 10px auto;
  padding-left: 50px;
  padding-right: 50px;
}
.main-header {
  text-align: center;
  font-family: "Kanit", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 80px;
  line-height: 100px;
  color: #ffffff;
  margin: 0 auto;
}
.main-header__transparent {
  color: transparent;
  position: relative;
}
.main-header__transparent::before {
  position: absolute;
  content: "";
  background: url(/wp-content/themes/mightycall2021/img/front-page/images/c-letter-glif.svg);
  background-repeat: no-repeat;
  width: 52px;
  height: 70px;
  top: 20px;
  left: -2px;
  /* image-rendering: pixelated; */
}
.main-header__transparent::after {
  position: absolute;
  content: "";
  background: url(/wp-content/themes/mightycall2021/img/front-page/images/o-letter-glif.svg);
  background-repeat: no-repeat;
  width: 39px;
  height: 39px;
  top: 50px;
  right: -3px;
  /* image-rendering: pixelated; */
}
.main-header__green {
  color: #cdfb3e;
}

.slider-header {
  margin: 0 auto;
  display: flex;
  justify-content: center;

  position: relative;
  /* text-indent: 7px; */
  overflow: hidden;
  height: 108px;
  z-index: 1;
}
.slide-header-feature {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 34px;
  line-height: 95px;
  text-align: center;
  color: #cdfb3e;
  padding-bottom: 14px;

  overflow: hidden;
  position: absolute;
  opacity: 0;
  animation: 15s ease-in-out infinite 0s;
}

.slide-header-feature:nth-child(2) {
  animation-delay: 3s;
}
.slide-header-feature:nth-child(3) {
  animation-delay: 6s;
}
.slide-header-feature:nth-child(4) {
  animation-delay: 9s;
}
.slide-header-feature:nth-child(5) {
  animation-delay: 12s;
}

@keyframes slideFirstScreen {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0;
    transform: translateY(50px);
  }
  6%,
  8% {
    opacity: 1;
    transform: translateY(-8px);
  }
  10%,
  13% {
    opacity: 1;
    transform: translateY(3px);
  }
  15%,
  25% {
    opacity: 1;
    transform: translateY(-1px);
  }
  26% {
    opacity: 0;
    transform: translateY(0px);
  }
  90%,
  100% {
    opacity: 0;
  }
}

.main-screen-buttons {
  display: flex;
  justify-content: space-between;
  max-width: 440px;
  margin: 0 auto;
  padding-bottom: 43px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.main-book-demo-button {
  text-decoration: none;
  padding: 20px 30px;
  width: 208px;
  height: 70px;
  background: #112336;
  border-radius: 10px;
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-size: 27px;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: all 0.6s ease-in-out;
}
.main-free-trial-button {
  text-decoration: none;
  padding: 20px 30px;
  width: 210px;
  height: 70px;
  background: #112336;
  border-radius: 10px;
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-size: 27px;
  line-height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 0.02em;
  color: #ffffff;
  transition: all 0.4s ease-in-out;
}
.main-book-demo-button:hover,
.main-free-trial-button:hover {
  color: #040d17;
  background-color: #cdfb3e;
}
.main-book-demo-button:active,
.main-free-trial-button:active {
  color: #cdfb3e;
  background-color: #435b6d;
}
.main-screen-devices {
  margin-bottom: -47px;
  position: relative;
  height: 512px;
}
.main-tablet {
  position: absolute;
  top: 0;
  left: 51px;
  /* image-rendering: pixelated; */
}
.main-phone {
  position: absolute;
  top: 62px;
  right: -62px;
  /* image-rendering: pixelated; */
}

/* Mission */
.mission {
  background: #f3f6f8;
  position: relative;
  z-index: 1;
}
.mission-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.mission-awards {
  max-width: 500px;
  width: 492px;
  display: flex;
  justify-content: space-between;
  margin: 0px auto 91px;
}
.mission-award {
  flex-basis: 30%;
  max-width: 137px;
  border-radius: 0 0 10px 10px;
}
.mission-award-3 {
  flex-basis: 30%;
  border-radius: 0 0 10px 10px;
}
.mission-text {
  max-width: 1064px;
  text-align: left;
  margin: 0 auto;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 38px;
  color: #112336;
}

.mission-text-header {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 600;
  font-size: 44px;
  line-height: 56px;
  text-align: center;
  color: #112336;
  padding-bottom: 35px;
  letter-spacing: 0;
}
.mission-footer {
  padding-bottom: 73px;
}
.mission-sign-block {
  display: flex;
  height: 132px;
  justify-content: flex-end;
  border-bottom: 1px solid #d9d9d9;
}
.mission-sign {
  font-family: "Kanit";
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  text-align: center;
  color: #314b93;
  padding: 0 20px;
  margin: 106px 9.3% 0px auto;
  height: 50px;
  width: 370px;
  letter-spacing: 0.3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f6f8;
}

.main__button--trial:hover,
.promo__button--trial:hover {
  color: #fff;
}
.support__contacts--sub {
  cursor: pointer;
}
.promo__buttons-block {
  width: 21.9rem;
}
body::-webkit-scrollbar {
  /* width: 8px;
  background-color: transparent; */
}
body::-webkit-scrollbar-track {
  /* background-color: transparent; */
  /* box-shadow: inset 0 0 6px rgb(241, 133, 133);
  -webkit-box-shadow: inset 0 0 6px rgb(180, 0, 0); */
}
body::-webkit-scrollbar-thumb {
  /* border-radius: 20px;
  height: 20px;
  box-shadow: inset 0 0 6px #4C75E6;
  -webkit-box-shadow: inset 0 0 50px #4C75E6; */
}

@media (max-width: 1499px) {
  .main-screen-wrapper {
    max-width: 850px;
  }
  #root-svg {
    top: 78px;
    width: 1500px;
  }
  .line-green {
    stroke-width: 8px;
  }
  .main-header {
    font-size: 60px;
    max-width: 740px;
    line-height: 76px;
    margin: 0 auto;
  }
  .main-header__transparent::before {
    background-size: contain;
    width: 46px;
    height: 52px;
    top: 15px;
    left: -3px;
  }

  .main-header__transparent::after {
    width: 29px;
    height: 29px;
    background-size: contain;
    top: 38px;
    right: -2px;
  }
  .slider-header {
    height: 78px;
  }
  .slide-header-feature {
    font-size: 24px;
    line-height: 44px;
    padding-bottom: 14px;
    padding-top: 12px;
  }

  .main-book-demo-button,
  .main-free-trial-button {
    padding: 18px 30px;
    width: 160px;
    height: 50px;
    font-size: 18px;
    line-height: 30px;
  }

  .main-screen-buttons {
    max-width: 340px;
    padding-bottom: 34px;
    margin-top: 12px;
  }
  .main-screen-devices {
    height: 401px;
    z-index: 2;
  }

  .main-tablet {
    position: absolute;
    top: 0;
    left: -13px;
    max-width: 615px;
  }

  .main-phone {
    position: absolute;
    top: 58px;
    right: -24px;
    max-width: 179px;
  }

  /* mission styles */
  .mission-footer {
    padding-bottom: 51px;
  }

  .mission-wrapper {
    max-width: 785px;
  }
  .mission-awards {
    width: 337px;
    margin: 0 auto 41px;
  }
  .mission-award, .mission-award-3 {
    background-color: #fff;
    padding-top: 40px;
    max-width: 100px;
    padding-bottom: 8px;
  }
  .mission-text {
    font-size: 14px;
    line-height: 34px;
  }
  .mission-text-header {
    font-size: 30px;
    line-height: 56px;
    padding-bottom: 13px;
  }
  .mission-sign {
    font-size: 16px;
    line-height: 24px;
    margin: 74px 9.7% 0px auto;
    width: 261px;
    letter-spacing: 0px;
  }
  .mission-sign-block {
    height: 101px;
  }
}
@media (max-width: 1279px) {
  .main-screen-wrapper {
    max-width: 775px;
    margin: 10px auto 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  .main-header {
    font-size: 60px;
    line-height: 80px;
    margin: 0 auto;
  }
  .main-header__transparent::before {
    background-size: contain;
    width: 46px;
    height: 52px;
    top: 15px;
    left: -3px;
  }

  .main-header__transparent::after {
    width: 29px;
    height: 29px;
    background-size: contain;
    top: 38px;
    right: -2px;
  }
  .slide-header-feature {
    font-size: 34px;
    line-height: 59px;
    padding-bottom: 14px;
    padding-top: 12px;
  }
  .main-screen-buttons {
    display: flex;
    justify-content: space-between;
    max-width: 440px;
    margin: 43px auto 0;
    padding-bottom: 73px;
    position: relative;
    z-index: 1;
  }
  .main-book-demo-button {
    text-decoration: none;
    padding: 20px 30px;
    width: 208px;
    height: 70px;
    background: #040d17;
    border-radius: 10px;
    font-family: "Kanit";
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.02em;
    color: #ffffff;
  }
  .main-free-trial-button {
    text-decoration: none;
    padding: 20px 30px;
    width: 210px;
    height: 70px;
    background: #040d17;
    border-radius: 10px;
    font-family: "Kanit";
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    line-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    letter-spacing: 0.02em;
    color: #ffffff;
  }
  .main-screen-devices {
    margin-bottom: 0;
    position: relative;
    height: 516px;
    width: 711px;
  }
  .main-tablet {
    position: absolute;
    top: -9px;
    left: 12px;
    max-width: 100%;
  }
  .main-phone {
    position: absolute;
    top: 33px;
    right: 91px;
    max-width: 100%;
  }

  /* mission styles */
  .mission-wrapper {
    max-width: 800px;
    padding-left: 44px;
    padding-right: 44px;
  }
  .mission-awards {
    max-width: 500px;
    width: 492px;
    margin: 0px auto 40px;
  }
  .mission-award, .mission-award-3 {
    flex-basis: 30%;
    max-width: 137px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .mission-text-header {
    font-size: 32px;
    line-height: 56px;
    padding-bottom: 14px;
    letter-spacing: 1.4px;
  }
  .mission-text {
    line-height: 32px;
    max-width: 670px;
  }
  .mission-sign-block {
    height: 97px;
  }
  .mission-sign {
    font-size: 18px;
    margin: 69px 6.8% 0px auto;
    width: 303px;
  }
  /*animation*/
  #root-svg {
    top: 210px;
    width: 1300px;
  }
}
@media (max-width: 799px) {
	#root-svg
	{
    width: 800px;
		top : 24%;
	}
  .line-green {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
  .line-green-2 {
    display: block;
    opacity: 1;
    visibility: visible;
    stroke-width: 22px;
    /* animation-direction: reverse; */
    fill: none;
    stroke-linecap: round;
    stroke-miterlimit: 10;
    stroke-width: 10;
    stroke: #cdfb3e;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw 5s 1 alternate forwards;
  }
  .green-active-line {
    display: none;
    visibility: hidden;
    opacity: 0;
  }
  .green-active-line-2 {
    display: block;
    opacity: 1;
    visibility: visible;
    /* transform: scaleY(-1); */
    /* transform: scale3d(-1, -1, 1); */
  }
  .main-screen {
    padding-top: 40px;
  }
  .main-screen-wrapper {
    display: flex;
    flex-direction: column;
  }
  .main-header {
    font-size: 24px;
    line-height: 30px;
    max-width: 350px;
    margin: 0 auto;
    order: 1;
  }
  .main-header__transparent::before {
    background-size: contain;
    width: 22px;
    height: 21px;
    top: 6px;
    left: 0px;
  }
  .main-header__transparent::after {
    width: 12.5px;
    height: 12.5px;
    background-size: contain;
    top: 13.5px;
    right: -1.5px;
  }
  .slider-header {
    height: 46px;
    order: 2;
    width: 100%;
  }

  .slide-header-feature {
    font-size: 18px;
    line-height: 45px;
  }

  .main-screen-devices {
    order: 4;
    height: 298px;
    width: 322px;
    margin: 0 auto;
  }
  .main-tablet {
    position: absolute;
    top: 36px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 320px;
  }
  .main-phone {
    position: absolute;
    top: 69px;
    right: 67px;
    max-width: 113px;
  }
  .main-screen-buttons {
    order: 3;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 150px;
    margin: 29px auto 0;
    padding-bottom: 0px;
  }
  .main-book-demo-button,
  .main-free-trial-button {
    padding: 7px 30px;
    width: 150px;
    height: 44px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
  }
  /* mission style */
  .mission-footer {
    padding-bottom: 40px;
  }
  .mission-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
  .mission-awards {
    max-width: 239px;
    width: 239px;
    margin: 0px auto 24px;
  }
  .mission-award, .mission-award-3 {
    max-width: 67px;
    width: 67px;
  }
  .mission-text-header {
    font-size: 20px;
    line-height: 30px;
    padding-bottom: 13px;
    letter-spacing: 0.8px;
  }
  .mission-text {
    line-height: 30px;
  }
  .mission-sign-block {
    height: 42px;
  }
  .mission-sign {
    font-size: 14px;
    margin: 18px 6.8% 0px auto;
    width: 217px;
  }
}
