
/*=============== SERVICES ===============*/
.services__container {
  padding-top: 1rem;
}

.services__data {
  display: grid;
  row-gap: 1rem;
  background-color: var(--container-color);
  box-shadow: 0px 2px 6px hsla(var(--hue), 100%, 15%, 0.15);
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  text-align: center;
  margin: 1rem;
}

.services__img {
  width: 135px;
  justify-self: center;
  margin-bottom: var(--mb-0-5);
}




.imgCobertura{
  width: auto;
  border-radius: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;

}

.modal-bg1, .modal-bg2, .modal-bg3{
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s opacity 0.5s;
}

.bg-active{
  visibility: visible;
  opacity: 1;
}

.modal1, .modal2, .modal3{
  position: relative;
  background-color: #FFF;
  width: 50%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 1rem;
  padding: 1rem;
}

.modal-close1, .modal-close2, .modal-close3{  
  position: absolute;
  top: 10px;
  right: 20px;
  font-weight: bold;
  cursor: pointer;

}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 500px) {
  
  .services__img {
    width: 100px;
  }

  .modal1, .modal2, .modal3{
    width: 90%;
    
  }

  
  }

/* For medium devices */
@media screen and (min-width: 576px) {
  
  .services__container{
    grid-template-columns: repeat(2, 1fr);
  }

}

/* For large devices */
@media screen and (min-width: 968px) {

  .services__container {
    grid-template-columns: repeat(3, 1fr);

}


}
