

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap')
;

body{
    font-family: "Poppins", sans-serif;
}

h4.title-portafolio-grid, h4.title-servicios-grid{
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    margin: 15px 0 0 0;
  }
  .services-grid .overlay-text p {
    font-size: 14px;
  }

  .my-custom-card {
    position: relative;
    border:0;
}

.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(129, 32, 61, 0.9); /* Color de fondo semi-transparente */
    opacity: 0; /* Ocultar por defecto */
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease; /* Transición suave de la opacidad */
    color: #fff;
    padding: 15px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.my-custom-card:hover .overlay-text {
    opacity: 1; /* Mostrar cuando se hace hover */
 
}

.card.my-custom-card .btn{
    background: #fff;
    font-size: 14px;
}

.services-grid .card{
    min-height: 450px;
    height: 55vh;
    width: 100%;
    margin-bottom: 35px;
}
.row.service-grid a {
  color:#333333;
}
.container-grid-servicios{
    padding: 0 80px;
    margin: 60px 0;
  }

  .card-title {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%,0);
    text-align: center;
    font-size: 18px;
    width: 100%;
  }

  .card-title mark {
    padding: 0 10px;
    background-color: #9C3353;
    color: #fff;
    line-height: 26px;
    font-weight: 700;
  }

  .card.my-custom-card .btn {
    background: #fff;
    font-size: 14px;
  }

  .container-fluid.servicios{
    margin: 60px 0 0 0;
  }

  .col-12.col-md-3.title-servicios {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    letter-spacing: 13px;
    color: #9C3353;
    font-weight: 600;
    text-transform: uppercase;
  }

  @media screen and (max-width: 700px) {
    .container-grid-servicios {
       padding: 0 20px;}
   }