*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 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: #fff;
}
.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: #fff;
    display: flex;
    width: fit-content;
}
form input{
    border: 0;
    outline: none;
    padding: 10px 20px;
    height: 70px;
    width: 400px;
    font-size: 16px;
}
form button{
    background: #61b752;
    border: none;
    outline: none;
    height: 70px;
    width: 100px;
    cursor: pointer;
}
span{
    color: #61b752;
    margin-top: 10px;
    
}


/* Media Queries */

/* Mobile screens */
@media (max-width: 600px) {
  .hero {
    padding: 20px;
    text-align: center;
  }

  .hero h3 {
    font-size: 22px;
    margin-top: 30%;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 14px;
    margin: 15px 0 30px;
  }

  form {
    flex-direction: column;   /* Stack input and button */
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
  }

  form input {
    width: 100%;
    height: 50px;
    font-size: 14px;
  }

  form button {
    width: 100%;
    height: 50px;
  }

  span {
    font-size: 14px;
    display: block;
  }
}

/* Tablet screens */
@media (min-width: 601px) and (max-width: 900px) {
  .hero h1 {
    font-size: 40px;
  }

  form input {
    width: 280px;
    height: 60px;
  }

  form button {
    width: 80px;
    height: 60px;
  }
}
