
.home__main-grid {
    display: grid;
    justify-self: center;
    
    grid-template-columns: 4fr 1fr 3fr 4fr;
    grid-template-rows: 43% 28% 28%;
    grid-gap: 1em;

    padding-top: 118px;
    margin-left: 25px;
    margin-right: 25px;
    margin-bottom: 50px;
    direction: revert !important;
}

.home__main-grid.loading {
  display: none;
}

#boxes_first {
    grid-row: 1/1;
    grid-column: 1/4;
    height: 100%;
}

#boxes_first #boxes_container {
    display: grid;
    grid-template-columns: 4fr 1fr 3fr;
    gap: 1em;
    height: 100%;
}

#boxes_asterisk{
    display: grid;
    gap: 1em;
}

#boxes_asterisk img {
    width: 85%;
}

#boxes_vegan {  
    display: grid;
    grid-template-rows: 2fr 1fr;
    gap: 1em;
}

#box_go-vegan {
    width: auto;
}

#box_go-vegan img {
    height: 100%;
    width: 100%;
}

#boxes_vegan #boxes_tiny-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1em;
} 

#boxes_vegan #boxes_tiny-boxes img {
    width: 100%;
}

#box_heart {
    width: 110%;
}

#boxes_fourth-column {
    grid-row: 1/4;
    grid-column: 4/4;
}

#boxes_fourth-column #boxes_container {
    display: grid;
    grid-template-rows: 2fr 2fr 3fr;
    gap: 1em;
    height: 100%;
}

#boxes_container #first-row {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 1em;
}

#boxes_container #first-row #first-row_second-column {
    display: grid;
}

#box_asterisk2 img, #box_diamond img {
    width: 90%;
}

#boxes_container #second-row {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 1em;
}

#boxes_container #third-row {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1em;
}

#boxes_second-row {
    grid-row: 2/4;
    grid-column: 1/4;
}

#boxes_second-row #boxes_container {
    display: grid;
    grid-template-columns: 2fr 3fr 3fr;
    gap: 1em;
    height: 100%;
}

#boxes_second-row #boxes_container #first-column, #second-column, #third-column {
    display: grid;
    gap: 1em;
}

#boxes_second-row #boxes_container #first-column img {
    width: 90%;
}

#boxes_third-row_tablet, #home__container-mobile {
    display: none;
}

#box_dare-free a, #box_dare-care a, #box_dare-extra a {
    display: grid;
    grid-template-areas: "main";
}

.tile_inside_text {
    grid-area: main;
    z-index: 2;
    align-self: self-end;
    text-align: center;
    font-family: var(--font-noto-sans);
    margin: 0.5em;
}

#box_dare-free  {
    color: #9CEDFC;
}

#box_dare-care {
    color: #C6F159;
}

#box_dare-extra {
    color: #FFBBDF;
}

.tile_inside_text h2 {
    line-height: 85%;
    text-transform: uppercase;
    margin-bottom: -0.4em;
    font-weight: 1000;
    font-size: 3em;
}

.tile_inside_text h5 {
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 25px;
    font-size: 1.12em;
}

#box_dare-free img, #box_dare-care img, #box_dare-extra img {
    grid-area: main;
}

@media screen and (min-width:1441px) {
    .tile_inside_text {
        margin: 1em;
    }

    .tile_inside_text h2 {
        font-size: 4em;
    }
    
    .tile_inside_text h5{
        font-size: 1.5em;
    }

    .locale_cl .tile_inside_text h2,
    .locale_es .tile_inside_text h2,
    .locale_cz .tile_inside_text h2{
        font-size: 3em;
    }
    .locale_cl .tile_inside_text h5,
    .locale_es .tile_inside_text h5,
    .locale_cz .tile_inside_text h5{
        font-size: 1.2em;
    }
}

/* COUNTRY SPECIFIC */

.locale_sa * {
    direction: revert !important;
}

@media screen and (max-width:1440px) {
.locale_cl .tile_inside_text h2,
.locale_es .tile_inside_text h2,
.locale_cz .tile_inside_text h2{
    font-size: 2em;
}
.locale_cl .tile_inside_text h5,
.locale_es .tile_inside_text h5,
.locale_cz .tile_inside_text h5{
    font-size: 1em;
}
}

/* TABLET */

@media screen and (max-width:920px) {
    .home__main-grid {
        grid-template-columns: 4fr 1fr 3fr;
        grid-template-rows: 30% 35% 35%;
    }

    #boxes_second-row #boxes_container #first-column, #second-column, #third-column {
        
        gap: 0em; 
    }

    #boxes_fourth-column, #home__container-mobile {
        display: none;
    }

    #boxes_second-row {
        grid-row: 2/3;
    }

    #boxes_third-row_tablet{
        display: initial;
        grid-row: 3/3;
        grid-column: 1/4;
    }

    #boxes_third-row_tablet #boxes_container {
        display: grid;
        grid-template-columns: 1fr 2fr 2fr;
        gap: 1em;
        margin-top: 10px;
    }

    #boxes_third-row_tablet #box_product-heart {
        display: grid;
    }

    #boxes_third-row_tablet #box_product-heart img {
        height: calc(28vh - 30px);
        width: auto;
        justify-self: center;
    }

    /* COUNTRY SPECIFIC */

    .locale_cl .tile_inside_text h2,
    .locale_es .tile_inside_text h2{
        font-size: 2em;
    }
    .locale_cl .tile_inside_text h5,
    .locale_es .tile_inside_text h5{
        font-size: 1em;
    }

}

/* MOBILE */
@media screen and (max-width:415px) {
    .home__main-grid  {
        display: none;
    }

    #home__container-mobile {
        display: block;
        margin: 15px;
        margin-top: 115px;
    }

    #boxes_second-part-mobile {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr 1fr 1fr 2fr;
        grid-gap: 10px;
    }

    #boxes_second-part-mobile #box-world-m {
        grid-column: 1/1;
        grid-row: 1/2;
    }

    #boxes_second-part-mobile #box-asterisk-m {
        grid-column: 1/1;
        grid-row: 2/2;
    }

    #boxes_second-part-mobile #box-plastic-m {
        grid-column: 2/4;
        grid-row: 1/3;
    }

    #boxes_second-part-mobile #box-worry-m {
        grid-column: 4/4;
        grid-row: 1/4;
    }

    #boxes_second-part-mobile #box-product1-m {
        grid-column: 1/3;
        grid-row: 3/5;
    }

    #boxes_second-part-mobile #box-elogo-m {
        grid-column: 3/5;
        grid-row: 4/5;
    }
    
    #boxes_third-part-mobile {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(5, 1fr);
        grid-gap: 10px;
    }

    #boxes_third-part-mobile #box-bunny {
        grid-column: 1/1;
    }

    #boxes_third-part-mobile #box-vegan {
        grid-column: 1/1;
        grid-row: 3/6;
    }

    #boxes_third-part-mobile #box-dare-care {
        grid-column: 2/5;
        grid-row: 1/4;
        align-self: center;
    }

    #boxes_third-part-mobile #box-dare-care img {
        margin-top: 15px;
    }

    #boxes_third-part-mobile #box-go-vegan {
        grid-column: 2/5;
        grid-row: 4/6;
    }

    #boxes_fourth-part-mobile {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-gap: 10px;
    }

    #boxes_fourth-part-mobile #box-product {
        grid-column: 1/4;
        grid-row: 1/3;
    }

    #boxes_fourth-part-mobile #box-asterisk {
        grid-column: 4/4;
        grid-row: 1/2;
    }

    #boxes_fourth-part-mobile #box-diamond {
        grid-column: 4/4;
        grid-row: 2/2;
    }

    #boxes_fith-part-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 1fr;
        grid-gap: 10px;
    }

    #boxes_last-part-mobile {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-gap: 10px;
    }

    #boxes_last-part-mobile #box-dare-extra {
        grid-column: 1/4;
        grid-row: 1/4;
    }

    #boxes_last-part-mobile #box-product{
        grid-column: 4/4;
        grid-row: 2/4;
    }

    #box-dare-free-mobile a, #box-dare-care a, #boxes_last-part-mobile a {
        display: grid;
        grid-template-areas: "main";
    }
    
    .tile_inside_text {
        grid-area: main;
        z-index: 2;
        align-self: self-end;
        text-align: center;
        font-family: var(--font-noto-sans);
        margin: 0.5em;
    }
    
    #box-dare-free-mobile  {
        color: #9CEDFC;
    }
    
    #box-dare-care {
        color: #C6F159;
    }
    
    #boxes_last-part-mobile {
        color: #FFBBDF;
    }
    
    .tile_inside_text h2 {
        line-height: 85%;
        text-transform: uppercase;
        margin-bottom: -0.4em;
        font-weight: 1000;
        font-size: 3em;
    }
    
    .tile_inside_text h5 {
        font-weight: 400;
        margin-bottom: 10px;
        margin-top: 25px;
        font-size: 1.12em;
    }
    
    #box-dare-free-mobile img, #box-dare-care img, #boxes_last-part-mobile img {
        grid-area: main;
    }

    /* COUNTRY SPECIFIC */

    .locale_cz #home__container-mobile #box-dare-care h2, 
    .locale_cz #home__container-mobile #box-dare-extra h2,
    .locale_cl #home__container-mobile #box-dare-extra h2{
        font-size: 2.5em;
    }
    
    .locale_cl #home__container-mobile #box-dare-care h2{
        font-size: 2em;
    }
    .locale_cl #home__container-mobile #box-dare-care h5{
        font-size: 1em;
    }

}

/*------*/

.cursor-click-box {
    cursor: pointer;
}

.box-link{
    cursor: pointer;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

