/* Game collection item */
.collection-section {
    background: linear-gradient(52deg, #400002 -20%, #060a3c);
}

.game-section {
    background-image: none;
    background: rgba(35 42 92, .3);
}

@media (max-width: 576px) {
    .game-section {
        background-image: none !important;
        background: rgba(35 42 92, .3);
    }
}

.game__item {
    transition: .3s all linear;
}

.game__inner {
    padding: 30px;
    background: #232a5c;
    border-radius: 6px;
    display: flex;
    justify-content: center;
}

.game__inner:hover .game__overlay {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.game__thumb {
    margin-bottom: 30px;
}

.game__content h4 {
    margin-bottom: 15px;
}

.game__overlay {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: all .45s ease;
    display: grid;
    place-content: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background-color: rgb(0 0 0 / 80%);
}

.game__overlay .default-button {
    line-height: 50px;
}

.game--style2 .game__item {
    transition: .3s all linear;
}

.game--style2 .game__inner {
    display: flex;
    align-items: center;
}

@media (min-width: 576px) {
    .game--style2 .game__thumb {
        margin-bottom: 0;
        width: 150px;
    }
    .game--style2 .game__content {
        width: calc(100% - 150px);
        text-align: left;
        padding-left: 30px;
    }
}

.game--style2 .game__content h4 {
    margin-bottom: 15px;
    text-shadow: rgba(255, 0, 82, 0.9) 2px 2px 2px;
}

.game--style2 .game__content p {
    margin-bottom: 0;
}

.game__filter {
    display: flex;
    justify-content: center;
    margin: -5px;
    margin-bottom: 30px;
}

.game__filter li {
    border-radius: 4px;
    padding: 5px 20px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    margin: 5px;
    cursor: pointer;
    position: relative;
}

@media (min-width: 768px) {
    .game__filter {
        margin-bottom: 60px;
    }
}

.game--style3 {
    padding: 60px 0;
    background-size: cover;
}

.game__thumb {
    animation: lab_zoominout 15s linear infinite;
}

@media (min-width: 1200px) {
    .game__thumb img {
        max-width: none;
        transform: translateX(-150px);
    }
}

.game--style3 .game__content p {
    margin-bottom: 30px;
}

/* Grid specific styles */

.grid .game__inner {
    padding: 30px;
    background: 35 42 92;
    border-radius: 6px;
}

.grid .game__inner:hover .game__overlay {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0%) scale(1);
}

.grid .game__thumb {
    margin-bottom: 30px;
}

.grid .game__overlay {
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 30px;
    bottom: 0;
    top: auto;
}

.grid .game__overlay-left {
    text-align: left;
}

.grid .game__overlay-left p {
    margin-bottom: 0;
}

.grid .game__filter {
    display: flex;
    justify-content: center;
    margin: -5px;
    margin-bottom: 30px;
}

.grid .game__filter li {
    border-radius: 4px;
    padding: 5px 20px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    margin: 5px;
    cursor: pointer;
    position: relative;
}

@media (min-width: 768px) {
    .grid .game__filter {
        margin-bottom: 60px;
    }
}
