#home-nav .home-card__background {
position: absolute;
top: -30px;
right: 0;
bottom: 0;
left: 0;
background: #242a31;
border-radius: 5px;
}
#home-nav .home-card__background img{
background-position: center center;
}
#home-nav .home-card__background:after {
position: absolute;
pointer-events: none;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: block;
content: "";
}
#home_nav .home-card_background img:hover {
width: 100%;
height: 100%;
}
#home-nav .home-card__foreground {
pointer-events: none;
height: 100%;
width: 100%;
display: flex;
align-items: center;
padding: 0 15px;
color: var( --color-surface-2 );
font-weight: 500;
text-align: center;
}