.snake-section {
  position: relative;
  background: #000;
  color: #fff;
  padding:  4rem 0;
}

.snake-section__title {
  color: #FFF;
  text-align: center;
  font-family: "UAFSans";
  font-size: 2.6rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 0.104rem;
  text-transform: uppercase;
  margin-bottom: 4.5rem;
}

.snake-section__container {
  position: relative;
  height: 114rem;
  margin-bottom: 4rem;
}

.snake-section__svg-desktop {
  display: none;
}


.snake-section__svg-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

#snakeLineMobile {
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  transform-origin: top center;
}

.snake-block {
  position: absolute;
  color: #FFF;
  text-align: center;
  font-family: "UAFSans";
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 300;
  line-height: 2.6rem;
  letter-spacing: 0.064rem;
  text-transform: uppercase;  
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.snake-block--1 {
  top: 23rem;
  right: -1rem;
  max-width: 30rem;
}

.snake-block--2 {
  top: 52rem;
  right: 1rem;
  max-width: 30.3rem;
}

.snake-block--3 {
  top: 76.9rem;
  right: 4rem;
  max-width: 27.5rem;
}

.snake-block span {
  color: #7EFF9A;
  font-weight: 500;
}

.snake-block strong {
  color: #fff;
  font-weight: 500;
}

.snake-dot {
  width: 1.2rem;
  height: 1.2rem;
  background: #7EFF9A;
  border-radius: 50%;
  margin: 0 auto;
}

.snake-line {
  width: 0.2rem;
  height: 5rem;
  background: linear-gradient(to top, rgba(126, 255, 154, 0.5), transparent);
  margin: 0.5rem auto 2rem auto;
}

.snake-section__button {
  width: 100%;
}

.snake-container svg {
  position: absolute;
  left: 50%;
  width: 100vw;
  top: 0;
  transform: translateX(-50%);
  height: 100%;
}

.snake-block.visible {
  opacity: 1;
}

@media (min-width: 768px) {
  .snake-section {
    padding: 15rem 0 20rem;
  }

  .snake-section__title {
    font-size: 4rem;
    line-height: 5.8rem;
    letter-spacing: 0.16rem;
    max-width: 51.2rem;
    margin-left: auto;
    margin-right: auto;
  }

  .snake-section__container {
    height: auto;
    max-width: 106rem;
    margin: 0 auto;
  }

  .snake-section__svg-mobile {
    display: none;
  }

  .snake-section__svg-desktop {
    display: block;
    width: 100%;
    height:  auto;
  }

  .snake-block {
    font-size: 2.2rem;
    line-height: 3.1rem;
  }

  .snake-block--1 {
    top: 39.5rem;
    right: 10rem;
    max-width: 35rem;
  }

  .snake-block--2 {
    top: 74.9rem;
    left: 10rem;
    right: auto;
    max-width: 40.4rem;
  }

  .snake-block--3 {
    top: 115.2rem;
    right: 10rem;
    max-width: 43.7rem;
  }

  #snakeLineDesktop {
    stroke-dasharray: 6000;
    stroke-dashoffset: 6000;
  }

  .snake-section__button {
    max-width: 44.7rem;
    margin-left: auto;
    margin-right: 10.3rem;
    display: flex;
  }
}
