.gallery-box{position:absolute;top:0;left:0;width:99%;height:98%}.gallery-preview{display:flex;background-color:rgba(0,0,0,.4);color:#fff;z-index:1;opacity:0;transition:opacity .3s ease;align-items:flex-end}.container-gallery-image:hover .gallery-preview{opacity:1;cursor:pointer}