@charset "utf-8";
/* CSS Document */

*{
	margin: 0;
	padding: 0;
}

body {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	background-color: #FFFFFF;
	font-size: 1em;
}


.plantilla{
    width: 95%;
    height: auto;
    max-width: 1500px;
    margin: auto;
    display: grid;
    grid-gap:5px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 300px 500px 750px 500px 1fr auto;
    grid-template-areas: "cabecera cabecera  cabecera"
                        "post_head post_head post_head"
                        "central   central   central"
                        "central   central   central"
                        "pre_foot  pre_foot  pre_foot"
                        "pie_pag   pie_pag   pie_pag"; 
}

.cabecera{
    display: grid;
    grid-template-columns: 50% 20% auto;
    grid-template-rows: 200px 50px;
    grid-template-areas: "id_site  id_site  logo"
                         "menu_prin menu_prin menu_prin";
} 


.central{
    display: grid;
    grid-template-columns: 20%, 80%;
    grid-template-areas: "col_izq principal";
}

.principal{
    display:grid;
    grid-template-columns: 33%, 33%, 33%;
    grid-template-rows: repeat(5, 800px);
    grid-template-areas: "cel1 cel2 cel2"
                         "cel3 cel4 cel4"
                         "cel5 cel5 cel6";
}

.pie_pag {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 100%;
    grid-template-areas: "red_mne redes_soc menu_inf";
}






header {
    grid-area: cabecera;
	width:100%;
    height:100%;
    margin:auto;
    padding-bottom: 10px;
    display: grid;
    flex-direction: row;
    flex-wrap: wrap;
	z-index:3000;
}

#id_site {
    grid-area: id_site; 
    width:100%; 
    height:100%;
    z-index:1;
}
#logo{
    grid-area: logo;
    width: 80%;
    height: auto;
}

.menu_prin {
    grid-area: menu_prin;
    width:100%;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    height:auto;
    padding-left: 5px;
    padding-top: 5px;
    z-index: 2000;
}

.menu_prin ul {
        display:flex;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .menu_prin a {
        display: block;
        padding: 1em;
        background-color:#ffffff;
        text-decoration: none;
        color: #fff;
    }
    .menu_prin a:hover {
        background-color: floralwhite;
        transform: scale(1.2, 1.2);
        border-bottom: 3px groove #660000;
    }
.menu_prin ul li ul {
    display: none;
}
.menu_prin ul li a:hover + ul, .menu_prin ul li ul:hover {
    display: block;
    border-bottom: 5px groove #660000;
}

#post_head{
    grid-area: post_head;
    width: 90%;
    height: auto;
    display: grid;
    flex-direction: column;
    flex-wrap: nowrap;
    text-align: center;
    align-content: center;
    justify-content: center;
    height: auto;
    margin: 1rem 1rem;
    border-bottom: #000 5px solid;
}

#central{
    grid-area: central;
    width: 100%;
    height: auto;
    margin: auto;
    padding-top: 10px;
    column-gap: 2em;
    display: grid;
    flex-wrap: wrap;
    border-bottom: medium groove #000000;
	z-index:4000;
}
.central .p{
    color: red;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 5em;
}
#col_izq{
    grid-area: col_izq;
    width: 70%;
    height: auto;
    margin-left: 1rem;
    font-size: 1em;
    font-style: italic;
    flex-direction: row;
    padding-left: 5px;
    padding-top: 15px;
    padding-bottom: 10px;
	z-index:5000;   
}
#principal{
    grid-area: principal;
    width: 100%;
    height: 100%;
    padding-top: 15px;
    padding-bottom: 30px;
    display: grid;
    flex-wrap: wrap;
	z-index:5000;  
}
.principal{
    grid-column: 2 /span 2;
    padding-top: 15px;
    padding-bottom: 30px;
}

        #cel1{
            width: 90%;
            height: 100%;
        }

        #cel2{
            width: 100%;
            height: 100%;
            grid-column: 2 /span 2;
            padding: 5px 10px;
            margin-bottom: 1rem;
        }
  
        #cel3{
            width: 100%;
            height: 100%;
            padding: 10px;
            grid-column: 1 /span 2;
            background-color: blue;
        }

        #cel4{
            width: 100%;
            height: 100%;
            
            background-color: pink;
        }

        #cel5{
            padding: 5px 10px;
            width: 100%;
            height: 100%;
            grid-column: 2 /span 2;
            background-color: blue;
        }

        #cel6{
            width: 100%;
            background-color: pink;
        }



  .inf{	
    width:100%;
    height: 1vh;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: green;
	z-index:4002;
  }
        .cel5{
            flex-direction: column;
            width: 100%;
            background-color: green;
        }

        .cel6{
            flex-direction: column;
            width: 100%;
            background-color: pink;
        }

#derecha{
    width: 65%;
    height: auto;
    font-size: 1em;
    font-style: italic;
    flex-direction: row;
    padding-left: 12px;
    padding-top: 15px;
    padding-bottom: 10px;
	z-index:5000;  
}
  .dersup {
	width:95%;
	height:auto;
    padding-bottom: 10px;
	z-index:5001;
  }
  .dermed {
	width:95%;
	height:auto;
    margin-top: 15px;
    padding-bottom: 10px;
	z-index:5002;
  }
  .derinf {
	width:95%;
    margin-top: 10px;
    padding-bottom: 10px;
	height:auto;
	z-index:5003;
  }

#pre_foot{
    padding-top: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    grid-area: pre_foot;
    background-color: lightgray;
	z-index:6000;
}

footer {
    bottom: 5px;
	width: 100%;
    height: auto;
    padding: 5px;
	font-size: 0.8em;
    color: #fff;
    border-top: 5px groove #ffbb00;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background-color: #000;
    grid-area: pie_pag;
	z-index: 6000;
}

.menu_inf{
    display: block;
    flex-direction: column;
    flex-wrap: wrap;
    color: #ffbb00;
    background-color: darkred;
}

.menu_inf ul {
		display:inline-flex;
		padding: 0;
		margin: 0;
        color: #ffbb00;
		list-style: none;
	}

.menu_inf a{
    width: auto;
    padding: 5px 10px 2px 10px;
    text-decoration: none;
    border-top: 1px solid #bb0000;
    border-bottom: 1px solid #bb0000;
    color: #ffbb00;
    display: block;
    flex-direction: column;
    flex-wrap: wrap;
}

.menu_inf a:hover{
    font-size: 1.1em;
    margin: auto;
    color: #fff;
    background-color: #660000;
}

.menu_inf a:visited {
    font-size: 1em;
	color: #ffbb00;
	background-color: #fff;
}


breakpoint{
    max-width: 100%;
    display: inline-block;
}
@media (min-width: 420px) {
    breakpoint {
        max-width: 48%;
    }
}
@media (min-width: 760px) {
    breakpoint {
        max-width: 44%;
    }
}

.Titulos {
	font-size: 1.1em;
	font-style: normal;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: darkgoldenrod;
	font-weight: bold;
    background-color: white;
    text-align: center;
}
.Subtitulos {
	font-size: 1em;
	font-style: normal;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: darkred;
	font-weight: bold;
}

.Blancasgord{
    font-size: 1.2em;
	color: #fff;
    font-weight: 600;
}
.Blancasmed{
    font-size: 0.9em;
	color: #fff;
	font-style:normal;
    font-weight: 400;
}

.Negrasgruesas {
    font-size: 1.2em
	color: #000;
	font-weight: bold;
}

.Negraspks {
	font-size: 0.8em;
	font-style: normal;
	color: #000;
	font-weight: bold;
	letter-spacing: normal;
	text-align: justify;
	word-spacing: normal;
}

.Peques{
	font-size: 0.8em;
	font-style: normal;
	color: #fff;
	font-weight: normal;
	letter-spacing: normal;
	text-align: justify;
	word-spacing: normal;
}


.zoom{

        /* Aumentamos la anchura y altura durante 2 segundos */

        transition: width 2s, height 2s, transform 1s;

        -moz-transition: width 2s, height 2s, -moz-transform 1s;

        -webkit-transition: width 2s, height 2s, -webkit-transform 1s;

        -o-transition: width 2s, height 2s,-o-transform 1s;

}

.zoom:hover{

        /* tranformamos el elemento al pasar el mouse por encima al doble de

           su tamaño con scale(2). */

        transform : scale(2);

        -moz-transform : scale(2);      /* Firefox */

        -webkit-transform : scale(2);   /* Chrome - Safari */

        -o-transform : scale(2);        /* Opera */
}

.Imgcol{
    width: 90%;
    margin: 0 auto;
    color:white;
    text-align: center;
    border-top: 5px groove darkred;
    border-bottom: 1px solid yellow;
    background-color: black;
    padding: 25px 10x 20px 10px;
    -webkit-box-shadow:0 3px 4px rgba(173, 0, 0, 0.3),0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 3px 4px rgba(173, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow:0 3px 4px rgba(173, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    
}

.Imgorilla{
    background-color: white;
    padding: 10px 5px 10px 5px;
    -webkit-box-shadow:0 3px 30px rgba(255, 182, 0, 0.3),0 0 40px rgba(173, 0, 0, 0.1) inset;
    -moz-box-shadow:0 3px 30px rgba(255, 182, 0, 0.3), 0 0 40px rgba(173, 0, 0, 0.1) inset;
    box-shadow:0 3px 30px rgba(255, 182, 0, 0.3), 0 0 40px rgba(173, 0, 0, 0.1) inset;
    
}



.Piefoto{
    align-content: center;
    justify-content: center;
    text-align: center;
    padding:5px;
    color:white;
    background-color: dimgray;
    font-size: 0.8em;
    font-style: italic;
}


}
h1{
	font-size: 1.5em;
	font-weight: bold;
	line-height: normal;
	text-align: center;
	vertical-align: top;
    color:darkred;
}
h2{
	font-size: 1.2em;
	font-weight: bold;
	line-height: normal;
	text-align: center;
	vertical-align: top;
    color:darkred;
}
a {
	text-decoration: none;
	vertical-align: top;
    color:darkred 
}

a hover{
   font-size: 1.2em;
	font-weight: bold;
	text-decoration: underline;
	vertical-align: top;
    color:darkred  
}
