@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css');

.games{
    display: flex;
    width: 90%;
    align-content: flex-start;
    justify-content: center;
    position: absolute;
    flex-wrap: wrap;
    left: 50%;
    transform: translate(-50%, 0%) !important;
}

.games a:not(.epci){
    scroll-margin-top: 2em;
    outline:transparent;
    display: flex;
    width: 250px;
    height: 250px;
    background: #292929;
    margin: 5px;
    border-radius:10px;
    justify-content: center;
    align-items: flex-end;
    box-sizing: border-box;
    padding:8px;
    color:#fff;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    transition: all .2s ease-in-out;
}

.games a:not(.epci) b{
    z-index:5;
}

.games a:not(.epci) img{
    position: absolute;
    top:0px;
    left:0px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index:2;
}
.games a:not(.epci):before{
    content: "";
    background: rgba(0,0,0,0.25);
    width:100%;
    height:100%;
    position: absolute;
    top:0px;
    left:0px;
    z-index:3;
    opacity:0;
}

.bar{
    background: #000;
    height: 0px;
    width:100%;
    transition: .4s;
    z-index:4;
    position: absolute;
    bottom:0px;
    left:0px;
}

.games a:not(.epci) .bar{
    height:40px;
}

.games a:not(.epci):hover{
    transform: scale(1.05);
}

.game_title{
    width: 100%;
    display: flex;
    justify-content: center;
    
}

.button{
    width:100px;
    margin-left:5px;
    cursor:pointer;
    height:30px;
    background: #292929;
    border:1px solid #353535;
    border-radius:5px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
    color:#fff;
    transition: .2s;
    padding-right:5px;
}

.button:hover,.button:focus{
    box-shadow: none;
    outline: none;
    border-color:#00bb00;
}

.games a:not(.epci) .badge{
    position: absolute;
    top:5px;
    right:5px;
    z-index:6;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
}
 
.badge2p{
    position: absolute;
    top:5px;
    left:5px;
    z-index:6;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.5);
}