@charset "utf-8";
/* CSS Document */
*{
	margin: 0;
	padding: 0;
}

.plantilla{
    width: 95%;
    max-width: 1500px;
    margin: auto;
    gap: 5px;
    grid-template-columns: 1fr;
    grid-template-rows: 29em 7em 7em 42em auto 15em 15em;
    grid-template-areas: 
		"cab        "
        "post_head  "
        "pre_central"
        "rider        "
        "galeria    "
        "pre_ft     "
        "pie_pag    "; 
}

.cab{
    grid-template-columns: 100%;
    grid-template-rows: 3em 20em 5em;
    grid-template-areas: "cintillo"                         
                         "img_cab"
                         "mn_prin";
} 

.post_head{
    grid-template-columns: 100% ;
    grid-template-rows: 1em ;
}

.rider{
    display: grid;
    grid-template-columns: 41em 13em 15em;
    grid-template-rows: 20em 20em;
    column-gap: 1.5em;
    grid-template-areas: 
            "id_rider   elementos   elementos "
            "id_rider   ideal       descri_paq";
    }
    
    .pre_ft{
        display: grid;
        gap: 5px;
        grid-template-columns:1fr 1fr 1fr 1fr;
        grid-template-rows: 2em auto;
        grid-template-areas: "tit_preft  tit_preft tit_preft tit_preft"
                             "col-pft-1 col-pft-2 col-pft-3 col-pft-4";
    }

.pie_pag {
    display:grid;
    grid-template-columns: 30% 25% 20% 20%;
    grid-template-rows: 5em, 5em;
    column-gap: 10px;
    grid-template-areas: 
            "col-ft-1 col-ft-2 col-ft-3 mn_inf";
}

@media only screen and (max-width: 500px) {
    
.plantilla{
    font-size: 0.8em;
    width: 100%;
    max-width: 500px;
    margin: auto;
    display: grid;
    gap: 1px;
    grid-template-columns: 100%;
    grid-template-rows: 25em 2em 15em auto auto 1fr auto;
    grid-template-areas: 
		"cab" 
        "post_head"
        "pre_central"
        "paq"
        "galeria"
        "pre_ft"
        "pie_pag"; 
}

 .cab{
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 3em 13em 5em;
    grid-template-areas:"cintillo"
                        "img_cab"
                        "mn_prin";
}
    .img_cab{
        width: 100%;
        max-height: 150px;
    } 

    .paq{
        background-color: floralwhite;
        width: 100%;
        height: 1450px;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 550px 250px 250px 400px; 
        grid-template-areas: 
                       "id_paq"
                       "ideal"
                       "descri_paq";
    }

        .id_paq{
            width: 100%;
            height: 680px;
            background-color: rgba(0,0,0,0.1);
        }

        .ideal{
            width: 90%;
            height: 200px;
            background-color: white;
        }

        .descri_paq{
            width: 90%;
            min-height: 200px;
            max-height: 400px;
            background-color: white;
        }
    

.tarjetas{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50em 50em;
}

.widgets{
    display:grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
    grid-template-areas: "widget1"
                         "widget2"
                         "widget3";
}

.pie_pag {
    display:grid;
    grid-template-columns: 100%;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-areas: "col-ft1"
                        "col-ft2"
                        "col-ft3"
                        "mn_inf";
}

}