.line {
 position: absolute;
 width: 1px;
 height: 100%;
 top: 0;
 left: 50%;
 background: rgba(255, 255, 255, 0.1);
 overflow: hidden;
}

.line::after {
 display: block;
 position: absolute;
 height: 10vh;
 width: 100%;
 top: -50%;
 left: 0;
 content: '';
 background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
 animation: drop 7s 0s infinite;
 animation-fill-mode: forwards;
 animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

.line:nth-child(1) {
 margin-left: -25%;
 transform: rotate(-45deg);
 height: 200%;
 top: -30%;
}

.line:nth-child(1)::after {
 animation-delay: 2s;
}

.line:nth-child(2) {
 margin-left: -25%;
 transform: rotate(225deg);
 height: 200%;
 top: -30%;
}

.line:nth-child(2)::after {
 animation-delay: 3s;
}

.line:nth-child(4) {
 margin-left: 25%;
 transform: rotate(-225deg);
 height: 200%;
 top: -30%;
}

.line:nth-child(4)::after {
 animation-delay: 3.5s;
}

.line:nth-child(5) {
 margin-left: 25%;
 transform: rotate(45deg);
 height: 200%;
 top: -30%;
}

.line:nth-child(5)::after {
 animation-delay: 2.5s;
}


@keyframes drop {
 from {
  top: -50%;
 }

 to {
  top: 110%;
 }
}



/* ---------------------------------------------------- */
@media screen and (max-width:768px) {

 .line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
 }

 .line::after {
  display: block;
  position: absolute;
  height: 10vh;
  width: 100%;
  top: -50%;
  left: 0;
  content: '';
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  animation: drop 7s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
 }

 .line:nth-child(1) {
  margin-left: -25%;
  transform: rotate(-45deg);
  height: 200%;
  top: -30%;
 }

 .line:nth-child(1)::after {
  animation-delay: 2s;
 }

 .line:nth-child(2) {
  margin-left: -25%;
  transform: rotate(225deg);
  height: 200%;
  top: -50%;
 }

 .line:nth-child(2)::after {
  animation-delay: 3s;
 }

 .line:nth-child(4) {
  margin-left: 25%;
  transform: rotate(-225deg);
  height: 200%;
  top: -50%;
 }

 .line:nth-child(4)::after {
  animation-delay: 3.5s;
 }

 .line:nth-child(5) {
  margin-left: 25%;
  transform: rotate(45deg);
  height: 200%;
  top: -30%;
 }

 .line:nth-child(5)::after {
  animation-delay: 2.5s;
 }


 @keyframes drop {
  from {
   top: -50%;
  }

  to {
   top: 110%;
  }
 }
}

/* ---------------------------------------------------- */