#hero2 {
  width: 100%;
  min-height: 100vh;
  background: url("../img/gb.jpg") top center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

#hero2::before {
  content: "";
  background: url("../img/logoMercal.jpeg") center center no-repeat;
  background-size: contain;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.3;
}

#hero2::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: url("../img/logoMercal.jpeg") center center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}


#hero2 .container {
  text-align: center;
  padding-top: 50px;
}

@media (max-width: 992px) {
  #hero2 .container {
    padding-top: 0;
  }
}

#hero2 h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero2 h2 {
  color: #eee;
  margin: 15px 0 0 0;
  font-size: 22px;
}

#hero2 .btn-get-started {
  font-family: "Raleway", arial;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 9px 35px;
  border-radius: 50px;
  transition: 0.5s;
  margin-top: 40px;
  border: 2px solid #ffc107;
  color: #fff;
}

#hero2 .btn-get-started:hover {
  background: #ffc107;
}

@media (min-width: 1024px) {
  #hero2 {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero2 {
    height: 100vh;
  }

  #hero2 h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero2 h2 {
    font-size: 18px;
    line-height: 24px;
  }
}



