/*
*	 Author: beshleyua
*	 Author URL: http://themeforest.net/user/beshleyua
*/

/* TABLE OF CONTENTS
	1. Gradient
*/

/*
	1. Gradient
*/


.background.gradient {
  background: #50a3a2;
  background: -webkit-linear-gradient(top left, #50a3a2 0%, #78cc6d 100%);
  background: linear-gradient(to bottom right, #50a3a2 0%, #78cc6d 100%);
  position: fixed;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 0; 
  height: 0; 
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 50px solid rgba(255, 255, 255, 0.1);
  bottom: -320px;
  -webkit-animation: square 50s infinite;
  animation: square 50s infinite;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
}

.bg-bubbles li:nth-child(1) {
  left: 10%;
}

.bg-bubbles li:nth-child(2) {
  left: 20%;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 150px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 34s;
          animation-duration: 34s;
}

.bg-bubbles li:nth-child(3) {
  left: 25%;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
  left: 40%;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 120px solid rgba(255, 255, 255, 0.1);
  transform: rotate(25deg);
  -webkit-animation-duration: 44s;
          animation-duration: 44s;
}

.bg-bubbles li:nth-child(5) {
  left: 70%;
}

.bg-bubbles li:nth-child(6) {
  left: 80%;
  border-left: 200px solid transparent;
  border-right: 200px solid transparent;
  border-bottom: 200px solid rgba(255, 255, 255, 0.1);
  transform: rotate(65deg);
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}

.bg-bubbles li:nth-child(7) {
  left: 32%;
  border-left: 220px solid transparent;
  border-right: 220px solid transparent;
  border-bottom: 220px solid rgba(255, 255, 255, 0.1);
  -webkit-animation-delay: 7s;
          animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
  left: 55%;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 40px solid rgba(255, 255, 255, 0.1);
  transform: rotate(85deg);
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
  -webkit-animation-duration: 80s;
          animation-duration: 80s;
}

.bg-bubbles li:nth-child(9) {
  left: 25%;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid rgba(255, 255, 255, 0.1);
  transform: rotate(105deg);
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
  -webkit-animation-duration: 80s;
          animation-duration: 80s;
}

.bg-bubbles li:nth-child(10) {
  left: 90%;
  border-left: 250px solid transparent;
  border-right: 250px solid transparent;
  border-bottom: 250px solid rgba(255, 255, 255, 0.1);
  transform: rotate(125deg);
  -webkit-animation-delay: 22s;
          animation-delay: 22s;
  -webkit-animation-duration: 30s;
          animation-duration: 30s;
}

.bg-bubbles li:nth-child(11) {
  left: 9150%;
  border-left: 220px solid transparent;
  border-right: 220px solid transparent;
  border-bottom: 220px solid rgba(255, 255, 255, 0.1);
  transform: rotate(145deg);
  -webkit-animation-delay: 15s;
          animation-delay: 15s;
  -webkit-animation-duration: 90s;
          animation-duration: 90s;
}

.bg-bubbles li:nth-child(12) {
  left: 40%;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 150px solid rgba(255, 255, 255, 0.1);
  transform: rotate(165deg);
  -webkit-animation-delay: 12s;
          animation-delay: 12s;
  -webkit-animation-duration: 35s;
          animation-duration: 35s;
}

.bg-bubbles li:nth-child(13) {
  left: 64%;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 80px solid rgba(255, 255, 255, 0.1);
  transform: rotate(185deg);
  -webkit-animation-delay: 20s;
          animation-delay: 20s;
  -webkit-animation-duration: 25s;
          animation-duration: 25s;
}

.bg-bubbles li:nth-child(14) {
  left: 80%;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 100px solid rgba(255, 255, 255, 0.1);
  transform: rotate(200deg);
  -webkit-animation-delay: 9s;
          animation-delay: 9s;
  -webkit-animation-duration: 45s;
          animation-duration: 45s;
}

.bg-bubbles li:nth-child(15) {
  left: 55%;
  border-left: 140px solid transparent;
  border-right: 140px solid transparent;
  border-bottom: 140px solid rgba(255, 255, 255, 0.1);
  transform: rotate(220deg);
  -webkit-animation-delay: 18s;
          animation-delay: 18s;
  -webkit-animation-duration: 90s;
          animation-duration: 90s;
}

.bg-bubbles li:nth-child(16) {
  left: 35%;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 70px solid rgba(255, 255, 255, 0.1);
  transform: rotate(240deg);
  -webkit-animation-delay: 17s;
          animation-delay: 17s;
  -webkit-animation-duration: 50s;
          animation-duration: 50s;
}

.bg-bubbles li:nth-child(17) {
  left: 11%;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 100px solid rgba(255, 255, 255, 0.1);
  transform: rotate(260deg);
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
  -webkit-animation-duration: 20s;
          animation-duration: 20s;
}

.bg-bubbles li:nth-child(18) {
  left: 2%;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 120px solid rgba(255, 255, 255, 0.1);
  transform: rotate(280deg);
  -webkit-animation-delay: 19s;
          animation-delay: 19s;
  -webkit-animation-duration: 40s;
          animation-duration: 40s;
}

.bg-bubbles li:nth-child(19) {
  left: 5%;
  border-left: 130px solid transparent;
  border-right: 130px solid transparent;
  border-bottom: 130px solid rgba(255, 255, 255, 0.1);
  transform: rotate(280deg);
  -webkit-animation-delay: 9s;
          animation-delay: 9s;
  -webkit-animation-duration: 45s;
          animation-duration: 45s;
}

.bg-bubbles li:nth-child(20) {
  left: 18%;
  border-left: 190px solid transparent;
  border-right: 190px solid transparent;
  border-bottom: 190px solid rgba(255, 255, 255, 0.1);
  transform: rotate(280deg);
  -webkit-animation-delay: 12s;
          animation-delay: 12s;
  -webkit-animation-duration: 60s;
          animation-duration: 60s;
}

.bg-bubbles li:nth-child(21) {
  left: 15%;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 100px solid rgba(255, 255, 255, 0.1);
  transform: rotate(290deg);
  -webkit-animation-delay: 13s;
          animation-delay: 13s;
  -webkit-animation-duration: 35s;
          animation-duration: 35s;
}

@-webkit-keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-1500px) rotate(600deg);
            transform: translateY(-1500px) rotate(600deg);
  }
}

@keyframes square {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-1500px) rotate(600deg);
            transform: translateY(-1500px) rotate(600deg);
  }
}
