@import url(https://fonts.googleapis.com/css?family=Montez|Pompiere);

.name {
  font-family: "Montez", sans-serif;
  font-weight: 300;
}
body ::-webkit-input-placeholder {
  font-family: "Pompiere", sans-serif;
  color: #fff;
  font-weight: 300;
  font-size: 20px;
}
body :-moz-placeholder {
  font-family: "Pompiere", sans-serif;
  color: #fff;
  opacity: 1;
  font-weight: 300;
}
body ::-moz-placeholder {
  font-family: "Pompiere", sans-serif;
  color: #fff;
  opacity: 1;
  font-weight: 300;
}
body :-ms-input-placeholder {
  font-family: "Pompiere", sans-serif;
  color: #fff;
  font-weight: 300;
}
.wrapper {
  background: #111;
  background: -webkit-linear-gradient(top left, #25007f 0%, #a88af1 100%);
  background: -moz-linear-gradient(top left, #25007f 0%, #a88af1 100%);
  background: -o-linear-gradient(top left, #25007f 0%, #a88af1 100%);
  background: linear-gradient(to bottom right, #25007f 0%, #a88af1 100%);
  position: absolute;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  padding-top: 50px;
  /*left: 0;
  margin-top: 0px;*/
}
.wrapper.form-success .container h1 {
  font-size: 70px;
  color: #111;
  transform: translateY(60px);
}

.container {
  background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.1) 10%),
    linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.1) 20%),
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.1) 30%),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.1) 40%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.1) 50%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.1) 60%),
    linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.1) 70%),
    linear-gradient(180deg, transparent 80%, rgba(0, 0, 0, 0.1) 80%),
    linear-gradient(180deg, transparent 90%, rgba(0, 0, 0, 0.1) 90%),
    linear-gradient(270deg, transparent 90%, rgba(0, 0, 0, 0.1) 90%) #bea4ff;
  width: 400px;
  margin: 0 auto;
  padding-top: 50px;
  height: 550px;
  text-align: center;
  border: 1px solid #333;
  box-shadow: 10px 10px 5px #000;
  border-radius: 15px;
  /*position: relative;
  z-index: 10;*/
}
.container h1 {
  font-size: 60px;
  transition-duration: 1s;
  transition-timing-function: ease-in-out;
  font-weight: 400;
}
div.form {
  padding: 20px 0;
  position: relative;
  z-index: 2;
}
div.form input {
  display: block;
  outline: 0;
  border: 1px solid rgba(0, 0, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.8);
  width: 250px;
  border-radius: 5px;
  padding: 10px 15px;
  margin: 10px auto 10px auto;
  text-align: center;
  font-size: 25px;
  color: #fff;
  transition-duration: 0.5s;
  font-weight: 300;
}
div.form input:hover {
  background-color: rgba(17, 17, 17, 0.4);
}
div.form input:focus {
  background-color: #fff;
  width: 300px;
  color: #000;
}
div.form button {
  font-family: Pompiere;
  background-color: #fff;
  border: 0;
  padding: 10px 15px;
  color: #111;
  border-radius: 3px;
  width: 250px;
  cursor: pointer;
  font-size: 25px;
  font-weight: 600;
  transition-duration: 0.25s;
}
div.form button:hover {
  color: #fff;
  background-color: #000c;
}

.bubbles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
}
.bubble {
  position: absolute;
  bottom: -150px;
  width: 40px;
  height: 40px;
  background: #f1f1f180;
  border-radius: 50%;
  opacity: 0.5;
  animation: rise 10s infinite ease-in;
}
.bubble:nth-child(1) {
  width: 40px;
  height: 40px;
  left: 0%;
  animation-duration: 8s;
}
.bubble:nth-child(2) {
  width: 20px;
  height: 20px;
  left: 10%;
  animation-duration: 7s;
  animation-delay: 1s;
}
.bubble:nth-child(3) {
  width: 50px;
  height: 50px;
  left: 25%;
  animation-duration: 7s;
  animation-delay: 2s;
}
.bubble:nth-child(4) {
  width: 100px;
  height: 100px;
  left: 40%;
  animation-duration: 11s;
  animation-delay: 0s;
  bottom: -160px;
}
.bubble:nth-child(5) {
  width: 35px;
  height: 35px;
  left: 45%;
  animation-duration: 6s;
  animation-delay: 1s;
}
.bubble:nth-child(6) {
  width: 45px;
  height: 45px;
  left: 55%;
  animation-duration: 8s;
  animation-delay: 3s;
}
.bubble:nth-child(7) {
  width: 90px;
  height: 90px;
  left: 60%;
  animation-duration: 12s;
  animation-delay: 2s;
}
.bubble:nth-child(8) {
  width: 25px;
  height: 25px;
  left: 70%;
  animation-duration: 6s;
  animation-delay: 2s;
}
.bubble:nth-child(9) {
  width: 15px;
  height: 15px;
  left: 60%;
  animation-duration: 5s;
  animation-delay: 1s;
}
.bubble:nth-child(10) {
  width: 90px;
  height: 90px;
  left: 15%;
  animation-duration: 10s;
  animation-delay: 4s;
}
@keyframes rise {
  0% {
    bottom: -100px;
    transform: translateX(0);
  }
  50% {
    transform: translate(100px);
  }
  100% {
    bottom: 1080px;
    transform: translateX(-200px);
  }
}


.bg-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  bottom: -110px;
  border-radius: 150px;
  -webkit-animation: square 50s infinite;
  animation: square 50s infinite;
  -webkit-transition-timing-function: cubic-bezier(0, -0.01, 0.44, 0.8);
  transition-timing-function: cubic-bezier(0, -0.01, 0.44, 0.8);
}
.bg-bubbles li:nth-child(1) {
  left: 10%;
}
.bg-bubbles li:nth-child(2) {
  left: 75%;
  width: 80px;
  height: 80px;
  animation-delay: 1s;
  animation-duration: 7s;
}
.bg-bubbles li:nth-child(3) {
  left: 25%;
  animation-delay: 4s;
}
.bg-bubbles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-duration: 22s;
  background-color: rgba(255, 255, 255, 0.25);
}
.bg-bubbles li:nth-child(5) {
  left: 70%;
}
.bg-bubbles li:nth-child(6) {
  left: 80%;
  width: 20px;
  height: 20px;
  animation-delay: 30s;
  background-color: rgba(255, 255, 255, 0.3);
}
.bg-bubbles li:nth-child(7) {
  left: 32%;
  width: 160px;
  height: 160px;
  animation-delay: 7s;
  bottom: -160px;
}
.bg-bubbles li:nth-child(8) {
  left: 55%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 40s;
}
.bg-bubbles li:nth-child(9) {
  left: 65%;
  width: 75px;
  height: 75px;
  animation-delay: 2s;
  animation-duration: 40s;
  background-color: rgba(255, 255, 255, 0.3);
}
.bg-bubbles li:nth-child(10) {
  left: 90%;
  width: 160px;
  height: 160px;
  animation-delay: 11s;
  bottom: -160px;
}
.bg-bubbles li:nth-child(11) {
  left: 25%;
  width: 60px;
  height: 60px;
  animation-delay: 2s;
}
@-webkit-keyframes square {
  0% {
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0);
  }
  100% {
    transform: translateY(-100px);
    background-color: #ffffff;
  }
}
@keyframes square {
  0% {
    transform: translateY(0);
    background-color: #ffffff;
  }
  100% {
    transform: translateY(-600px);
    background-color: rgba(255, 255, 255, 0);
  }
}
