* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: #9e9e9e3b;
}

.box {
  background: #fff;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  position: relative;
}

.box h2 {
  margin: 10px 0;
}

.box p {
  color: #321940;
  margin: 10px;
}

.box .bg-img {
  width: 400px;
  max-width: 100%;
}

.box .newsletter-img {
  width: 101px;
  position: absolute;
  top: 10px;
  left: 22px;
  filter: opacity(0.5);
}

.form-control {
  margin: 30px 0 20px;
  position: relative;
}

.input {
  width: 100%;
  border: 0;
  border-radius: 50px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
  height: 42px;
  padding: 12px 15px;
  outline: none;
  font-size: 14px;
  font-family: inherit;
}

.btn {
  background: #321940;
  border: 0;
  border-radius: 50px;
  color: #fff;
  height: 42px;
  padding: 12px 15px;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: 0.2s;
}

.btn:hover {
  background: #21102be8;
}

.btn:hover i {
  animation: animate 0.5s linear infinite;
  transform-origin: top;
}

@keyframes animate {
  0% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(0);
  }
  75% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.subscribed {
  transition: .2s;
  color: #222;
  background: #6cff63;
}

.subscribed:hover {
  background: #61df5a;

}

.subscribed:hover i {
  animation: none;
}
