.boton-enlace-card{
    overflow: hidden;
    position: relative;
    width: 220px;
    float: left;
    margin-right: 1rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
        
.boton-enlace-card__image{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: relative;
    transition: transform 1.5s ease;
    z-index: -1;

}

.boton-enlace-card__texto{
    position: absolute;
    bottom: 0;
    padding: 0.5rem;
    color: #dbd3d3;
    width: 100%;
    background: rgba(0,0,0,0.4);
    transition: background-color 0.3s ease, padding 0.3s ease-in;
}

.boton-enlace-card__titulo{
    text-align: center;
    text-transform: uppercase;
    transition: color 0.5s ease;
}

.boton-enlace-card:hover .boton-enlace-card__image{
    transform: scale(1.1);
}

.boton-enlace-card:hover .boton-enlace-card__texto{
    background: rgba(0,0,0,0.6);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.boton-enlace-card:hover .boton-enlace-card__titulo{
    color: #ffffff;
}

/* card2*/

.boton-enlace{
    display: block;      
}

.caja-btn
{
    text-decoration: none;
    display: block;
    text-align: center;
    background-color: #9A9578;
    padding: 0.5rem 1rem;
    width: 215px;
}

.caja-btn:hover
{
    text-decoration: none;
}

.caja-btn:hover.caja-btn-i:before
{
    /*background: red;*/
    transform: scale(1.1); 
}

.caja-btn-i{
    background: #322618;
    width: 60px;
    height: 60px;
    /*text-align: center;*/
    margin: auto;
    line-height: 60px;
    border-radius: 50%;
    font-size: 30px;
    color: #f3f0e3;
    position: relative;
    margin-bottom: 1rem;
}

.caja-btn-i:before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f3f0e3;
    border-radius: 50%;
    transition: .5s;
    transform: scale(0.9);
    z-index: -1;
}

.caja-btn p
{
    text-transform: uppercase;
    color: #322618;
    font-weight: 600;
    margin: 0 0 15px 0;
    transition: .5s;
}


/* Definitivo */

.cajas-botones
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.caja-boton{
    margin-bottom: 1rem;
    width: 85%;
}

.boton-enlace, .boton-enlace:hover{
    text-decoration: none;
}

.boton
{
    /*width: 250px;*/
    margin: 0;
    text-align: center;
    padding: .4rem 0;
    background: #9A9578;
    border-radius: 5px;
}

.boton-icono
{
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    background: #322618;
    border-radius: 50%;
    font-size: 30px;
    color: #9A9578;
    transition: .5s;  
    margin: 1rem auto;
}

.boton-icono:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f3f0e3;
    transition: .5s;
    transform: scale(.5);
    z-index: -1;
}

.boton:hover .boton-icono:before{
    transform: scale(1.1);
    box-shadow: 0 0 15px #f3f0e3;

}        

.boton:hover .boton-icono{
    color: #f3f0e3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    text-shadow: 0 0 2px #ffe46d;
}

.boton h5{
    transition: .5s;
    color: #322618;
}

.boton:hover h5{
    color: #322618;
    text-shadow: 0 0 5px rgba(0,0,0,.5);
}


@media (max-width: 576px){

    .boton-enlace-card{
        width: 85%;
        margin-bottom: 1rem;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .boton-enlace-card:hover .boton-enlace-card__texto{
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .titulo-card
    {
        text-align: center;
    }    
}

@media (min-width:576px){
    .cajas-botones
    {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .caja-boton{
        width: 95%;
    }
}

@media (min-width:768px){
    .cajas-botones
    {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .caja-boton{
        width: 450px;
    }
}

@media (min-width:992px){
    .cajas-botones
    {
        justify-content: space-around;
        flex-wrap: wrap;
    }
    
    .caja-boton{
        width: 350px
    }
}

@media (min-width:1200px){
    .cajas-botones
    {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .caja-boton{
        width: 250px
    }
}

