.hero{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  box-sizing: border-box;
  height: 12rem;
  padding: 1rem;
  background-image: url("../assets/hero.jpeg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-info{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  row-gap: 0.5rem;
  width: 100%;
  height: auto;
}

.hero-info-title{
  width: 100%;
  font-size: 1.375rem;
  color: #fff;
  font-weight: 700;
}

.hero-info-subtitle{
  width: 100%;
  font-size: 0.875rem;
  color: #fff;
  font-weight: 600;
}

.hero-info-button{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6.6rem;
  height: 2.5rem;
  font-size: 0.875rem;
  padding: 0;
  font-weight: 600;
  background-color: #2A7AE4;
  color: #fff;
  border: none;
  text-decoration: none;
}



@media only screen and (min-width: 768px) {
  
  .hero{
    padding: 2rem;
    height: 22rem;
  }

  .hero-info{
    row-gap: 1rem;
  }

  .hero-info-title{
    font-size: 3.25rem;
  }

  .hero-info-subtitle{
    font-size: 1.375rem;
    font-weight: 700;
  }
}


@media only screen and (min-width: 1440px) {

  .hero {
    justify-content: center;
  }

  .hero-info {
    width: 70%;
  }

  .hero-info-button{
    width: 7.05rem;
  }
}