* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.hero {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(images/background.png);
  background-size: cover;
  background-position: center;
  padding: 10px 10%;
  color: #ffffff;
}

.hero h3 {
  margin-top: 15%;
  font-weight: 400;
  font-size: 30px;
}

.hero h1 {
  margin-top: 30px;
  font-size: 50px;
}

.hero p {
  margin: 10px 0 50px;
}

form {
  background: #ffffff;
  display: flex;
  width: fit-content;
  border-radius: 4px;
}

form input {
  border: 0;
  outline: none;
  padding: 10px 20px;
  height: 70px;
  width: 400px;
  font-size: 16px;
  border-radius: 4px 0 0 4px;
}

form button {
  background: #28b90e;
  border: none;
  outline: none;
  height: 70px;
  width: 100px;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
}

span {
  color: #28b90e;
  margin-top: 10px;
  display: block;
}

/* Media Queries */

/* Large screens ( >= 1200px) */
@media only screen and (min-width: 1200px) {
  .hero {
    padding: 20px 15%;
  }
  .hero h3 {
    font-size: 40px;
  }
  .hero h1 {
    font-size: 70px;
  }
  form input {
    width: 500px;
  }
  form button {
    width: 120px;
  }
}

/* Medium screens ( >= 992px and < 1200px) */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .hero {
    padding: 15px 12%;
  }
  .hero h3 {
    font-size: 35px;
  }
  .hero h1 {
    font-size: 60px;
  }
  form input {
    width: 450px;
  }
  form button {
    width: 100px;
  }
}

/* Small screens ( >= 768px and < 992px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .hero {
    padding: 10px 10%;
  }
  .hero h3 {
    font-size: 30px;
  }
  .hero h1 {
    font-size: 50px;
  }
  form input {
    width: 350px;
  }
  form button {
    width: 80px;
  }
}

/* Extra small screens ( < 768px) */
@media only screen and (max-width: 767px) {
  .hero {
    padding: 10px 2%;
  }
  .hero h3 {
    font-size: 25px;
  }
  .hero h1 {
    font-size: 40px;
  }
  form input {
    width: 250px;
  }
  form button {
    width: 60px;
  }
}