@import url("https://fonts.googleapis.com/css?family=Poppins:200,400,600&display=swap");
* {
  box-sizing: border-box;
}
body {
  background-image: url("../images/bg-intro-mobile.png");
  background-color: hsl(0, 100%, 74%);
  font-family: "Poppins", sans-serif;
  color: #fff;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
}
.container > div {
  flex: 1;
  padding: 0 20px;
}
h1 {
  font-size: 40px;
  line-height: 50px;
}
p {
  font-size: 15px;
  opacity: 0.8;
}
.box {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 6px rgba(0, 0, 0, 0.2);
  padding: 30px;
  margin-bottom: 20px;
  text-align: center;
}
.box p {
  margin: 0;
}
.box-purple {
  background-color: hsl(248, 25%, 49%);
  padding: 20px;
}

.form-control {
    position: relative;
    margin-bottom: 30px;
}
.form-control small {
    color: hsl(0, 100%, 74%);
    font-weight: 400;
    position: absolute;
    bottom: -24px;
    right: 0;
    opacity: 0;
    text-align: right;
}
input {
  border-radius: 5px;
  border: 1px solid hsl(246, 32%, 77%);
  font-size: 14px;
  font-weight: 500;
  padding: 15px 25px;
  display: block;
  width: 100%;
  font-family: "Poppins", sans-serif;
}
.form-control.error input {
    border-color: hsl(0, 100%, 74%);
    color: (0, 100%, 74%);
}
.form-control.error input::placeholder {
    color: (0, 100%, 74%);
}
input:focus {
  border: 1px solid hsl(248, 32%, 49%);
  outline: none;
}
.form-control img {
    position: absolute;
    top: 50%;
    right: 15px;
    opacity: 0;
    transform: translateY(-50%);
}
.form-control.error img {
    opacity: 1;
}
button {
  background-color: hsl(154, 59%, 51%);
  border-radius: 5px;
  border: 1px solid hsl(154, 59%, 41%);
  box-shadow: 0 2px hsl(154, 59%, 41%);
  color: #fff;
  cursor: pointer;
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 25px; 
  letter-spacing: 1px;
  width: 100%;
  text-transform: uppercase;
}
button:focus {
  outline: none;
}
button:active {
  box-shadow: 0 0 hsl(154, 59%, 41%);
  transform: translateY(2px);
}
.form-control small {
	opacity: 0;
}

.form-control.error small {
	opacity: 1;
}
small {
    display: block;
    color: #bbb;
    font-size: 12px;
    font-weight: 500;
    margin-top: 15px;
}
small a {
    color: hsl(0, 100%, 74%);
    text-decoration: none;
    font-weight: 600;
}
@media screen and (max-width: 768px) {
   h1 {
       text-align: center;
   }
   p {
       text-align: center;
   }
    .container {
        flex-direction: column;
    }
}