h1, h2 {text-align: center;}

.oferta_index{
    width: 100%;
}

.card-grid-oferta{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  
}
.card-oferta img{
  padding-top: 20px;
  padding-bottom: 57px;
}
.card-oferta{
    background-color: rgb(255, 255, 255);
    position: relative;
    color: #444;
    margin: 20px;
    padding: 20px 35px;
    max-width: 300px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.87em;
    line-height: 1.6;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 5px;
    box-shadow: 1px 1px 6px rgba(0,0,0,.2);
    box-sizing: border-box;
    overflow: hidden;
        > button.large {
        box-shadow: none;
        width: 100%;    
  }

 
  &.img > img {
    position: absolute;
    color: #cccccc;
    background-color: #cccccc;
    min-width: 300px;
    height: 250px;
    bottom: 0; left: 0;
    margin-left: 50%;
    transform: translateX(-50%);
    -webkit-clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%);
    filter: opacity(.9);
  }

}
 .card-oferta:hover{
        box-shadow: 1px 2px 1px rgb(165, 165, 165);
        transform: translatey(-1%);
        /* clip-path: polygon(0 1%, 100% 0, 100% 100%, 0 100%); */


  }
.uno {
    border-color: #29af9a;
    color: #29af9a;
    
}
.uno:hover{
    background-color: #29af9a;
    color: white;
    text-decoration: none;
}
.uno:hover a, .dos:hover a, .tres:hover a, .cuatro:hover a{
    color: white;
    text-decoration: none;
}
.dos {
    border-color: #ff9901;
    color:#ff9901 ;    
  }
  .dos:hover{
    background-color: #ff9901;
    color: white;
  }
  .tres {
  border-color: #01afff;
  color: #01afff;
    
  }
  .tres:hover {
  background-color: #01afff;
  color: white;
    
  }
  .cuatro{
    border-color: #ff01b7;
    color: #ff01b7;
  }
  .cuatro:hover{
    background-color: #ff01b7;
    color: white;
  }
.uno a 
{
  color: #29af9a;
}
