
.servicio {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Optional styling for text centering */
  color: white;
}
.servicio:hover {
  opacity: 0; /* Hide the text when hovered over */
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.cards{
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.image{
    width: 30%;
    height: 558px;
    margin: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
    transition: 0.8s;

}

.image h3{
    text-align: center;
    line-height: 30px;
     display: flex;
        align-items: center; /* Center vertically */
        justify-content: center; /* Center horizontally */
    background-color: rgba(0,0,0,0.5);
    padding: 10px 5px;
    width: 80%;
top: 40%;
    position: absolute;
}


.image:hover h3{
     display: none;
}

.image:hover{
    width: 100%;
}

.image:nth-child(1) {
    background-image: url("../images/accidente-laboral-3.jpg");
}
.image:nth-child(2) {
    background-image: url("../images/abogado-choques-3.jpg");
}
.image:nth-child(3) {
    background-image: url("../images/reclamo-laboral-3.jpg");
}


 /* .image::before  */
.image:hover::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background: linear-gradient(0deg, black 50%, transparent 50%); */
    background: linear-gradient(0deg, black 0%, black 10%, transparent );
    
    
}

.image .about{
    color: #fff;
    position: absolute;
    width: 100%;
    top: 40%;
    transform: translateX(100%);
    opacity: 0;
    transition: 0.5s;
       text-align: center;
        align-items: center; /* Center vertically */
        justify-content: center; /* Center horizontally */
 
}
@media (max-width: 768px) {
    .image .about {
        top: 30%;
    }
       .page-title-content h1{
line-height: 32px;
       font-size: 32px;
       font-weight: bold;
    }

    
}


@media (max-width: 468px) {
    .about p{
    color: #fff;
font-size: 14px!important;}

   .about h2{
font-size: 14px;
    }
 
   .page-title-content h1{
line-height: 32px;
       font-size: 32px;
       font-weight: bold;
    }
 
}

.image h3{
font-size: 14px;
}

.image:hover h3{
font-size: 12px;
}

.about{
padding:12px!important;
}



.about h2{
    color: #fff;
    width: 100%;
    margin-bottom: 0px;
    line-height: 30px;
    transition: 0.5s;
    text-align: center;
     display: flex;
        align-items: center; /* Center vertically */
        justify-content: center; /* Center horizontally */
}

.about p{
    color: #fff;
font-size: 18px;
}

.image:hover .about{
    transform: translateX(0);
    /* transition-delay: 0.1s; */
    opacity: 1;
}

.iconmenu{
    display: flex;
    align-items: center!important;
}

.iconmenu a:hover{
    color:#929292;
}

.padl-5{
    padding-left: 5px!important;
}

#social_side_links {
  position: fixed;
  right: 0;
  bottom:0px;
  padding: 5px 20px 5px 5px;
  list-style: none;
  z-index: 10000;
}

#social_side_links li a {display: inline-block;}

#social_side_links li a img {
	display: inline-block;
	max-width:45px;
  -webkit-transition:  background .2s ease-in-out;
  -moz-transition:  background .2s ease-in-out;
  -o-transition:  background .2s ease-in-out;
  transition:  background .2s ease-in-out;
}
.socialfloat ul span {
  max-width: 0;
  -webkit-transition: max-width 1s;
  transition: max-width 1s;
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
  overflow: hidden;
	color:#fff;
	text-align: center;
}
.socialfloat span {
	display: inline-block;
  max-width: 18rem;
	margin-top: 10px;
	font-size: 12px; 
	text-transform: uppercase;
}
.socialfloat ul:hover span {
	display: inline-block;
  max-width: 18rem;
	margin-top: 12px;
	margin-left: 10px; 
	font-size: 13px; 
	text-transform: uppercase;
}
.socialfloat ul:hover{
background-color: rgba(37,211,102,0.8);
border-radius: 5px 0px 0px 5px;
-moz-border-radius: 5px 0px 0px 5px;
-webkit-border-radius: 5px 0px 0px 5px;
border: 0px solid #000000;
}
