
/*reglas generales*/

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,700&display=Mallanna&family=Pavanam&family=Kurale&family=Raleway+Dots&family=Raleway:wght@100;300;500&family=Roboto+Condensada:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&=swap');
* {
    box-sizing: border-box;
    font-family: Mallana, Pavanam, Roboto, Raleway, Kurale, Garamond, sans-serif;
}

.row::after {
    content: "";
    clear: both;
    display: table;
    }

[class*="col-"] {
    float: left;
    padding: 15px;
    }
/*siempre que queremos poner un icono hay que llamar a .fa o .fas porqué en realidad lo que hacen es llamar la font-family.*/

.fa, .fas {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.fas, .fs {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* a continuación hay que poner la instrucción concreta de cada icono. fijaros que en realidad mediante el pseudo-selector ::before introducimos contenido delante de la etiqueta*/

.fa-thumbs-down:before {
    content: "\f165";
}

.fa-thumbs-up:before {
    content: "\f164";
}

/*si estás familiarizado con los breakpoints de bootstrap esto te gustará*/

.fa-lg {
    font-size: 1.33333em;
    line-height: 0.75em;
    vertical-align: -.0667em;
}

.fa-xs {
    font-size: 10px;
}

.fa-sm {
    font-size: .875em;
}

/*poner el icono a la izquierda o a la derecha*/

.fa-pull-left {
    float: left;
}

.fa-pull-right {
    float: right;
}
/* .icon-whatsApp{
    background-position: ;
} */

body {
    margin: 0;
}

/* .letras {
    width: 1000px;
    padding: 2px;
    margin: auto;
    font-family: Ralewey;
    font-size: 1.2rem;
    letter-spacing: 3px;
} */

.tb {
    width: 1000px;
    padding:2rem;
    font-family: FontAwesome, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: rgb(78, 206, 74);
}

/* .tb {
/* Encabezado */


#header{
    position: fixed;
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    width: 100%; 
    color: rgb(78, 206, 74);
    background-color: #b9f6ca;
    height: 60px;
}

.header {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    color: #76ff03;
    /* font-size: 10pt; */
    height: 5px;
}

#header-sub {
    padding:18px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    font-size: 12pt;
}

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

/* banner */

.btn {
    width: 50px;
    height: 48px;
    cursor: pointer;
    border: none;
    margin: 7px;
}

.btn:hover {
    opacity: .6;
}

.links a {
    text-decoration: none;
    color: rgb(170, 165, 165);
    display: block;
    padding: 6px;
    font-size: 12pt;
}

.links {
    text-align: left;
    background-color: #f9f9f9;
    width: 140px;
    height: 200px;
    display: none;
    border-radius: 0 5px 5px 0;
    border: whitesmoke;
    font-family: FontAwesome, sans-serif;
}

.links a:hover {
    background-color:  #eceff1;
}

.desplegable:hover .links {
    display: block;
}

.desplegable {
    position: absolute;
}

#back {
    position: fixed;
    bottom: 3rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: .6;
    background-image: url(..//img/volver.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ccc;
    background-size: 100%;
}

/*Barra de Navegacion*/

nav, .menu, .menu li {
    display: flex;
    justify-content: center;
    flex-direction: row;   
    flex-wrap: wrap;
    letter-spacing: 1px;
    padding: 0%;
}

nav {
    background-color: #b9f6ca;

}

nav a {
    height:60px ;
    line-height: 2rem;
    padding: 1rem 5rem;
    color: rgb(12, 58, 56);
    text-decoration: none;
}


nav>a {
    font-size: 1.5rem;
}

.menu {
    list-style: none;
    margin: 0rem 4rem;
    font-size: 1.5rem;
    font-family: Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.menu a:hover {
    background-color: rgba(37, 77, 74, 0.5);
}


/* contenido principal */
main, article, section, aside{

    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    text-align: left;
    flex-wrap: wrap;
    letter-spacing: 1px;
}

main {
    display: flex;
    justify-content: center;
    background-color: #eceff1;
    padding: 5px;
    width: 100%;


} 
main a{
    text-decoration: none;
}

		/*Articulos*/
        article{
            display:grid;   
            padding:.5rem;
            grid-template-columns: auto auto auto auto;
			gap: .5rem 1rem; /*espaciado fila y columna*/
            width: 100%;
            background-color:white;
        }

    /*Secciones*/
    section{
        width: 100%;
        background-color: #f9fbe7; 
        padding: 3rem;
    }
    .section{
        max-width: 750px;
        min-width: 360px;
        margin: 2rem 0;         
    }

        /*Laterales*/
        aside{
            align-items: center;
            text-align: left;
            width:200px;
            text-decoration: none;
            min-width: 200px;
            font-size: 15pt;
            color: rgb(45, 45, 88);
            letter-spacing: .2px;
            font-family: 'Times New Roman', Times, serif;
}

.flex{
    background-color:white;
    width: 250px ;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    margin:.5rem;
    padding:1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    /* border:2px solid red; */
}
        
            /* botonera */

.contenedor {
    width: 100%;
    height: 140px;

}

div.contenedor {
    width:  140px;
    height: 140px;
    /* float: left; */
    transition: height .4s;

}

div#uno {
    background-color: #ffeb3b;
}

div#dos {
    background-color:#ffc400;
}

div#tres {
    background-color: #00e5ff;
}

div#cuatro {
    background-color:#4dd0e1;
}

div#cinco {
    background-color: #b2ff59;
}

div#seis {
    background-color: #aeea00;
}
div#siete {
    background-color: #ce93d8 ;
}

div#ocho {
    background-color: #ba68c8;
}
img.icon {
    width: 40px;
    display: block;
    margin: 30px auto;
    background-color: rgba(134, 127, 127, 0.15);
    width: 50px;
    padding: 7px;
    border-radius: 50%;
    transition: box-shadow .4s;
    cursor: pointer;
}

p.texto {
    font-size: 1.2em;
    font-family: Mallana, Pavanam, Roboto;
    /* text-shadow: 1px 1px .2rem rgb(32, 30, 30); */
    color: black;
    text-align: center;
    /* transition: padding-top .3s; */
    cursor: pointer;
    letter-spacing: .4px;
}

div.contenedor:hover {
    height: 140px;
}

div.contenedor:hover p.texto {
    color:black;
    opacity: .9;
    /* animation-name: example; */
    /* animation-duration: 4s; */
}

div.contenedor:hover img.icon {
    -webkit-box-shadom: 0px 0px 0px 30px rgba(63, 81, 181, 0.3);
    background-color: rgba(63, 81, 181, 0.3);
}

/* footer */

#footer {
    background-position: top center;
    background-image: url(../img/remite3.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    color: rgb(41, 53, 87);
    font-size: 75%;
    background-color: rgba(58, 71, 69, 0.5);
    display: flex;
    flex-direction: column;
    text-align: center;
}

/*Redes sociales*/

.social {
    display: flex;
    width: 100%;
    background-color: #ccc;
    height: 64px;
    margin: 1em auto;
    justify-content: center;
    align-items: center;
}

.social a {
    width: 64px;
    height: 64px;
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: .5em;
}

.social a:hover {
    background-size: 40px;
}

.facebook {
    background-image: url(../img/redes/color/facebook.png)
}

.whatsapp {
    background-image: url(../img/redes/color/whatsapp.png)
}

.instagram {
    background-image: url(../img/redes/color/instagram.png)
}

.twitter {
    background-image: url(../img/redes/color/twitter.png)
}

/*Formulario de Contacto*/

#contact {
    display: flex;
    flex-direction: column;
    margin: auto;
    min-width: 300px;
    max-width: 720px;
    text-align: left;
}

#contact input:focus, #contact textarea:focus {
    box-shadow: 0 0 10px rgb(186, 214, 213);
    /* x y blur color*/
}

#contact input, #contact textarea {
    background-color: rgb(230, 233, 233);
    outline: none;
    border-radius: .5em;
    border: 2px solid rgb(12, 58, 56);
    padding: .5em 1em;
    /*ancho de la M en el elemento Padre*/
}

#contact textarea {
    resize: none;
    height: 96px;
}

#contact label {
    display: block;
    margin-top: .5em;
    overflow: hidden;
    height: 0;
}

#contact button {
    margin-top: .5em;
    border: 2px solid rgb(94, 94, 114);
    padding: .5em 1em;
    color: rgb(82, 99, 146);
    text-transform: uppercase;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 1s ease;
}

#contact button:hover {
    cursor: pointer;
    background-color: rgb(219, 233, 250);
}

/* Constantes */
	
/* Variables */
/* For mobile phones: */
[class*="col-"] {
    width: 100%;
    }
 /* For desktop: */   
@media screen and (max-width: 768px){	
    /* Barra de Navegacion */	
        nav{
            flex-wrap: wrap;
            display: none;
        }
        #menu{
            display: block;
            margin:.5rem;
        }
        /* .menu{
            display: none;
        } */
        .menu, .menu li, .menu a{
            width:100%;
            flex-direction: column;
            text-align: center;
            background-color:#b9f6ca;
        }
        .openMenu{
            display:block;
        }
    /*Cabecera*/
        #header{
            font-size: 1.5rem;
        }
    /*Contenido Principal*/
    [class*="col-"] {
        width: 100%;
    }
        main{
        display: block;

        }
        article{
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .col-1 {width: 8.33%;}
        .col-2 {width: 16.66%;}
        .col-3 {width: 25%;}
        .col-4 {width: 33.33%;}
        .col-5 {width: 41.66%;}
        .col-6 {width: 50%;}
        .col-7 {width: 58.33%;}
        .col-8 {width: 66.66%;}
        .col-9 {width: 75%;}
        .col-10 {width: 83.33%;}
        .col-11 {width: 91.66%;}
        .col-12 {width: 100%;}
        }
    
        /* aside{    
            display: visible;

        } */
    