@import url(variaveis.css);

.card-empresa {
    display: flex;
    justify-content: center;
    border-radius: 5px;

    position: relative;
    width: 100%;
    height: 250px;
    /* margin: 5rem auto; */
    background-color: #fff;
    color:#fff;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  }
  
  .caption-empresa {
    position: absolute;
    top: auto;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--rgb-secondary), .9);
    padding: 15px;

    -webkit-transform: translateY(80%);
            transform: translateY(80%);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
  
  .caption-empresa-title {
    margin-top: 0px;
    margin-bottom: 10px;
    padding: 0px;
    color: #fff;
  }
  
  .caption-empresa-content {
    margin: 0;
  }
  
  .effect-slide-up:hover .caption-empresa {
    bottom: 0;
    padding: 20px;
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
  