@keyframes square { 0% { transform: translateY(0); } 100% { transform: translateY(-1000px) rotate(600deg); } } .main-content { &.login { position: relative; overflow: hidden; background: #50a3a2; background: -webkit-linear-gradient(top left, $catskill-white 0%, lighten($ship-cove, 22%) 100%); background: linear-gradient(to bottom right, $catskill-white 0%, lighten($ship-cove, 22%) 100%); .flashes-container{ top: 0; } .link-back-login { display: inline-block; float: right; padding: 14px 0; text-decoration: none; font-size: em(10px); font-weight: bold; letter-spacing: 2px; text-transform: uppercase; } .link-password-forget { display: inline-block; float: right; padding: 14px 0; text-decoration: none; font-size: em(10px); font-weight: bold; letter-spacing: 2px; text-transform: uppercase; } .recover-guide { font-size: 14px; } } } .content-login { @include align(); width: 33.3%; margin: 0 auto; background-color: white; box-shadow: $content-block-shadow; padding: 20px; z-index: 10; @include mq-max(1024px) { width: 50%; } @include mq-max(850px) { width: 85%; } } .bg-bubbles{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; li { position: absolute; list-style: none; display: block; width: 40px; height: 40px; background-color: rgba(white, 0.3); bottom: -160px; animation: square 28s infinite; transition-timing-function: linear; &:nth-child(1) { left: 10%; } &:nth-child(2) { left: 20%; width: 80px; height: 80px; animation-delay: 2s; animation-duration: 17s; } &:nth-child(3) { left: 25%; animation-delay: 4s; } &:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-duration: 22s; background-color: rgba(white, 0.4); } &:nth-child(5) { left: 70%; } &:nth-child(6) { left: 80%; width: 120px; height: 120px; animation-delay: 3s; background-color: rgba(white, 0.35); } &:nth-child(7) { left: 32%; width: 160px; height: 160px; animation-delay: 7s; } &:nth-child(8) { left: 55%; width: 20px; height: 20px; animation-delay: 15s; animation-duration: 40s; } &:nth-child(9) { left: 25%; width: 10px; height: 10px; animation-delay: 2s; animation-duration: 40s; background-color: rgba(white, 0.45); } &:nth-child(10) { left: 90%; width: 160px; height: 160px; animation-delay: 11s; } } } .login-logo { text-align: center; max-width: 190px; margin: auto; }