

/*-------------------------------------------------texto-------------------------------------------------*/

h5
{
  margin:0px;
  font-size:1.4em;
  font-weight:700;
}

p
{
  font-size:12px;
}


/*-------------------------------------------------CAJA DE TEXTO-------------------------------------------------*/

.property-card
{
  height:28em;
  width:22em;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  -ms-flex-direction:column;
  flex-direction:column;
  position:relative;
  -webkit-transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  border-radius:16px;
  overflow:hidden;
  -webkit-box-shadow:  15px 15px 27px #8282f9, -15px -15px 27px #eac06b;
  box-shadow:  15px 15px 27px #8177d9, -15px -15px 27px #eac99a;
}

.property-description
{
  background-color: #ffffff;
  height:16em;
  width:22em;
  position:absolute;
  bottom:0em;
  -webkit-transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  padding: 1.5em 1em;
  text-align:center;
}

/*-------------------------------------------------CAJA DE IMAGEN-------------------------------------------------*/

.property-image
{
  height:12em;
  width: 100%;
  position:Absolute;
  top:0px;
  -webkit-transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  overflow: hidden;
  background-size:cover;
  background-repeat:no-repeat;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;     

}


/*-------------------------------------------------BOTON-------------------------------------------------*/


.property-button
{
  width:25em;
  height:3em;
  background-color:rgb(229, 128, 4);
  position:absolute;
  bottom:1em;
  left:5em;
  padding: 5px 15px;
  -webkit-transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition:all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/*-------------------------------------------------ANIMACION DEL CURSOR-------------------------------------------------*/

.property-card:hover .property-description
{
  height:0em;
  padding:0px 1em;
}
.property-card:hover .property-image
{
  height:28em;
}

.property-card:hover .property-button
{
  background-color:rgb(255, 255, 255);
}

.property-card:hover .property-button:hover
{
  background-color:blue;
 cursor:pointer;

}





