main{
    padding: 0 5px!important;
}

.game-in-grid:hover{
    transform: scale(0.95);
    opacity: 0.5;
    cursor: pointer;
}

.grid-container {
    padding:5px;
    margin:0 auto;
    width:100%;
    display:flex;
    flex-wrap: wrap;
    align-items:center;
    justify-content:center;
    gap:5px;
}

.grid-container > div {
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    font-size: 30px;
}

.imaDiv{
    background-position: center center;
    background-size: cover;
}

svg rect{
    display: block!important;
    width: 197px!important;
}

.crash-nuevo-grid-container {
    padding:0 10px;
    padding-bottom:10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 10px; 
    width:100%;
}

.crash-nuevo-item {
    background-size: contain;
    border-radius: 15px;
    aspect-ratio: 9/7;
    max-width: 100%;
}

h3 {
    margin-top:20px;
    margin-bottom:10px;
    padding: 0 20px;
}

.slider {
    padding-top:8px;
    background-color: #040713;
}

.games-category {
    width: 100%;
    background: #040713;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.games-category h3 {
    color: #ebebd3;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;    
    display: flex;
    align-items: center;
}

.games-category .showall span {
    margin-left: 4px;
    color: #da4167;
}

.games-category .showall {
    text-decoration: none;
    color: #fff;
    text-transform: normal;
    font-weight: bold;
    font-size: 1.4rem;
}

@media (max-width: 400px){
    main {
        padding: 0 0px;
    }
}

@media (max-width: 768px) {  
    .crash-nuevo-grid-container {
        grid-template-columns: repeat(3, 1fr); 
    }
}

@media (max-width: 800px) { 
    .games-category h3 {
        font-size: 1rem;
    }

    .games-category .showall {
        font-size: 1rem;
    }
    .modal-content {
        height: 80px!important;
    }

    .modal-dialog{
        width: 100%!important;
        margin: 8%!important;
        margin-top: 50%!important;    
    }

    img{
        max-width: 100%;
    }

    #di_busqueda form{
        display:none!important;
    }
}

@media (max-width: 1300px) {  
    .crash-nuevo-item { 
        height:160px; 
    } 
}
@media (max-width: 1024px) {  
    .crash-nuevo-item { 
        height:120px; 
    } 
}