.hero-overlay {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 100vh;
  max-height: none;
  padding-top: 100px;
  padding-bottom: 100px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background-image: url('../images/mendilauta.png'), -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), to(rgba(0, 0, 0, 0.6)));
  background-image: url('../images/mendilauta.png'), linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  background-position: 50% 50%, 0px 0px;
  background-size: cover, auto;
  background-repeat: no-repeat, repeat;
  color: #fff;
}

.centered-container {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  text-align: center;
}

.paragraph {
  font-size: 20px;
  line-height: 26px;
}

.button {
  margin-top: 40px;
  padding: 15px 24px 16px;
  background-color: #e4dc2f;
  font-family: Lato, sans-serif;
  color: #000;
  font-size: 20px;
}

.paragraph-2 {
  margin-top: 20px;
  font-family: Lato, sans-serif;
  font-size: 24px;
  line-height: 26px;
  font-weight: 300;
}

.heading {
  margin-top: 60px;
  font-family: Lato, sans-serif;
  font-weight: 900;
}

@media screen and (max-width: 767px) {
  .hero-overlay {
    padding: 40px 20px;
  }
}

@media screen and (max-width: 479px) {
  .hero-overlay {
    background-image: url('../images/mendilautabi.png');
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }

  .centered-container {
    text-align: left;
  }

  .button {
    margin-right: 0px;
    margin-left: 0px;
    text-align: left;
  }

  .paragraph-2 {
    font-size: 20px;
    line-height: 22px;
    text-align: center;
  }

  .heading {
    margin-top: 120px;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
  }

  .div-block {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}