
@import 'https://fonts.googleapis.com/css?family=Poppins:900i';
html, body {
  height: 100%;
  overflow-x: hidden;
  margin: 0;
}

* {
  box-sizing: border-box;
}

body {
  background: #222429;
  font-family: "Open Sans", sans-serif;
}

.container {
  height: 100%;
  color: white;
  overflow: hidden;
}

.half {
  color: white;
  float: left;
  width: 50%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.text-container {
  position: relative;
  padding: 20px;
  top: 50%;
  transform: translateY(-80%);
  transition: 1s all;
  text-align: center;
}
.text-container.is-active {
  transform: translateY(-50%);
  transition-delay: 1s;
}

.cta-container {
  background: #FFCE45;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30vh;
  transition: 1s all;
  overflow: hidden;
}
.cta-container:before {
  content: "";
  position: absolute;
  background: #E7BB3F;
  width: 150%;
  height: 100%;
  left: -50%;
  bottom: -50%;
  transform: rotate(25deg);
  display: block;
}
.cta-container .cta-text {
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  transition: 1s all;
}

.cta-container.is-active {
  height: 100vh;
}
.cta-container.is-active .cta-text {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 45%;
  transform: translateY(-200%);
  transition-delay: 1s;
}
.cta-container.is-active .form-container {
  opacity: 1;
}
.cta-container.is-active .form-container label, .cta-container.is-active .form-container .submit {
  opacity: 1;
}
.cta-container.is-active .form-container label:nth-of-type(1) {
  transition-delay: 1.8s;
}
.cta-container.is-active .form-container label:nth-of-type(2) {
  transition-delay: 2s;
}
.cta-container.is-active .form-container label:nth-of-type(3) {
  transition-delay: 2.2s;
}
.cta-container.is-active .form-container .submit {
  transition-delay: 2.6s;
}
.cta-container.is-active .arrow {
  opacity: 0;
}

.arrow {
  transition: 0.4s all;
  cursor: pointer;
  transform-origin: center;
  width: 30px;
  height: 30px;
  margin: auto;
}
.arrow:hover {
  transform: rotate(90deg) scale(1.3);
}

.arrow svg path {
  fill: #0D735D;
}

.form-container {
  opacity: 0;
  padding: 20px;
  position: absolute;
  transition: 0.3s all 1s;
  text-align: left;
  left: 0;
  right: 0;
  margin: auto;
}

input[type=text] {
  width: 100%;
  background: #FFCE45;
  border: 3px solid #dea400;
  padding: 7px;
  outline: none;
}

input[type=submit] {
  background: #0D735D;
  color: white;
  margin: auto;
  padding: 15px;
  border: none;
  display: block;
  font-size: 18px;
  width: 180px;
}

label, .submit {
  opacity: 0;
  transition: 0.5s all;
  display: block;
  margin-bottom: 20px;
}
@import url('https://fonts.googleapis.com/css?family=Poppins:900i');

* {
  box-sizing: border-box;
}



.wrapper {
  display: flex;
  justify-content: center;
}

.cta {
  display: flex;
  padding: 10px 45px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  color: white;
  background: #6225E6;
  transition: 1s;
  box-shadow: 6px 6px 0 black;
  transform: skewX(-15deg);
}

.cta:focus {
  outline: none;
}

.cta:hover {
  transition: 0.5s;
  box-shadow: 10px 10px 0 #FBC638;
}

.cta span:nth-child(2) {
  transition: 0.5s;
  margin-right: 0px;
}

.cta:hover  span:nth-child(2) {
  transition: 0.5s;
  margin-right: 45px;
}

span {
  transform: skewX(15deg)
}

span:nth-child(2) {
  width: 20px;
  margin-left: 30px;
  position: relative;
  top: 12%;
}

/**************SVG****************/

path.one {
  transition: 0.4s;
  transform: translateX(-60%);
}

path.two {
  transition: 0.5s;
  transform: translateX(-30%);
}

.cta:hover path.three {
  -webkit-animation: color_anim 1s infinite 0.2s;
  animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
  transform: translateX(0%);
  -webkit-animation: color_anim 1s infinite 0.6s;
  animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
  transform: translateX(0%);
  -webkit-animation: color_anim 1s infinite 0.4s;
  animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@-webkit-keyframes color_anim {
  0% {
    fill: white;
  }
  50% {
    fill: #FBC638;
  }
  100% {
    fill: white;
  }
}

@keyframes color_anim {
  0% {
    fill: white;
  }
  50% {
    fill: #FBC638;
  }
  100% {
    fill: white;
  }
}