.small-div {            
    
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}
  
.left {
    transform: translateX(-50%);
}

.right {
    transform: translateX(50%);
}
            
.bottom {
    transform: translateY(50%);
}


.containertarjet {
    position: relative;
    width:90%;
    height:auto;
    max-width: 90vh;
    min-width: 30vw;
    overflow: hidden;
    background-color: lightgray; /* Solo para referencia */
    border-radius:10px;
    margin-bottom:3vh;
}

.content {
    width: 100%;
    height:auto;
    min-height: 100%;
    top:0px;
    left:0px;
    z-index: 1;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-align: center;  
}

.hidden-div {
    position:absolute;
    width: 100%;
    height:auto;
    min-height: 100%;
    top:0px;
    left:0px;
   // margin:0px;
  //  background-color: transparent;
    background-color: black;
    color: white;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-align: center;
}

.containertarjet:hover .hidden-div {
    opacity: 1;
    visibility: visible;
    transition: all 0.8s ease;
}


.containertarjet:hover .hidden-div {
    opacity: 1;
    visibility: visible;
}


.overlay-1, .overlay-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: orange;
    transition: all 0.5s ease;
}

.overlay-1 {
  // top: -100%;
   // left: 100%;
    top:  0%;
    left: 0%;
    transform: translate(-100%, 100%);
    z-index: 2;
}

.overlay-2 {
   // bottom: -100%;
   // right: 100%;
    top:  0%;
    left: 0%;
    transform: translate(100%, -100%);
    z-index: 2;
}

.containertarjet:hover .overlay-1 {
    transform: translate(0, 0);
}

.containertarjet:hover .overlay-2 {
    transform: translate(0, 0);
}

.containertarjet:hover .content {
    opacity: 0;
    visibility: hidden;
}



