﻿.container-amostra
{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
    border-radius: 10px; 
    border: 1px solid #F1F1F1; 
    
    width: 100%; 
    height: 300px; 
    
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: 300px; 
}        

.container-amostra {
    position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease;
}

.container-amostra:hover .overlay {
  display: block;
  background: rgba(0, 0, 0, .3);
}

.container-amostra .title {
  position: absolute;
  width: 100%;
  left: 0;
  top: 120px;
  font-weight: 700;
  font-size: 30px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  z-index: 1;
  transition: top .5s ease;
}

.container-amostra:hover .title {
  top: 90px;
}

.btn-excluir-amostra {
  position: absolute;
  width: 100%;
  left:0;
  top: 180px;
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease;
  cursor: pointer;

  padding: 12px 48px;
  text-align: center;
  color: white;
  border: solid 0px white;
  z-index: 1;
}

.container-amostra:hover .btn-excluir-amostra {
  opacity: 1;
}