.container-new-home {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 64px;
}

/* .banner-section{
    padding: 0;
    margin-top: 6px;
}

.banner-section img {
    width: 100%;
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
} */


.banner-section{
    position: relative;         /* necesario para posicionar el overlay */
    padding: 0;
    margin-top: 6px;
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
    overflow: hidden;           /* recorta la imagen y el overlay a las esquinas */
  }
  
  /* imagen */
  .banner-section img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  /* overlay que cubre toda la imagen */
  .banner-overlay{
    position: absolute;
    inset: 0;                   /* top:0; right:0; bottom:0; left:0; */
    display: flex;
    justify-content: left;
    align-items: center;
    z-index: 2;
    color: transparent;
    padding-top: 250px;
    padding-left: 120px;
     /* para centrar el texto dentro del banner */
  }
  

.container-icon-nav {
    display: none;
}



.container-texts-banner {
   height: auto;
   margin:auto 0;
}

.container-texts-banner > p {
    color: white;
    font-size: 50px;
    font-weight: 400;
    margin: 0;
}

.container-texts-banner  p:first-child,
.container-texts-banner  p:nth-child(3) {
    font-weight: 700;
}

.container-texts-banner  p:nth-child(4) {
    font-size: 18px;
    font-weight: 300;
}

.bold-banner {
    font-weight: 700;
}

.container-img-banner {
    display: flex;
    width: 500px;
    margin-top: auto;
    margin-bottom: 0;
}

.container-img-banner img {
    width: 100%;
}

.parent {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas: "div1 div2 div3";
    margin-bottom: 40px;

}

.parent-bottom {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-template-areas:
        "divb1 divb2 divb3 divb4 divb5 divb6"
        "divb7 divb8 divb9 divb10 divb11 divb12"
        "divb13 divb14 divb15 divb16 divb17 divb18";
}

[class*="div"] {
    border-right: 1px solid #a0a0a0;
    padding: 0 20px 0 20px;
    cursor: pointer;
}

[class*="divb"] {
    border-right: 1px solid #a0a0a0;
    padding: 22px 20px 0 20px;
    cursor: pointer;
}


[class*="div"] p:first-of-type {
    font-size: 28px;
    margin: 0;
    color: var(--games-titles-color);
    font-weight: 600;
}


[class*="div"] p:nth-of-type(2) {
    font-size: 20px;
    margin: 0 0 18px 0;
    color: #0F233C;
    font-weight: 300;
}

[class*="divb"] p:first-of-type {
    font-size: 20px;
    margin: 0;
    color: var(--games-titles-color);
    font-weight: 600;
}

[class*="divb"] p:nth-of-type(2) {
    font-size: 16px;
    margin: 0 0 14px 0;
    color: #0F233C;
    font-weight: 300;
}

.parent h1,
.parent-bottom h3 {
    font-weight: 400;
    margin: 0;
}

.parent-bottom h3 {
    font-size: 24px;
    padding-top: 0;
    color: #0F233C;
}

.parent>span,
.parent-bottom>span {
    font-weight: 300;
}

[class*="div"] p:first-of-type span {
    font-weight: 300;
}

[class*="div"] h1 span {
    font-size: 32px;
}

.light-font {
    font-weight: 300;
}

/* .parent span {
    font-size: 32px;
} */

.parent h1 {
    font-size: 38px;
    color: #0F233C;
}

[class*="div"] p:nth-of-type(3) {
    font-size: 24px;
    margin: 0;
    color: #0F233C;
    font-weight: 300;
    padding-bottom: 22px;
}

[class*="divb"] p:nth-of-type(3) {
    font-size: 15px;
    margin: 0 0 16px 0;
    color: #0F233C;
    font-weight: 300;
}

[class*="divb"] p:nth-of-type(3) span {
    font-size: 14px;
}

.div1 {
    grid-area: div1;
}

.div2 {
    grid-area: div2;
}

.div3 {
    grid-area: div3;
    border-right: none;
}

.div4 {
    grid-area: div4;
    display: none;
}

.divb1 {
    grid-area: divb1;
}

.divb2 {
    grid-area: divb2;
}

.divb3 {
    grid-area: divb3;
}

.divb4 {
    grid-area: divb4;
}

.divb5 {
    grid-area: divb5;
}

.divb6 {
    grid-area: divb6;
    border-right: none;
}

.divb7 {
    grid-area: divb7;
    border-top: 1px solid #a0a0a0;
}

.divb8 {
    grid-area: divb8;
    border-top: 1px solid #a0a0a0;
}

.divb9 {
    grid-area: divb9;
    border-top: 1px solid #a0a0a0;
}

.divb10 {
    grid-area: divb10;
    border-top: 1px solid #a0a0a0;
}

.divb11 {
    grid-area: divb11;
    border-top: 1px solid #a0a0a0;
}

.divb12 {
    grid-area: divb12;
    border-right: none;
    border-top: 1px solid #a0a0a0;
}

.divb13 {
    grid-area: divb13;
    border-top: 1px solid #a0a0a0;
}

.divb14 {
    grid-area: divb14;
    border-top: 1px solid #a0a0a0;
}

.divb15 {
    grid-area: divb15;
    border-top: 1px solid #a0a0a0;
}

.divb16 {
    grid-area: divb16;
    border-top: 1px solid #a0a0a0;
}

.divb17 {
    grid-area: divb17;
    border-top: 1px solid #a0a0a0;
}


.divb18 {
    grid-area: divb18;
    border-top: 1px solid #a0a0a0;
    border-right: none;
    pointer-events: none;
}

.divb19{
    grid-area: divb19;
    display: none;
    pointer-events: none;
}

.divb20{
    grid-area: divb20;
    border-top: 1px solid #a0a0a0;
    border-right: none;
    display: none;
    pointer-events: none;
}

.container-img-game-large {
    width: 195px;
    margin: 0 auto 26px auto;
}

.container-img-game-small {
    width: 120px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}


.container-img-game-small img,
.container-img-game-large img {
    width: 100%;
}

.container-img-combo {
    width: 160px;
    margin: 0 auto 14px auto;
}

.container-img-combo img {
    width: 100%;
}

.container-promotion {
    display: flex;
    gap: 24px;
    align-items: center;
}

.container-promotion span {
    font-size: 16px;
}

.offert {
    position: relative;
    display: inline-block;
    color: #a00000;
    font-weight: bold;
}

.text-final-price {
    font-weight: 700;
    text-transform: none;
}

.offert::before,
.offert::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    background-color: black;
}

.offert::before {
    transform: rotate(15deg);
}

.offert::after {
    transform: rotate(-15deg);
}

.container-title-combo {
    height: 44px;
}

@media (min-width: 1800px) {
    .container-new-home {
        width: 98.5%;
    }

    .divb19 {
        display: none;
       
    }

    .divb6 {
        border-right: 1px solid #a0a0a0;
    }

    .parent {
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas: "div1 div2 div3 div4";
    }

    .parent-bottom {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas:
            "divb2 divb3 divb4 divb5 divb6 divb7 divb8 divb9"
            "divb10 divb11 divb12 divb13 divb14 divb15 divb16 divb17";
    }

    .divb1 {
        display: none;
    }

    [class*="divb"] {
        padding: 20px 0 0 0;
    }

    .div3,
    .divb12 {
        border-right: 1px solid #a0a0a0;
    }

    .div4 {
        display: block;
        border-right: none;
    }

    .divb7,
    .divb8,
    .divb9 {
        border-top: none;
    }

    .divb9,
    .divb17 {
        border-right: none;
    }

    [class*="divb"] p:first-of-type,
    [class*="divb"] p:nth-of-type(2),
    [class*="divb"] p:nth-of-type(3),
    .container-promotion,
    .parent-bottom h3 {
        padding-left: 20px;
    }

    [class*="div"] p:nth-of-type(3) {
        padding-bottom: 14px;
    }

    .desktop-part {
        margin-bottom: 44px;
    }

    .banner-overlay{
        padding-top: 320px;
        padding-left: 200px;
    }
}

@media (max-width: 1190px) {


    .container-texts-banner > p {
        font-size: 32px;
    }
    
    .parent {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "div1 div2"
    }

    .div3 {
        display: none;
    }

    .div2 {
        border-right: none;
    }

    .divb4,
    .divb5,
    .divb6 {
        border-top: 1px solid #a0a0a0;
    }

    .divb19,
    .divb20 {
        display: block;
    }

    .divb6,
    .divb12,
    .divb18,
    .divb19 
    {
        border-right: 1px solid #a0a0a0;
    }

    .div3,
    .divb3,
    .divb7,
    .divb11,
    .divb15{
        border-right: none;
    }

    .container-new-home {
        width: 99%;
    }

    [class*="div"] {
        padding: 0 18px 0 18px;
    }

    [class*="divb"] {
        padding: 18px 0 0 0;
    }

    [class*="divb"] p:first-of-type,
    [class*="divb"] p:nth-of-type(2),
    [class*="divb"] p:nth-of-type(3),
    .container-promotion,
    .parent-bottom h3 {
        padding-left: 18px;
    }

    [class*="divb"] p:nth-of-type(3) {
        padding-bottom: 12px;
    }

    .parent-bottom {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(5, 1fr);
        grid-template-areas:
            "divb19 divb1 divb2 divb3"
            "divb4 divb5 divb6 divb7"
            "divb8 divb9 divb10 divb11"
            "divb12 divb13 divb14 divb15"
            "divb16 divb17 divb18  divb20";
    }

    [class*="div"] p:first-of-type {
        font-size: 26px;
    }

    [class*="div"] p:nth-of-type(2) {
        font-size: 16px;
    }

     [class*="divb"] p:first-of-type {
        font-size: 18px;
    }

    .parent h1 {
        font-size: 35px;
    }

    [class*="div"] h1 span {
        font-size: 30px;
    }

    [class*="div"] p:nth-of-type(3) {
        font-size: 22px;
    }

    [class*="divb"] p:nth-of-type(3) {
        font-size: 15px;
    }

    .container-img-game-large {
        width: 190px;
    }

    .container-img-game-small {
        width: 116px;
    }

     .container-img-combo {
        width: 150px;
    }


    .parent-bottom h3 {
        font-size: 23px;
    }

    .banner-section {
        height: 280px;
    }

    .banner-section img {
        height: 100%;
        object-fit: cover;
    }

    .banner-overlay {
        padding-top: 200px;
        padding-left: 42px;
    }
}


@media (max-width: 759px) {

    .container-new-home{
        margin-top: 6px;
    }

    .banner-section,
    .container-new-right-text{
        display: none;
    }

    .nav-games {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container-icon-nav {
        display: block;
        width: 17px;
        padding-left: 10.5px;
        padding-right: 10.5px;
    }

    .container-icon-nav img {
        width: 100%;
        cursor: pointer;
        filter: brightness(0) saturate(100%) invert(49%) sepia(11%) saturate(10%) hue-rotate(110deg) brightness(100%) contrast(87%);
    }

    .parent {
        grid-template-columns: 1fr;
        grid-template-areas:
            "div1"
            "div2";
        margin-bottom: 28px;
    }

    .parent-bottom {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-template-areas:
            "divb19 divb1"
            "divb2 divb3"
            "divb4 divb5"
            "divb6 divb7"
            "divb8 divb9"
            "divb10 divb11"
            "divb12 divb13"
            "divb14 divb15"
            "divb16 divb17";

    }

    [class*="div"] { 
        padding: 26px 44px  0 44px;
        border-right: none;
        border-bottom: 1px solid #a0a0a0;
    }

    [class*="divb"] {
        padding: 0;
        /* padding: 12px 2px 0 2px; */
        border-top: none;
        border-right: 1px solid #a0a0a0;
    }

    .container-img-game-large {
       width: 140px
    }


    .container-img-game-small {
        width: 106px;
    }

    [class*="divb"] p:first-of-type,
    [class*="divb"] p:nth-of-type(2),
    [class*="divb"] p:nth-of-type(3),
    .container-promotion,
    .parent-bottom h3 {
        padding-left: 12px;
    }

    [class*="div"] p:first-of-type {
        font-size: 23px;
    }
    [class*="divb"] p:first-of-type {
        font-size: 17px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .parent-bottom h3 {
        font-size: 17px;
    }

    [class*="div"] h1 span {
        font-size: 28px;
    }

    [class*="div"] p:nth-of-type(3) {
        font-size: 21px;
    }

    .divb1,
    .divb3,
    .divb5,
    .divb7,
    .divb9,
    .divb11,
    .divb13,
    .divb15,
    .divb17 {
        border-right: none;
    }

    .divb16,
    .divb17 {
        border-bottom: none;
    }

    [class*="divb"] p:nth-of-type(3) {
        font-size: 13.6px;
    }

    [class*="divb"] p:nth-of-type(3) span {
        font-size: 13px;
    }

    .container-promotion span {
        font-size: 15px;
    }

    .parent h1 {
        font-size: 32px;
    }

    .divb2,
    .divb3,
    .divb4, 
    .divb5,
    .divb6,
    .divb7,
    .divb8, 
    .divb9,
    .divb10,
    .divb11,
    .divb12, 
    .divb13,
    .divb14,
    .divb15,
    .divb16, 
    .divb17,
    .divb18,
    .divb20 {
        display: none;
    }

    [class*="divb"] {
        border-bottom: none;
        min-width: 145px;
        transition: opacity 0.5s ease-in-out;
    }

    .desktop-part {
        margin-bottom: 26px;
    }

    .container-img-combo {
        width: 130px;
    }

    .container-promotion {
        gap: 14px;
    }
    .container-promotion span {
        font-size: 14px;
    }

}

@media (min-width: 1191px) and (max-width: 1400px) {
    .container-new-home {
        width: 99.5%;
    }

    [class*="divb"] {
        padding: 22px 16px 0 16px;
    }

    [class*="divb"] p:first-of-type {
        white-space: nowrap;
    }

    .parent-bottom h3 {
        font-size: 22px;
    }

}


@media (min-width: 760px) and (max-width: 899px) {

    .banner-section {
        height: 260px;
    }

}

@media (max-width: 371px) { 
    [class*="divb"] p:first-of-type {
        width: 128px;
    }
}
