.hero_services{
  position: relative;
  background-attachment: fixed;
  background-image: url('/img/pcb.jpg');
  background-position: center;
  background-size: cover;
  background-position-x: 20%;
  background-position-y: -240px;
  width: 100%;
  height: 400px;
}

.hero_services .wrapper{
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  position: absolute;
  bottom: 80px;
  color: white;
  padding: 30px 0 30px 80px;
}

.hero_services h1{
  font-size: 4em;
  margin-bottom: 15px;
}

.hero_services p{
  font-size: 1.5em;
}

.power_message{
  display: flex;
  gap: 10vw;
  margin: 50px auto; 
}

.power_message h2{
  font-size: 2em;
  width: 100%;
  text-align: justify;
}

.power_message p{
  font-size: 1.5em;
  width: 100%;
  text-align: justify;
}

/* Services */
.services{
  margin: 100px auto 50px auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.service{
  height: 450px;
  padding: 10px;
  border: 8px solid #0091beff;
  vertical-align: top;
  text-align: justify; 
  margin: 0 10px;
  position: relative;
}

.mini_image{
  width: 90%;
  height: 100px;
  margin: 0 auto;
  position: absolute;
  top: -50px;
  background-color: tomato;
  background-size: cover;
  background-position: center;
}

.design{
  background-image: url(/img/vernier.jpg);
  background-position: top;
}

.consul{
  background-image: url(/img/Consulta.jpg);
}

.develop{
  background-image: url(/img/escritorio_soldar.jpg);
}

.service h2{  
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 50px;
}

.service h3{  
  font-size: 1.5rem;
  font-weight: lighter;
}


.serv1 h2{
  width: 80%;
  margin: 50px auto 30px auto;
}

.serv2 h2{
  margin: 50px auto 60px auto;
}

.service .button_more{
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0091beff;
  display: block;
  margin: 0 auto;
  width: fit-content;  
}
  
.service .button_more:hover{
  background-color: rgb(0, 96, 126);
}

.button{
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 30px 40px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin: 30px 10px;
  cursor: pointer;
  color: white;
  background-color: #0091beff;
  display: block;
  margin: 0 auto;
  width: fit-content;  
}
  
.button_more:hover{
  background-color: rgb(0, 96, 126);
}

@media screen and (max-width:1024px){
  .hero_services{
    background-position: center;
    background-size: cover;
    background-position-x: 40%;
    background-position-y: -240px;
    width: 100%;
    height: 400px;
  }
  
  .hero_services .wrapper{
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    position: absolute;
    bottom: 80px;
    color: white;
    padding: 30px 0 30px 80px;
  }
  
  .hero_services h1{
    font-size: 4em;
    margin-bottom: 15px;
  }
  
  .hero_services p{
    font-size: 1.5em;
  }

  .power_message{
    margin: 5vw auto;
    flex-direction: column;
    gap: 0;
  }

  .power_message h2{
    display: block;
    font-size: 4vw;
    width: 90%;
    text-align: center;
    margin: 0 auto 20px auto;
  }
  
  .power_message p{
    display: block;
    padding-left: 0;
    width: 100%;
    font-size: 3vw;
    font-weight: lighter;
    margin: 0 auto 0 auto;
  }

  .services{
    display: block;
    margin: 10vw auto 10vw auto;
  }

  .service{
    margin: 5vw auto 5vw auto;
    width: 80%;
    height: auto;
    padding: 5vw;
  }

  .service .button_more{
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    background-color: #0091beff;
    display: block;
    margin: 10px auto 0 auto;
    width: fit-content;  
  }

  .mini_image {
    width: 100%;
    height: 100px;
    margin: 0 auto;
    position: static;
    top: auto;
    background-size: cover;
    background-position: center;
  }

  .service h2 {
    width: 80%;
    margin: 0px auto 2vw auto;
    font-size: 4vw;
  }

  .service h3 {
    margin:2vw 0;
    font-size: 3vw;
  }

  .mini_image {
    width: 100%;
    height: 20vw;
    margin: 0 auto;
    position: static;
    top: auto;
    background-size: cover;
    background-position: center;
  }
}

@media screen and (max-width:768px){
  .power_message{
    margin: 5vw auto;
  }

  .power_message h2{
    font-size: 6vw;
    margin: 0 auto 20px auto;
  }
  
  .power_message p{
    font-size: 5vw;
    font-weight: normal;
  }

  .service h2 {
    font-size: 5vw;
  }

  .service h3 {
    font-size: 4vw;
  }
}