﻿
/* https://webdevtrick.com/css-animated-login-from/  */

.login {
  overflow: hidden;
  background-color: White;
  margin-top:200px;
 background-color: #fff;
  border-radius: 10px;
  position: relative;
  top: 50%;
  left: 50%;
  
  transform: translate(-50%, -50%);
  transition: transform 300ms, box-shadow 300ms;
  box-shadow: 5px 10px 10px rgba(2, 128, 144, 0.2);
}
 
 /*
.login > input {
  font-family: "Asap", sans-serif;
  display: block;
  border-radius: 5px;
  font-size: 16px;
  background: white;
  width: 100%;
  border: 0;
  padding: 10px 10px;
  margin: 15px -10px;
}
.login > button {
  font-family: "Asap", sans-serif;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  width: 80px;
  border: 0;
  padding: 10px 0;
  margin-top: 10px;
  margin-left: -5px;
  border-radius: 5px;
  background-color: #F03033;
  transition: background-color 300ms;
}

.login > button:hover {
  background-color: #FB2326;
}

*/ 


.login::before, .login::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-top-left-radius: 40%;
  border-top-right-radius: 45%;
  border-bottom-left-radius: 35%;
  border-bottom-right-radius: 40%;
  z-index: -1;
}


.login::before {
  left: 40%;
  bottom: -130%;
    background-color: rgba(69, 105, 144, 0.15); 
 /* background-color:Red; */
  animation: wawes 6s infinite linear;
}
.login::after {
  left: 35%;
  bottom: -125%;
   background-color: rgba(2, 128, 144, 0.2); 
 /* background-color:Teal; */
  animation: wawes 7s infinite;
}


@keyframes wawes {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}